/* =====================================================
   TextPickle Design System
   Brand: Light + Green (#269561 pickleball green), Sporty Confidence
   ===================================================== */

:root {
  /* Brand Colors — Primary (pickleball green) */
  --primary:         #269561;
  --primary-light:   #2FB077;
  --primary-dark:    #1F7A4F;
  --primary-logo:    #269561;
  --accent:          #3CB320;

  /* Neutrals */
  --bg-primary:    #ffffff;
  --bg-elevated:   #F7F9F8;
  --bg-card:       #ffffff;
  --bg-card-hover: #F7F9F8;
  --surface:       #F0F4F2;
  --border:        #E5E7EB;
  --border-strong: #D1D5DB;

  /* Text */
  --text-primary:    #111827;
  --text-secondary:  #4B5563;
  --text-muted:      #6B7280;
  --text-on-primary: #ffffff;

  /* Gradients */
  --grad-primary:  linear-gradient(135deg, #269561 0%, #1F7A4F 100%);
  --grad-hero:     linear-gradient(160deg, #ffffff 0%, #F7F9F8 45%, #ffffff 100%);
  --grad-radial:   radial-gradient(ellipse at 30% 20%, rgba(38,149,97,0.06) 0%, transparent 60%);
  --grad-card:     linear-gradient(180deg, rgba(38,149,97,0.03) 0%, transparent 40%);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container:   1200px;

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:    0.6s;

  /* Backward-compatible aliases */
  --green: var(--primary);
  --green-light: var(--primary-light);
  --green-dark: var(--primary-dark);
  --green-logo: var(--primary-logo);
  --text-on-green: var(--text-on-primary);
  --grad-green: var(--grad-primary);
}

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

html {
  /* No global scroll-behavior: smooth — the long fragment-scroll to the folded
     #pricing anchor is cancelled mid-flight (lands at scrollY 0). Instant jump
     is reliable; #pricing keeps scroll-margin-top for the fixed header offset. */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* =====================================================
   Scroll Reveal
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =====================================================
   Header
   ===================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(17, 24, 39, 0.04);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Anchor-scroll offset so #pricing clears the fixed 72px header */
#pricing { scroll-margin-top: 90px; }

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.logo-text-prefix { color: var(--text-primary); }
.logo-pickle      { color: var(--primary-logo); }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color 0.3s, background 0.3s;
}
.nav-link:hover,
.nav-link.active { color: var(--text-primary); background: rgba(38, 149, 97, 0.08); }
.nav-link.active { color: var(--primary); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--text-on-primary);
  box-shadow: 0 2px 16px rgba(38, 149, 97, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(38, 149, 97, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(38, 149, 97, 0.05);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding: 8px 16px;
  font-size: 0.85rem;
}
.btn-ghost:hover { background: rgba(38, 149, 97, 0.08); }

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* =====================================================
   Hero
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: var(--grad-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 60%; height: 60%;
  background: radial-gradient(ellipse, rgba(38,149,97,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -15%;
  width: 50%; height: 50%;
  background: radial-gradient(ellipse, rgba(60,179,32,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(38, 149, 97, 0.1);
  border: 1px solid rgba(38, 149, 97, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--primary);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
}

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

/* Hero Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-phone {
  width: 280px;
  background: #111827;
  border-radius: 36px;
  padding: 12px;
  border: 2px solid rgba(38, 149, 97, 0.18);
  box-shadow: 0 24px 60px rgba(17,24,39,0.20), 0 0 0 1px var(--border);
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 24px;
  background: #111827;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 16px;
}

.phone-screen {
  background: var(--bg-primary);
  border-radius: 24px;
  padding: 20px 16px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-end;
}

.phone-msg {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 85%;
  animation: msg-fade 0.6s var(--ease-out) both;
}

.phone-msg-in {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.phone-msg-out {
  background: var(--grad-primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.phone-msg:nth-child(1) { animation-delay: 0.3s; }
.phone-msg:nth-child(2) { animation-delay: 0.8s; }
.phone-msg:nth-child(3) { animation-delay: 1.3s; }

@keyframes msg-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   Section Shared
   ===================================================== */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-title em {
  font-style: italic;
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.section-header { margin-bottom: 64px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  margin: 0; border: none;
}

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

.feature-card {
  position: relative;
  padding: 36px 32px;
  background: var(--grad-card);
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.04);
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover {
  border-color: var(--border-strong);
  background-color: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.10);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(38, 149, 97, 0.1);
  color: var(--primary);
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Use Case Lists */
.use-case-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.use-case-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}
.use-case-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(38, 149, 97, 0.25);
  border: 1.5px solid var(--primary);
}

/* =====================================================
   Stats Bar
   ===================================================== */
.stats-bar {
  padding: 60px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-eyebrow {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =====================================================
   Testimonials
   ===================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.04);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: #f0b429;
}
.testimonial-stars svg { width: 16px; height: 16px; fill: currentColor; }

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* =====================================================
   Credibility Block
   ===================================================== */
.credibility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.credibility-card {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.04);
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-out);
}
.credibility-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.10);
  transform: translateY(-4px);
}
.credibility-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(38, 149, 97, 0.1);
  color: var(--primary);
  margin: 0 auto 20px;
}
.credibility-icon svg { width: 24px; height: 24px; }
.credibility-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.credibility-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =====================================================
   Product Showcase ("See It In Action")
   ===================================================== */
.showcase-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vw, 100px);
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
/* Alternate: even rows put the image on the left */
.showcase-row:nth-child(even) .showcase-copy  { order: 2; }
.showcase-row:nth-child(even) .showcase-media { order: 1; }

.showcase-step {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.showcase-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.showcase-copy p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 460px;
}

/* Light browser chrome around each real screenshot */
.showcase-media { margin: 0; min-width: 0; }

.browser-frame {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.08);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.browser-bar span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--border-strong);
}
.browser-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tall inbox slice — cap width so it doesn't upscale or dominate */
.showcase-media--portrait .browser-frame {
  max-width: 380px;
  margin: 0 auto;
}
/* Short analytics band — nudge it visually centered in its column */
.showcase-media--band .browser-frame {
  align-self: center;
}

/* =====================================================
   CTA Section
   ===================================================== */
.cta-section {
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(38,149,97,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  padding: 64px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-primary);
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-inner h2 em { font-style: italic; color: var(--primary); }
.cta-inner p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   Pricing
   ===================================================== */
.pricing-section {
  padding-top: calc(72px + var(--section-pad));
  background: var(--grad-hero);
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.04);
  margin-bottom: 56px;
}
.pricing-toggle-btn {
  padding: 10px 28px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.pricing-toggle-btn.active {
  background: var(--primary);
  color: var(--text-on-primary);
  box-shadow: 0 2px 12px rgba(38, 149, 97, 0.3);
}
.pricing-save-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(38, 149, 97, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

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

/* Two-plan set: center the pair instead of leaving an empty 3rd column. */
.pricing-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  position: relative;
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.04);
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 20px 60px rgba(38,149,97,0.12);
  transform: scale(1.03);
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(17,24,39,0.10);
}
.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-popular-tag {
  position: absolute;
  top: 16px; right: 16px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-primary);
  background: var(--primary);
  border-radius: 6px;
}

.plan-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.1;
}
.plan-price .period {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}
.plan-credits {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.plan-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(38, 149, 97, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23269561' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-card .btn { width: 100%; margin-top: 28px; }

.price-hidden { display: none; }

/* =====================================================
   About Page
   ===================================================== */
.page-hero {
  padding: calc(72px + 80px) 0 80px;
  background: var(--grad-hero);
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-radial);
  pointer-events: none;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.about-text h3 em { font-style: italic; color: var(--primary); }
.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-image {
  aspect-ratio: 4/3;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.value-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.04);
}
.value-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}
.value-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }

/* =====================================================
   Contact Page
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.04);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-info-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
}

.contact-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(38, 149, 97, 0.1);
  border-radius: 10px;
  color: var(--primary);
}
.contact-icon svg { width: 20px; height: 20px; }

.contact-info-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.contact-info-card p,
.contact-info-card a { font-size: 0.9rem; color: var(--text-secondary); }
.contact-info-card a:hover { color: var(--primary); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(38, 149, 97, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* =====================================================
   Footer
   ===================================================== */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.65;
  margin-top: 12px;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-muted);
  transition: color 0.3s, background 0.3s;
}
.footer-socials a:hover { color: var(--primary); background: rgba(38, 149, 97, 0.1); }
.footer-socials svg { width: 18px; height: 18px; }

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 320px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .credibility-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 900px) {
  .showcase-row { grid-template-columns: 1fr; gap: 28px; }
  /* Stack copy above image on every row, regardless of desktop alternation */
  .showcase-row .showcase-copy,
  .showcase-row:nth-child(even) .showcase-copy  { order: 1; }
  .showcase-row .showcase-media,
  .showcase-row:nth-child(even) .showcase-media { order: 2; }
  .showcase-copy p { max-width: none; }
  .showcase-media--portrait .browser-frame { max-width: 340px; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
    gap: 4px;
  }
  .menu-toggle { display: flex; }
  .header-cta .btn-ghost { display: none; }

  .hero { min-height: auto; padding: calc(72px + 40px) 0 60px; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }

  .features-grid,
  .pricing-grid,
  .testimonials-grid,
  .credibility-grid,
  .values-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta-inner { padding: 40px 24px; }
}
