:root {
  --blue-950: #0d174f;
  --blue-900: #16236f;
  --blue-800: #24358b;
  --blue-100: #eef3ff;
  --orange-500: #ff9300;
  --orange-400: #ffb126;
  --yellow-400: #ffd54a;
  --pink-400: #ff5a7d;
  --green-400: #35d39a;
  --text: #182033;
  --muted: #617089;
  --white: #ffffff;
  --border: rgba(22, 35, 111, .12);
  --shadow: 0 22px 70px rgba(13, 23, 79, .14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 147, 0, .22), transparent 34rem),
    radial-gradient(circle at 85% 10%, rgba(53, 211, 154, .16), transparent 24rem),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 45%, #f7f9ff 100%);
  min-height: 100vh;
}

a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(247, 249, 255, .82);
  border-bottom: 1px solid rgba(22, 35, 111, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.logo { height: 60px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 18px; font-weight: 700; color: var(--blue-900); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--orange-500); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 54px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, .78fr);
  gap: 38px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 147, 0, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  color: var(--blue-900);
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(255, 147, 0, .10);
}
.badge-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange-500); box-shadow: 16px 0 0 var(--green-400), 32px 0 0 var(--pink-400); }
h1 {
  margin: 22px 0 16px;
  font-size: clamp(2.25rem, 7vw, 5rem);
  line-height: .98;
  letter-spacing: -0.06em;
  color: var(--blue-950);
}
.gradient-word {
  background: linear-gradient(90deg, var(--orange-500), var(--yellow-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 660px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 26px;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--orange-500), var(--yellow-400)); color: #1d1d1d; box-shadow: 0 16px 36px rgba(255, 147, 0, .28); }
.btn-secondary { background: var(--blue-900); color: var(--white); box-shadow: 0 16px 36px rgba(22, 35, 111, .23); }
.btn-soft { background: rgba(255, 255, 255, .86); color: var(--blue-900); border: 1px solid var(--border); }
.helper-text { color: var(--muted); font-size: .96rem; margin: 0; }

.phone-card {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, var(--blue-900), var(--blue-950));
  padding: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}
.phone-card::before, .phone-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
}
.phone-card::before { width: 240px; height: 240px; background: rgba(255, 147, 0, .45); right: -70px; top: -60px; }
.phone-card::after { width: 180px; height: 180px; background: rgba(53, 211, 154, .25); left: -55px; bottom: 30px; }
.app-preview {
  height: 100%;
  min-height: 472px;
  border-radius: 34px;
  background: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: rotate(2deg);
  border: 10px solid rgba(255,255,255,.18);
}
.preview-top { display: flex; align-items: center; gap: 12px; }
.avatar { width: 48px; height: 48px; border-radius: 16px; background: linear-gradient(135deg, var(--orange-500), var(--pink-400)); }
.preview-title { font-weight: 900; color: var(--blue-950); }
.preview-subtitle { color: var(--muted); font-size: .9rem; }
.lesson-card {
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(135deg, #eef3ff, #fff7e8);
  border: 1px solid rgba(22, 35, 111, .08);
}
.lesson-card strong { color: var(--blue-900); font-size: 1.2rem; }
.progress { height: 12px; border-radius: 999px; background: #e8edf8; overflow: hidden; margin-top: 16px; }
.progress span { display: block; height: 100%; width: 68%; background: linear-gradient(90deg, var(--orange-500), var(--green-400)); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 12px; border-radius: 999px; background: var(--blue-100); color: var(--blue-900); font-weight: 800; font-size: .9rem; }
.quiz-card { margin-top: auto; border-radius: 24px; padding: 18px; background: var(--blue-900); color: var(--white); }
.quiz-options { display: grid; gap: 10px; margin-top: 14px; }
.option { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.12); }
.option.active { background: var(--orange-500); color: #111; font-weight: 900; }

.section { padding: 56px 0; }
.section-title { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -0.04em; color: var(--blue-950); margin: 0 0 14px; }
.section-lead { color: var(--muted); line-height: 1.65; font-size: 1.08rem; max-width: 760px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.info-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(13, 23, 79, .07);
}
.info-icon { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: #fff0d7; margin-bottom: 16px; font-size: 1.4rem; }
.info-card h3 { color: var(--blue-900); margin: 0 0 10px; }
.info-card p { color: var(--muted); line-height: 1.6; margin: 0; }

.notice {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(22,35,111,.95), rgba(13,23,79,.95));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow);
}
.notice h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.notice p { margin: 0; color: rgba(255,255,255,.82); line-height: 1.55; }

.policy-page { background: #f8faff; }
.policy-hero { padding: 46px 0 24px; }
.policy-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 16px 50px rgba(13, 23, 79, .08);
  margin-bottom: 54px;
}
.policy-card h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-top: 0; }
.policy-card h2 { color: var(--blue-900); margin-top: 32px; }
.policy-card p, .policy-card li { color: #4f5d75; line-height: 1.72; }
.policy-card ul { padding-left: 22px; }
.policy-meta { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: #fff3dc; color: #7a4300; font-weight: 800; }

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.7);
}
.footer-inner { display: flex; justify-content: space-between; gap: 22px; align-items: center; color: var(--muted); }
.footer-links { display: flex; gap: 18px; font-weight: 800; color: var(--blue-900); }
.footer-links a { text-decoration: none; }

@media (max-width: 860px) {
  .container { width: min(100% - 28px, 1120px); }
  .header-inner { align-items: flex-start; }
  .nav { font-size: .92rem; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .logo { height: 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .phone-card { min-height: 420px; }
  .app-preview { min-height: 380px; transform: rotate(0); }
  .cards { grid-template-columns: 1fr; }
  .notice { align-items: stretch; flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .nav { display: none; }
  .hero { padding-top: 38px; }
}
