/* =====================
   DESIGN TOKENS
   ===================== */
:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #34d399;
  --primary-bg: rgba(16, 185, 129, 0.08);
  --primary-bg-hover: rgba(16, 185, 129, 0.14);

  --gray-900: #0f172a;
  --gray-800: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;

  --bg: #fafafa;
  --surface: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #06b6d4;
  --purple: #8b5cf6;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.16);

  --font: 'Geist Sans', system-ui, -apple-system, sans-serif;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1120px;
  --section-padding: 96px 24px;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); }
ul, ol { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================
   ICON HELPERS
   ===================== */
.icon-primary { color: var(--primary); }
.icon-danger  { color: var(--danger); }

/* =====================
   TYPOGRAPHY
   ===================== */

/* Label — modern pill style */
.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-bg);
  border: 1px solid rgba(16, 185, 129, 0.22);
  padding: 4px 12px 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
  width: fit-content;
}
.label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.125rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.625rem, 3vw, 2.375rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }
h4 { font-size: 0.9375rem; font-weight: 600; }

p { color: var(--gray-600); line-height: 1.7; }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-height: 44px; /* accessible touch target */
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

.btn-secondary {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  color: var(--gray-900);
}

.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius-xl); }
.btn-full { width: 100%; justify-content: center; }

@keyframes spin { to { transform: rotate(360deg); } }
.btn-spinning { animation: spin 0.8s linear infinite; }

/* =====================
   SECTION HELPERS
   ===================== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

/* =====================
   SCROLL ANIMATIONS
   ===================== */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate-delay="1"] { transition-delay: 0.12s; }
[data-animate-delay="2"] { transition-delay: 0.24s; }
[data-animate-delay="3"] { transition-delay: 0.36s; }

/* =====================
   NAVBAR
   ===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: box-shadow 0.2s ease;
}
.navbar.scrolled {
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 62px;
}

.navbar-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.navbar-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav-links a {
  padding: 6px 13px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover { color: var(--gray-900); background: var(--gray-100); }
.nav-links a.nav-active { color: var(--primary-dark); background: var(--primary-bg); }

.navbar-cta { margin-left: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--gray-700);
  margin-left: auto;
  border-radius: var(--radius);
  transition: var(--transition);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: var(--gray-100); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .navbar-cta { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 2px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; }
}

/* =====================
   HERO
   ===================== */
.hero {
  padding: 80px 0 96px;
  background: var(--white);
  overflow: hidden;
  position: relative;
}

/* Dot grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--gray-300) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.45;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.6) 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.6) 80%, transparent 100%);
}

/* Green gradient glow right side */
.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse at 60% 40%, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.04) 50%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-content { display: flex; flex-direction: column; gap: 24px; }
.hero-content .label { margin-bottom: -8px; }

.hero-sub {
  font-size: 1.0625rem;
  color: var(--gray-600);
  max-width: 480px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-proof {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: -4px;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
}
.proof-item i { font-size: 16px; }

.hero-visual {
  position: relative;
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-content { text-align: center; align-items: center; }
  .hero-sub { text-align: center; max-width: 100%; }
  .hero-proof { justify-content: center; }
}

@media (max-width: 768px) {
  .hero { padding: 60px 0 72px; }
}

/* =====================
   BROWSER CHROME
   ===================== */
.screenshot-frame {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  background: var(--white);
  line-height: 0;
}
.screenshot-frame img {
  width: 100%;
  display: block;
  height: auto;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: #f3f4f6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  line-height: 1;
}
.browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1;
  max-width: 260px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.065);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-family: var(--font);
  color: var(--gray-500);
  text-align: center;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero screenshot — perspective tilt */
.hero-visual .screenshot-frame {
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(226,232,240,0.7);
  border: none;
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg) scale(0.97);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s ease;
}
.hero-visual .screenshot-frame:hover {
  transform: perspective(1400px) rotateY(-1deg) rotateX(0.5deg) scale(1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--border);
}

/* =====================
   STATS STRIP
   ===================== */
.stats-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-value {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* =====================
   PROBLEM
   ===================== */
.problem {
  padding: var(--section-padding);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-item {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--gray-50);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.problem-item:hover {
  border-color: rgba(16, 185, 129, 0.3);
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.problem-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 26px;
}

.problem-item h4 { color: var(--gray-900); }
.problem-item p { font-size: 0.875rem; }

.problem-transition {
  text-align: center;
  margin-top: 48px;
  padding: 20px 32px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.07) 0%, rgba(16, 185, 129, 0.04) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.problem-transition p { font-size: 1.0625rem; color: var(--gray-700); }
.problem-transition strong { color: var(--primary-dark); }

@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* =====================
   FEATURES
   ===================== */
.features {
  padding: var(--section-padding);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  border-color: var(--gray-300);
  transform: translateY(-2px);
}

.feature-card-primary {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
  border-color: rgba(16, 185, 129, 0.25);
}
.feature-card-primary:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.07) 100%);
  border-color: rgba(16, 185, 129, 0.4);
}
.feature-card-primary h3 { color: var(--primary-dark); }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 28px;
  flex-shrink: 0;
}
.feature-icon-blue   { background: #dbeafe; color: #1d4ed8; }
.feature-icon-orange { background: #fff7ed; color: #c2410c; }
.feature-icon-purple { background: #f5f3ff; color: #6d28d9; }

.feature-card h3 { font-size: 1.125rem; }
.feature-card > p { font-size: 0.875rem; color: var(--gray-600); }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-700);
}
.feature-list li i { color: var(--primary); flex-shrink: 0; font-size: 14px; }

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* =====================
   HOW IT WORKS
   ===================== */
.how-it-works {
  padding: var(--section-padding);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}

.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 0 24px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  position: relative;
  z-index: 1;
}

.step-content { display: flex; flex-direction: column; gap: 8px; }
.step-content h3 { font-size: 1.0625rem; color: var(--gray-900); }
.step-content p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.65; }

.step-connector {
  flex-shrink: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  opacity: 0.4;
  margin-bottom: 36px; /* align with step-number */
}

@media (max-width: 768px) {
  .steps-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .step-item {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: 0 0 32px;
  }
  .step-content { gap: 6px; }
  .step-connector {
    width: 2px;
    height: 28px;
    margin: 0 0 0 27px; /* align with center of step-number (27 = (56-2)/2) */
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
  }
}

/* =====================
   MODULE DETAILS
   ===================== */
.module-details {
  padding: var(--section-padding);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.module-details .container {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.module-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.module-row-reverse .module-visual { order: -1; }

.module-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.module-text h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.module-text > p { font-size: 1rem; line-height: 1.75; }

.module-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}
.module-benefits li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.benefit-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 18px;
}
.module-benefits li > div { display: flex; flex-direction: column; gap: 2px; }
.module-benefits strong { font-size: 0.875rem; color: var(--gray-800); font-weight: 600; }
.module-benefits span { font-size: 0.8125rem; color: var(--gray-500); }

/* Module screenshots — slightly elevated */
.module-visual .screenshot-frame {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.module-visual .screenshot-frame:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

@media (max-width: 1024px) {
  .module-row { grid-template-columns: 1fr; gap: 40px; }
  .module-row-reverse .module-visual { order: 0; }
  .module-details .container { gap: 72px; }
}

/* =====================
   ALL IN ONE
   ===================== */
.all-in-one {
  padding: var(--section-padding);
  background: var(--gray-900);
  position: relative;
  overflow: hidden;
}
.all-in-one::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.all-in-one .section-header { color: var(--white); }
.all-in-one .label {
  color: var(--primary-light);
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
}
.all-in-one .label::before { background: var(--primary-light); }
.all-in-one h2 { color: var(--white); }
.all-in-one .section-header p { color: var(--gray-400); }

.modules-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.module-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  color: var(--gray-400);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  text-align: center;
  cursor: default;
}
.module-tile:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--primary-light);
  transform: translateY(-2px);
}
.module-tile span { font-size: 0.75rem; font-weight: 500; }
.module-tile i { flex-shrink: 0; color: inherit; font-size: 22px; }

.modules-note {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 28px;
  font-size: 0.875rem;
  color: var(--gray-500);
}

@media (max-width: 1024px) {
  .modules-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials {
  padding: var(--section-padding);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--gray-300);
  transform: translateY(-2px);
}

.testimonial-card-featured {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.06) 0%, rgba(16, 185, 129, 0.02) 100%);
}
.testimonial-card-featured:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.12);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--warning);
  font-size: 16px;
}

.testimonial-quote {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: normal;
  flex: 1;
}
.testimonial-quote::before { content: '"'; }
.testimonial-quote::after  { content: '"'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.testimonial-avatar-b { background: #dbeafe; color: #1d4ed8; }
.testimonial-avatar-c { background: #f5f3ff; color: #6d28d9; }

.testimonial-author strong {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-900);
  font-weight: 600;
}
.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .testimonials-grid { max-width: 100%; }
}

/* =====================
   CONTACT
   ===================== */
.contact {
  padding: var(--section-padding);
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-text h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.contact-text > p { font-size: 1rem; line-height: 1.75; }

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.contact-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}
.contact-perks li i { font-size: 18px; flex-shrink: 0; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form-optional { font-weight: 400; color: var(--gray-400); }

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  resize: vertical;
  min-height: 44px; /* accessible touch target */
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }

/* GDPR checkbox */
.form-group-check { gap: 0; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.55;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  min-width: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--primary);
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 0;
}
.form-link {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-link:hover { color: var(--primary); }

.form-note {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: -8px;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
}
.form-success i { font-size: 52px; color: var(--primary); }
.form-success h3 { font-size: 1.375rem; color: var(--gray-900); }
.form-success p { color: var(--gray-600); font-size: 1rem; }

.form-error {
  font-size: 0.8125rem;
  color: var(--danger);
  padding: 8px 12px;
  background: #fef2f2;
  border-radius: var(--radius);
  border: 1px solid #fecaca;
}

@media (max-width: 1024px) {
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--gray-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .navbar-logo { color: var(--white); font-size: 1.25rem; }
.footer-brand .navbar-logo span { color: var(--primary); }
.footer-brand p { font-size: 0.8125rem; color: var(--gray-500); line-height: 1.65; }

.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-nav a {
  font-size: 0.875rem;
  color: var(--gray-500);
  transition: color 0.15s ease;
}
.footer-nav a:hover { color: var(--white); }
.footer-nav-legal {
  font-size: 0.8125rem !important;
  color: var(--gray-600) !important;
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 24px;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--gray-600);
}

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-nav-legal { border-left: none; padding-left: 0; }
}

/* =====================
   STICKY MOBILE CTA
   ===================== */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-sticky-cta.hidden {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .mobile-sticky-cta { display: block; }
  /* Add bottom padding to body so sticky bar doesn't cover last content */
  body { padding-bottom: 88px; }
  footer.footer { margin-bottom: 0; }
}

/* =====================
   GLOBAL POLISH
   ===================== */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-dark);
}

@media (max-width: 480px) {
  :root { --section-padding: 72px 0; }
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .step-item { padding: 0 0 28px; }
}

/* === Founder note (nahrazuje testimonials) === */
.founder-note {
  padding: 80px 0;
  background: var(--gray-50);
}
.founder-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 32px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.founder-photo img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.founder-body p {
  line-height: 1.7;
  margin: 0 0 16px;
  color: var(--gray-800);
}
.founder-body p:last-child {
  margin-bottom: 0;
}
.founder-body a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.founder-body a:hover {
  text-decoration: underline;
}
.founder-body p.founder-signature {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--gray-500);
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  .founder-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .founder-photo {
    margin: 0 auto;
  }
  .founder-photo img {
    width: 120px;
    height: 120px;
  }
}

/* === Legal page (podminky.html) === */
.legal {
  padding-top: 0;
}
.legal-hero {
  padding: 64px 0 32px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
}
.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 8px;
}
.legal-meta {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin: 0;
}
.legal-content {
  padding: 48px 0 80px;
}
.legal-content .container {
  max-width: 760px;
}
.legal-content h2 {
  margin-top: 48px;
  font-size: 1.5rem;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  margin-top: 24px;
  font-size: 1.15rem;
}
.legal-content p {
  line-height: 1.75;
  margin: 12px 0;
  color: var(--gray-800);
}
.legal-content ul {
  padding-left: 24px;
  line-height: 1.85;
}
.legal-content ul li {
  margin: 4px 0;
}
.legal-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.legal-content a:hover {
  text-decoration: underline;
}
