:root {
  --bg: #fbfbfe;
  --surface: #ffffff;
  --surface-alt: #f4f3fb;
  --text: #19182a;
  --muted: #68667b;
  --line: #e7e5f0;
  --primary: #6857e8;
  --primary-dark: #5141c9;
  --primary-soft: #eeeafe;
  --blue: #4d8df7;
  --green: #36b37e;
  --rose: #f16b88;
  --shadow-sm: 0 10px 30px rgba(42, 35, 88, .08);
  --shadow-lg: 0 28px 80px rgba(50, 41, 104, .18);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 34px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 108px 0; overflow: hidden; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: #fff; padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 254, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 229, 240, .75);
}
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--primary); }
.brand-text { display: flex; flex-direction: column; line-height: .95; letter-spacing: .08em; }
.brand-text strong { font-size: 15px; }
.brand-text span { color: var(--primary); font-size: 12px; font-weight: 800; margin-top: 5px; letter-spacing: .18em; }
.desktop-nav { display: flex; align-items: center; gap: 32px; }
.desktop-nav a, .text-link { color: #4d4a62; font-size: 15px; font-weight: 600; transition: .2s ease; }
.desktop-nav a:hover, .text-link:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 9px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .2s; }
.mobile-nav { position: absolute; left: 0; right: 0; top: 78px; padding: 12px 20px 22px; background: rgba(251,251,254,.98); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.mobile-nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 650; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 12px; min-height: 46px; padding: 0 20px; font-weight: 750; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 18px; background: var(--primary); color: #fff; box-shadow: 0 9px 20px rgba(104,87,232,.22); }
.button-primary { background: var(--primary); color: #fff; box-shadow: 0 14px 30px rgba(104,87,232,.28); }
.button-primary:hover { background: var(--primary-dark); box-shadow: 0 16px 34px rgba(104,87,232,.35); }
.button-ghost { background: #fff; color: var(--text); border-color: var(--line); box-shadow: 0 8px 20px rgba(42,35,88,.05); }
.button-ghost:hover { border-color: #c8c2ef; }
.button-large { min-height: 56px; padding: 0 25px; border-radius: 14px; }
.button-large svg { width: 20px; }
.button-white { background: #fff; color: var(--primary-dark); box-shadow: 0 14px 30px rgba(24,18,75,.2); }
.button-outline-light { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.08); }
.full { width: 100%; }

.hero { padding-top: 92px; padding-bottom: 46px; background: radial-gradient(circle at 84% 8%, rgba(145,128,255,.14), transparent 33%), linear-gradient(180deg, #fdfdff 0%, #f9f8fe 100%); }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; min-height: 600px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; background: var(--primary-soft); color: var(--primary-dark); border-radius: 999px; font-size: 13px; font-weight: 750; letter-spacing: .02em; }
.eyebrow.plain { padding: 0; background: none; border-radius: 0; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.eyebrow.light { background: rgba(255,255,255,.12); color: #fff; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(54,179,126,.14); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 23px 0 22px; font-size: clamp(42px, 5vw, 66px); line-height: 1.06; letter-spacing: -.045em; }
h1 span { color: var(--primary); }
.hero-lead { max-width: 640px; color: var(--muted); font-size: 19px; line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; color: #5f5c72; font-size: 13px; font-weight: 650; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 17px; color: var(--green); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-orb-one { width: 350px; height: 350px; right: -170px; top: 100px; background: rgba(104,87,232,.08); }
.hero-orb-two { width: 180px; height: 180px; left: -90px; bottom: 40px; background: rgba(77,141,247,.08); }
.hero-visual { position: relative; z-index: 1; padding: 34px 0 60px; }
.dashboard-window { background: #fff; border: 1px solid rgba(222,219,239,.9); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.window-topbar { height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px; border-bottom: 1px solid #eeeaf6; background: #fcfbff; color: #858096; font-size: 11px; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #e1deeb; }
.window-title { font-weight: 700; }
.avatar { justify-self: end; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.dashboard-body { display: grid; grid-template-columns: 132px 1fr; min-height: 430px; }
.dashboard-sidebar { padding: 22px 13px; background: #f7f5fc; border-right: 1px solid #ebe8f4; }
.mini-brand { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 8px 24px; border-radius: 9px; background: var(--primary); color: #fff; font-weight: 900; }
.side-item { display: flex; align-items: center; gap: 8px; padding: 9px 10px; margin-bottom: 5px; border-radius: 8px; color: #777286; font-size: 9px; font-weight: 700; }
.side-item i { width: 9px; height: 9px; border: 1.5px solid currentColor; border-radius: 3px; }
.side-item.active { background: #e9e5fb; color: var(--primary); }
.dashboard-content { padding: 24px; background: #fdfcff; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dashboard-heading div { display: flex; flex-direction: column; }
.dashboard-heading small { color: #9792a6; font-size: 9px; }
.dashboard-heading strong { font-size: 15px; }
.online-badge { padding: 5px 8px; border-radius: 999px; background: #e7f8f0; color: #27815c; font-size: 8px; font-weight: 800; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-card { padding: 15px; border: 1px solid #eeebf5; border-radius: 12px; background: #fff; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; box-shadow: 0 7px 18px rgba(42,35,88,.04); }
.stat-card small, .stat-card em { color: #9690a5; font-size: 8px; font-style: normal; }
.stat-card strong { font-size: 12px; }
.stat-card em { grid-column: 2; }
.stat-icon { grid-row: 1/4; align-self: center; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; color: #fff; font-weight: 800; }
.stat-icon.purple { background: linear-gradient(135deg,#8f7cf4,#6857e8); }
.stat-icon.blue { background: linear-gradient(135deg,#6aa7ff,#4d8df7); }
.usage-card { margin-top: 12px; padding: 15px; border: 1px solid #eeebf5; border-radius: 12px; background: #fff; }
.usage-head { display: flex; justify-content: space-between; align-items: center; font-size: 9px; }
.usage-head span { color: #9994a6; }
.chart { height: 105px; display: flex; align-items: end; justify-content: space-between; gap: 9px; padding: 14px 5px 0; border-bottom: 1px solid #eeeaf4; background: repeating-linear-gradient(to bottom, transparent 0 26px, #f2eff7 27px); }
.chart i { display: block; width: 16px; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(180deg,#8c7af2,#6857e8); opacity: .88; }
.chart-labels { display: flex; justify-content: space-between; padding: 5px 4px 0; color: #a19baa; font-size: 7px; }
.rules-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 10px 12px; border: 1px solid #eeebf5; border-radius: 12px; background: #fff; }
.rules-row > div { display: flex; align-items: center; gap: 9px; }
.rules-row p { margin: 0; display: flex; flex-direction: column; }
.rules-row strong { font-size: 9px; }
.rules-row small { font-size: 7px; color: #9993a5; }
.app-dot { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: #fff; font-size: 9px; font-weight: 800; }
.app-dot.school { background: var(--blue); }
.toggle { width: 27px; height: 15px; border-radius: 99px; background: #d8d3e5; padding: 2px; }
.toggle::after { content: ""; display: block; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.toggle.on { background: var(--primary); }
.toggle.on::after { margin-left: 12px; }
.floating-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(227,223,240,.95); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-radius: 14px; box-shadow: 0 18px 42px rgba(43,34,95,.16); }
.floating-card-one { left: -24px; bottom: 28px; }
.floating-card-two { right: -20px; top: 12px; }
.floating-card div { display: flex; flex-direction: column; }
.floating-card strong { font-size: 11px; }
.floating-card small { font-size: 8px; color: #928da1; }
.floating-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: #fff; font-weight: 800; }
.floating-icon.shield { background: var(--green); }
.floating-icon.clock { background: var(--rose); }
.trust-strip { display: flex; align-items: center; gap: 40px; padding: 26px 0 10px; border-top: 1px solid var(--line); }
.trust-strip p { min-width: max-content; margin: 0; color: var(--muted); font-size: 13px; font-weight: 650; }
.trust-strip div { flex: 1; display: flex; justify-content: space-between; gap: 20px; color: #888395; font-size: 13px; font-weight: 750; }

.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.split { max-width: none; display: grid; grid-template-columns: 1fr .72fr; gap: 60px; align-items: end; }
.section-heading h2 { margin: 14px 0 16px; font-size: clamp(34px, 4vw, 50px); line-height: 1.15; letter-spacing: -.035em; }
.section-heading p { color: var(--muted); font-size: 17px; margin-bottom: 0; }
.section-heading.split > p { padding-bottom: 5px; }
.problems { background: #fff; }
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.benefit-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.benefit-card:hover { transform: translateY(-7px); border-color: #d8d2fa; box-shadow: var(--shadow-sm); }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; margin-bottom: 24px; }
.card-icon svg { width: 27px; }
.card-icon.rose { background: #fff0f3; color: var(--rose); }
.card-icon.blue { background: #edf5ff; color: var(--blue); }
.card-icon.green { background: #eaf9f2; color: var(--green); }
.benefit-card h3, .feature-item h3, .step h3, .price-card h3 { margin-bottom: 10px; font-size: 20px; letter-spacing: -.015em; }
.benefit-card p, .feature-item p, .step p, .price-card p { color: var(--muted); margin-bottom: 0; }

.features { background: var(--surface-alt); }
.feature-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.feature-visual { display: grid; place-items: center; min-height: 650px; border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 38%, #ffffff 0 22%, #ebe7fb 23% 51%, #ded8f7 52% 100%); }
.phone-shell { width: 305px; height: 610px; padding: 12px; border: 5px solid #272438; border-radius: 44px; background: #fff; box-shadow: 0 30px 75px rgba(46,37,94,.3); overflow: hidden; transform: rotate(-2deg); }
.phone-top { height: 28px; display: flex; justify-content: space-between; padding: 0 16px; font-size: 10px; font-weight: 750; }
.phone-top i { width: 63px; height: 18px; border-radius: 999px; background: #252233; position: absolute; left: 50%; transform: translateX(-50%); top: 12px; }
.phone-content { height: calc(100% - 28px); padding: 16px; border-radius: 30px; background: #f7f6fb; }
.mobile-welcome { display: flex; flex-direction: column; }
.mobile-welcome small { color: var(--primary); font-size: 8px; font-weight: 850; letter-spacing: .13em; }
.mobile-welcome strong { margin-top: 6px; font-size: 17px; }
.mobile-welcome p { margin: 2px 0 13px; color: #898394; font-size: 9px; }
.device-card { padding: 14px; border-radius: 18px; background: linear-gradient(150deg,#7868ea,#5a49d0); color: #fff; box-shadow: 0 16px 35px rgba(104,87,232,.28); }
.device-card-head { display: flex; align-items: center; gap: 9px; }
.device-card-head div { display: flex; flex-direction: column; flex: 1; }
.device-card-head strong { font-size: 10px; }
.device-card-head small { opacity: .75; font-size: 7px; }
.laptop-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.16); }
.kebab { opacity: .7; }
.time-ring { width: 110px; height: 110px; margin: 15px auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#fff 0 74%, rgba(255,255,255,.2) 74% 100%); position: relative; }
.time-ring::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #6a59df; }
.time-ring div { z-index: 1; display: flex; flex-direction: column; align-items: center; }
.time-ring strong { font-size: 25px; line-height: 1; }
.time-ring small { font-size: 8px; opacity: .75; margin-top: 5px; }
.time-info { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.18); font-size: 8px; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 11px; }
.quick-grid div { min-height: 78px; display: flex; flex-direction: column; padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(42,35,88,.05); }
.quick-grid span { color: var(--primary); }
.quick-grid strong { margin-top: auto; font-size: 9px; }
.quick-grid small { color: #928c9d; font-size: 7px; }
.mobile-alert { display: flex; align-items: center; gap: 9px; margin-top: 10px; padding: 11px; border: 1px solid #dff2e9; border-radius: 14px; background: #f2fbf7; }
.mobile-alert > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--green); }
.mobile-alert div { display: flex; flex-direction: column; }
.mobile-alert strong { font-size: 8px; }
.mobile-alert small { color: #75867e; font-size: 6.5px; }
.feature-list { border-top: 1px solid #dedbe9; }
.feature-item { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 27px 0; border-bottom: 1px solid #dedbe9; }
.feature-number { color: var(--primary); font-size: 13px; font-weight: 850; letter-spacing: .1em; }
.feature-item h3 { margin-top: -4px; }

.how { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; counter-reset: step; }
.step { position: relative; min-height: 300px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step > span { position: absolute; right: 22px; top: 18px; color: #ddd9eb; font-size: 42px; font-weight: 850; line-height: 1; }
.step-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 24px 0 34px; border-radius: 18px; background: var(--primary-soft); color: var(--primary); font-size: 24px; font-weight: 850; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -17px; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--primary); font-weight: 850; }

.security { background: linear-gradient(135deg,#30266f 0%,#5544c4 55%,#6857e8 100%); color: #fff; }
.security::before { content: ""; position: absolute; width: 600px; height: 600px; right: -100px; top: -260px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 80px rgba(255,255,255,.025),0 0 0 160px rgba(255,255,255,.018); }
.security-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.security-copy h2 { margin: 18px 0; font-size: clamp(36px,4vw,52px); line-height: 1.12; letter-spacing: -.035em; }
.security-copy > p { max-width: 620px; color: rgba(255,255,255,.76); font-size: 17px; }
.check-list { list-style: none; padding: 0; margin: 30px 0 0; }
.check-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: rgba(255,255,255,.88); }
.check-list li span { flex: 0 0 25px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 12px; }
.security-visual { display: grid; place-items: center; min-height: 430px; }
.shield-figure { width: 330px; position: relative; filter: drop-shadow(0 32px 38px rgba(18,11,72,.35)); }
.shield-pulse { position: absolute; border-radius: 50%; background: rgba(255,255,255,.8); box-shadow: 0 0 0 9px rgba(255,255,255,.1); }
.pulse-one { width: 14px; height: 14px; right: 8px; top: 72px; }
.pulse-two { width: 10px; height: 10px; left: 8px; bottom: 68px; }

.pricing { background: var(--surface-alt); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.price-card.featured { border: 2px solid var(--primary); transform: translateY(-10px); box-shadow: 0 24px 60px rgba(75,61,163,.15); }
.price-label { color: var(--primary); font-size: 12px; text-transform: uppercase; letter-spacing: .13em; font-weight: 850; }
.popular-label { position: absolute; right: 24px; top: 22px; padding: 6px 9px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 10px; font-weight: 800; }
.price-card h3 { margin: 10px 0 12px; font-size: 24px; }
.price { min-height: 58px; display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price strong { font-size: 27px; letter-spacing: -.03em; }
.price span { color: var(--muted); font-size: 13px; }
.price-card > p { min-height: 54px; }
.price-card ul { flex: 1; list-style: none; padding: 0; margin: 24px 0 28px; }
.price-card li { position: relative; padding: 8px 0 8px 25px; color: #565268; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: start; }
.text-arrow { display: inline-flex; gap: 10px; margin-top: 18px; color: var(--primary); font-weight: 750; }
.text-arrow span { transition: transform .2s; }
.text-arrow:hover span { transform: translateX(4px); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; font-size: 18px; font-weight: 750; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { width: 25px; height: 25px; position: relative; flex: 0 0 25px; border-radius: 50%; background: var(--primary-soft); }
.accordion summary span::before, .accordion summary span::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 1.5px; background: var(--primary); }
.accordion summary span::after { transform: rotate(90deg); transition: .2s; }
.accordion details[open] summary span::after { transform: rotate(0); }
.accordion details p { padding: 0 48px 23px 0; color: var(--muted); }

.cta { padding: 40px 0 80px; background: #fff; }
.cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; padding: 55px 60px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg,#34287b,#6857e8); box-shadow: 0 28px 70px rgba(55,43,133,.25); }
.cta-inner h2 { margin: 16px 0 13px; max-width: 700px; font-size: clamp(32px,4vw,46px); line-height: 1.16; letter-spacing: -.035em; }
.cta-inner p { max-width: 690px; margin: 0; color: rgba(255,255,255,.75); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

.site-footer { padding: 70px 0 24px; background: #171527; color: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 55px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer-grid > div:first-child { max-width: 320px; }
.footer-grid strong { color: #fff; margin-bottom: 7px; }
.footer-grid a:hover { color: #fff; }
.footer-brand { color: #fff; margin-bottom: 8px; }
.footer-grid p { color: rgba(255,255,255,.56); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); font-size: 13px; }

.download-modal[hidden] { display: none; }
.download-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(19,16,42,.66); backdrop-filter: blur(8px); }
.modal-card { position: relative; width: min(100%, 460px); padding: 38px; border-radius: 24px; background: #fff; text-align: center; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; right: 14px; top: 10px; width: 38px; height: 38px; border: 0; background: transparent; font-size: 29px; cursor: pointer; }
.modal-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 18px; background: var(--primary-soft); color: var(--primary); font-size: 26px; font-weight: 850; }
.modal-card h2 { margin-bottom: 10px; font-size: 27px; }
.modal-card p { color: var(--muted); }
.modal-card code { padding: 2px 5px; border-radius: 5px; background: #f2f0f7; color: var(--primary-dark); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .desktop-nav { gap: 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 760px; text-align: center; margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-visual { width: min(100%, 780px); margin-inline: auto; }
  .trust-strip { flex-direction: column; align-items: stretch; gap: 18px; }
  .trust-strip div { flex-wrap: wrap; justify-content: flex-start; gap: 24px; }
  .feature-layout { gap: 45px; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .step:nth-child(2)::after { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 650px; margin-inline: auto; }
  .price-card.featured { transform: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2/4; }
}

@media (max-width: 800px) {
  .section { padding: 82px 0; }
  .desktop-nav, .desktop-only { display: none; }
  .menu-toggle { display: block; }
  .header-actions { gap: 8px; }
  .hero { padding-top: 65px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .section-heading.split { grid-template-columns: 1fr; gap: 8px; }
  .feature-layout, .security-grid, .faq-grid { grid-template-columns: 1fr; }
  .feature-layout { gap: 50px; }
  .feature-visual { min-height: 590px; }
  .security-copy { order: 1; }
  .security-visual { min-height: 330px; }
  .shield-figure { width: 270px; }
  .faq-grid { gap: 25px; }
  .cta { padding-top: 20px; }
  .cta-inner { padding: 42px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 580px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { height: 68px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text strong { font-size: 13px; }
  .header-actions .button-small { display: none; }
  .mobile-nav { top: 68px; }
  h1 { font-size: 42px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-meta { flex-direction: column; gap: 10px; align-items: center; }
  .hero-visual { margin-top: 12px; padding-bottom: 74px; }
  .dashboard-window { transform: none; }
  .dashboard-body { grid-template-columns: 1fr; min-height: 410px; }
  .dashboard-sidebar { display: none; }
  .dashboard-content { padding: 17px; }
  .floating-card { transform: scale(.9); }
  .floating-card-one { left: -10px; bottom: 18px; }
  .floating-card-two { right: -12px; top: 8px; }
  .trust-strip div { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .section-heading h2 { font-size: 35px; }
  .feature-visual { min-height: 545px; }
  .phone-shell { transform: scale(.86) rotate(-2deg); }
  .feature-item { grid-template-columns: 48px 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .step { min-height: 250px; }
  .price-card { padding: 27px; }
  .cta-inner { padding: 36px 24px; }
  .cta-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}


/* EVENTHES KIDS learning/AI edition */
:root {
  --primary: #2f80ed;
  --primary-dark: #1768cc;
  --primary-soft: #eaf3ff;
  --blue: #2f80ed;
  --green: #24a874;
  --rose: #f06f91;
}
.site-header { background: rgba(248, 252, 255, .9); }
.language-switch { display: inline-flex; align-items: center; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 5px 14px rgba(31, 92, 160, .06); }
.language-switch a, .mobile-language-switch a { min-width: 34px; height: 30px; display: grid; place-items: center; border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 850; }
.language-switch a.active, .mobile-language-switch a.active { background: var(--primary); color: #fff; }
.mobile-language-switch { display: none; gap: 6px; padding-top: 14px; }
.emoji-icon { font-size: 22px; font-weight: 900; }
.subject-grid { grid-template-columns: repeat(3, 1fr); }
.subject-card { min-height: 250px; }
.learning-card { background: linear-gradient(150deg, #3d91fa, #1768cc); }
.learning-card .time-ring::after { background: #2b78dc; }
.mini-solve { display: grid; place-items: center; min-height: 34px; margin-top: 10px; border-radius: 10px; background: #fff; color: var(--primary-dark); font-size: 9px; font-weight: 850; }
.security { background: linear-gradient(135deg, #0f3c72 0%, #1768cc 55%, #2f80ed 100%); }
.focus-figure { position: relative; width: min(390px, 100%); padding: 38px; }
.focus-card { position: relative; z-index: 2; padding: 30px; border: 1px solid rgba(255,255,255,.3); border-radius: 28px; background: rgba(255,255,255,.95); color: var(--text); box-shadow: 0 32px 80px rgba(5,39,80,.35); transform: rotate(2deg); }
.focus-label { color: var(--primary); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.focus-card > strong { display: block; margin: 14px 0 4px; font-size: 42px; line-height: 1; }
.focus-card > p { color: var(--muted); }
.focus-task { display: grid; place-items: center; min-height: 100px; margin: 20px 0; border-radius: 18px; background: var(--primary-soft); color: var(--primary-dark); font-size: 32px; font-weight: 900; }
.focus-button { display: grid; place-items: center; min-height: 46px; border-radius: 13px; background: var(--primary); color: #fff; font-weight: 850; }
.floating-icon.shield { font-size: 11px; font-weight: 900; }
.hero-meta span::first-letter { color: var(--green); }
@media (max-width: 1040px) {
  .language-switch { display: none; }
  .mobile-language-switch { display: flex; }
}
@media (max-width: 760px) {
  .subject-grid { grid-template-columns: 1fr; }
  .subject-card { min-height: auto; }
  .focus-figure { padding: 15px; }
}
