:root {
  --primary: #1E3A8A;
  --primary-light: #2563EB;
  --primary-dark: #172554;
  --accent: #10B981;
  --accent-hover: #059669;
  --warning: #F59E0B;
  --bg-main: #0B132B;
  --bg-card: #1C2541;
  --bg-card-border: #3A506B;
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-sub: #CBD5E1;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAVBAR */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.brand span {
  color: #60A5FA;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-sub);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: #60A5FA;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-playstore {
  background: #000000;
  border: 1px solid #334155;
  padding: 0.4rem 1rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s, border-color 0.2s;
}

.btn-playstore:hover {
  transform: translateY(-2px);
  border-color: #64748B;
}

.btn-playstore img {
  height: 38px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* HERO SECTION */
.hero {
  padding: 5rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #93C5FD;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #60A5FA, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-badges span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* APP MOCKUP */
.mockup-wrapper {
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.4), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.phone-mockup {
  background: #FFFFFF;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  color: #0F172A;
  border: 4px solid #1E293B;
}

.phone-top-bar {
  background: #1E3A8A;
  color: #FFFFFF;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-top-title {
  font-weight: 800;
  font-size: 1.1rem;
}

.phone-streak {
  background: #EA580C;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.phone-body {
  padding: 1.25rem;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mock-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.mock-word {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
}

.mock-ipa {
  font-size: 0.85rem;
  color: #64748B;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.mock-trans {
  font-size: 0.95rem;
  color: #059669;
  font-weight: 700;
}

.mock-ratings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.mock-btn {
  text-align: center;
  padding: 0.4rem 0.2rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 800;
}

.mb-1 { background: #FEE2E2; color: #991B1B; }
.mb-2 { background: #FEF3C7; color: #92400E; }
.mb-3 { background: #DBEAFE; color: #1E40AF; }
.mb-4 { background: #D1FAE5; color: #065F46; }

/* FEATURES SECTION */
.features {
  padding: 5rem 0;
  background-color: #0F172A;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: #38BDF8;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-sub);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  transition: transform 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #60A5FA;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* SYLLABUS SECTION */
.syllabus {
  padding: 5rem 0;
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.unit-card {
  background: rgba(28, 37, 65, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.unit-level {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
}

.level-a1 { background: rgba(59, 130, 246, 0.2); color: #93C5FD; }
.level-a2 { background: rgba(16, 185, 129, 0.2); color: #6EE7B7; }
.level-b1 { background: rgba(245, 158, 11, 0.2); color: #FCD34D; }
.level-b2 { background: rgba(239, 68, 68, 0.2); color: #FCA5A5; }

.unit-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
}

.unit-card p {
  color: var(--text-sub);
  font-size: 0.9rem;
}

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, #1E3A8A, #1E40AF);
  border-radius: 28px;
  padding: 4rem 2rem;
  text-align: center;
  margin: 4rem auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #BFDBFE;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 2rem;
  background: #070B19;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: #FFFFFF;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-badges {
    justify-content: center;
  }
  .mockup-wrapper {
    max-width: 420px;
    margin: 0 auto;
  }
}
