:root {
  --deep: #5d0061;
  --violet: #7f009c;
  --purple: #9f00d4;
  --magenta: #d315f5;
  --pink: #fb6af8;
  --dark: #050005;
  --dark2: #0b0010;
  --lav: #faf5ff;
  --card: #f3e8ff;
  --text: #1a1020;
  --muted: #66556d;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { margin: 0; font-family: Poppins, Avenir Next, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.035em; }
p { margin: 0; }

.wrap { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.topbar {
  background: linear-gradient(100deg, var(--deep), var(--violet), var(--magenta));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.topbar .wrap { min-height: 36px; display: flex; justify-content: center; align-items: center; gap: 16px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; }
.divider { width: 1px; height: 14px; background: rgba(255,255,255,.35); }
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(93,0,97,.08);
  box-shadow: 0 8px 30px rgba(50,0,60,.05);
  backdrop-filter: blur(18px);
}
.navrow { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 19px; letter-spacing: -.04em; }
.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(93,0,97,.16);
}
.logo span span, .gradient-text {
  background: linear-gradient(110deg, var(--purple), var(--magenta), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 750; color: #493b4f; }
.nav a:hover { color: var(--purple); }
.actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  color: #fff;
  font-weight: 850;
  cursor: pointer;
  background: linear-gradient(105deg, var(--violet), var(--magenta));
  box-shadow: 0 14px 34px rgba(159,0,212,.25);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(159,0,212,.33); }
.btn.secondary { background: #fff; color: var(--deep); border: 1px solid #dcc8ea; box-shadow: none; }
.iconbtn, .menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 0;
  align-items: center;
  justify-content: center;
}
.iconbtn { background: linear-gradient(135deg, var(--violet), var(--magenta)); color: #fff; box-shadow: 0 12px 26px rgba(159,0,212,.24); }
.menu-btn { background: var(--card); color: var(--violet); }
.mobile-menu { display: none; padding: 0 18px 22px; background: #fff; border-top: 1px solid rgba(93,0,97,.08); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(93,0,97,.08); font-weight: 780; color: #493b4f; }
.mobile-menu .btn { margin-top: 16px; width: 100%; color: #fff; border-bottom: 0; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(233,52,249,.24), transparent 30%),
    radial-gradient(circle at 18% 88%, rgba(127,0,156,.34), transparent 34%),
    linear-gradient(135deg, #070008 0%, #16001f 44%, #050005 100%);
  color: #fff;
  padding: 96px 0 40px;
}
.grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: .9;
  mask-image: linear-gradient(to bottom, #000, transparent 93%);
}
.orb { position: absolute; width: 430px; height: 430px; border-radius: 50%; filter: blur(110px); opacity: .36; background: var(--magenta); animation: float 9s ease-in-out infinite; }
.orb.one { right: -120px; top: -160px; }
.orb.two { left: -130px; bottom: 0; background: var(--violet); animation-delay: -3s; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: 38px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #ffd9ff; font-size: 12px; font-weight: 850; }
.hero h1 { margin-top: 26px; font-size: clamp(42px, 5.3vw, 72px); line-height: 1.03; font-weight: 950; }
.hero p { margin-top: 24px; max-width: 650px; color: rgba(255,255,255,.7); line-height: 1.9; font-size: 17px; }
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.ticks { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 18px; color: rgba(255,255,255,.62); font-size: 13px; font-weight: 700; }
.visual { position: relative; min-height: 500px; }
.lesson-card {
  position: absolute;
  inset: 34px 0 26px;
  border-radius: 34px;
  padding: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  backdrop-filter: blur(20px);
  animation: float 6s ease-in-out infinite;
}
.dots { display: flex; gap: 7px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.dots i:first-child { background: var(--pink); }
.screen-grid { margin-top: 22px; height: 380px; display: grid; grid-template-columns: 1fr 120px; gap: 14px; }
.screen {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(140deg, #35103d, #120015);
}
.screen-label, .live-pill {
  position: absolute;
  z-index: 2;
  top: 18px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.75);
  font-size: 10px;
  font-weight: 850;
  backdrop-filter: blur(12px);
}
.screen-label { left: 18px; }
.live-pill { right: 18px; display: flex; align-items: center; gap: 7px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); animation: pulse 1.4s infinite; }
.teen-svg { width: 100%; height: 100%; display: block; }
.teen-head { transform-origin: 282px 315px; animation: focus 5s ease-in-out infinite; }
.teen-eyes { transform-origin: center; animation: blink 4.5s infinite; }
.writing-arm { transform-origin: 214px 407px; animation: writing 1.35s ease-in-out infinite alternate; }
.screen-footer { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; align-items: end; z-index: 3; color: #fff; }
.screen-footer small { display: block; color: rgba(255,255,255,.55); font-weight: 700; font-size: 9px; }
.screen-footer strong { font-size: 12px; }
.controls { display: flex; gap: 8px; }
.controls span { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.15); }
.controls span:last-child { background: var(--magenta); border: 0; }
.metric { border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.08); padding: 14px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.metric small { color: rgba(255,255,255,.45); }
.metric strong { font-size: 15px; }
.trust { position: relative; margin-top: 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 14px; border-radius: 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.trust span { text-align: center; padding: 12px 8px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 850; border-radius: 14px; }
.trust span:hover { background: rgba(255,255,255,.08); color: #fff; }

.section { padding: 100px 0; }
.lav { background: var(--lav); }
.dark { background: var(--dark2); color: #fff; position: relative; overflow: hidden; }
.section-title { max-width: 760px; }
.center { margin-inline: auto; text-align: center; }
.eyebrow { color: var(--violet); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 950; }
.dark .eyebrow { color: #f0a4ff; }
.section-title h2 { margin-top: 14px; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; }
.section-title p { margin-top: 18px; color: var(--muted); line-height: 1.85; font-size: 17px; }
.dark .section-title p { color: rgba(255,255,255,.62); }
.cards { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(127,0,156,.1);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 18px 55px rgba(70,0,83,.08);
  transition: .3s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--magenta), var(--pink));
  opacity: .85;
}
.card:hover { transform: translateY(-7px); box-shadow: 0 28px 70px rgba(70,0,83,.14); }
.icon { width: 50px; height: 50px; border-radius: 18px; display: grid; place-items: center; color: var(--purple); background: linear-gradient(135deg, #f3e8ff, #fff0fa); font-weight: 900; }
.card h3 { margin-top: 20px; font-size: 21px; }
.card p { margin-top: 10px; color: var(--muted); line-height: 1.7; font-size: 14px; }
.card a.more { display: inline-block; margin-top: 20px; font-weight: 850; color: var(--violet); }
.subject-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.subject { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 22px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.07); }
.subject .icon { background: linear-gradient(135deg, var(--purple), var(--magenta)); color: #fff; flex: none; }
.subject p { color: rgba(255,255,255,.45); font-size: 13px; margin-top: 4px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.photo-card { position: relative; min-height: 480px; border-radius: 34px; overflow: hidden; background: var(--lav); box-shadow: 0 24px 70px rgba(70,0,83,.13); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,0,16,.72), transparent 55%); }
.floating { position: absolute; z-index: 2; right: 24px; top: 24px; padding: 18px 22px; border-radius: 20px; background: rgba(255,255,255,.9); color: var(--deep); box-shadow: 0 18px 40px rgba(0,0,0,.12); font-weight: 900; }
.checklist { margin-top: 26px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; }
.checklist li { color: #504258; font-size: 14px; line-height: 1.55; }
.checklist li::before { content: "✓"; color: var(--purple); font-weight: 900; margin-right: 8px; }
.dark .checklist li { color: rgba(255,255,255,.76); }
.steps { margin-top: 45px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.step-num { width: 72px; height: 72px; margin: 0 auto 18px; border: 8px solid #fff; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 950; background: linear-gradient(135deg, var(--violet), var(--magenta)); box-shadow: 0 14px 30px rgba(159,0,212,.25); }
.testimonial { font-size: 15px; line-height: 1.8; }
.price-banner { margin: 35px 0 24px; border-radius: 26px; background: #fff; border: 1px solid rgba(127,0,156,.1); padding: 26px; text-align: center; box-shadow: 0 18px 50px rgba(70,0,83,.08); }
.price-banner strong { display: block; font-size: 34px; color: var(--deep); }
.faq { max-width: 850px; margin: 40px auto 0; }
details { background: #fff; border: 1px solid rgba(127,0,156,.1); border-radius: 18px; margin-top: 12px; padding: 20px; box-shadow: 0 10px 28px rgba(70,0,83,.06); }
summary { cursor: pointer; font-weight: 850; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::after { content: "+"; color: var(--purple); font-size: 22px; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; line-height: 1.75; }
.cta { padding: 90px 0; background: #fff; }
.cta-box { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 36px; padding: 70px 28px; background: linear-gradient(135deg, var(--deep), #8e00ad, var(--magenta)); box-shadow: 0 28px 70px rgba(70,0,83,.22); }
.cta-box h2 { font-size: clamp(34px, 4vw, 54px); }
.footer { background: #080009; color: #fff; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr 1fr; gap: 40px; }
.footer p, .footer a { color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.8; }
.footer a:hover { color: #f7b7ff; }
.footer h3 { font-size: 14px; margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer .logo img { background: transparent; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.copyright { margin-top: 45px; border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; justify-content: space-between; gap: 20px; }
.page-hero { padding: 95px 0; background: radial-gradient(circle at 80% 10%, #33003c, var(--dark2) 45%, var(--dark)); color: #fff; text-align: center; position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(42px, 5vw, 70px); line-height: 1.08; margin-top: 20px; }
.page-hero p { max-width: 760px; margin: 22px auto 0; color: rgba(255,255,255,.68); line-height: 1.75; font-size: 18px; }
.form-card { border-radius: 30px; padding: 34px; background: #fff; border: 1px solid rgba(127,0,156,.1); box-shadow: 0 18px 55px rgba(70,0,83,.08); }
.dark-card {
  border-radius: 30px;
  padding: 34px;
  background: radial-gradient(circle at 85% 0, rgba(211,21,245,.28), transparent 38%), linear-gradient(145deg, #150019, #050005);
  color: #fff;
  box-shadow: 0 22px 70px rgba(70,0,83,.2);
}
.dark-card h2 { margin-top: 12px; font-size: clamp(30px, 4vw, 46px); }
.dark-card p { margin-top: 16px; color: rgba(255,255,255,.68); line-height: 1.8; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
label { display: grid; gap: 8px; font-weight: 800; font-size: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid #e9d9f4;
  border-radius: 14px;
  padding: 13px 15px;
  color: var(--text);
  outline: none;
  background: #fff;
}
input:focus, select:focus, textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(159,0,212,.1); }
textarea { min-height: 130px; resize: vertical; }
.contact-methods { display: grid; gap: 14px; margin-top: 28px; }
.contact-methods a { display: flex; gap: 12px; align-items: center; border-radius: 18px; padding: 15px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.72); }
.contact-methods strong { color: #fff; display: block; }
.hidden-form { display: none; }
.success { display: none; margin-top: 16px; border-radius: 16px; background: #f3e8ff; color: var(--deep); padding: 14px; font-weight: 800; }
.success.show { display: block; }
.audience-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.audience-row span { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.075); color: rgba(255,255,255,.78); border-radius: 999px; padding: 10px 13px; font-size: 12px; font-weight: 850; }
.human-note {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  max-width: 560px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.human-note .avatar { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--pink), var(--purple)); font-weight: 950; color: #fff; }
.human-note strong { display: block; font-size: 14px; }
.human-note p { margin: 3px 0 0; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.66); }
.soft-panel {
  border-radius: 32px;
  padding: 34px;
  background: linear-gradient(145deg, #fff, #fff7ff);
  border: 1px solid rgba(127,0,156,.1);
  box-shadow: 0 22px 60px rgba(70,0,83,.1);
}
.soft-panel p { color: var(--muted); line-height: 1.8; }

@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes pulse { 50% { opacity: .3; transform: scale(.8); } }
@keyframes focus { 0%,100% { transform: rotate(0) translateY(0); } 50% { transform: rotate(1.3deg) translateY(2px); } }
@keyframes blink { 0%,44%,48%,100% { transform: scaleY(1); } 46% { transform: scaleY(.08); } }
@keyframes writing { from { transform: rotate(-1.5deg) translateX(-2px); } to { transform: rotate(2deg) translateX(3px); } }

@media (prefers-reduced-motion: no-preference) {
  .card, .subject, .price-banner, .photo-card { animation: rise .7s ease both; }
  .cards .card:nth-child(2), .subject-grid .subject:nth-child(2) { animation-delay: .06s; }
  .cards .card:nth-child(3), .subject-grid .subject:nth-child(3) { animation-delay: .12s; }
  .cards .card:nth-child(4), .subject-grid .subject:nth-child(4) { animation-delay: .18s; }
  .cards .card:nth-child(5), .subject-grid .subject:nth-child(5) { animation-delay: .24s; }
  .cards .card:nth-child(6), .subject-grid .subject:nth-child(6) { animation-delay: .3s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) {
  .nav, .actions .btn { display: none; }
  .iconbtn, .menu-btn { display: inline-flex; }
  .hero-inner, .split { grid-template-columns: 1fr; }
  .visual { min-height: 470px; }
  .cards, .subject-grid, .steps, .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .topbar .wrap { flex-wrap: wrap; gap: 8px 12px; padding: 7px 0; }
  .topbar { font-size: 11px; }
  .navrow { height: 76px; }
  .logo { font-size: 18px; }
  .logo img { width: 42px; height: 42px; }
  .hero { padding-top: 72px; }
  .hero-inner { gap: 0; }
  .hero h1 { font-size: 42px; }
  .hero-ctas .btn { width: 100%; }
  .ticks { gap: 12px; }
  .visual { min-height: 430px; margin-top: 20px; }
  .lesson-card { inset: 14px 0 22px; padding: 16px; }
  .screen-grid { height: 330px; grid-template-columns: 1fr 86px; gap: 10px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .cards, .subject-grid, .steps, .footer-grid, .form-grid, .checklist { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .photo-card { min-height: 380px; }
  .copyright { flex-direction: column; }
}
