:root {
  --primary: #00796b;
  --primary-dark: #004d40;
  --primary-light: #26a69a;
  --primary-glow: #4db6ac;
  --gold: #d4a853;
  --bg: #f8fafc;
  --card: #ffffff;
  --heading: #111827;
  --body: #4b5563;
  --muted: #94a3b8;
  --border: #e5e7eb;
  --hero-start: #022c22;
  --hero-mid: #0f766e;
  --hero-end: #134e4a;
  --radius: 16px;
  --shadow: 0 24px 48px rgba(0, 77, 64, 0.12);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Poppins', var(--font);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(2, 44, 34, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand svg {
  flex-shrink: 0;
}

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

.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 121, 107, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(0, 121, 107, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-dark {
  background: var(--heading);
  color: #fff;
}

.btn-ghost {
  background: var(--card);
  color: var(--primary-dark);
  border: 1px solid var(--border);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  background: linear-gradient(145deg, var(--hero-start) 0%, var(--hero-mid) 45%, var(--hero-end) 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(77, 182, 172, 0.25), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(212, 168, 83, 0.12), transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.12;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: linear-gradient(90deg, #5eead4, #fcd34d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 32rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
}

.stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mock {
  width: min(300px, 100%);
  padding: 0.75rem;
  border-radius: 2rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}

.phone-screen {
  border-radius: 1.5rem;
  background: var(--bg);
  overflow: hidden;
  color: var(--heading);
}

.phone-top {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.phone-top h3 {
  margin: 0;
  font-size: 1rem;
  font-family: var(--font-display);
}

.phone-top p {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  opacity: 0.85;
}

.phone-body {
  padding: 1rem 1.25rem 1.5rem;
}

.mini-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
}

.mini-card .amount {
  font-weight: 700;
  color: var(--primary-dark);
}

.pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(0, 121, 107, 0.12);
  color: var(--primary-dark);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--heading);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  font-size: 1.05rem;
}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature-icon.teal {
  background: rgba(0, 121, 107, 0.12);
}

.feature-icon.purple {
  background: rgba(109, 94, 249, 0.12);
}

.feature-icon.gold {
  background: rgba(212, 168, 83, 0.18);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--heading);
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* How it works */
.how {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 121, 107, 0.3);
}

.step h3 {
  font-family: var(--font-display);
  color: var(--heading);
  margin: 0 0 0.5rem;
}

.step p {
  margin: 0;
  font-size: 0.95rem;
}

/* CTA */
.cta {
  padding: 4rem 0 5rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--hero-mid), var(--hero-end));
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(253, 224, 71, 0.15), transparent 50%);
}

.cta-box h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.cta-box p {
  position: relative;
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.store-buttons {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  min-width: 180px;
  transition: background 0.2s;
}

.store-btn:hover {
  background: rgba(0, 0, 0, 0.5);
}

.store-btn small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.8;
  text-align: left;
}

.store-btn strong {
  display: block;
  font-size: 0.95rem;
  text-align: left;
}

.coming-soon {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 1rem;
  position: relative;
}

/* Footer */
.site-footer {
  background: var(--heading);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

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

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

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

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--hero-start);
    padding: 1rem 4vw 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }
}
