/* ==========================================================================
   PetDelivery.ro — Main Stylesheet
   Premium, conversion-focused, mobile-first design
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Reset
   -------------------------------------------------------------------------- */
:root {
  /* Brand colours */
  --navy:           #0F2240;
  --navy-light:     #1B3A6B;
  --blue:           #1E5FAD;
  --blue-mid:       #2D7DD2;
  --accent:         #FF6B2B;
  --accent-hover:   #E55A1A;
  --accent-glow:    rgba(255, 107, 43, 0.35);
  --gold:           #FFB800;
  --green:          #22C55E;
  --green-dark:     #16A34A;
  --red-soft:       #EF4444;

  /* Backgrounds */
  --bg:             #FAFBFF;
  --bg-cream:       #FFF8F2;
  --bg-section:     #F2F5FB;
  --bg-dark:        #0A1628;

  /* Text */
  --text:           #111827;
  --text-mid:       #374151;
  --text-muted:     #6B7280;
  --text-light:     #9CA3AF;

  /* Utility */
  --white:          #FFFFFF;
  --border:         #E5E7EB;
  --border-focus:   #2D7DD2;
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.06);
  --shadow:         0 4px 24px rgba(15,34,64,0.10);
  --shadow-md:      0 8px 40px rgba(15,34,64,0.14);
  --shadow-lg:      0 20px 60px rgba(15,34,64,0.18);
  --shadow-accent:  0 8px 32px rgba(255,107,43,0.30);

  /* Spacing & geometry */
  --radius-sm:      8px;
  --radius:         16px;
  --radius-lg:      24px;
  --radius-xl:      32px;
  --max-width:      1200px;
  --section-py:     100px;

  /* Typography */
  --font-heading:   'Montserrat', sans-serif;
  --font-body:      'Inter', sans-serif;

  /* Transitions */
  --transition:     0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* --------------------------------------------------------------------------
   2. Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.section-tag {
  display: inline-block;
  background: rgba(30, 95, 173, 0.10);
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin-inline: auto;
}

.text-accent { color: var(--accent); }
.text-navy   { color: var(--navy); }

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #FF8C47 100%);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
  box-shadow: 0 12px 40px rgba(255,107,43,0.45);
  transform: translateY(-2px);
}

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

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.50);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.80);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 2px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-lg  { padding: 18px 38px; font-size: 16px; }
.btn-sm  { padding: 11px 22px; font-size: 13px; }

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. Navigation
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 18px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Logo image — natural colors everywhere */
.logo-img {
  height: 42px;
  width: auto;
  display: block;
  transition: height var(--transition);
}

.navbar.scrolled .logo-img {
  height: 36px;
}

.footer .logo-img {
  height: 38px;
}

.mobile-nav .logo-img {
  height: 36px;
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--white); }

.navbar.scrolled .nav-links a {
  color: var(--text-mid);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--accent);
}

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

.nav-phone {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}

.navbar.scrolled .nav-phone { color: var(--navy); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar.scrolled .nav-hamburger span { background: var(--navy); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 950;
  flex-direction: column;
  padding: 32px 24px;
  overflow-y: auto;
}

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

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.mobile-nav-close {
  background: rgba(255,255,255,0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 48px;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--navy) 45%, #1a3a7a 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Animated background shapes */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(45,125,210,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,43,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  z-index: 2;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.90);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #FFFFFF 0%, #BDD4F5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, #FFB347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.70);
  font-size: 13px;
  font-weight: 500;
}

.hero-trust-icon {
  font-size: 16px;
}

/* Hero visual — right side */
.hero-visual-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orb {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle at 40% 40%, rgba(45,125,210,0.30) 0%, rgba(15,34,64,0.60) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  animation: orb-float 6s ease-in-out infinite;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}

.hero-orb-emoji {
  font-size: 120px;
  line-height: 1;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.30));
  user-select: none;
}

.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  animation: card-float 4s ease-in-out infinite;
  box-shadow: var(--shadow-md);
}

.hero-float-card-icon {
  font-size: 22px;
}

.hero-float-card-label {
  font-size: 11px;
  opacity: 0.75;
  font-weight: 400;
  display: block;
  margin-top: 2px;
}

.hero-float-card--1 {
  top: 60px;
  left: -40px;
  animation-delay: 0s;
}

.hero-float-card--2 {
  bottom: 120px;
  left: -60px;
  animation-delay: 1.2s;
}

.hero-float-card--3 {
  top: 30px;
  right: -20px;
  animation-delay: 0.6s;
}

.hero-float-card--4 {
  bottom: 60px;
  right: -30px;
  animation-delay: 1.8s;
}

@keyframes card-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

/* Trust bar */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  position: relative;
  z-index: 3;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 600;
}

.trust-bar-item-icon {
  font-size: 22px;
}

/* --------------------------------------------------------------------------
   6. Benefits Section
   -------------------------------------------------------------------------- */
.benefits {
  padding: var(--section-py) 0;
  background: var(--white);
}

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

.benefit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(30,95,173,0.10) 0%, rgba(45,125,210,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.benefit-card:hover .benefit-icon-wrap {
  background: linear-gradient(135deg, var(--accent) 0%, #FF8C47 100%);
  transform: scale(1.1) rotate(-4deg);
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.benefit-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   7. How It Works
   -------------------------------------------------------------------------- */
.how-it-works {
  padding: var(--section-py) 0;
  background: var(--bg-cream);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 54px;
  left: calc(16.66% + 32px);
  right: calc(16.66% + 32px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--blue) 50%, var(--accent) 100%);
  background-size: 200% 100%;
  animation: gradient-shift 3s linear infinite;
}

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

.step-card {
  text-align: center;
  padding: 40px 24px;
  position: relative;
}

.step-number-wrap {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  position: relative;
  box-shadow: 0 8px 24px rgba(15,34,64,0.25);
}

.step-number-wrap::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed rgba(30,95,173,0.30);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.step-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   8. Subscription Plans
   -------------------------------------------------------------------------- */
.plans {
  padding: var(--section-py) 0;
  background: var(--bg-section);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: start;
}

.plan-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-mid);
}

.plan-card--popular {
  border-color: var(--accent);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(255,107,43,0.10);
  background: linear-gradient(180deg, #FFFDF9 0%, var(--white) 100%);
  z-index: 2;
}

.plan-card--popular:hover {
  transform: scale(1.04) translateY(-6px);
  border-color: var(--accent-hover);
}

.plan-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #FF9042);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: var(--shadow-accent);
}

.plan-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.plan-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
}

.plan-divider {
  height: 1px;
  background: var(--border);
  margin: 0 -8px 20px;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  text-align: left;
  flex: 1;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

.plan-feature-check {
  color: var(--green);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-cta {
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   9. Custom Subscription Builder
   -------------------------------------------------------------------------- */
.custom-builder {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}

.custom-builder::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,43,0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.custom-builder-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.custom-builder-text .section-tag {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
}

.custom-builder-text .section-title {
  color: var(--white);
}

.custom-builder-text .section-subtitle {
  color: rgba(255,255,255,0.70);
}

.custom-options-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.custom-option-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: all var(--transition);
}

.custom-option-item:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,107,43,0.50);
  transform: translateX(6px);
}

.custom-option-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.custom-option-text strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: 2px;
}

.custom-option-text span {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}

/* Custom builder mini form card */
.custom-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.custom-card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.custom-card-sub {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  margin-bottom: 28px;
}

.custom-card-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.custom-card-step {
  display: flex;
  align-items: center;
  gap: 14px;
}

.custom-card-step-num {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.custom-card-step span {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   10. Why PetDelivery
   -------------------------------------------------------------------------- */
.why-us {
  padding: var(--section-py) 0;
  background: var(--white);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 16px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  text-align: left;
  font-size: 15px;
}

.comparison-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
}

.comparison-table thead th:first-child {
  background: var(--bg-section);
  color: var(--text-mid);
}

.comparison-table thead th:nth-child(2) {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.comparison-table thead th:nth-child(3) {
  background: var(--text-muted);
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--bg);
}

.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--text-mid);
}

.compare-yes {
  color: var(--green-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.compare-no {
  color: var(--red-soft);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   11. FAQ Section
   -------------------------------------------------------------------------- */
.faq {
  padding: var(--section-py) 0;
  background: var(--bg-section);
}

.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.open {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  transition: color var(--transition);
}

.faq-item.open .faq-question {
  color: var(--blue);
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 14px;
  color: var(--text-muted);
}

.faq-item.open .faq-chevron {
  background: var(--blue);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* --------------------------------------------------------------------------
   12. Lead Form Section
   -------------------------------------------------------------------------- */
.lead-form-section {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a7a 100%);
  position: relative;
  overflow: hidden;
}

.lead-form-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45,125,210,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.lead-form-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,43,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.lead-form-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.lead-form-header .section-tag {
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.90);
}

.lead-form-header .section-title {
  color: var(--white);
}

.lead-form-header .section-subtitle {
  color: rgba(255,255,255,0.70);
  margin-inline: auto;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 52px 56px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-inline: auto;
}

.form-group-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-section);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.form-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-required { color: var(--accent); }

.form-control {
  padding: 13px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  transition: all var(--transition);
  outline: none;
  width: 100%;
}

.form-control:focus {
  border-color: var(--border-focus);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(45,125,210,0.12);
}

.form-control.is-error {
  border-color: var(--red-soft);
  background: #FFF5F5;
}

.form-control.is-success {
  border-color: var(--green);
}

textarea.form-control { resize: vertical; min-height: 110px; }

.form-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 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-option {
  display: none;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.radio-option:checked + .radio-label {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.radio-label:hover {
  border-color: var(--blue-mid);
  color: var(--blue);
}

.field-error {
  font-size: 12px;
  color: var(--red-soft);
  font-weight: 500;
  display: none;
}

.field-error.visible { display: block; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox-label a {
  color: var(--blue);
  text-decoration: underline;
}

/* Honeypot — visually hidden but accessible */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

.form-submit-area {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  max-width: 380px;
  justify-content: center;
  font-size: 17px;
  padding: 18px 32px;
}

.btn-submit.loading {
  opacity: 0.8;
  pointer-events: none;
}

.submit-note {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Form alerts */
.form-alert {
  display: none;
  padding: 18px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 16px;
  align-items: flex-start;
  gap: 12px;
}

.form-alert.visible { display: flex; }

.form-alert--success {
  background: #F0FFF4;
  border: 1.5px solid #86EFAC;
  color: var(--green-dark);
}

.form-alert--error {
  background: #FFF5F5;
  border: 1.5px solid #FCA5A5;
  color: #DC2626;
}

.form-section-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-dark);
  padding: 72px 0 0;
  color: rgba(255,255,255,0.75);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer-brand .logo-text {
  font-size: 22px;
  color: var(--white);
  margin-top: 12px;
}

.footer-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.60);
  margin-top: 12px;
  line-height: 1.65;
  max-width: 320px;
}

.footer-contact {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

.footer-contact-item a:hover { color: var(--accent); }

.footer-contact-icon { font-size: 16px; width: 20px; text-align: center; }

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 50px;
  margin-top: 20px;
  transition: all var(--transition);
}

.footer-whatsapp-btn:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-text {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
}

.footer-trust-statement {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   14. Mobile Sticky CTA
   -------------------------------------------------------------------------- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  gap: 10px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.10);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-sticky-cta.visible {
  transform: translateY(0);
}

.mobile-sticky-cta .btn {
  flex: 1;
  justify-content: center;
  font-size: 14px;
  padding: 14px 16px;
}

.mobile-sticky-cta .btn-wa {
  flex: 0 0 auto;
  background: #25D366;
  color: var(--white);
  padding: 14px 18px;
  border-radius: 50px;
  font-size: 20px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   15. Scroll Animations
   -------------------------------------------------------------------------- */
.anim {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.anim.anim--left  { transform: translateX(-32px); }
.anim.anim--right { transform: translateX(32px); }
.anim.anim--scale { transform: scale(0.92); }

.anim.visible {
  opacity: 1;
  transform: none;
}

.anim-delay-1 { transition-delay: 0.10s; }
.anim-delay-2 { transition-delay: 0.20s; }
.anim-delay-3 { transition-delay: 0.30s; }
.anim-delay-4 { transition-delay: 0.40s; }
.anim-delay-5 { transition-delay: 0.50s; }

/* --------------------------------------------------------------------------
   16. Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1140px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .plan-card--popular { transform: none; }
  .plan-card--popular:hover { transform: translateY(-6px); }
}

@media (max-width: 900px) {
  :root { --section-py: 72px; }

  .nav-links,
  .nav-phone,
  .nav-cta .btn { display: none; }

  .nav-hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-sub   { margin-inline: auto; }

  .hero-visual-wrap { display: none; }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .steps-row::before { display: none; }

  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .custom-builder-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand { grid-column: 1 / -1; }

  .comparison-table { display: block; overflow-x: auto; }
}

@media (max-width: 640px) {
  :root { --section-py: 56px; }

  .container { padding-inline: 16px; }

  .hero-body { padding: 120px 0 64px; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; justify-content: center; }

  .benefits-grid   { grid-template-columns: 1fr; }
  .plans-grid      { grid-template-columns: 1fr; }

  .form-card { padding: 32px 20px; }
  .form-row  { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .trust-bar-inner { gap: 24px; }

  .mobile-sticky-cta { display: flex; }
}

/* --------------------------------------------------------------------------
   17. Miscellaneous
   -------------------------------------------------------------------------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-section); }
::-webkit-scrollbar-thumb { background: var(--blue-mid); border-radius: 3px; }

::selection { background: rgba(45,125,210,0.20); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Smooth focus ring */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
