:root {
  --primary: #5aa9f8;
  --primary-dark: #2f6fb6;
  --primary-light: #e9f4ff;
  --ink: #10243a;
  --text: #2a3d54;
  --muted: #6a7f98;
  --line: #d8e7f6;
  --bg: #f4f9ff;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(12, 34, 62, 0.12);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 249, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(90, 169, 248, 0.12);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--ink);
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  border: 1px solid rgba(16, 36, 58, 0.08);
  box-shadow: 0 8px 16px rgba(16, 36, 58, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
}

.nav-links a {
  color: #2c4d72;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(90, 169, 248, 0.25);
  color: var(--primary);
  background: var(--white);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 18px;
}

.btn,
.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(90, 169, 248, 0.32);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(90, 169, 248, 0.38);
  background: var(--primary-dark);
}

.btn-ghost {
  border: 1px solid rgba(90, 169, 248, 0.35);
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.88);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 86px;
  background:
    radial-gradient(circle at 8% 12%, rgba(90, 169, 248, 0.2), rgba(90, 169, 248, 0) 34%),
    radial-gradient(circle at 88% 95%, rgba(90, 169, 248, 0.16), rgba(90, 169, 248, 0) 34%),
    linear-gradient(180deg, #f2f8ff 0%, #f4f8ff 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 30px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(90, 169, 248, 0.12);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 18px 0 28px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: #3f5f84;
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.metrics {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(90, 169, 248, 0.18);
  padding: 12px;
}

.metric strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.hero-media {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(90, 169, 248, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 14px;
}

.hero-media img {
  border-radius: 16px;
  min-height: 390px;
  object-fit: cover;
  width: 100%;
}

.section {
  padding: 84px 0;
}

.section.alt {
  background: linear-gradient(180deg, #edf5ff, #f8fbff);
  border-top: 1px solid rgba(90, 169, 248, 0.1);
  border-bottom: 1px solid rgba(90, 169, 248, 0.1);
}

.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  letter-spacing: -0.02em;
}

.section-head {
  max-width: 68ch;
  margin-bottom: 34px;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(18, 40, 68, 0.08);
}

.card h3 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: #56708f;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  border-radius: 16px;
  border: 1px solid rgba(90, 169, 248, 0.16);
  background: #fbfdff;
  padding: 18px;
}

.step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-weight: 800;
  color: var(--white);
  background: var(--primary);
}

.scenario-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.note-panel {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(90, 169, 248, 0.14);
  background: linear-gradient(160deg, #f2f8ff, #edf6ff);
}

.note-panel ul {
  margin: 0;
  padding-left: 20px;
}

.note-panel li {
  margin-bottom: 10px;
}

.cta-block {
  border-radius: 22px;
  border: 1px solid rgba(90, 169, 248, 0.16);
  background: linear-gradient(140deg, #174377, #5aa9f8 58%, #5fafff);
  color: #edf6ff;
  box-shadow: var(--shadow);
  padding: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cta-block h2 {
  color: #ffffff;
}

.cta-block p {
  margin: 8px 0 0;
  color: #d8eaff;
}

.cta-block .btn-primary {
  background: #ffffff;
  color: #245f9e;
}

.page-hero,
.legal-hero {
  padding: 70px 0 42px;
}

.page-hero h1,
.legal-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  color: var(--ink);
}

.page-hero p,
.legal-hero p {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 70ch;
}

.highlight-card {
  margin-top: 26px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(90, 169, 248, 0.2);
  box-shadow: 0 12px 28px rgba(16, 38, 66, 0.08);
  padding: 24px;
}

.highlight-card strong {
  color: var(--primary-dark);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.about-image {
  border-radius: 20px;
  border: 1px solid rgba(90, 169, 248, 0.18);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
}

.value-list {
  display: grid;
  gap: 16px;
}

.value-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.value-item h3 {
  margin: 0 0 8px;
  color: var(--ink);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-layout {
  display: grid;
  gap: 16px;
}

.legal-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px;
}

.legal-card h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.legal-card li {
  margin-bottom: 8px;
}

.notice {
  border-left: 4px solid var(--primary);
  background: rgba(90, 169, 248, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}

.form-card,
.contact-card {
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(14, 36, 64, 0.08);
  padding: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: block;
  font-weight: 600;
  color: #2c4766;
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfe0f5;
  background: #fbfdff;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(90, 169, 248, 0.22);
  border-color: rgba(90, 169, 248, 0.5);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.94rem;
  color: #587190;
  margin-top: 12px;
}

.checkbox input {
  width: 16px;
  margin-top: 5px;
}

.status-text {
  margin: 10px 0 0;
  font-weight: 600;
  min-height: 1.4em;
}

.status-text.ok {
  color: #5aa9f8;
}

.status-text.err {
  color: #b22f2f;
}

.contact-image {
  margin-top: 16px;
  border-radius: 14px;
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
}

.download-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: start;
}

.download-panel {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px;
  box-shadow: 0 14px 30px rgba(12, 34, 62, 0.08);
}

.store-buttons {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.store {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid rgba(16, 36, 58, 0.24);
  background: #101010;
  color: #ffffff;
  font-weight: 700;
  padding: 12px;
}

.store.play {
  background: #10253d;
}

.requirements {
  display: grid;
  gap: 14px;
}

.requirement {
  border-radius: 14px;
  border: 1px solid rgba(90, 169, 248, 0.16);
  background: #f8fbff;
  padding: 14px;
}

.download-image {
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
}

.download-image img {
  width: 100%;
  min-height: 230px;
  object-fit: cover;
}

.site-footer {
  margin-top: 90px;
  border-top: 1px solid rgba(90, 169, 248, 0.16);
  background: #eff5ff;
}

.footer-inner {
  display: grid;
  gap: 22px;
  padding: 34px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #163453;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #4f6f92;
  font-weight: 600;
}

.footer-note {
  color: #6b8098;
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* about_h5: no menu, no links, no button */
.about-h5 {
  background: linear-gradient(180deg, #f3f8ff, #ebf4ff);
  color: #22364f;
  min-height: 100vh;
}

.about-h5-wrap {
  width: min(740px, 92vw);
  margin: 0 auto;
  padding: 24px 0 38px;
}

.about-h5-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.about-h5-head img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.about-h5-card {
  border-radius: 16px;
  border: 1px solid rgba(90, 169, 248, 0.18);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(14, 38, 66, 0.08);
  padding: 16px;
  margin-bottom: 14px;
}

.about-h5-card h1,
.about-h5-card h2,
.about-h5-card h3 {
  margin: 0 0 8px;
  color: #163453;
}

.about-h5-card p,
.about-h5-card li {
  margin: 0;
  color: #4c6280;
}

.about-h5-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.about-h5-visual {
  border-radius: 14px;
  overflow: hidden;
  margin-top: 12px;
}

.about-h5-visual img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
}

@media (max-width: 980px) {
  .hero-grid,
  .scenario-layout,
  .about-layout,
  .contact-shell,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .nav-shell {
    min-height: 74px;
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(244, 249, 255, 0.98);
    border: 1px solid rgba(90, 169, 248, 0.16);
    border-radius: 0 0 12px 12px;
    padding: 12px;
    display: none;
  }

  .nav-wrap.open {
    display: block;
  }

  .nav-links {
    display: grid;
    gap: 12px;
  }

  .hero,
  .section,
  .page-hero,
  .legal-hero {
    padding-top: 52px;
    padding-bottom: 56px;
  }

  .metrics,
  .feature-grid,
  .form-row,
  .info-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .cta-block {
    padding: 24px;
  }
}
