/* Global Styles */
:root {
  --bg: #0b0d13;
  --panel: #0f1220;
  --elev-1: #14182b;
  --text: #e6e9f2;
  --muted: #aab1c6;
  --primary: #6aa8ff;
  --primary-2: #9b6bff;
  --accent: #00d2ff;
  --danger: #ff4d4d;
  --success: #2bd67b;
  --glow: 0 0 24px rgba(106,168,255,0.35), 0 0 64px rgba(155,107,255,0.25);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: 
    radial-gradient(1200px 800px at 15% -15%, rgba(79,70,229,0.2), transparent),
    radial-gradient(1000px 600px at 85% -25%, rgba(59,130,246,0.15), transparent),
    radial-gradient(800px 400px at 50% 100%, rgba(155,107,255,0.1), transparent),
    linear-gradient(180deg, var(--bg) 0%, #080a12 100%);
  overflow-x: hidden;
  /* Removed heavy background animation */
}

img { max-width: 100%; display: block; }
.container { width: min(1140px, 92%); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }
.section::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.01), transparent); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.section:hover::before { opacity: 1; }
.section-header { text-align: center; margin-bottom: 32px; }
.section-header h2 { font-size: 36px; margin: 0 0 8px; letter-spacing: -0.02em; }
.section-header p { color: var(--muted); margin: 0; }

/* Background orbs - Optimized */
.bg-orb { position: fixed; width: 520px; height: 520px; filter: blur(30px); z-index: -1; opacity: 0.4; border-radius: 50%; will-change: transform; contain: layout style paint; }
.orb-1 { background: radial-gradient(circle at 30% 30%, #5a7bff, transparent 60%); top: -120px; left: -140px; }
.orb-2 { background: radial-gradient(circle at 60% 40%, #a06bff, transparent 60%); top: -180px; right: -120px; }
.orb-3 { background: radial-gradient(circle at 40% 60%, #00d2ff, transparent 60%); bottom: -180px; left: 20%; }
/* Removed continuous orb animations for performance */

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(140%) blur(12px); background: rgba(10,12,18,0.8); border-bottom: 1px solid rgba(255,255,255,0.08); box-shadow: 0 4px 20px rgba(0,0,0,0.1); transition: all 0.3s ease; }
.site-header:hover { background: rgba(10,12,18,0.9); border-bottom-color: rgba(106,168,255,0.2); }
.header-inner { display: flex; align-items: center; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--text); gap: 10px; }
.brand .logo { width: 28px; height: 28px; }
.brand-name { font-weight: 700; letter-spacing: 0.2px; }
.nav { margin-left: auto; display: flex; gap: 18px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--text); }
.header-cta { margin-left: 12px; }

.hamburger { display: none; background: transparent; border: 0; width: 42px; height: 42px; cursor: pointer; position: relative; }
.hamburger span { display: block; background: var(--text); height: 2px; margin: 8px; border-radius: 1px; transition: transform .25s ease; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; letter-spacing: .2px; border: 1px solid transparent; transition: transform .08s ease, box-shadow .25s ease, background .25s ease, border .25s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { position: relative; overflow: hidden; color: #1a1a2e; background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(240,240,240,0.8)); border: 1px solid rgba(255,255,255,0.6); box-shadow: 0 6px 20px rgba(0,0,0,0.25), inset 0 2px 0 rgba(255,255,255,0.7), inset 0 -2px 0 rgba(0,0,0,0.15); backdrop-filter: blur(12px); transform-style: preserve-3d; }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 3px 0 rgba(255,255,255,0.9), inset 0 -3px 0 rgba(0,0,0,0.3); transform: translateY(-3px) scale(1.03); }
.btn-primary::before { content: ""; position: absolute; inset: 0; background: radial-gradient(150px 50px at -20% 50%, rgba(255,255,255,0.95), transparent 70%); transform: translateX(-150%); transition: transform .8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.btn-primary:hover::before { transform: translateX(120%); }

.btn-secondary { color: var(--text); background: #1c2240; border-color: rgba(255,255,255,0.08); }
.btn-ghost { position: relative; overflow: hidden; color: var(--text); background: transparent; border-color: rgba(255,255,255,0.16); }
.btn-ghost::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.08), transparent); transform: translateX(-120%); transition: transform .6s ease; }
.btn-ghost:hover::before { transform: translateX(120%); }
.btn-lg { padding: 14px 20px; border-radius: 12px; }
.btn-xl { padding: 16px 28px; border-radius: 14px; font-size: 18px; }
.glow { box-shadow: var(--glow); }

/* Hero */
.hero { padding: 120px 0 80px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 48px; }
.headline { font-size: 56px; line-height: 1.02; margin: 0 0 16px; letter-spacing: -0.03em; }
.subheadline { color: var(--muted); font-size: 18px; margin: 0 0 28px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6)) drop-shadow(0 0 40px rgba(106,168,255,0.4)); }
.hero-visual img { position: relative; border-radius: 20px; border: 2px solid rgba(106,168,255,0.3); z-index: 3; box-shadow: 0 0 0 2px rgba(106,168,255,0.2), inset 0 2px 0 rgba(255,255,255,0.15), 0 0 60px rgba(106,168,255,0.3); animation: imageGlow 4s ease-in-out infinite; }
@keyframes imageGlow { 0%, 100% { box-shadow: 0 0 0 2px rgba(106,168,255,0.2), inset 0 2px 0 rgba(255,255,255,0.15), 0 0 60px rgba(106,168,255,0.3); } 50% { box-shadow: 0 0 0 3px rgba(106,168,255,0.4), inset 0 3px 0 rgba(255,255,255,0.2), 0 0 80px rgba(106,168,255,0.5); } }
.hero-backdrop { position: absolute; inset: -8% -6% -8% -6%; z-index: 1; display: grid; place-items: center; font-weight: 900; font-size: clamp(56px, 10vw, 160px); letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.08); opacity: 0.6; pointer-events: none; mix-blend-mode: overlay; animation: floatWords 10s ease-in-out infinite, shimmer 8s ease-in-out infinite; }
.hero-glow-orb { position: absolute; inset: -15% -10% -15% -10%; z-index: 0; background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(106,168,255,0.3), rgba(155,107,255,0.2) 40%, transparent 70%); animation: pulseGlow 8s ease-in-out infinite; }
@keyframes pulseGlow { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.05); } }
/* Removed heavy rotation animation */
@keyframes shimmer { 0%,100% { -webkit-text-stroke: 1px rgba(255,255,255,0.08); } 50% { -webkit-text-stroke: 1px rgba(106,168,255,0.15); } }
.hero-backdrop::after { content: 'LEARN FASTER · AI TUTOR · Q&A · SUMMARIES · MATH · '; color: rgba(255,255,255,0.06); position: absolute; white-space: nowrap; animation: marquee 16s linear infinite; filter: blur(0.2px); }
/* Removed heavy bubble animations for performance */
.hero-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.particle { position: absolute; width: 6px; height: 6px; background: radial-gradient(circle, var(--primary), var(--accent)); border-radius: 50%; opacity: 0.8; box-shadow: 0 0 10px var(--primary); will-change: transform; }
.particle-1 { top: 20%; left: 15%; animation: float1 12s ease-in-out infinite; }
.particle-2 { top: 60%; right: 20%; animation: float2 16s ease-in-out infinite; }
.particle-3 { bottom: 30%; left: 70%; animation: float3 14s ease-in-out infinite; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 240px at 40% 10%, rgba(72,94,255,0.25), transparent), radial-gradient(400px 220px at 70% 30%, rgba(0,210,255,0.16), transparent); opacity: .7; }

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes floatWords { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(20px,-15px) scale(1.2); } 66% { transform: translate(-10px,10px) scale(0.8); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 25% { transform: translate(-25px,20px) scale(1.3); } 75% { transform: translate(15px,-25px) scale(0.9); } }
@keyframes float3 { 0%,100% { transform: translate(0,0) scale(1); } 40% { transform: translate(30px,-20px) scale(1.1); } 80% { transform: translate(-20px,15px) scale(1.4); } }

/* Trusted */
.trusted { padding-top: 24px; }
.trusted-label { color: var(--muted); text-align: center; margin: 0 0 16px; }
.logo-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.logo-pill { background: #0f1325; border: 1px dashed rgba(255,255,255,0.12); padding: 16px; border-radius: 12px; text-align: center; color: var(--muted); }

/* Features */
.features-grid { display: grid; gap: 48px; }
.feature-item { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 24px; transition: transform .25s ease, box-shadow .25s ease; will-change: transform; }
.feature-item.reverse { grid-template-columns: 1fr 1fr; }
.feature-media { display: flex; justify-content: center; align-items: center; }
.feature-media img { width: 80%; height: auto; max-width: 300px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.06); }
.feature-copy h3 { margin: 0 0 10px; font-size: 28px; }
.feature-copy p { margin: 0; color: var(--muted); }

.feature-item { position: relative; overflow: hidden; contain: layout style paint; }
.feature-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); border-radius: 16px; opacity: 0; transition: opacity 0.3s ease; }
.feature-item:hover::before { opacity: 1; }
.feature-item:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(106,168,255,0.2); }
/* Removed heavy rotating conic gradient for performance */
.feature-item:hover .feature-media img { transform: perspective(600px) translateZ(8px) rotateX(1deg) rotateY(-1deg) scale(1.05); transition: transform .4s ease; }
.feature-item:hover .feature-copy h3 { color: var(--primary); transition: color .3s ease; }
.feature-item:nth-child(odd) { animation-delay: 0.1s; }
.feature-item:nth-child(even) { animation-delay: 0.2s; }
.feature-item[data-aos] { animation-duration: 0.8s; }

/* Video */

.video-card { position: relative; background: linear-gradient(145deg, #0e1326, #0a0f1f); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05); backdrop-filter: blur(10px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); overflow: hidden; }
.video-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.03) 50%, transparent 70%); transform: translateX(-100%); transition: transform 0.6s ease; }
.video-card:hover::before { transform: translateX(100%); }
.video-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(106,168,255,0.2), inset 0 1px 0 rgba(255,255,255,0.1); }
.video-card.compact { margin-top: 32px; }
.section.video .section-header { margin-bottom: 48px; }

/* Video section backgrounds - Optimized */
.video-bg-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; contain: layout style paint; }
.video-orb { position: absolute; border-radius: 50%; filter: blur(25px); opacity: 0.2; }
.video-orb-1 { width: 300px; height: 300px; background: radial-gradient(circle, var(--primary), transparent 70%); top: -150px; right: -100px; }
.video-orb-2 { width: 200px; height: 200px; background: radial-gradient(circle, var(--accent), transparent 70%); bottom: -100px; left: -50px; }

.install-bg-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; contain: layout style paint; }
.install-orb { position: absolute; border-radius: 50%; filter: blur(25px); opacity: 0.2; }
.install-orb-1 { width: 250px; height: 250px; background: radial-gradient(circle, var(--primary-2), transparent 70%); top: -125px; left: -75px; }
.install-orb-2 { width: 180px; height: 180px; background: radial-gradient(circle, var(--accent), transparent 70%); top: 50%; right: -90px; }
.install-orb-3 { width: 220px; height: 220px; background: radial-gradient(circle, var(--primary), transparent 70%); bottom: -110px; left: 60%; }
/* Removed heavy orbit and pulse animations */
.video-embed { position: relative; width: 100%; padding-bottom: 56.25%; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); }
.video-embed::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(106,168,255,0.1), transparent 50%, rgba(155,107,255,0.1)); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.video-card:hover .video-embed::after { opacity: 1; }

.video-thumbnail { position: absolute; width: 100%; height: 100%; cursor: pointer; }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: all 0.3s ease; opacity: 0.9; }
.play-button:hover { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
.video-embed iframe { position: absolute; width: 100%; height: 100%; inset: 0; border: 0; }
.cta-center { text-align: center; margin-top: 22px; }
.cta-hint { color: var(--muted); margin-top: 8px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 8px; }
.step { display: flex; gap: 14px; background: linear-gradient(145deg, #0f1429, #0a0e1f); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 18px; transition: all 0.3s ease; position: relative; overflow: hidden; }
.step::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(106,168,255,0.05), transparent); opacity: 0; transition: opacity 0.3s ease; }
.step:hover::before { opacity: 1; }
.step:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.step-index { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #0a0c12; font-weight: 800; }
.step-body h4 { margin: 0 0 6px; }
.step-body p { margin: 0; color: var(--muted); }

/* Benefits */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.benefit-card { position: relative; background: linear-gradient(145deg, #0f1429, #0a0e1f); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 20px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); overflow: hidden; }
.benefit-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(45deg, transparent, rgba(106,168,255,0.05), transparent); transform: translateX(-100%); transition: transform 0.6s ease; }
.benefit-card:hover::before { transform: translateX(100%); }
.benefit-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px rgba(106,168,255,0.1), inset 0 1px 0 rgba(255,255,255,0.1); }
.benefit-card h4 { margin: 0 0 8px; }
.benefit-card p { margin: 0; color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq-item { background: linear-gradient(145deg, #0f1429, #0a0e1f); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover { border-color: rgba(106,168,255,0.2); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.faq-q { width: 100%; text-align: left; background: transparent; color: var(--text); padding: 18px; font-weight: 700; border: 0; cursor: pointer; }
.faq-a { display: none; padding: 0 18px 18px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }

/* Final CTA */
.final-cta { text-align: center; padding: 72px 0 96px; position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 50%, rgba(106,168,255,0.1), transparent); animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.05); } }
.final-cta h2 { font-size: 36px; margin: 0 0 16px; }

/* Footer */
.site-footer { background: #0a0d19; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { padding: 26px 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.footer-brand .logo { width: 20px; height: 20px; }
.footer-links { display: flex; gap: 14px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.copyright { grid-column: 1 / -1; color: var(--muted); margin: 0; text-align: center; font-size: 14px; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .headline { font-size: 44px; }
}

@media (max-width: 820px) {
  .nav { display: none; }
  .hamburger { display: inline-block; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item, .feature-item.reverse { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .headline { font-size: 34px; }
  .btn-xl { padding: 14px 22px; font-size: 16px; }
  .benefits-grid { grid-template-columns: 1fr; }
}


