/* ========================================
   The Trendshift — Modern SaaS Landing
   ======================================== */

/* ── Variables ── */
:root {
  /* Primary */
  --green-50:  #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;
  --green-950: #052e16;

  /* Accent */
  --amber-50:  #fffbeb;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --amber-600: #d97706;

  /* Neutrals (warm stone) */
  --stone-50:  #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --stone-950: #0c0a09;

  /* Semantic */
  --color-primary: var(--green-600);
  --color-primary-hover: var(--green-700);
  --color-primary-light: var(--green-50);
  --color-primary-glow: rgba(34, 197, 94, 0.15);
  --color-accent: var(--amber-600);
  --color-accent-light: var(--amber-50);
  --color-text: var(--stone-900);
  --color-text-secondary: var(--stone-600);
  --color-text-muted: var(--stone-400);
  --color-bg: #ffffff;
  --color-bg-alt: var(--stone-50);
  --color-bg-dark: #0a0f0d;
  --color-border: var(--stone-200);
  --color-border-subtle: rgba(0, 0, 0, 0.06);

  /* Additional accent colors */
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;

  /* Typography — fluid clamp scale */
  --fs-xs:   clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --fs-sm:   clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem);
  --fs-base: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
  --fs-lg:   clamp(1.125rem, 1rem + 0.4vw, 1.3rem);
  --fs-xl:   clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  --fs-2xl:  clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  --fs-3xl:  clamp(2.25rem, 1.6rem + 2vw, 3.25rem);
  --fs-hero: clamp(2.75rem, 1.8rem + 3vw, 4rem);

  /* Shadows — layered (Josh Comeau approach) */
  --shadow-xs:
    0 1px 1px hsl(0 0% 0% / 0.03),
    0 2px 2px hsl(0 0% 0% / 0.03);
  --shadow-sm:
    0 1px 1px hsl(0 0% 0% / 0.04),
    0 2px 2px hsl(0 0% 0% / 0.04),
    0 4px 4px hsl(0 0% 0% / 0.04);
  --shadow-md:
    0 1px 2px hsl(0 0% 0% / 0.04),
    0 2px 4px hsl(0 0% 0% / 0.04),
    0 4px 8px hsl(0 0% 0% / 0.04),
    0 8px 16px hsl(0 0% 0% / 0.04);
  --shadow-lg:
    0 2px 4px hsl(0 0% 0% / 0.03),
    0 4px 8px hsl(0 0% 0% / 0.03),
    0 8px 16px hsl(0 0% 0% / 0.03),
    0 16px 32px hsl(0 0% 0% / 0.04);
  --shadow-xl:
    0 2px 4px hsl(0 0% 0% / 0.02),
    0 4px 8px hsl(0 0% 0% / 0.03),
    0 8px 16px hsl(0 0% 0% / 0.04),
    0 16px 32px hsl(0 0% 0% / 0.05),
    0 32px 64px hsl(0 0% 0% / 0.06);
  --shadow-glow: 0 0 60px rgba(34, 197, 94, 0.08);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-blur: blur(14px) saturate(180%);

  /* Layout */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --max-width: 1180px;
  --nav-height: 64px;
  --section-pad: clamp(5rem, 10vw, 9rem);

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Font */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: -0.011em;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

::selection {
  background: var(--green-100);
  color: var(--green-900);
}

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

/* ── Grain overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.018;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(0.3deg); }
  66% { transform: translateY(-3px) rotate(-0.3deg); }
}

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

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.06s; }
.reveal-delay-2 { transition-delay: 0.12s; }
.reveal-delay-3 { transition-delay: 0.18s; }
.reveal-delay-4 { transition-delay: 0.24s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--green-700);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav-brand svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 1px 3px rgba(6, 95, 70, 0.2));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all 0.15s ease;
  padding: 6px 12px;
  border-radius: 8px;
}

.nav-link:hover {
  color: var(--color-text);
  background: var(--color-bg-alt);
}

.nav-link.active {
  color: var(--green-700);
  background: var(--green-50);
}

.nav-cta {
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff;
  border-radius: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-left: 10px;
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-mobile-toggle span {
  width: 20px; height: 1.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

/* Gradient glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(34, 197, 94, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Mesh gradient decoration */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: conic-gradient(from 180deg at 50% 50%, rgba(34, 197, 94, 0.06) 0deg, rgba(245, 158, 11, 0.04) 120deg, rgba(99, 102, 241, 0.04) 240deg, rgba(34, 197, 94, 0.06) 360deg);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: glow-drift 20s ease-in-out infinite;
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px clamp(16px, 4vw, 24px) 100px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.hero-content { animation: fadeUp 1s var(--ease-smooth) forwards; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 12px;
  background: linear-gradient(135deg, var(--green-50), rgba(99, 102, 241, 0.06));
  color: var(--green-700);
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid var(--green-100);
  box-shadow: 0 2px 12px rgba(34, 197, 94, 0.08);
}

.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  animation: pulse-dot 2s ease infinite;
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--green-600) 0%, var(--green-500) 30%, var(--amber-500) 60%, var(--green-600) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease infinite;
}

.hero-description {
  font-size: var(--fs-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 48ch;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: all 0.2s var(--ease-out);
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff;
  box-shadow: 0 2px 4px rgba(22, 163, 74, 0.2), 0 6px 16px rgba(22, 163, 74, 0.15);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(22, 163, 74, 0.2), 0 16px 32px rgba(22, 163, 74, 0.2);
}

.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-secondary {
  background: var(--color-bg);
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--green-200);
  color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--green-50);
}

.btn-secondary:active { transform: translateY(0); }

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 20px;
}

.hero-stat {
  animation: countUp 0.6s var(--ease-smooth) forwards;
  opacity: 0;
  position: relative;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.04), rgba(34, 197, 94, 0.01));
  border: 1px solid rgba(34, 197, 94, 0.1);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  transition: all 0.3s var(--ease-out);
}

.hero-stat:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.02));
  border-color: rgba(34, 197, 94, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.08);
}

.hero-stat:nth-child(1) { animation-delay: 0.5s; }
.hero-stat:nth-child(2) { animation-delay: 0.65s; }
.hero-stat:nth-child(3) { animation-delay: 0.8s; }

.hero-stat-value {
  font-size: var(--fs-2xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hero-stat-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  animation: fadeIn 1.2s var(--ease-smooth) 0.3s forwards;
  opacity: 0;
  position: relative;
  perspective: 1200px;
}

.hero-graphic {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
}

/* Product mockup frame */
.hero-mockup {
  position: absolute;
  inset: 5%;
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  box-shadow:
    var(--shadow-xl),
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 40px 80px -20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out);
}

.hero-mockup:hover {
  transform: rotateY(-1deg) rotateX(0.5deg);
}

.hero-mockup-bar {
  height: 36px;
  background: var(--stone-50);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}

.hero-mockup-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}

.hero-mockup-dot:nth-child(1) { background: #ff5f57; }
.hero-mockup-dot:nth-child(2) { background: #febc2e; }
.hero-mockup-dot:nth-child(3) { background: #28c840; }

.hero-mockup-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-mockup-sidebar {
  display: flex;
  gap: 12px;
  height: 100%;
}

.hero-mockup-nav {
  width: 48px;
  background: var(--stone-50);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-mockup-nav-item {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--stone-200);
  transition: background 0.2s;
}

.hero-mockup-nav-item:first-child {
  background: var(--green-100);
}

.hero-mockup-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-mockup-chart {
  flex: 1;
  background: linear-gradient(135deg, var(--green-50), var(--indigo-50));
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  min-height: 80px;
}

.hero-mockup-chart-bars {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  height: 60%;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.hero-mockup-chart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  transition: height 0.5s var(--ease-spring);
}
.hero-mockup-chart-bar:nth-child(1) { height: 45%; background: var(--green-200); }
.hero-mockup-chart-bar:nth-child(2) { height: 72%; background: var(--green-300); }
.hero-mockup-chart-bar:nth-child(3) { height: 58%; background: var(--green-200); }
.hero-mockup-chart-bar:nth-child(4) { height: 90%; background: linear-gradient(180deg, var(--green-500), var(--green-600)); }
.hero-mockup-chart-bar:nth-child(5) { height: 65%; background: var(--green-200); }
.hero-mockup-chart-bar:nth-child(6) { height: 80%; background: var(--green-300); }
.hero-mockup-chart-bar:nth-child(7) { height: 48%; background: var(--green-200); }

.hero-mockup-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hero-mockup-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.hero-mockup-card-line {
  height: 6px;
  border-radius: 3px;
  margin-bottom: 6px;
}
.hero-mockup-card:first-child .hero-mockup-card-line:nth-child(1) { width: 70%; background: var(--green-100); height: 8px; }
.hero-mockup-card:first-child .hero-mockup-card-line:nth-child(2) { width: 90%; background: var(--stone-100); }
.hero-mockup-card:first-child .hero-mockup-card-line:nth-child(3) { width: 50%; background: var(--stone-100); }
.hero-mockup-card:last-child .hero-mockup-card-line:nth-child(1)  { width: 60%; background: var(--amber-100); height: 8px; }
.hero-mockup-card:last-child .hero-mockup-card-line:nth-child(2)  { width: 80%; background: var(--stone-100); }
.hero-mockup-card:last-child .hero-mockup-card-line:nth-child(3)  { width: 65%; background: var(--stone-100); }

.hero-mockup-card-line:last-child { margin-bottom: 0; }

/* Gradient glow spots */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: glow-drift 12s ease-in-out infinite;
}

.hero-glow-1 {
  width: 320px; height: 320px;
  top: 10%; left: 20%;
  background: rgba(34, 197, 94, 0.15);
}

.hero-glow-2 {
  width: 240px; height: 240px;
  bottom: 15%; right: 15%;
  background: rgba(245, 158, 11, 0.1);
  animation-delay: -6s;
}

@keyframes glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -10px) scale(1.05); }
  66% { transform: translate(-10px, 15px) scale(0.95); }
}

/* ── Hero Showcase Carousel ── */
.hero-showcase {
  position: absolute;
  z-index: 10;
  display: grid;
}

.hero-showcase--top {
  top: -2%;
  right: -12%;
  width: 240px;
}

.hero-showcase--bottom {
  bottom: 2%;
  left: -8%;
  width: 260px;
}

.hero-showcase-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
  pointer-events: none;
}

.hero-showcase-slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Shared showcase card base */
.showcase-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255,255,255,0.7);
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: float 10s ease-in-out infinite;
}

.hero-showcase--bottom .showcase-card {
  animation-delay: -4s;
}

.showcase-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.showcase-card-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.showcase-card-icon svg { width: 14px; height: 14px; }

.showcase-card-icon--green  { background: var(--green-50);  color: var(--green-600); }
.showcase-card-icon--amber  { background: var(--amber-50);  color: var(--amber-600); }
.showcase-card-icon--indigo { background: var(--indigo-50); color: var(--indigo-500); }
.showcase-card-icon--blue   { background: #eff6ff; color: #3b82f6; }

.showcase-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.showcase-card-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* ── Trend showcase card ── */
.showcase-trend-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.showcase-score {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.showcase-score-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-600);
  line-height: 1;
}

.showcase-score-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.showcase-score-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.showcase-score-bar-label {
  font-size: 0.55rem;
  color: var(--color-text-muted);
  width: 20px;
  text-align: right;
  flex-shrink: 0;
}

.showcase-score-bar-track {
  flex: 1;
  height: 4px;
  background: var(--stone-100);
  border-radius: 2px;
  overflow: hidden;
}

.showcase-score-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1s var(--ease-out);
}

.showcase-score-bar-fill--green { background: var(--green-500); }
.showcase-score-bar-fill--amber { background: var(--amber-500); }
.showcase-score-bar-fill--blue  { background: #3b82f6; }

.showcase-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.showcase-keyword {
  padding: 2px 8px;
  background: #eff6ff;
  color: #3b82f6;
  border-radius: 100px;
  font-size: 0.6rem;
  font-weight: 600;
}

/* ── Concept showcase card ── */
.showcase-concept-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.showcase-concept-tone {
  display: inline-block;
  padding: 1px 8px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: 100px;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.showcase-concept-section {
  margin-bottom: 6px;
}

.showcase-concept-section-label {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.showcase-concept-section-text {
  font-size: 0.68rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.showcase-concept-actions {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.showcase-concept-action {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-concept-action svg { width: 11px; height: 11px; stroke: var(--color-text-muted); }

/* ── Analytics showcase card ── */
.showcase-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}

.showcase-stat-mini {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--stone-100);
  background: var(--stone-50);
}

.showcase-stat-mini-value {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
}

.showcase-stat-mini-value--blue   { color: #3b82f6; }
.showcase-stat-mini-value--green  { color: var(--green-600); }
.showcase-stat-mini-value--purple { color: #8b5cf6; }
.showcase-stat-mini-value--amber  { color: var(--amber-600); }

.showcase-stat-mini-label {
  font-size: 0.55rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 1px;
}

.showcase-mini-chart {
  height: 36px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 4px 0;
}

.showcase-mini-chart-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: var(--green-200);
  transition: height 0.8s var(--ease-spring);
}

.showcase-mini-chart-bar--highlight {
  background: linear-gradient(180deg, var(--green-400), var(--green-500));
}

/* ── Search showcase card ── */
.showcase-search-input {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--color-bg);
}

.showcase-search-input svg { width: 12px; height: 12px; stroke: var(--color-text-muted); flex-shrink: 0; }

.showcase-search-text {
  font-size: 0.68rem;
  color: var(--color-text-secondary);
  font-style: italic;
}

.showcase-search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}

.showcase-search-pill {
  padding: 3px 10px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: 100px;
  font-size: 0.58rem;
  font-weight: 600;
  border: 1px solid var(--green-100);
}

.showcase-search-result {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid var(--stone-100);
}

.showcase-search-result:first-child { border-top: none; }

.showcase-search-result-score {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  flex-shrink: 0;
}

.showcase-search-result-score--high {
  background: var(--green-50);
  color: var(--green-600);
}

.showcase-search-result-score--mid {
  background: var(--amber-50);
  color: var(--amber-600);
}

.showcase-search-result-title {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

/* ── Showcase progress dots ── */
.showcase-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
}

.showcase-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--stone-300);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}

.showcase-dot.active {
  background: var(--green-500);
  width: 14px;
  border-radius: 3px;
}

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

.section-alt {
  background: linear-gradient(180deg, var(--stone-50) 0%, #fefefe 50%, var(--stone-50) 100%);
  position: relative;
}

.section-alt::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--stone-200) 50%, transparent 90%);
}

/* Section decorative orb */
.section-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.5;
}

.section-orb-green {
  background: rgba(34, 197, 94, 0.08);
}

.section-orb-amber {
  background: rgba(245, 158, 11, 0.06);
}

.section-orb-indigo {
  background: rgba(99, 102, 241, 0.05);
}

.section-orb--problem   { top: -150px; right: -100px; }
.section-orb--solution-1 { bottom: -200px; left: -150px; }
.section-orb--solution-2 { top: -100px; right: -200px; }

.section-dark {
  background: linear-gradient(180deg, #080c0a 0%, #0a0f0d 40%, #0c1210 100%);
  color: #fff;
}

.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 40%, rgba(34, 197, 94, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(245, 158, 11, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 20%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  max-width: 58ch;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--green-50), rgba(99, 102, 241, 0.04));
  color: var(--green-700);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid var(--green-100);
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.06);
}

.section-dark .section-tag {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-header h2 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--stone-900) 0%, var(--stone-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-dark .section-header h2 {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 55ch;
  margin: 0 auto;
}

.section-dark .section-header p { color: rgba(255, 255, 255, 0.4); }

/* ========================================
   Problem
   ======================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.problem-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--amber-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.problem-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--green-50) 0%, rgba(99, 102, 241, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(34, 197, 94, 0.06);
  border-color: var(--green-100);
}

.problem-card:hover::before { transform: scaleX(1); }
.problem-card:hover::after { opacity: 1; }

.problem-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative; z-index: 1;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
}

.problem-icon svg { width: 22px; height: 22px; stroke: var(--green-600); }

.problem-card h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  position: relative; z-index: 1;
}

.problem-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.65;
  position: relative; z-index: 1;
}

.problem-closing {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  padding: 28px 36px;
  background: linear-gradient(135deg, var(--amber-50), rgba(245, 158, 11, 0.04));
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--amber-500);
  box-shadow: var(--shadow-sm);
}

.problem-closing p {
  font-size: var(--fs-sm);
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
}

/* ========================================
   Solution
   ======================================== */
.solution-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.solution-step {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.solution-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--amber-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.solution-step::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.solution-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(34, 197, 94, 0.06);
  border-color: var(--green-100);
}

.solution-step:hover::before { transform: scaleX(1); }
.solution-step:hover::after { opacity: 1; }

.solution-step-number {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green-200), var(--green-100));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}

.solution-step h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.solution-step > p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}

.solution-details { display: flex; flex-direction: column; gap: 8px; }

.solution-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--color-text);
  font-weight: 500;
}

.solution-detail::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.3);
}

/* ========================================
   How It Works
   ======================================== */
.hiw-timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.hiw-timeline::before {
  content: '';
  position: absolute;
  left: 22px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green-500), var(--amber-500), transparent);
  border-radius: 1px;
}

.hiw-step {
  position: relative;
  padding-left: 68px;
  padding-bottom: 48px;
}

.hiw-step:last-child { padding-bottom: 0; }

.hiw-step-number {
  position: absolute;
  left: 8px; top: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  box-shadow: 0 0 0 4px var(--color-bg-alt), 0 0 0 6px var(--green-100), 0 4px 12px rgba(34, 197, 94, 0.2);
  z-index: 1;
}

.hiw-step h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.hiw-step p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 50ch;
}

/* ========================================
   Comparison
   ======================================== */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  box-shadow: var(--shadow-lg);
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  text-align: center;
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--color-border-subtle);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  padding-left: 24px;
  min-width: 200px;
}

.comparison-table thead th {
  background: var(--stone-50);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 16px;
}

.comparison-table thead th:last-child {
  background: linear-gradient(180deg, var(--green-50), var(--green-100));
  color: var(--green-700);
  font-weight: 800;
}

.comparison-table .comp-example {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 3px;
}

.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr { transition: background 0.15s; }
.comparison-table tbody tr:hover { background: var(--stone-50); }
.comparison-table td:last-child { background: rgba(240, 253, 244, 0.5); }

.comp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
}

.comp-icon svg { width: 12px; height: 12px; }
.comp-icon.yes { background: var(--green-50); color: var(--green-600); }
.comp-icon.partial { background: var(--amber-50); color: var(--amber-600); }
.comp-icon.no { background: var(--stone-100); color: var(--stone-300); }

.comparison-legend {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 18px;
}

.comparison-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
}

/* ========================================
   Clients
   ======================================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.client-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-border);
}

.client-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.client-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-xs);
  flex-shrink: 0;
  background: var(--card-color);
}

.client-card-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-color);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.error-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: sans-serif;
  color: #666;
}

.client-info h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.client-info span {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.client-card blockquote {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  padding-left: 14px;
  border-left: 2px solid var(--stone-200);
}

/* ========================================
   Pricing
   ======================================== */
.pricing-grid {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 34px 24px 30px;
  text-align: center;
  transition: all 0.35s var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
  min-width: 0;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--stone-300);
}

.pricing-card.highlighted {
  border-color: var(--green-200);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(34, 197, 94, 0.1);
  background: linear-gradient(180deg, var(--green-50) 0%, rgba(99, 102, 241, 0.01) 50%, var(--color-bg) 100%);
  transform: scale(1.02);
}

.pricing-card.highlighted:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(34, 197, 94, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  background: var(--green-600);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

.pricing-name {
  font-size: var(--fs-lg);
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.pricing-description {
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
  min-height: 2.4em;
}

.pricing-features {
  text-align: left;
  flex: 1;
  margin-bottom: 24px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.pricing-feature svg {
  width: 14px; height: 14px;
  stroke: var(--green-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-cta {
  width: 100%;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: all 0.2s var(--ease-out);
  margin-top: auto;
}

.pricing-card .pricing-cta {
  background: transparent;
  color: var(--green-700);
  border: 1.5px solid var(--green-200);
}

.pricing-card .pricing-cta:hover {
  background: var(--green-600);
  border-color: var(--green-600);
  color: #fff;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.pricing-card.highlighted .pricing-cta {
  background: var(--green-600);
  color: #fff;
  border-color: var(--green-600);
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}

.pricing-card.highlighted .pricing-cta:hover {
  background: var(--green-700);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
}

/* ========================================
   Team
   ======================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 680px;
  margin: 0 auto 36px;
}

.team-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px 28px 36px;
  text-align: center;
  transition: all 0.35s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green-100);
}

.team-avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 22px;
}

.team-avatar-img {
  width: 140px; height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 3px solid var(--green-50);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.team-card:hover .team-avatar-img {
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.team-card h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 3px;
  letter-spacing: -0.015em;
}

.team-role {
  font-size: var(--fs-xs);
  color: var(--green-600);
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.team-bio {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.team-location {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.team-location svg { width: 14px; height: 14px; stroke: var(--color-text-muted); }

/* ========================================
   Contact
   ======================================== */
.contact-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative; z-index: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
  text-align: left;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-group label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.55);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: var(--font);
  font-size: var(--fs-sm);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.18); }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-500);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.contact-form .btn-primary {
  align-self: center;
  width: auto;
  padding: 12px 40px;
  margin-top: 4px;
}

.contact-meta {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 28px;
}

.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.35);
}

.contact-meta-item svg { width: 14px; height: 14px; stroke: rgba(255, 255, 255, 0.25); }

/* ========================================
   FAQ
   ======================================== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  line-height: 1.5;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--color-text-muted);
  transition: transform 0.3s var(--ease-smooth), stroke 0.2s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  stroke: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-smooth), padding 0.35s var(--ease-smooth);
  padding: 0 4px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 4px 20px;
}

.faq-answer p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: linear-gradient(180deg, #0c1210, #080c0a);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-brand-name { font-size: var(--fs-sm); font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.footer-brand-tagline { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.25); }

.footer-links { display: flex; gap: 20px; }
.footer-link { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.35); transition: color 0.15s; }
.footer-link:hover { color: rgba(255, 255, 255, 0.7); }

.footer-copyright { font-size: 0.7rem; color: rgba(255, 255, 255, 0.18); }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .pricing-grid { flex-wrap: wrap; }
  .pricing-card { flex: 1 1 calc(50% - 8px); }
}

@media (max-width: 768px) {
  :root { --nav-height: 56px; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 8px 16px 16px;
    gap: 0;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--color-border-subtle);
  }

  .nav-links.open { display: flex; }

  .nav-links .nav-link {
    padding: 12px 0;
    font-size: var(--fs-sm);
    border-bottom: 1px solid var(--color-border-subtle);
    width: 100%; border-radius: 0; background: none;
  }

  .nav-links .nav-cta { margin: 12px 0 0; text-align: center; width: 100%; }
  .nav-mobile-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 24px; padding: 40px 20px 60px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 12px; }
  .hero-actions { flex-direction: column; }

  .section { padding: clamp(3rem, 8vw, 5rem) 0; }
  .section-header { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

  .problem-grid { grid-template-columns: 1fr; }
  .solution-steps { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .pricing-grid { flex-direction: column; max-width: 340px; margin: 0 auto; }
  .team-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto 36px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
  .contact-meta { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero-stats { flex-direction: column; gap: 8px; }
  .comparison-legend { flex-direction: column; align-items: center; gap: 8px; }
}
