:root {
  --bg: #06080c;
  --surface: rgba(17, 23, 34, 0.72);
  --surface-strong: rgba(20, 27, 40, 0.92);
  --border: rgba(255, 255, 255, 0.09);
  --border-emerald: rgba(52, 211, 153, 0.34);
  --text: #f8fafc;
  --muted: #94a3b8;
  --emerald: #10b981;
  --emerald-bright: #34d399;
  --cyan: #22d3ee;
  --amber: #fbbf24;
  --radius-xl: 28px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.55;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Ambient Obsidian Glows */
.ambient-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}
.glow-1 {
  width: 620px;
  height: 620px;
  top: -180px;
  left: -120px;
  background: rgba(16, 185, 129, 0.16);
}
.glow-2 {
  width: 560px;
  height: 560px;
  top: 26%;
  right: -180px;
  background: rgba(34, 211, 238, 0.11);
}
.glow-3 {
  width: 500px;
  height: 500px;
  bottom: -180px;
  left: 22%;
  background: rgba(245, 158, 11, 0.09);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Glass Surface */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 8, 12, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  font-size: 20px;
  letter-spacing: -0.4px;
}
.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid var(--border-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.nav-links a:hover {
  color: #ffffff;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 750;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-btn.active {
  background: var(--emerald);
  color: #052e16;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 750;
  font-size: 14px;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  border: 0;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: linear-gradient(135deg, #34d399 0%, #10b981 55%, #059669 100%);
  color: #042412;
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.32);
}
.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(16, 185, 129, 0.48);
  transform: translateY(-1px);
}
.btn-lg {
  padding: 15px 28px;
  font-size: 15.5px;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.11);
}

/* Hero Section */
.hero {
  padding: 64px 0 76px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-emerald);
  color: #6ee7b7;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.06;
  font-weight: 850;
  letter-spacing: -1.4px;
  margin-bottom: 18px;
}
.gradient-text {
  background: linear-gradient(92deg, #34d399 0%, #22d3ee 60%, #a7f3d0 100%);
  -webkit-background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 550px;
  margin-bottom: 28px;
  line-height: 1.55;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-pill {
  font-size: 12.5px;
  font-weight: 650;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  padding: 7px 13px;
  border-radius: 12px;
}

/* iPhone 16 Pro Frame */
.hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}
.phone-shell {
  width: 320px;
  max-width: 100%;
  border-radius: 48px;
  padding: 11px;
  background: linear-gradient(145deg, #273041 0%, #11161f 100%);
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.72), 0 0 60px rgba(16, 185, 129, 0.14);
  position: relative;
}
.phone-screen {
  border-radius: 38px;
  overflow: hidden;
  background: #090c10;
  aspect-ratio: 393 / 852;
  position: relative;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}
.theme-toggle-pill {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  gap: 4px;
}
.theme-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.theme-btn.active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
.float-badge {
  position: absolute;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 750;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  white-space: nowrap;
}
.float-top-left {
  top: 72px;
  left: -34px;
}
.float-bottom-right {
  bottom: 92px;
  right: -28px;
}

/* Sections */
.section {
  padding: 74px 0;
}
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 46px;
}
.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--emerald-bright);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 850;
  letter-spacing: -0.9px;
  line-height: 1.12;
  margin-bottom: 12px;
}
.section-head p {
  font-size: 16px;
  color: var(--muted);
}

/* Interactive Feature Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 42px;
  align-items: center;
}
.feature-tabs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-tab {
  text-align: left;
  width: 100%;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: rgba(17, 23, 34, 0.52);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.22s ease;
  color: inherit;
}
.feature-tab:hover {
  background: rgba(25, 34, 50, 0.72);
  border-color: rgba(255, 255, 255, 0.16);
}
.feature-tab.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(17, 24, 39, 0.88) 100%);
  border-color: var(--border-emerald);
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.12);
}
.feature-tab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.feature-tab-title {
  font-size: 16.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.feature-tab p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.showcase-phone-wrap {
  display: flex;
  justify-content: center;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bento-card {
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(52, 211, 153, 0.28);
}
.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.bento-card h3 {
  font-size: 17px;
  font-weight: 800;
}
.bento-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* Pricing Comparison */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.plan-card {
  border-radius: var(--radius-xl);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.plan-pro {
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.15) 0%, rgba(15, 23, 42, 0.92) 55%);
  border: 1px solid var(--border-emerald);
}
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.plan-name {
  font-size: 22px;
  font-weight: 850;
}
.plan-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  background: rgba(251, 191, 36, 0.16);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.plan-price {
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.6px;
}
.plan-price span {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.plan-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
  color: #e2e8f0;
  flex: 1;
}
.plan-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.check {
  color: var(--emerald-bright);
  font-weight: 900;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border-radius: 18px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  color: #ffffff;
  text-align: left;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}
.faq-chevron {
  transition: transform 0.2s ease;
  color: var(--emerald-bright);
  font-size: 18px;
}
.faq-item.open .faq-chevron {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.26s ease, padding 0.26s ease;
  padding: 0 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.faq-item.open .faq-a {
  max-height: 240px;
  padding: 0 22px 18px;
}

/* Bottom CTA & Footer */
.cta-box {
  border-radius: 32px;
  padding: 48px 32px;
  text-align: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, rgba(34, 211, 238, 0.08) 50%, rgba(17, 24, 39, 0.9) 100%);
  border: 1px solid var(--border-emerald);
}
.cta-box h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 850;
  margin-bottom: 12px;
}
.cta-box p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 24px;
}
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 44px;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a:hover {
  color: #ffffff;
}

/* Legal Subpages */
.legal-wrap {
  max-width: 820px;
  margin: 44px auto 72px;
  border-radius: 28px;
  padding: 36px 40px;
}
.legal-wrap h1 {
  font-size: 30px;
  font-weight: 850;
  margin-bottom: 8px;
}
.legal-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.legal-wrap h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--emerald-bright);
  margin: 24px 0 10px;
}
.legal-wrap p, .legal-wrap li {
  font-size: 14.5px;
  color: #cbd5e1;
  line-height: 1.65;
}
.legal-wrap ul, .legal-wrap ol {
  padding-left: 20px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-wrap a {
  color: var(--emerald-bright);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .showcase-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .float-top-left {
    left: 0;
  }
  .float-bottom-right {
    right: 0;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 38px 0 54px;
  }
  .float-badge {
    display: none;
  }
  .phone-shell {
    width: 286px;
  }
  .legal-wrap {
    padding: 24px 20px;
    margin: 24px auto 48px;
  }
  .nav-cta-text {
    display: none;
  }
}
