*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff;
  color: #1a1a2e;
  line-height: 1.6;
}

.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e8e0f8;
  padding: 14px 24px;
}
.nav-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 8px; }
.nav-emoji { font-size: 22px; }
.nav-title { font-size: 17px; font-weight: 900; color: #1a0a3c; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 14px; font-weight: 600; color: #555; text-decoration: none; }
.nav-links a:hover { color: #6C2BD9; }
.nav-cta { background: #6C2BD9; color: #fff !important; padding: 8px 18px; border-radius: 10px; }
.nav-cta:hover { background: #5b23c7 !important; }

/* HERO */
.hero { background: linear-gradient(135deg, #4C1D95 0%, #6C2BD9 50%, #7C3AED 100%); padding: 80px 24px 60px; overflow: hidden; }
.hero-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.hero-text { flex: 1; min-width: 280px; color: #fff; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); border-radius: 20px; padding: 6px 16px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero-text h1 { font-size: 52px; font-weight: 900; line-height: 1.1; margin-bottom: 18px; letter-spacing: -1.5px; }
.hero-text p { font-size: 18px; opacity: 0.85; max-width: 480px; margin-bottom: 32px; line-height: 1.7; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #6C2BD9; padding: 14px 24px; border-radius: 14px; font-size: 16px; font-weight: 800; text-decoration: none; }
.hero-stats { display: flex; align-items: center; gap: 20px; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 24px; font-weight: 900; }
.hero-stat span { font-size: 12px; opacity: 0.7; font-weight: 600; }
.hero-stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.3); }

/* PHONE MOCKUP */
.hero-phone { flex: 0 0 280px; }
.phone-frame { width: 260px; background: #0f0728; border-radius: 40px; border: 3px solid rgba(255,255,255,0.15); overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.4); margin: 0 auto; }
.phone-notch { width: 100px; height: 28px; background: #0f0728; border-radius: 0 0 18px 18px; margin: 0 auto; position: relative; z-index: 2; }
.phone-content { padding: 0 14px 10px; }
.phone-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.phone-lesson-title { font-size: 12px; font-weight: 800; color: #fff; }
.phone-xp { font-size: 11px; background: #f59e0b; color: #1a1a1a; border-radius: 10px; padding: 2px 8px; font-weight: 800; }
.phone-progress { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; margin-bottom: 10px; }
.phone-progress-fill { width: 30%; height: 100%; background: #7C3AED; border-radius: 3px; }
.phone-card { background: rgba(255,255,255,0.05); border-radius: 18px; padding: 14px; border: 1px solid rgba(255,255,255,0.1); margin-bottom: 10px; }
.phone-level { font-size: 10px; color: #a78bfa; font-weight: 700; margin-bottom: 6px; }
.phone-word { font-size: 28px; font-weight: 900; color: #fff; margin-bottom: 2px; }
.phone-pron { font-size: 10px; color: rgba(255,255,255,0.5); font-style: italic; margin-bottom: 8px; }
.phone-divider { height: 1px; background: rgba(255,255,255,0.1); margin-bottom: 8px; }
.phone-def-label { font-size: 8px; font-weight: 800; color: rgba(255,255,255,0.4); letter-spacing: 1px; margin-bottom: 4px; }
.phone-def { font-size: 11px; color: rgba(255,255,255,0.8); line-height: 1.5; margin-bottom: 10px; }
.phone-syn-label { font-size: 8px; font-weight: 800; color: #34d399; letter-spacing: 1px; margin-bottom: 6px; }
.phone-ant-label { font-size: 8px; font-weight: 800; color: #f87171; letter-spacing: 1px; margin-bottom: 6px; margin-top: 8px; }
.phone-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { font-size: 9px; font-weight: 700; border-radius: 10px; padding: 2px 8px; }
.chip-syn { background: rgba(52,211,153,0.15); color: #34d399; border: 1px solid rgba(52,211,153,0.3); }
.chip-ant { background: rgba(248,113,113,0.15); color: #f87171; border: 1px solid rgba(248,113,113,0.3); }
.phone-quiz-btn { background: #7C3AED; border-radius: 12px; padding: 10px; text-align: center; font-size: 11px; font-weight: 800; color: #fff; }
.phone-tabs { background: rgba(255,255,255,0.05); display: flex; justify-content: space-around; padding: 8px 4px 12px; border-top: 1px solid rgba(255,255,255,0.08); }
.tab { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 14px; opacity: 0.4; }
.tab span { font-size: 8px; color: rgba(255,255,255,0.6); }
.tab.active { opacity: 1; }

/* SECTIONS */
.section-label { font-size: 12px; font-weight: 700; color: #6C2BD9; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }

.features { padding: 80px 0; }
.features h2 { font-size: 36px; font-weight: 900; margin-bottom: 48px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-card { background: #f8f5ff; border-radius: 20px; padding: 28px; border: 1.5px solid #e8e0f8; }
.feature-icon { font-size: 40px; margin-bottom: 14px; }
.feature-card h3 { font-size: 18px; font-weight: 800; color: #1a0a3c; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #555; line-height: 1.7; }

.levels { background: #f8f5ff; padding: 80px 0; }
.levels h2 { font-size: 36px; font-weight: 900; margin-bottom: 40px; }
.levels-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.level-card { background: #fff; border-radius: 20px; padding: 28px; border: 2px solid #e8e0f8; }
.level-badge { display: inline-block; border-radius: 10px; padding: 4px 12px; font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.level-1 .level-badge { background: #d1fae5; color: #065f46; }
.level-2 .level-badge { background: #dbeafe; color: #1e40af; }
.level-3 .level-badge { background: #ede9fe; color: #5b21b6; }
.level-card h3 { font-size: 18px; font-weight: 800; color: #1a0a3c; margin-bottom: 8px; }
.level-card p { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 14px; }
.level-count { font-size: 24px; font-weight: 900; color: #6C2BD9; }

.safety { padding: 80px 0; }
.safety h2 { font-size: 36px; font-weight: 900; margin-bottom: 40px; }
.safety-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.safety-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #f8f5ff; border-radius: 16px; border: 1px solid #e8e0f8; }
.safety-icon { font-size: 28px; flex-shrink: 0; }
.safety-item h4 { font-size: 15px; font-weight: 800; color: #1a0a3c; margin-bottom: 4px; }
.safety-item p { font-size: 13px; color: #555; line-height: 1.6; }

.download { background: linear-gradient(135deg, #4C1D95 0%, #6C2BD9 100%); padding: 80px 24px; text-align: center; color: #fff; }
.download h2 { font-size: 40px; font-weight: 900; margin-bottom: 12px; }
.download > .container > p { font-size: 18px; opacity: 0.85; margin-bottom: 32px; }
.download-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.3); border-radius: 16px; padding: 14px 24px; color: #fff; text-decoration: none; }
.store-btn-disabled { opacity: 0.7; cursor: default; }
.store-sub { font-size: 11px; opacity: 0.7; }
.store-name { font-size: 18px; font-weight: 800; }
.download-note { font-size: 13px; opacity: 0.6; }

/* POLICY PAGES */
.policy-hero { background: linear-gradient(135deg, #4C1D95 0%, #6C2BD9 100%); padding: 60px 24px 40px; color: #fff; }
.policy-hero h1 { font-size: 36px; font-weight: 900; margin-bottom: 8px; }
.policy-hero p { font-size: 15px; opacity: 0.7; }
.policy-content { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.policy-content h2 { font-size: 22px; font-weight: 800; color: #1a0a3c; margin: 36px 0 12px; }
.policy-content h3 { font-size: 17px; font-weight: 700; color: #4C1D95; margin: 24px 0 8px; }
.policy-content p { font-size: 15px; color: #333; line-height: 1.8; margin-bottom: 14px; }
.policy-content ul { padding-left: 20px; margin-bottom: 14px; }
.policy-content ul li { font-size: 15px; color: #333; line-height: 1.8; margin-bottom: 6px; }
.policy-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.policy-content th { background: #f8f5ff; padding: 10px 14px; text-align: left; font-weight: 700; border: 1px solid #e8e0f8; color: #4C1D95; }
.policy-content td { padding: 10px 14px; border: 1px solid #e8e0f8; color: #333; }
.policy-contact { background: #f8f5ff; border-radius: 20px; padding: 24px; border: 1.5px solid #e8e0f8; margin-top: 40px; }
.policy-contact h3 { color: #6C2BD9; margin-bottom: 12px; }
.policy-contact p { margin-bottom: 6px; }
.policy-contact a { color: #6C2BD9; font-weight: 600; }

/* FOOTER */
.footer { background: #0f0728; color: rgba(255,255,255,0.7); padding: 60px 0 24px; }
.footer-inner { display: flex; gap: 48px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand { flex: 2; min-width: 200px; }
.footer-logo { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.footer-company { font-size: 12px; line-height: 1.8; color: rgba(255,255,255,0.4); }
.footer-links-col { min-width: 140px; }
.footer-links-col h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 10px; }
.footer-links-col a:hover { color: #a78bfa; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }

@media (max-width: 640px) {
  .hero-text h1 { font-size: 36px; }
  .hero-phone { display: none; }
  .nav-links a:not(.nav-cta) { display: none; }
  .features h2, .levels h2, .safety h2, .download h2 { font-size: 28px; }
}

/* Android Button */
.btn-android {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #3DDC84;
  color: #000;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}
.btn-android:hover {
  background: #2db870;
  transform: translateY(-2px);
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
