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

:root {
  /* ── Brand base colours ── */
  --teal:        #82d4bb;   /* mint accent — labels, borders, checkmarks, icon bg tint */
  --teal-dark:   #5abba0;   /* hover shade — slightly deeper mint */
  --teal-light:  #e8f8f3;   /* pale tint — feature icon backgrounds, hover fills */

  --slate:       #1f363d;   /* darkest — hero bg, footer bg, headings, dark buttons */
  --slate-mid:   #2d5260;   /* medium — body text, card descriptions */
  --slate-light: #4a7282;   /* lighter — secondary labels, subtext, placeholders */

  --orange:      #ff9700;   /* logo orange — Pro/Most Popular badge */
  --blue:        #66b3ff;   /* logo blue — link accent */

  --bg:    #f4fbf9;         /* very faint mint page background */
  --white: #ffffff;
  --border: #cce8df;        /* mint-tinted card/nav border */

  --radius: 10px;
  --shadow:    0 1px 3px rgba(31,54,61,.07), 0 4px 16px rgba(31,54,61,.07);
  --shadow-lg: 0 8px 32px rgba(31,54,61,.14);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--slate);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── NAV ── */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: -0.5px;
  text-decoration: none;
}
.nav-logo img {
  height: 38px;
  width: 38px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.nav-logo .logo-text { line-height: 1; }
.nav-logo .logo-accent { color: var(--orange); }

.hero-logo {
  display: block;
  height: 88px;
  width: 88px;
  border-radius: 16px;
  object-fit: cover;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  color: var(--slate-mid);
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--teal-light); color: var(--slate); }
.nav-links .btn-primary {
  background: var(--slate);
  color: var(--white);
  padding: 7px 18px;
  border-radius: 6px;
}
.nav-links .btn-primary:hover { background: var(--slate-mid); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .1s, box-shadow .15s, background .15s;
}
.btn:active { transform: scale(.98); }

/* Teal button — light bg so needs DARK text for contrast */
.btn-teal {
  background: var(--teal);
  color: var(--slate);
  box-shadow: 0 2px 8px rgba(90,187,160,.35);
}
.btn-teal:hover {
  background: var(--teal-dark);
  box-shadow: 0 4px 16px rgba(90,187,160,.4);
}

/* Outline button — teal border, slate text */
.btn-outline {
  background: transparent;
  color: var(--slate);
  border: 2px solid var(--teal);
}
.btn-outline:hover { background: var(--teal-light); }

/* White button — used on dark hero */
.btn-white { background: var(--white); color: var(--slate); box-shadow: var(--shadow); }
.btn-white:hover { box-shadow: var(--shadow-lg); }

.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #1f363d 0%, #1f4a52 55%, #2a6258 100%);
  color: var(--white);
  padding: 88px 24px 96px;
  text-align: center;
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(130,212,187,.2);
  border: 1px solid rgba(130,212,187,.4);
  color: #b2ecda;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
/* Teal highlight word inside hero headline */
.hero h1 .highlight { color: var(--teal); }
.hero p {
  font-size: 1.125rem;
  opacity: .85;
  max-width: 540px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── SECTION ── */
.section { padding: 72px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--slate);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 1rem;
  color: var(--slate-light);
  max-width: 520px;
  margin-bottom: 48px;
}

/* ── FEATURE GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.25rem;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--slate); }
.feature-card p { font-size: .875rem; color: var(--slate-mid); line-height: 1.6; }

/* ── PLANS ── */
.plans-hero {
  background: linear-gradient(135deg, #1f363d 0%, #1f4a52 100%);
  color: var(--white);
  padding: 64px 24px 72px;
  text-align: center;
}
.plans-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -.5px; margin-bottom: 12px; }
.plans-hero p { font-size: 1.0625rem; opacity: .75; max-width: 460px; margin: 0 auto; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.plan-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}
.plan-card:hover { box-shadow: var(--shadow-lg); }
.plan-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(130,212,187,.12), var(--shadow-lg);
}

/* Most Popular badge — logo orange */
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--slate);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-name { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--teal-dark); margin-bottom: 8px; }
.plan-price { font-size: 2.5rem; font-weight: 800; color: var(--slate); letter-spacing: -1px; margin-bottom: 4px; line-height: 1; display: flex; align-items: baseline; gap: 2px; flex-wrap: wrap; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--slate-light); }
.plan-price-cents { font-size: 1.35rem; font-weight: 800; color: var(--slate); letter-spacing: -0.5px; }
.plan-desc { font-size: .875rem; color: var(--slate-light); margin-bottom: 24px; }
.plan-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { font-size: .9375rem; color: var(--slate-mid); display: flex; align-items: flex-start; gap: 10px; }
.plan-features li::before {
  content: "✓";
  color: var(--teal-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan-cta { width: 100%; text-align: center; justify-content: center; }

/* ── BACK LINK ── */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--slate-light); padding: 12px 24px; }
.back-link:hover { color: var(--teal-dark); }

/* ── FOOTER ── */
footer {
  background: var(--slate);
  color: rgba(255,255,255,.55);
  text-align: center;
  padding: 28px 24px;
  font-size: .875rem;
}
footer a { color: rgba(255,255,255,.75); }
footer a:hover { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .hero { padding: 64px 20px 72px; }
  .hero-actions { flex-direction: column; align-items: center; }

  /* Hide "Pricing" nav link on mobile — keep "Log in" always visible */
  .nav-pricing { display: none; }

  /* Compact nav links on mobile */
  .nav-links { gap: 4px; }
  .nav-links a { padding: 6px 10px; font-size: .8125rem; }
  .nav-links .btn-primary { padding: 7px 14px; }

  .plans-grid { grid-template-columns: 1fr; padding: 32px 20px 48px; }

  /* Plans page hero */
  .plans-hero { padding: 40px 20px 32px; }
}
