:root {
  --bg: #050816;
  --bg-2: #081124;
  --surface: rgba(12, 19, 41, .72);
  --surface-2: rgba(13, 24, 52, .88);
  --line: rgba(148, 163, 184, .17);
  --text: #f8fafc;
  --muted: #9aa8bf;
  --cyan: #6ee7f9;
  --violet: #8b5cf6;
  --pink: #ff6fd8;
  --green: #34d399;
  --shadow: 0 32px 90px rgba(0,0,0,.45);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 12%, rgba(110,231,249,.11), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(139,92,246,.16), transparent 30%),
    radial-gradient(circle at 62% 84%, rgba(255,111,216,.08), transparent 30%),
    linear-gradient(180deg, #040713 0%, #071024 46%, #040713 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content:"";
  position: fixed;
  inset:0;
  pointer-events:none;
  opacity:.14;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  z-index:-2;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; }
.eyebrow { display:inline-flex; align-items:center; gap:9px; padding:8px 12px; border:1px solid rgba(110,231,249,.26); background:rgba(110,231,249,.07); color:#d7fbff; border-radius:999px; font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; font-weight:700; }
.eyebrow::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--cyan); box-shadow:0 0 18px var(--cyan); }
h1,h2,h3,p { margin-top:0; }
h1 { font-size:clamp(3rem,7vw,6.5rem); line-height:.94; letter-spacing:-.065em; margin-bottom:26px; }
h2 { font-size:clamp(2.15rem,4vw,4.2rem); line-height:1; letter-spacing:-.045em; margin-bottom:20px; }
h3 { font-size:1.22rem; letter-spacing:-.02em; }
p { color:var(--muted); line-height:1.72; }
.gradient-text { background:linear-gradient(90deg,#f8fafc 0%, #bff8ff 24%, #9e8bff 58%, #ff9de7 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.lead { font-size:clamp(1.02rem,1.6vw,1.22rem); max-width:710px; }
.nav-wrap { position:sticky; top:0; z-index:100; padding:14px 0; backdrop-filter: blur(18px); background:linear-gradient(180deg,rgba(4,7,19,.92),rgba(4,7,19,.42)); border-bottom:1px solid rgba(255,255,255,.04); }
.nav { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.logo img { width:210px; }
.nav-links { display:flex; align-items:center; gap:24px; font-size:.92rem; color:#c6d0df; }
.nav-links a { transition:.2s ease; }
.nav-links a:hover { color:white; }
.nav-actions { display:flex; align-items:center; gap:10px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:13px 18px; min-height:48px; border-radius:14px; border:1px solid var(--line); color:white; background:rgba(255,255,255,.045); transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease; font-weight:720; }
.btn:hover { transform:translateY(-2px); border-color:rgba(110,231,249,.4); }
.btn-primary { border:0; color:#06111e; background:linear-gradient(135deg,var(--cyan),#a8f5ff 35%,#b7a6ff 74%,#ffc5ef); box-shadow:0 12px 42px rgba(110,231,249,.2); }
.btn-primary:hover { box-shadow:0 16px 52px rgba(110,231,249,.28); }
.btn-ghost { background:rgba(255,255,255,.03); }
.menu-btn { display:none; width:46px; height:46px; border:1px solid var(--line); background:rgba(255,255,255,.04); border-radius:14px; color:white; }
.hero { min-height:760px; display:flex; align-items:center; padding:76px 0 88px; position:relative; }
.hero-grid { display:grid; grid-template-columns:1.02fr .98fr; gap:40px; align-items:center; }
.hero-copy { position:relative; z-index:2; }
.hero-copy h1 { max-width:820px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin:32px 0 26px; }
.hero-proof { display:flex; flex-wrap:wrap; gap:18px; color:#aeb9ca; font-size:.88rem; }
.hero-proof span { display:flex; gap:8px; align-items:center; }
.check { width:19px; height:19px; border-radius:50%; display:inline-grid; place-items:center; color:#06111e; background:linear-gradient(135deg,var(--cyan),#d8fdff); font-size:.75rem; font-weight:900; }
.hero-visual { min-height:560px; position:relative; perspective:1200px; display:grid; place-items:center; }
.orbit { position:absolute; width:440px; height:440px; border-radius:50%; border:1px solid rgba(110,231,249,.18); transform:rotateX(70deg) rotateZ(15deg); box-shadow:0 0 80px rgba(110,231,249,.06); }
.orbit.o2 { width:330px; height:330px; border-color:rgba(139,92,246,.22); transform:rotateX(68deg) rotateZ(-28deg); }
.orbit::after { content:""; position:absolute; width:12px; height:12px; border-radius:50%; background:var(--cyan); box-shadow:0 0 24px var(--cyan); top:20px; left:118px; animation:orbitPulse 3s ease-in-out infinite; }
@keyframes orbitPulse { 50% { transform:scale(1.5); opacity:.55; } }
.scene-card { width:min(460px,90vw); min-height:390px; transform-style:preserve-3d; transform:rotateY(-10deg) rotateX(7deg); border:1px solid rgba(255,255,255,.14); background:linear-gradient(145deg,rgba(15,28,56,.92),rgba(8,14,33,.78)); border-radius:32px; box-shadow:0 50px 110px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.12); padding:28px; position:relative; backdrop-filter: blur(20px); transition:transform .18s ease-out; }
.scene-card::before { content:""; position:absolute; inset:-1px; border-radius:inherit; padding:1px; background:linear-gradient(135deg,rgba(110,231,249,.8),rgba(139,92,246,.08),rgba(255,111,216,.45)); -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none; }
.scene-top { display:flex; justify-content:space-between; gap:18px; align-items:center; margin-bottom:24px; }
.avatar { width:52px; height:52px; border-radius:16px; display:grid; place-items:center; background:linear-gradient(135deg,rgba(110,231,249,.25),rgba(139,92,246,.25)); border:1px solid rgba(255,255,255,.13); font-size:1.15rem; font-weight:800; }
.live-pill { color:#d8fff1; background:rgba(52,211,153,.10); border:1px solid rgba(52,211,153,.22); border-radius:999px; padding:8px 11px; font-size:.76rem; }
.class-card { padding:18px; border-radius:19px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.04); margin-bottom:14px; transform:translateZ(22px); }
.class-card strong { display:block; margin-bottom:6px; }
.progress-line { height:8px; border-radius:99px; background:rgba(255,255,255,.06); overflow:hidden; margin-top:12px; }
.progress-line span { display:block; height:100%; width:78%; background:linear-gradient(90deg,var(--cyan),var(--violet)); border-radius:inherit; }
.scene-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.mini-stat { min-height:105px; padding:16px; border-radius:18px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.035); transform:translateZ(12px); }
.mini-stat b { font-size:1.6rem; display:block; margin-top:8px; }
.floating-chip { position:absolute; padding:11px 14px; border-radius:14px; border:1px solid rgba(255,255,255,.14); background:rgba(10,19,41,.78); backdrop-filter:blur(18px); color:#dfe8f5; font-size:.82rem; box-shadow:var(--shadow); animation:float 5s ease-in-out infinite; }
.chip-1 { top:18%; left:-3%; }
.chip-2 { right:-2%; bottom:22%; animation-delay:-1.6s; }
.chip-3 { bottom:7%; left:9%; animation-delay:-3s; }
@keyframes float { 50% { transform:translateY(-12px) rotate(1deg); } }
.logo-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:34px; }
.tag-card { padding:18px; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.025); color:#cbd5e1; text-align:center; }
.split { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.card { position:relative; overflow:hidden; padding:30px; border-radius:var(--radius); border:1px solid var(--line); background:linear-gradient(145deg,rgba(15,27,52,.78),rgba(8,14,31,.72)); box-shadow:0 24px 70px rgba(0,0,0,.2); }
.card::after { content:""; position:absolute; width:160px; height:160px; border-radius:50%; filter:blur(55px); background:rgba(110,231,249,.08); right:-30px; top:-45px; }
.card.purple::after { background:rgba(139,92,246,.12); }
.card.pink::after { background:rgba(255,111,216,.1); }
.service-card { min-height:360px; display:flex; flex-direction:column; justify-content:space-between; perspective:900px; transform-style:preserve-3d; transition:transform .24s ease,border-color .24s ease; }
.service-card:hover { transform:translateY(-7px) rotateX(1deg) rotateY(-1deg); border-color:rgba(110,231,249,.36); }
.icon-cube { width:66px; height:66px; border-radius:20px; display:grid; place-items:center; background:linear-gradient(145deg,rgba(110,231,249,.16),rgba(139,92,246,.16)); border:1px solid rgba(255,255,255,.12); box-shadow:inset -10px -10px 24px rgba(0,0,0,.16), inset 10px 10px 24px rgba(255,255,255,.04); font-size:1.65rem; transform:translateZ(20px); }
.kicker { color:#d8f9ff; font-weight:750; font-size:.88rem; }
.card-list { display:grid; gap:10px; margin:20px 0 26px; padding:0; list-style:none; color:#b7c3d5; }
.card-list li { display:flex; gap:10px; align-items:flex-start; }
.card-list li::before { content:"↗"; color:var(--cyan); }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:34px; margin-bottom:40px; }
.section-head p { max-width:560px; margin-bottom:0; }
.steps { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.step { padding:24px 20px; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.025); min-height:190px; position:relative; }
.step-num { font-size:.75rem; letter-spacing:.15em; color:var(--cyan); margin-bottom:30px; }
.step:not(:last-child)::after { content:""; position:absolute; right:-15px; top:50%; width:16px; height:1px; background:linear-gradient(90deg,rgba(110,231,249,.5),transparent); }
.subject-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.subject-card { padding:26px; border:1px solid var(--line); border-radius:22px; min-height:280px; background:linear-gradient(160deg,rgba(255,255,255,.045),rgba(255,255,255,.015)); transition:.22s ease; }
.subject-card:hover { transform:translateY(-5px); border-color:rgba(139,92,246,.36); }
.subject-symbol { width:52px; height:52px; border-radius:16px; display:grid; place-items:center; background:linear-gradient(135deg,rgba(110,231,249,.14),rgba(139,92,246,.16)); margin-bottom:28px; font-weight:900; }
.portal-shell { display:grid; grid-template-columns:220px 1fr; min-height:450px; border:1px solid var(--line); border-radius:30px; overflow:hidden; background:rgba(7,13,29,.86); box-shadow:var(--shadow); transform:perspective(1500px) rotateX(2deg); }
.portal-side { padding:24px 18px; border-right:1px solid var(--line); background:rgba(255,255,255,.02); }
.portal-side div { padding:11px 12px; margin:5px 0; color:#94a3b8; border-radius:11px; font-size:.86rem; }
.portal-side .active { color:white; background:rgba(110,231,249,.09); border:1px solid rgba(110,231,249,.14); }
.portal-main { padding:28px; }
.portal-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.dashboard-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:14px; }
.dashboard-panel { padding:20px; border:1px solid rgba(255,255,255,.08); border-radius:18px; background:rgba(255,255,255,.025); min-height:150px; }
.chart-bars { height:100px; display:flex; align-items:end; gap:9px; padding-top:12px; }
.chart-bars i { flex:1; min-width:10px; border-radius:7px 7px 3px 3px; background:linear-gradient(180deg,var(--cyan),rgba(139,92,246,.7)); opacity:.8; }
.cta-panel { padding:58px; border-radius:32px; position:relative; overflow:hidden; text-align:center; border:1px solid rgba(255,255,255,.12); background:linear-gradient(135deg,rgba(14,31,60,.94),rgba(22,13,52,.9)); }
.cta-panel::before { content:""; position:absolute; inset:-40%; background:conic-gradient(from 0deg,transparent,rgba(110,231,249,.14),transparent,rgba(255,111,216,.1),transparent); animation:spin 18s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.cta-panel > * { position:relative; z-index:1; }
.page-hero { padding:110px 0 65px; text-align:center; }
.page-hero .lead { margin-left:auto; margin-right:auto; }
.form-shell { max-width:860px; margin:0 auto; padding:34px; border:1px solid var(--line); border-radius:30px; background:rgba(8,15,34,.88); box-shadow:var(--shadow); }
.progress { display:flex; gap:8px; margin-bottom:28px; }
.progress span { height:5px; flex:1; background:rgba(255,255,255,.07); border-radius:99px; }
.progress span.active { background:linear-gradient(90deg,var(--cyan),var(--violet)); }
.form-step { display:none; }
.form-step.active { display:block; animation:fadeIn .25s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(8px); } }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { display:grid; gap:8px; }
.field.full { grid-column:1/-1; }
label { color:#dce6f3; font-size:.88rem; font-weight:650; }
input,select,textarea { width:100%; border:1px solid rgba(148,163,184,.2); border-radius:14px; background:rgba(255,255,255,.035); color:white; padding:13px 14px; outline:none; transition:.18s ease; }
select option { color:#111827; }
input:focus,select:focus,textarea:focus { border-color:rgba(110,231,249,.62); box-shadow:0 0 0 4px rgba(110,231,249,.07); }
textarea { min-height:130px; resize:vertical; }
.choice-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.choice input { display:none; }
.choice label { display:block; padding:18px; border:1px solid var(--line); border-radius:17px; background:rgba(255,255,255,.025); text-align:center; cursor:pointer; transition:.18s ease; }
.choice input:checked + label { border-color:var(--cyan); background:rgba(110,231,249,.09); box-shadow:0 0 24px rgba(110,231,249,.08); }
.form-actions { display:flex; justify-content:space-between; gap:12px; margin-top:28px; }
.form-note { margin-top:16px; font-size:.83rem; color:#8190a7; }
.success-box { display:none; padding:30px; text-align:center; }
.success-box.show { display:block; }
.footer { border-top:1px solid rgba(255,255,255,.06); padding:54px 0 30px; background:rgba(0,0,0,.14); }
.footer-grid { display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:34px; }
.footer h4 { margin:0 0 14px; font-size:.95rem; }
.footer a { display:block; color:#93a1b6; padding:5px 0; font-size:.9rem; }
.footer a:hover { color:white; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px; border-top:1px solid rgba(255,255,255,.06); padding-top:22px; margin-top:32px; color:#75839a; font-size:.82rem; }
.footer-bottom .lpa-credit { color:#8492a8; }
.footer-bottom .lpa-credit a { display:inline; padding:0; color:#aeb9ca; font-size:inherit; }
.footer-bottom .lpa-credit a:hover { color:white; }
.badge-row { display:flex; flex-wrap:wrap; gap:9px; margin-top:18px; }
.badge { padding:8px 11px; border-radius:999px; background:rgba(255,255,255,.04); border:1px solid var(--line); color:#afbdd0; font-size:.79rem; }
.compare { overflow:auto; border:1px solid var(--line); border-radius:24px; }
.compare table { width:100%; border-collapse:collapse; min-width:720px; background:rgba(255,255,255,.02); }
.compare th,.compare td { padding:18px 20px; text-align:left; border-bottom:1px solid rgba(255,255,255,.06); }
.compare th { color:white; background:rgba(255,255,255,.025); }
.compare td { color:#aeb9ca; }
.faq { display:grid; gap:12px; max-width:850px; margin:0 auto; }
.faq-item { border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.025); overflow:hidden; }
.faq-q { width:100%; border:0; background:transparent; color:white; text-align:left; padding:19px 21px; display:flex; justify-content:space-between; align-items:center; font-weight:700; }
.faq-a { max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-a p { padding:0 21px 20px; margin:0; }
.faq-item.open .faq-a { max-height:240px; }
.faq-item.open .faq-q span { transform:rotate(45deg); }
.mobile-panel { display:none; }
@media (max-width: 1000px) {
  .nav-links,.nav-actions .btn-ghost { display:none; }
  .menu-btn { display:inline-grid; place-items:center; }
  .mobile-panel { position:fixed; inset:76px 20px auto 20px; background:rgba(8,14,31,.97); border:1px solid var(--line); border-radius:20px; padding:16px; z-index:99; box-shadow:var(--shadow); }
  .mobile-panel.show { display:block; }
  .mobile-panel a { display:block; padding:13px 12px; color:#d5dfec; }
  .hero { min-height:auto; }
  .hero-grid { grid-template-columns:1fr; }
  .hero-visual { min-height:500px; }
  .steps { grid-template-columns:1fr 1fr; }
  .step::after { display:none; }
  .portal-shell { grid-template-columns:1fr; }
  .portal-side { display:none; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 720px) {
  .container { width:min(100% - 26px,var(--container)); }
  .section { padding:72px 0; }
  .hero { padding-top:48px; }
  h1 { font-size:clamp(3rem,16vw,4.6rem); }
  .hero-visual { min-height:430px; }
  .scene-card { padding:20px; min-height:360px; transform:none; }
  .orbit { width:330px; height:330px; }
  .orbit.o2 { width:250px; height:250px; }
  .chip-1 { left:0; top:9%; }
  .chip-2 { right:0; bottom:12%; }
  .chip-3 { display:none; }
  .split,.subject-grid,.dashboard-grid,.form-grid,.choice-grid { grid-template-columns:1fr; }
  .steps { grid-template-columns:1fr; }
  .section-head { display:block; }
  .section-head p { margin-top:14px; }
  .logo-strip { grid-template-columns:1fr 1fr; }
  .form-shell { padding:22px; border-radius:22px; }
  .cta-panel { padding:42px 22px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; }
  .nav-actions .btn-primary { display:none; }
  .logo img { width:190px; }
  .form-actions { flex-direction:column-reverse; }
  .form-actions .btn { width:100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior:auto !important; animation:none !important; transition:none !important; }
}


/* ===== V2 futuristic enhancements ===== */
:root {
  --surface-1: rgba(255,255,255,.04);
  --surface-2: rgba(14,22,47,.86);
}
html { overflow-x:hidden; }
body {
  background:
    radial-gradient(circle at 15% 20%, rgba(110,231,249,.12), transparent 30%),
    radial-gradient(circle at 83% 14%, rgba(139,92,246,.12), transparent 26%),
    radial-gradient(circle at 52% 88%, rgba(255,111,216,.08), transparent 26%),
    linear-gradient(180deg,#040714 0%,#050816 48%,#060b18 100%);
}
body::before {
  opacity:.72;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 85%);
}
body::after {
  content:"";
  position:fixed; inset:0; pointer-events:none; z-index:0;
  background:
    radial-gradient(circle at 10% 20%, rgba(110,231,249,.08) 0 0, transparent 26%),
    radial-gradient(circle at 85% 12%, rgba(139,92,246,.08) 0 0, transparent 22%),
    radial-gradient(circle at 65% 75%, rgba(255,111,216,.06) 0 0, transparent 25%);
  filter: blur(10px);
}
main, .nav-wrap, .footer { position:relative; z-index:1; }
.nav-wrap {
  backdrop-filter: blur(18px) saturate(140%);
  background:linear-gradient(180deg,rgba(8,15,34,.76),rgba(8,15,34,.54));
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 12px 36px rgba(0,0,0,.18);
}
.nav { min-height:86px; }
.btn {
  position:relative; overflow:hidden; isolation:isolate; transform-style:preserve-3d;
}
.btn::before {
  content:""; position:absolute; inset:-1px; z-index:-1; opacity:0; pointer-events:none;
  background:radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.22), transparent 38%);
  transition:opacity .22s ease;
}
.btn:hover::before { opacity:1; }
.btn:hover { box-shadow:0 20px 35px rgba(0,0,0,.26), 0 0 0 1px rgba(255,255,255,.06) inset; }
.hero { overflow:hidden; }
.hero::after {
  content:""; position:absolute; inset:12% -20% auto; height:320px; pointer-events:none;
  background:radial-gradient(circle at center, rgba(110,231,249,.11), transparent 55%);
  filter: blur(30px);
}
.hero-grid { align-items:center; }
.hero-copy { position:relative; z-index:3; }
.hero-proof span, .floating-chip, .live-pill, .badge, .tag-card { backdrop-filter: blur(18px) saturate(140%); }
.hero-visual {
  transform-style:preserve-3d; perspective:1400px; overflow:visible;
}
.hero-visual::before {
  content:""; position:absolute; inset:10% 18% 12%; border-radius:50%;
  background:radial-gradient(circle, rgba(110,231,249,.18), transparent 60%);
  filter: blur(30px);
}
.scene-card, .portal-shell, .service-card, .subject-card, .step, .tag-card, .dashboard-panel, .card, .faq-item, .form-shell {
  transform-style:preserve-3d; will-change:transform;
}
.scene-card {
  border-color:rgba(255,255,255,.14);
  box-shadow:0 35px 90px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(255,255,255,.05);
}
.scene-card::before {
  content:""; position:absolute; inset:-20% -10% auto; height:55%; pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.18), transparent 70%);
  opacity:.38; transform:translateZ(34px) rotate(-5deg);
}
.scene-card::after {
  content:""; position:absolute; inset:auto 10% 4% 10%; height:12%; pointer-events:none;
  background:radial-gradient(circle at center, rgba(110,231,249,.22), transparent 68%);
  filter: blur(18px);
}
.orbit, .floating-chip, .scene-card, .mini-stat, .class-card { backface-visibility:hidden; }
.orbit { box-shadow:0 0 0 1px rgba(255,255,255,.08) inset, 0 0 32px rgba(110,231,249,.08); }
.orbit::after {
  content:""; position:absolute; width:12px; height:12px; border-radius:50%;
  background:linear-gradient(135deg,var(--cyan),#fff);
  box-shadow:0 0 22px rgba(110,231,249,.8);
  top:12%; left:50%; transform:translateX(-50%);
}
.floating-chip {
  box-shadow:0 22px 42px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.12);
}
.floating-chip:hover { transform:translateY(-4px) translateZ(20px); }
.icon-cube, .subject-symbol {
  position:relative; box-shadow:0 16px 40px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.18);
}
.icon-cube::after, .subject-symbol::after {
  content:""; position:absolute; inset:-18%; border-radius:inherit; border:1px solid rgba(255,255,255,.08);
  transform:translateZ(-8px) scale(.9);
}
.service-card, .subject-card, .step, .tag-card, .dashboard-panel, .faq-item, .form-shell, .portal-shell, .card {
  position:relative; overflow:hidden;
}
.service-card::before, .subject-card::before, .step::before, .tag-card::before, .dashboard-panel::before, .faq-item::before, .form-shell::before, .portal-shell::before, .card::before {
  content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
  background:radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(110,231,249,.15), transparent 33%);
  opacity:0; transition:opacity .25s ease;
}
.service-card::after, .subject-card::after, .step::after, .dashboard-panel::after, .card::after {
  box-shadow:none;
}
.service-card:hover::before, .subject-card:hover::before, .step:hover::before, .tag-card:hover::before, .dashboard-panel:hover::before, .faq-item:hover::before, .form-shell:hover::before, .portal-shell:hover::before, .card:hover::before {
  opacity:1;
}
.service-card > *, .subject-card > *, .step > *, .dashboard-panel > *, .form-shell > *, .portal-shell > *, .card > * { position:relative; z-index:1; }
.service-card:hover, .subject-card:hover, .step:hover, .tag-card:hover, .dashboard-panel:hover, .faq-item:hover, .card:hover {
  border-color:rgba(110,231,249,.28);
  box-shadow:0 30px 60px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.subject-card:hover .subject-symbol, .service-card:hover .icon-cube { transform:translateY(-5px) translateZ(24px) rotateY(10deg); }
.section-head h2 .gradient-text { filter: drop-shadow(0 0 18px rgba(110,231,249,.18)); }
.portal-shell {
  background:linear-gradient(160deg, rgba(10,18,39,.92), rgba(13,21,44,.82));
  box-shadow:0 30px 80px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
}
.portal-main::before {
  content:""; position:absolute; inset:-10% 50% auto -10%; height:120px; pointer-events:none;
  background:linear-gradient(90deg, rgba(110,231,249,.14), transparent);
  filter: blur(26px);
}
.portal-main { position:relative; overflow:hidden; }
.portal-main .dashboard-panel { background:rgba(255,255,255,.04); }
.cta-panel { box-shadow:0 35px 90px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.12); }
.choice label:hover { transform:translateY(-2px); border-color:rgba(110,231,249,.28); }
.form-note { color:#b0bed0; }
.cursor-glow, .cursor-dot {
  position:fixed; left:0; top:0; pointer-events:none; z-index:3; opacity:0; transition:opacity .2s ease;
}
.cursor-glow { width:260px; height:260px; margin-left:-130px; margin-top:-130px; border-radius:50%;
  background:radial-gradient(circle, rgba(110,231,249,.16), rgba(110,231,249,.09) 20%, rgba(110,231,249,.03) 42%, transparent 70%);
  filter:blur(16px); mix-blend-mode:screen;
}
.cursor-dot { width:14px; height:14px; margin-left:-7px; margin-top:-7px; border-radius:50%;
  background:radial-gradient(circle at 35% 35%, #fff, rgba(110,231,249,.95) 45%, rgba(110,231,249,.2) 80%, transparent 100%);
  box-shadow:0 0 22px rgba(110,231,249,.75);
}
body.cursor-active .cursor-glow, body.cursor-active .cursor-dot { opacity:1; }
.float-object {
  position:absolute; pointer-events:none; transform-style:preserve-3d; filter:drop-shadow(0 18px 40px rgba(0,0,0,.38));
}
.float-cube {
  width:86px; height:86px; border-radius:22px;
  background:linear-gradient(145deg, rgba(110,231,249,.22), rgba(139,92,246,.18));
  border:1px solid rgba(255,255,255,.14);
  transform:rotateX(65deg) rotateZ(35deg) translateZ(30px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2);
}
.float-cube::before, .float-cube::after {
  content:""; position:absolute; border-radius:18px; border:1px solid rgba(255,255,255,.1);
}
.float-cube::before { inset:12px; }
.float-cube::after { inset:-14px; opacity:.5; }
.float-ring {
  width:120px; height:120px; border-radius:50%;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 0 30px rgba(110,231,249,.08), inset 0 0 40px rgba(139,92,246,.12);
}
.float-ring::before, .float-ring::after {
  content:""; position:absolute; inset:18px; border-radius:50%; border:1px dashed rgba(110,231,249,.3);
}
.float-ring::after { inset:36px; border-style:solid; border-color:rgba(255,111,216,.26); }
.float-atom {
  width:126px; height:126px; border-radius:50%;
}
.float-atom::before, .float-atom::after, .float-atom span {
  content:""; position:absolute; inset:0; border-radius:50%; border:1px solid rgba(255,255,255,.16);
}
.float-atom::before { transform:rotate(62deg) scaleX(.54); }
.float-atom::after { transform:rotate(-62deg) scaleX(.54); }
.float-atom span { transform:scaleX(.54); }
.float-atom i, .float-ring i {
  position:absolute; width:12px; height:12px; border-radius:50%; background:var(--cyan); box-shadow:0 0 18px rgba(110,231,249,.72);
}
.float-atom i.e1 { top:4px; left:52%; }
.float-atom i.e2 { bottom:8px; left:18%; background:#ff6fd8; box-shadow:0 0 18px rgba(255,111,216,.72); }
.float-ring i { right:8px; top:44%; background:#fff; box-shadow:0 0 20px rgba(255,255,255,.9); }
.float-pyramid {
  width:0; height:0; border-left:52px solid transparent; border-right:52px solid transparent; border-bottom:94px solid rgba(139,92,246,.22);
  filter:drop-shadow(0 18px 32px rgba(0,0,0,.38));
}
.float-pyramid::before {
  content:""; position:absolute; left:-40px; top:18px; width:0; height:0; border-left:40px solid transparent; border-right:40px solid transparent; border-bottom:72px solid rgba(110,231,249,.18);
}
.float-object.floaty-1 { animation:floatY 7s ease-in-out infinite; }
.float-object.floaty-2 { animation:floatY 9s ease-in-out infinite reverse; }
.float-object.floaty-3 { animation:floatY 8.2s ease-in-out infinite; }
.float-object.floaty-4 { animation:floatY 10s ease-in-out infinite reverse; }
@keyframes floatY {
  0%,100% { transform:translate3d(0,0,0) rotateZ(0deg); }
  50% { transform:translate3d(0,-18px,14px) rotateZ(4deg); }
}
.kpi-row { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:30px; }
.kpi-card { padding:18px 20px; border-radius:20px; border:1px solid rgba(255,255,255,.1); background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)); box-shadow:0 24px 50px rgba(0,0,0,.22); }
.kpi-card strong { display:block; font-size:1.3rem; margin-top:8px; }
@media (max-width: 1000px) {
  .cursor-glow, .cursor-dot { display:none; }
  body { cursor:auto; }
}
@media (max-width: 720px) {
  .float-object { display:none; }
  .kpi-row { grid-template-columns:1fr; }
}


/* ===== V2 FUTURISTIC LAYER ===== */
:root {
  --glow-cyan: rgba(110,231,249,.34);
  --glow-violet: rgba(139,92,246,.28);
  --glow-pink: rgba(255,111,216,.18);
}
body {
  position: relative;
}
body::after {
  content:"";
  position: fixed;
  inset: -20%;
  pointer-events:none;
  background:
    radial-gradient(circle at 20% 18%, rgba(110,231,249,.07), transparent 20%),
    radial-gradient(circle at 80% 20%, rgba(139,92,246,.10), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(255,111,216,.06), transparent 22%);
  filter: blur(28px);
  animation: bgDrift 26s linear infinite alternate;
  z-index:-3;
}
@keyframes bgDrift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1.5%, 0) scale(1.06); }
}
.mouse-glow {
  position: fixed;
  left: 0; top: 0;
  width: 360px; height: 360px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(110,231,249,.13) 0%, rgba(139,92,246,.08) 30%, rgba(255,111,216,.03) 54%, transparent 70%);
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: screen;
  opacity: .85;
  z-index: 3;
  transition: opacity .25s ease;
}
.mouse-glow.hide { opacity: 0; }
.nav-wrap { background:linear-gradient(180deg,rgba(4,7,19,.94),rgba(4,7,19,.58)); box-shadow:0 6px 28px rgba(0,0,0,.12); }
.nav-links a { position:relative; }
.nav-links a::after {
  content:""; position:absolute; left:0; right:100%; bottom:-7px; height:2px;
  background:linear-gradient(90deg,var(--cyan),var(--violet)); transition:right .24s ease;
  border-radius:999px;
}
.nav-links a:hover::after { right:0; }
.coming-pill {
  display:inline-flex; align-items:center; gap:9px; padding:12px 14px; min-height:48px;
  border-radius:14px; border:1px solid rgba(255,255,255,.09);
  background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.02));
  color:#d7e1ef; font-size:.84rem; font-weight:650; white-space:nowrap;
}
.coming-pill::before {
  content:""; width:8px; height:8px; border-radius:50%; background:var(--cyan); box-shadow:0 0 16px var(--cyan);
}
.btn, .service-card, .subject-card, .step, .tag-card, .card, .faq-item, .dashboard-panel, .mini-stat, .class-card, .form-shell, .subject-section, .compare, .cta-panel, .stat-card {
  position: relative;
}
.btn::before, .service-card::before, .subject-card::before, .step::before, .tag-card::before, .faq-item::before, .dashboard-panel::before, .form-shell::before, .subject-section::before, .stat-card::before {
  content:"";
  position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,50%), rgba(110,231,249,.13), transparent 28%);
  opacity:0; transition:opacity .25s ease;
}
.btn:hover::before, .service-card:hover::before, .subject-card:hover::before, .step:hover::before, .tag-card:hover::before, .faq-item:hover::before, .dashboard-panel:hover::before, .form-shell:hover::before, .subject-section:hover::before, .stat-card:hover::before { opacity: 1; }
.btn {
  transform-style: preserve-3d;
}
.btn:hover { box-shadow:0 14px 40px rgba(110,231,249,.12); }
.hero { overflow:hidden; }
.hero::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
   linear-gradient(90deg, transparent 0%, rgba(255,255,255,.03) 48%, transparent 49%, transparent 100%),
   linear-gradient(180deg, rgba(110,231,249,.04), transparent 32%);
  mask-image: linear-gradient(to bottom, black 15%, transparent 100%);
}
.hero-grid { position:relative; z-index:2; }
.hero-copy { transform: translateZ(0); }
.hero-copy .eyebrow { box-shadow:0 8px 24px rgba(110,231,249,.08); }
.hero-visual::before {
  content:""; position:absolute; width:560px; height:560px; border-radius:50%;
  background: radial-gradient(circle, rgba(110,231,249,.10) 0%, rgba(139,92,246,.05) 38%, transparent 65%);
  filter: blur(4px);
}
.scene-card {
  overflow: visible;
}
.scene-card .holo-ring {
  position:absolute; inset:auto auto 16px 50%; width:180px; height:180px; margin-left:-90px;
  border-radius:50%; border:1px solid rgba(110,231,249,.18); transform:translateZ(-20px) rotateX(78deg);
  box-shadow:0 0 42px rgba(110,231,249,.08);
}
.floating-chip { backdrop-filter:blur(24px); }
.tech-dots {
  position:absolute; inset:0; overflow:hidden; pointer-events:none;
}
.tech-dots i {
  position:absolute; width:5px; height:5px; border-radius:50%; background:rgba(110,231,249,.75); box-shadow:0 0 14px rgba(110,231,249,.6);
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle { 50% { opacity:.3; transform:scale(.65); } }
.orbit-object, .geo-shape {
  position:absolute; display:grid; place-items:center; pointer-events:none;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(145deg,rgba(12,22,46,.9),rgba(19,12,43,.64));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
  color:#eafcff;
}
.orbit-object {
  width:74px; height:74px; border-radius:22px; font-size:1.8rem;
}
.geo-shape {
  width:92px; height:92px; border-radius:28px;
}
.geo-shape::before {
  content:""; width:46px; height:46px; border:1px solid rgba(110,231,249,.34); border-radius:14px; transform:rotate(45deg);
}
.obj-1 { top:8%; right:8%; transform:translateZ(30px) rotate(-10deg); }
.obj-2 { top:46%; right:-1%; transform:translateZ(30px) rotate(10deg); }
.obj-3 { bottom:10%; left:-2%; transform:translateZ(30px) rotate(-10deg); }
.obj-4 { top:12%; left:2%; transform:translateZ(20px) rotate(6deg); }
.service-card, .subject-card, .step, .tag-card, .faq-item, .dashboard-panel, .subject-section, .stat-card {
  transform-style: preserve-3d;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.service-card:hover, .subject-card:hover, .step:hover, .tag-card:hover, .faq-item:hover, .dashboard-panel:hover, .subject-section:hover, .stat-card:hover {
  box-shadow: 0 22px 60px rgba(0,0,0,.24), 0 0 0 1px rgba(110,231,249,.08) inset;
}
.service-card:hover strong, .subject-card:hover h3, .step:hover h3 { text-shadow:0 0 16px rgba(110,231,249,.12); }
.subject-symbol, .icon-cube, .step-num {
  box-shadow:0 12px 30px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.06);
}
.page-hero {
  position:relative; overflow:hidden;
}
.page-hero::before, .page-hero::after {
  content:""; position:absolute; border-radius:50%; filter:blur(18px); pointer-events:none;
}
.page-hero::before { width:280px; height:280px; left:6%; top:0; background:rgba(110,231,249,.07); }
.page-hero::after { width:240px; height:240px; right:10%; top:6%; background:rgba(139,92,246,.07); }
.form-shell { overflow:hidden; }
.form-shell::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(110,231,249,.03), transparent 30%);
}
.subject-card, .step, .dashboard-panel, .tag-card { background:linear-gradient(145deg,rgba(15,27,52,.78),rgba(8,14,31,.72)); }
footer.footer { position:relative; overflow:hidden; }
footer.footer::before {
  content:""; position:absolute; left:-10%; right:-10%; top:-100px; height:220px;
  background:radial-gradient(circle at 50% 50%, rgba(110,231,249,.07), transparent 55%);
  pointer-events:none;
}
@media (max-width: 1000px) {
  .coming-pill { display:none; }
}
@media (max-width: 720px) {
  .mouse-glow { display:none; }
  .hero-visual::before { width:420px; height:420px; }
  .orbit-object, .geo-shape { transform:none !important; }
  .obj-2, .obj-4 { display:none; }
}


/* ===== Tutors Connect visible interaction layer ===== */
.v3-badge { margin-left:7px; padding:3px 7px; border-radius:999px; background:rgba(139,92,246,.18); color:#d8ccff; border:1px solid rgba(139,92,246,.35); font-size:.68rem; letter-spacing:.08em; }
.coming-pill { display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 14px;border:1px solid rgba(110,231,249,.15);border-radius:14px;background:rgba(255,255,255,.025);color:#b9c9dd;font-size:.82rem;font-weight:700; }
.coming-pill::before { content:"";width:7px;height:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 16px var(--cyan); }
.hero-stage { perspective:1300px; transform-style:preserve-3d; isolation:isolate; }
.stage-aura { position:absolute; width:590px;height:590px;border-radius:50%;background:radial-gradient(circle,rgba(110,231,249,.16),rgba(139,92,246,.08) 35%,transparent 68%);filter:blur(4px);transform:translateZ(-120px); }
.stage-grid { position:absolute;width:590px;height:420px;bottom:8px;left:50%;transform:translateX(-50%) rotateX(72deg) translateZ(-120px);transform-origin:center bottom;background-image:linear-gradient(rgba(110,231,249,.10) 1px,transparent 1px),linear-gradient(90deg,rgba(110,231,249,.10) 1px,transparent 1px);background-size:38px 38px;mask-image:radial-gradient(ellipse,black 20%,transparent 72%);opacity:.7; }
.depth-panel { z-index:4; }
.depth-chip { z-index:9; }
.three-cube { position:absolute;width:92px;height:92px;transform-style:preserve-3d;animation:cubeSpin 14s linear infinite;z-index:8; }
.cube-main { top:5%;right:2%; }
.cube-face { position:absolute;width:92px;height:92px;display:grid;place-items:center;border:1px solid rgba(190,245,255,.35);background:linear-gradient(145deg,rgba(110,231,249,.16),rgba(139,92,246,.16));backdrop-filter:blur(12px);color:#e9fdff;font-weight:900;font-size:1.25rem;box-shadow:inset 0 0 30px rgba(110,231,249,.07),0 0 32px rgba(110,231,249,.08); }
.cube-front{transform:translateZ(46px)} .cube-back{transform:rotateY(180deg) translateZ(46px)} .cube-right{transform:rotateY(90deg) translateZ(46px)} .cube-left{transform:rotateY(-90deg) translateZ(46px)} .cube-top{transform:rotateX(90deg) translateZ(46px)} .cube-bottom{transform:rotateX(-90deg) translateZ(46px)}
@keyframes cubeSpin { from{transform:rotateX(-18deg) rotateY(0deg) rotateZ(8deg)} to{transform:rotateX(342deg) rotateY(360deg) rotateZ(368deg)} }
.atom-3d { position:absolute;width:150px;height:150px;left:-2%;top:11%;transform-style:preserve-3d;animation:atomFloat 6s ease-in-out infinite;z-index:7; }
.nucleus { position:absolute;left:50%;top:50%;width:24px;height:24px;margin:-12px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#6ee7f9 26%,#8b5cf6 70%);box-shadow:0 0 38px rgba(110,231,249,.8),0 0 68px rgba(139,92,246,.45); }
.electron-orbit { position:absolute;inset:25px;border:2px solid rgba(160,237,255,.38);border-radius:50%;transform-style:preserve-3d; }
.electron-orbit b { position:absolute;width:10px;height:10px;border-radius:50%;background:#d9fbff;box-shadow:0 0 18px #6ee7f9;left:50%;top:-6px;animation:electronMove 3.2s linear infinite;transform-origin:0 56px; }
.orbit-a{transform:rotateX(68deg) rotateZ(8deg)} .orbit-b{transform:rotateY(68deg) rotateZ(58deg)} .orbit-c{transform:rotateY(-62deg) rotateX(45deg) rotateZ(-18deg)}
.orbit-b b{animation-delay:-1.05s}.orbit-c b{animation-delay:-2.1s}
@keyframes electronMove { to{transform:rotate(360deg)} }
@keyframes atomFloat { 50%{transform:translateY(-14px) rotateZ(4deg)} }
.book-stack { position:absolute;right:-1%;bottom:5%;width:150px;height:150px;transform-style:preserve-3d;transform:rotateX(58deg) rotateZ(-18deg);z-index:7;animation:booksFloat 7s ease-in-out infinite; }
.book { position:absolute;left:15px;width:125px;height:72px;border-radius:8px;transform-style:preserve-3d;border:1px solid rgba(255,255,255,.16);box-shadow:0 16px 36px rgba(0,0,0,.32); }
.book::before { content:"";position:absolute;left:0;right:0;bottom:-10px;height:10px;transform-origin:top;transform:rotateX(-90deg);background:rgba(5,9,20,.95);border:1px solid rgba(255,255,255,.08); }
.book span { display:block;padding:13px 14px;font-size:.65rem;letter-spacing:.14em;font-weight:900;color:#e8f8ff; }
.book-1{top:64px;background:linear-gradient(135deg,#0e3750,#201b51);transform:translateZ(0)} .book-2{top:35px;background:linear-gradient(135deg,#2b1c57,#12334d);transform:translateZ(18px) rotateZ(3deg)} .book-3{top:6px;background:linear-gradient(135deg,#153d4e,#45215a);transform:translateZ(36px) rotateZ(-3deg)}
@keyframes booksFloat { 50%{transform:rotateX(58deg) rotateZ(-14deg) translateY(-10px)} }
.holo-core { position:absolute;left:8%;bottom:0;width:120px;height:120px;transform-style:preserve-3d;z-index:6;animation:coreBob 5.5s ease-in-out infinite; }
.core-ball { position:absolute;left:50%;top:50%;width:50px;height:50px;margin:-25px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#fff 0 6%,#86efff 12%,rgba(63,170,255,.88) 38%,rgba(115,70,255,.72) 66%,rgba(11,17,41,.18) 75%);box-shadow:0 0 30px rgba(110,231,249,.5),0 0 70px rgba(139,92,246,.35),inset -12px -15px 18px rgba(0,0,0,.34); }
.core-ring { position:absolute;left:50%;top:50%;width:96px;height:96px;margin:-48px;border:1px solid rgba(162,242,255,.36);border-radius:50%; }
.ring-one{transform:rotateX(72deg);animation:ringA 7s linear infinite}.ring-two{transform:rotateY(72deg);animation:ringB 8s linear infinite}.ring-three{transform:rotateX(55deg) rotateY(50deg);animation:ringC 9s linear infinite}
@keyframes ringA{to{transform:rotateX(72deg) rotateZ(360deg)}} @keyframes ringB{to{transform:rotateY(72deg) rotateZ(-360deg)}} @keyframes ringC{to{transform:rotateX(55deg) rotateY(50deg) rotateZ(360deg)}} @keyframes coreBob{50%{transform:translateY(-12px)}}
.scene-card { transform:rotateY(-13deg) rotateX(8deg) translateZ(35px);box-shadow:0 70px 130px rgba(0,0,0,.54),0 0 80px rgba(110,231,249,.07),inset 0 1px 0 rgba(255,255,255,.14); }
.scene-card::after { content:"";position:absolute;inset:12px;border-radius:24px;pointer-events:none;background:linear-gradient(120deg,transparent 0 38%,rgba(255,255,255,.07) 46%,transparent 55%);transform:translateZ(6px); }
.scene-top,.class-card,.scene-grid{position:relative;z-index:2}.scene-top{transform:translateZ(44px)}.class-card{transform:translateZ(36px)}.scene-grid{transform:translateZ(25px)}
.floating-chip{box-shadow:0 22px 50px rgba(0,0,0,.36),0 0 26px rgba(110,231,249,.06);border-color:rgba(166,239,255,.2)}
.mouse-spotlight { position:fixed;width:480px;height:480px;border-radius:50%;pointer-events:none;z-index:2;background:radial-gradient(circle,rgba(110,231,249,.10),rgba(139,92,246,.055) 32%,transparent 67%);transform:translate(-50%,-50%);mix-blend-mode:screen; }
.cursor-ring { position:fixed;left:0;top:0;width:38px;height:38px;border:1px solid rgba(186,245,255,.55);border-radius:50%;pointer-events:none;z-index:9999;transform:translate(-50%,-50%);box-shadow:0 0 22px rgba(110,231,249,.16);transition:width .16s ease,height .16s ease,border-color .16s ease,background .16s ease; }
.cursor-ring.active{width:58px;height:58px;border-color:rgba(190,168,255,.7);background:rgba(139,92,246,.08)}
.reveal-3d { opacity:0; transform:perspective(1000px) translateY(42px) rotateX(8deg); transition:opacity .75s ease,transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal-3d.visible { opacity:1; transform:perspective(1000px) translateY(0) rotateX(0); }
@media(max-width:1000px){.coming-pill{display:none}.three-cube{right:3%}.atom-3d{left:1%}}
@media(max-width:720px){.three-cube{width:68px;height:68px;top:2%}.cube-face{width:68px;height:68px}.cube-front{transform:translateZ(34px)}.cube-back{transform:rotateY(180deg) translateZ(34px)}.cube-right{transform:rotateY(90deg) translateZ(34px)}.cube-left{transform:rotateY(-90deg) translateZ(34px)}.cube-top{transform:rotateX(90deg) translateZ(34px)}.cube-bottom{transform:rotateX(-90deg) translateZ(34px)}.atom-3d{width:110px;height:110px;top:6%}.electron-orbit{inset:20px}.book-stack{display:none}.holo-core{left:2%;bottom:2%}.cursor-ring,.mouse-spotlight{display:none}.scene-card{transform:none!important}.stage-grid{opacity:.38}}


/* ===== Tutor Portal Navigation Integration ===== */
.tutor-login {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 14px;
  border-radius:13px;
  color:#dce8f5;
  font-size:.86rem;
  font-weight:750;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.025);
  transition:.2s ease;
  white-space:nowrap;
}
.tutor-login:hover {
  color:#fff;
  border-color:rgba(110,231,249,.35);
  background:rgba(110,231,249,.05);
  transform:translateY(-1px);
}
.btn-tutor {
  min-height:46px;
  padding:0 15px;
  color:#f4efff;
  background:linear-gradient(135deg,rgba(139,92,246,.22),rgba(110,231,249,.10));
  border:1px solid rgba(160,132,255,.28);
  white-space:nowrap;
}
.btn-tutor:hover {
  border-color:rgba(160,132,255,.55);
  box-shadow:0 12px 34px rgba(139,92,246,.12);
}
.mobile-portal-actions {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-bottom:10px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.mobile-portal-actions a {
  display:flex !important;
  align-items:center;
  justify-content:center;
  min-height:46px;
  border-radius:12px;
  padding:10px 12px !important;
  font-weight:800;
  text-align:center;
}
.mobile-login {
  border:1px solid rgba(255,255,255,.11);
  background:rgba(255,255,255,.025);
}
.mobile-signup {
  border:1px solid rgba(139,92,246,.30);
  background:linear-gradient(135deg,rgba(139,92,246,.20),rgba(110,231,249,.08));
  color:#f2efff !important;
}
@media (max-width: 1180px) {
  .nav-links { gap:18px; }
  .nav-actions { gap:7px; }
  .tutor-login, .btn-tutor { font-size:.79rem; padding-left:11px; padding-right:11px; }
}
@media (max-width: 1000px) {
  .tutor-login, .btn-tutor { display:none; }
}

/* ===== Mobile readability patch ===== */
@media (max-width: 720px) {
  .nav-wrap {
    padding: 8px 0;
    background: linear-gradient(180deg, rgba(7, 12, 28, .97), rgba(12, 17, 36, .92));
    border-bottom-color: rgba(255, 255, 255, .10);
  }

  .nav {
    min-height: 64px;
    gap: 12px;
  }

  .logo {
    flex: 0 1 auto;
    min-width: 0;
  }

  .logo img {
    width: 168px;
    max-width: 54vw;
    height: auto;
  }

  .menu-btn {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    font-size: 1.25rem;
    background: rgba(255, 255, 255, .055);
  }

  .mobile-panel {
    inset: 82px 13px auto 13px;
    max-height: calc(100vh - 104px);
    overflow: auto;
  }

  h1,
  h2 {
    letter-spacing: 0;
  }

  .hero {
    padding: 54px 0 64px;
  }

  .hero-copy h1 {
    font-size: 2.9rem !important;
    line-height: 1.04;
    letter-spacing: 0;
  }

  .page-hero {
    padding: 56px 0 34px;
    text-align: left;
    background:
      radial-gradient(circle at 16% 12%, rgba(110, 231, 249, .14), transparent 34%),
      radial-gradient(circle at 88% 18%, rgba(139, 92, 246, .14), transparent 36%),
      linear-gradient(180deg, rgba(5, 8, 22, .98), rgba(7, 14, 31, .94));
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .page-hero .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .page-hero .eyebrow {
    padding: 7px 10px;
    font-size: .72rem;
    letter-spacing: .08em;
  }

  .page-hero h1 {
    max-width: 100% !important;
    margin: 18px 0 16px !important;
    font-size: 2.55rem !important;
    line-height: 1.06;
    letter-spacing: 0;
  }

  .page-hero .lead {
    margin: 0;
    max-width: 34rem;
    color: #b8c4d6;
    font-size: 1.05rem;
    line-height: 1.62;
  }

  .page-hero::before {
    width: 180px;
    height: 180px;
    left: -42px;
    top: -32px;
  }

  .page-hero::after {
    width: 170px;
    height: 170px;
    right: -40px;
    top: 34px;
  }

  .page-hero .tech-dots {
    display: none;
  }

  .section-tight {
    padding: 46px 0;
  }
}

@media (max-width: 430px) {
  .logo img {
    width: 156px;
    max-width: 50vw;
  }

  .nav {
    min-height: 60px;
  }

  .page-hero h1 {
    font-size: 2.25rem !important;
  }

  .hero-copy h1 {
    font-size: 2.55rem !important;
  }
}

@media (max-width: 360px) {
  .logo img {
    width: 145px;
  }

  .page-hero h1 {
    font-size: 2.05rem !important;
  }

  .page-hero .lead {
    font-size: 1rem;
  }
}

/* ===== iOS / Mobile background stability patch ===== */
html {
  background-color: #050816;
  min-height: 100%;
}

body {
  background-color: #050816;
  isolation: isolate;
}

.gradient-text {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 820px) {
  html,
  body {
    background: #050816 !important;
    background-color: #050816 !important;
    min-height: 100%;
  }

  body::before,
  body::after {
    position: absolute !important;
    z-index: 0 !important;
    pointer-events: none;
  }

  body::before {
    inset: 0 !important;
  }

  body::after {
    inset: 0 !important;
    animation: none !important;
    filter: none !important;
  }

  main,
  .nav-wrap,
  .footer {
    position: relative;
    z-index: 1;
  }

  .gradient-text {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

@supports (-webkit-touch-callout: none) {
  html,
  body {
    background-color: #050816 !important;
  }
}
