/* =============================================
   AKURU — Landing Page Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg:        #07090f;
  --bg2:       #0d1018;
  --bg3:       #111520;
  --border:    #1e2336;
  --border2:   #2a3050;
  --text:      #e4e8f4;
  --muted:     #6b7394;
  --muted2:    #4a5070;
  --blue:      #4f8ef7;
  --blue2:     #3a7aee;
  --purple:    #7c5ff7;
  --teal:      #2dd4bf;
  --green:     #34d399;
  --gold:      #f59e0b;
  --red:       #f87171;
  --radius:    14px;
  --radius-sm: 8px;
}

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

.landing-body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; }

/* ── NAV ──────────────────────────────────── */
.land-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(7, 9, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.land-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-sinhala {
  font-size: 28px;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.land-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.land-nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}
.land-nav-links a:hover { color: var(--text); }

.nav-btn-outline {
  border: 1px solid var(--border2) !important;
  color: var(--text) !important;
}
.nav-btn-outline:hover { border-color: var(--blue) !important; color: var(--blue) !important; }

.nav-btn-primary {
  background: var(--blue) !important;
  color: #fff !important;
  font-weight: 600 !important;
}
.nav-btn-primary:hover { background: var(--blue2) !important; }

/* ── HERO ─────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  padding: 80px 48px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(79,142,247,0.12) 0%, rgba(124,95,247,0.06) 40%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  flex: 1;
  max-width: 580px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.25);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 50%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 500px;
}

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

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 32px rgba(79,142,247,0.25);
}
.btn-hero-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border2);
  transition: border-color 0.2s, color 0.2s;
}
.btn-hero-outline:hover { border-color: var(--blue); color: var(--blue); }

.hero-note {
  font-size: 12px;
  color: var(--muted2);
}

/* ── DEMO WINDOW ──────────────────────────── */
.hero-demo {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

.demo-window {
  width: 360px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}

.demo-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red    { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green  { background: #34d399; }
.demo-title { font-size: 11px; color: var(--muted); margin-left: 8px; }

.demo-body { padding: 24px 20px; }
.typing-line {
  font-size: 26px;
  font-family: 'Noto Sans Sinhala', serif;
  color: var(--text);
  margin-bottom: 16px;
  min-height: 40px;
}
.typed-sinhala {
  transition: opacity 0.3s;
}
.cursor-blink {
  font-size: 22px;
  color: var(--blue);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.demo-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  padding: 8px 12px;
  background: var(--bg2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.hint-label { color: var(--muted2); }
.hint-text { font-family: monospace; color: var(--teal); }

.demo-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(124,95,247,0.4);
  white-space: nowrap;
}

/* ── SECTIONS SHARED ─────────────────────── */
section { padding: 96px 48px; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue);
  text-align: center;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  text-align: center;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 60px;
}

/* ── FEATURES GRID ───────────────────────── */
.features {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.feature-col {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  transition: border-color 0.3s;
}
.feature-col:hover { border-color: var(--border2); }
.pro-col {
  border-color: rgba(79,142,247,0.3);
  background: linear-gradient(145deg, rgba(79,142,247,0.05), rgba(124,95,247,0.05));
  box-shadow: 0 0 60px rgba(79,142,247,0.06);
}
.pro-col:hover { border-color: rgba(79,142,247,0.6) !important; }

.col-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.free-badge { background: rgba(107,115,148,0.15); color: var(--muted); border: 1px solid var(--border2); }
.pro-badge-tag {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  box-shadow: 0 2px 12px rgba(79,142,247,0.3);
}

.feature-col h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}
.col-sub { font-size: 13px; color: var(--muted); margin-bottom: 24px; }

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 32px;
  font-size: 14px;
}
.feature-list li { display: flex; align-items: center; gap: 10px; }
.feature-list li.na { color: var(--muted2); }

.check { color: var(--green); font-size: 15px; }
.check-pro { color: var(--blue); }
.cross { color: var(--muted2); }

.pill-soon {
  font-size: 9px;
  font-weight: 700;
  background: rgba(245,158,11,0.15);
  color: var(--gold);
  border: 1px solid rgba(245,158,11,0.3);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.btn-col-free {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-col-free:hover { border-color: var(--blue); color: var(--blue); }

.btn-col-pro {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(79,142,247,0.25);
}
.btn-col-pro:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── HOW IT WORKS ────────────────────────── */
.how-it-works { text-align: center; }

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  padding: 32px 24px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.6; }

.step-arrow {
  color: var(--muted2);
  font-size: 22px;
  padding: 0 8px;
  align-self: center;
  flex: 0 0 auto;
}

/* ── PRICING ─────────────────────────────── */
.pricing {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto 36px;
}

.price-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.price-card:hover { border-color: var(--border2); transform: translateY(-2px); }

.price-card-featured {
  border-color: rgba(79,142,247,0.4);
  background: linear-gradient(160deg, rgba(79,142,247,0.07), rgba(124,95,247,0.07));
  box-shadow: 0 0 60px rgba(79,142,247,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
}
.price-card-featured:hover { border-color: rgba(79,142,247,0.7) !important; }

.price-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-amount {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 4px;
}
.price-amount span { font-size: 48px; }
.price-period {
  font-size: 12px;
  color: var(--muted2);
  margin-bottom: 28px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.price-features li { display: flex; align-items: center; gap: 8px; }

.btn-price-outline {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-price-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-price-primary {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 24px rgba(79,142,247,0.3);
}
.btn-price-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.pricing-note a { color: var(--blue); }
.pricing-note a:hover { text-decoration: underline; }

/* ── DOWNLOAD ────────────────────────────── */
.download-section { text-align: center; }

.download-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 64px;
  max-width: 520px;
  box-shadow: 0 0 100px rgba(79,142,247,0.06);
}
.download-icon { font-size: 48px; }
.download-card h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }
.download-card > p { font-size: 14px; color: var(--muted); }

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.download-version { font-size: 11px; color: var(--muted2); }

/* ── FOOTER ──────────────────────────────── */
.land-footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--bg2);
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a { font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--muted2); }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding: 60px 24px; gap: 48px; }
  .hero-actions { justify-content: center; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-demo { width: 100%; display: flex; justify-content: center; }
  .demo-badge { right: 0; }
  .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  section { padding: 64px 24px; }
  .land-nav { padding: 14px 20px; }
  .steps { flex-direction: column; gap: 16px; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .step { width: 100%; max-width: 360px; }
  .download-card { padding: 40px 24px; }
}
