@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Noto+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Noto+Sans+Tamil:wght@400;500;600;700&display=swap');

/* ============================================================
   BellBus Official Website — Style System
   Brand: #FF6B32 (orange) · Apple-clean · Transit-modern
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand */
  --primary: #FF6B32;
  --primary-dark: #E85F2A;
  --primary-hover: #FF8F5C;
  --primary-light: #FFEEE5;
  --primary-bg: #FFF7F0;

  /* Status */
  --success: #28A745;
  --error: #DC3545;
  --warning: #F5A623;
  --info: #5F8FB5;

  /* Neutrals */
  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --text: #1C1C1C;
  --text-secondary: #6B7280;
  --text-tertiary: #9CA3AF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --muted: #F9FAFB;

  /* MRT Line Colors (LTA official) */
  --mrt-ns: #E1251B;
  --mrt-ew: #00953B;
  --mrt-ne: #9E28B5;
  --mrt-cc: #FF9E18;
  --mrt-dt: #005DA6;
  --mrt-te: #9D5918;
  --mrt-lrt: #718472;

  /* Typography */
  --font-heading: 'Outfit', 'Noto Sans', sans-serif;
  --font-body: 'Noto Sans', 'Noto Sans Tamil', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --container: 1120px;
  --section-gap: 96px;
  --nav-height: 64px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 0 4px rgba(255,107,50,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  box-shadow: 0 1px 0 var(--border);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.nav-logo {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(255,107,50,0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--muted);
  transition: all 0.2s;
  border: 1px solid transparent;
}
.lang-btn:hover {
  background: var(--border-light);
  border-color: var(--border);
  color: var(--text);
}

.lang-btn svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  min-width: 140px;
  z-index: 100;
}

.lang-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  font-size: 14px;
  color: var(--text);
  transition: background 0.15s;
}
.lang-option:hover { background: var(--muted); }
.lang-option.active {
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-bg);
}

/* ---------- Hero Section ---------- */
.hero {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-light);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-title .accent {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(255,107,50,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 24px rgba(255,107,50,0.4);
  transform: translateY(-1px);
  color: white;
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
}

.btn-disabled {
  background: var(--muted);
  color: var(--text-tertiary);
  cursor: not-allowed;
  border: 1.5px solid var(--border);
}
.btn-disabled:hover {
  transform: none;
  background: var(--muted);
  color: var(--text-tertiary);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* Phone Mockup */
.hero-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background: var(--text);
  border-radius: 44px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 24px 80px rgba(28,28,28,0.2),
    0 0 0 1px rgba(28,28,28,0.05),
    inset 0 0 0 1px rgba(255,255,255,0.1);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--text);
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}

/* Phone screen content simulation */
.phone-status-bar {
  height: 48px;
  background: var(--primary);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
}

.phone-status-bar span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.phone-header {
  background: var(--primary);
  padding: 12px 16px 20px;
  color: white;
}

.phone-header-greeting {
  font-size: 11px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.phone-header-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
}

.phone-search {
  margin: -14px 12px 12px;
  background: var(--surface);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-tertiary);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-search-icon {
  width: 14px;
  height: 14px;
  border: 2px solid var(--text-tertiary);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.phone-card {
  margin: 8px 12px;
  background: var(--surface);
  border-radius: 10px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.phone-card-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.phone-bus-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.phone-bus-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 22px;
  padding: 0 6px;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.phone-bus-eta {
  font-size: 11px;
  color: var(--text-secondary);
  margin-left: auto;
}

.phone-bus-status {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.phone-bus-status.arriving {
  background: var(--primary-light);
  color: var(--primary);
}

.phone-bus-status.soon {
  background: #E8F5E9;
  color: var(--success);
}

.phone-mrt-strip {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.phone-mrt-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 700;
  color: white;
}

/* Floating bus badges around phone */
.float-badge {
  position: absolute;
  padding: 8px 14px;
  background: var(--surface);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  color: var(--primary);
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.float-badge:nth-child(1) {
  top: 10%;
  left: -20px;
  animation-delay: 0s;
}
.float-badge:nth-child(2) {
  top: 35%;
  right: -30px;
  animation-delay: 1.5s;
  color: var(--mrt-ns);
}
.float-badge:nth-child(3) {
  bottom: 25%;
  left: -15px;
  animation-delay: 3s;
  color: var(--mrt-dt);
}
.float-badge:nth-child(4) {
  bottom: 10%;
  right: -20px;
  animation-delay: 4.5s;
  color: var(--success);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* MRT dots divider */
.mrt-divider {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 32px 0;
}

.mrt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mrt-dot.ns { background: var(--mrt-ns); }
.mrt-dot.ew { background: var(--mrt-ew); }
.mrt-dot.ne { background: var(--mrt-ne); }
.mrt-dot.cc { background: var(--mrt-cc); }
.mrt-dot.dt { background: var(--mrt-dt); }
.mrt-dot.te { background: var(--mrt-te); }

/* ---------- Features Section ---------- */
.features {
  padding: var(--section-gap) 0;
  background: var(--surface);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  background: var(--primary-light);
  color: var(--primary);
}

.feature-icon.green { background: #E8F5E9; color: var(--success); }
.feature-icon.blue { background: #E3F2FD; color: var(--mrt-dt); }
.feature-icon.purple { background: #F3E5F5; color: var(--mrt-ne); }
.feature-icon.amber { background: #FFF8E1; color: var(--warning); }
.feature-icon.teal { background: #E0F2F1; color: #00897B; }

.feature-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ---------- Showcase Section ---------- */
.showcase {
  padding: var(--section-gap) 0;
  background: var(--bg);
  position: relative;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.showcase-phone {
  display: flex;
  justify-content: center;
}

.showcase-phone .phone-mockup {
  width: 240px;
  height: 500px;
  border-radius: 38px;
  padding: 10px;
}

.showcase-phone .phone-screen {
  border-radius: 30px;
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.showcase-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.showcase-item-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.showcase-item-content h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.showcase-item-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Data Sources Section ---------- */
.sources {
  padding: 48px 0;
  background: var(--surface);
  border-top: 1px solid var(--border-light);
}

.sources-inner {
  text-align: center;
}

.sources-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.sources-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.source-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--muted);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.source-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.sources-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ---------- CTA Section ---------- */
.cta {
  padding: var(--section-gap) 0;
  background: var(--bg);
}

.cta-box {
  background: var(--text);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,50,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,107,50,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 460px;
  margin: 0 auto 40px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.btn-store:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  color: white;
  transform: translateY(-2px);
}

.btn-store svg {
  width: 22px;
  height: 22px;
}

.btn-store .store-text {
  text-align: left;
}

.btn-store .store-label {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.7;
  display: block;
}

.btn-store .store-name {
  font-size: 15px;
  font-weight: 600;
  display: block;
  line-height: 1.2;
}

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0;
  background: var(--surface);
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-left .footer-brand {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--primary); }

.footer-tagline {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ---------- Legal Pages ---------- */
.legal-page {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 80px;
  min-height: 100vh;
  background: var(--surface);
}

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

.legal-header {
  margin-bottom: 48px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  transition: color 0.2s;
}
.legal-back:hover { color: var(--primary); }
.legal-back svg { width: 16px; height: 16px; }

.legal-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 14px;
  color: var(--text-secondary);
}

.legal-body h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-body p,
.legal-body li {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 12px;
}

.legal-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-body li {
  list-style: disc;
  margin-bottom: 8px;
}

.legal-body strong {
  font-weight: 600;
  color: var(--text);
}

.legal-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 24px;
}

.legal-footer a {
  font-size: 14px;
  color: var(--text-secondary);
}
.legal-footer a:hover { color: var(--primary); }

/* ---------- 404 Page ---------- */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 24px;
}

.page-404-inner {
  text-align: center;
  max-width: 400px;
}

.error-code {
  font-family: var(--font-heading);
  font-size: clamp(100px, 15vw, 160px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
  position: relative;
  margin-bottom: 24px;
}

.error-code::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-light);
  border-radius: 2px;
}

.error-bus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 24px;
}

.error-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.error-mrt-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 32px;
}

.error-mrt-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ---------- Tamil Typography Adjustments ---------- */
[lang="ta"] body,
[lang="ta"] .feature-desc,
[lang="ta"] .section-desc,
[lang="ta"] .hero-subtitle,
[lang="ta"] .legal-body p,
[lang="ta"] .legal-body li {
  font-family: 'Noto Sans Tamil', 'Latha', 'Vijaya', 'Noto Sans', sans-serif;
  line-height: 1.8;
}

[lang="ta"] .hero-title,
[lang="ta"] .section-title,
[lang="ta"] .legal-title {
  font-family: 'Noto Sans Tamil', 'Outfit', sans-serif;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .showcase-phone { order: -1; }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 64px;
    --nav-height: 56px;
  }

  .nav-links .nav-link { display: none; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 48px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle { font-size: 16px; }

  .phone-mockup {
    width: 220px;
    height: 460px;
    border-radius: 36px;
    padding: 8px;
  }
  .phone-screen { border-radius: 28px; }
  .phone-notch { width: 96px; height: 22px; top: 8px; border-radius: 0 0 14px 14px; }

  .float-badge { display: none; }

  .cta-box { padding: 48px 24px; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .section-header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn { width: 100%; justify-content: center; }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-store { width: 100%; justify-content: center; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .lang-switcher, .footer { display: none; }
  .legal-page { padding-top: 0; }
  .legal-body { font-size: 12pt; }
  body { background: white; color: black; }
}
