/* ================================================
   POOLBUILDER MARKETERS — Core Design System
   ================================================ */

/* --- CSS Reset & Box Model --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* Backgrounds */
  --bg-primary: #070e1a;
  --bg-secondary: #0c1829;
  --bg-tertiary: #111f38;
  --bg-card: rgba(255, 255, 255, 0.04);

  /* Accents */
  --accent-blue: #38bdf8;
  --accent-teal: #2dd4bf;
  --accent-gold: #fbbf24;
  --accent-blue-dark: #0ea5e9;
  --accent-red: #ef4444;

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dark: #0f172a;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(56, 189, 248, 0.3);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow-blue: 0 4px 20px rgba(56, 189, 248, 0.35);
  --shadow-glow-gold: 0 4px 20px rgba(251, 191, 36, 0.3);

  /* Gradients */
  --gradient-water: linear-gradient(135deg, #38bdf8, #2dd4bf);
  --gradient-hero: linear-gradient(180deg, #070e1a 0%, #0c1f3a 50%, #070e1a 100%);
  --gradient-gold: linear-gradient(135deg, #fbbf24, #f59e0b);
  --gradient-blue-btn: linear-gradient(135deg, #38bdf8, #0ea5e9);

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.3s ease;
  --transition-med: 0.5s var(--ease-spring);
}

/* --- Base Styles --- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-teal);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Urbanist', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.text-gradient {
  background: var(--gradient-water);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.text-center {
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-blue);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 40px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.container-sm {
  max-width: 800px;
}

.container-lg {
  max-width: 1400px;
}

section {
  padding: var(--section-padding);
  position: relative;
}

.grid {
  display: grid;
  gap: 24px;
}

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

.flex {
  display: flex;
  gap: 16px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(7, 14, 26, 0.92);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-bottom: 1px solid rgba(56, 189, 248, 0.06);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255,255,255,0.03);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .logo-accent {
  color: var(--accent-blue);
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-water);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Nav CTA button override — dark text on bright cyan for contrast */
.nav-links .btn-primary {
  color: #0a1628;
  font-weight: 800;
  text-shadow: none;
}
.nav-links .btn-primary:hover {
  color: #0a1628;
}
.nav-links .btn-primary::after {
  display: none;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.mobile-menu.active a {
  opacity: 1;
  transform: translateY(0);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-blue-btn);
  color: #fff;
  box-shadow:
    0 4px 16px rgba(56, 189, 248, 0.35),
    0 1px 3px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-primary:hover {
  color: #fff;
  box-shadow:
    0 6px 24px rgba(56, 189, 248, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 8px rgba(56, 189, 248, 0.3),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
  color: var(--text-primary);
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--text-dark);
  box-shadow:
    0 4px 16px rgba(251, 191, 36, 0.35),
    0 1px 3px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-gold:hover {
  color: var(--text-dark);
  box-shadow:
    0 6px 24px rgba(251, 191, 36, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 20px 40px;
  font-size: 1.05rem;
}

.btn-glow {
  animation: btnGlow 2s ease-in-out infinite alternate;
}

@keyframes btnGlow {
  from { box-shadow: 0 4px 16px rgba(56, 189, 248, 0.35), 0 1px 3px rgba(0, 0, 0, 0.2); }
  to { box-shadow: 0 6px 24px rgba(56, 189, 248, 0.5), 0 2px 8px rgba(0, 0, 0, 0.2); }
}

/* --- Glass Cards --- */
.glass-card {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    rgba(0, 0, 0, 0.1) 100%
  );
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.3),
    0 1px 3px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.5s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.glass-card:hover {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    rgba(0, 0, 0, 0.08) 100%
  );
  border-color: var(--glass-border-hover);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.4),
    0 4px 16px rgba(56, 189, 248, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card-sm {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.glass-card-gold {
  border-color: rgba(245, 158, 11, 0.2);
}

.glass-card-gold:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 4px 16px rgba(245, 158, 11, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* 3D tilt cards */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* --- Card Icon --- */
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(45, 212, 191, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--accent-blue);
  border: 1px solid rgba(56, 189, 248, 0.15);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.08);
  transition: all 0.4s ease;
}

.glass-card:hover .card-icon {
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.3);
}

.card-icon-gold {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.08));
  color: var(--accent-gold);
  border-color: rgba(251, 191, 36, 0.15);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.08);
}

.glass-card:hover .card-icon-gold {
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.3);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Layer 0: Background image */
.hero-bg .image-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  filter: brightness(0.6) saturate(1.3);
}

/* Layer 1: Animated gradient */
.hero-bg .gradient-layer {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.85;
}

/* Layer 2: Grid pattern */
.hero-bg .grid-layer {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 60px);
  opacity: 0.5;
}

/* Layer 3: Water caustics */
.hero-bg .caustics-layer {
  position: absolute;
  inset: 0;
}

.hero-bg .caustics-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(45, 212, 191, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(56, 189, 248, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 65% 35%, rgba(45, 212, 191, 0.04) 0%, transparent 40%);
  animation: causticShift 12s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

/* Layer 5: Vignette */
.hero-bg .vignette-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(10, 22, 40, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 560px;
}

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

/* Hero floating stats */
.hero-stats {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
}

.hero-stat-card {
  background: linear-gradient(165deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  text-align: center;
  min-width: 170px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: all 0.4s ease;
}

.hero-stat-card:hover {
  border-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 20px rgba(56, 189, 248, 0.08);
  transform: translateY(-4px);
}

.hero-stat-number {
  font-family: 'Urbanist', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-blue);
  line-height: 1;
  text-shadow:
    0 0 10px rgba(56, 189, 248, 0.5),
    0 0 30px rgba(56, 189, 248, 0.2);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* --- Stats Bar --- */
.stats-bar {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.03), rgba(255, 255, 255, 0.02), rgba(45, 212, 191, 0.03));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(56, 189, 248, 0.1);
  border-bottom: 1px solid rgba(45, 212, 191, 0.1);
  padding: 56px 0;
  position: relative;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
}

.stats-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent-blue);
  line-height: 1;
  text-shadow:
    0 0 10px rgba(56, 189, 248, 0.5),
    0 0 30px rgba(56, 189, 248, 0.2);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 500;
}

/* --- Step Cards (Plan Section) --- */
.step-card {
  position: relative;
  padding-top: 48px;
}

.step-number {
  font-family: 'Urbanist', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-water);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  position: absolute;
  top: 4px;
  left: 32px;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.15));
}

.step-card h3 {
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.95rem;
}

/* --- Testimonial Cards --- */
.testimonial-card {
  position: relative;
}

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

.testimonial-card .quote::before {
  content: '\201C';
  font-size: 3rem;
  background: var(--gradient-water);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 0;
  position: relative;
  top: 16px;
  margin-right: 4px;
  opacity: 0.6;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.3));
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-water);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.testimonial-info .name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.testimonial-info .role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.star-rating {
  color: var(--accent-gold);
  margin-bottom: 12px;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

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

.faq-item {
  background: linear-gradient(165deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255,255,255,0.1);
  background: linear-gradient(165deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.faq-item.active {
  border-color: rgba(56, 189, 248, 0.25);
  background: linear-gradient(165deg, rgba(56, 189, 248, 0.06), rgba(255,255,255,0.02));
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

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

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  position: relative;
  overflow: visible;
  padding-bottom: 180px;
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 40px);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: linear-gradient(180deg, var(--bg-secondary), #050b15);
  border-top: 1px solid rgba(56, 189, 248, 0.06);
  padding: 72px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.2), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-contact-item .icon {
  color: var(--accent-blue);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Footer V2 — Super Premium --- */
.footer-v2 {
  position: relative;
  background: linear-gradient(180deg, #060d1a 0%, #030912 40%, #020408 100%);
  padding: 20px 0 20px;
  overflow: visible;
  border-top: 1px solid rgba(56, 189, 248, 0.1);
}

/* Aurora / Caustic BG */
.footer-aurora {
  position: absolute;
  top: 100px;
  left: -20%;
  width: 140%;
  height: 60%;
  background: radial-gradient(ellipse at 20% 50%, rgba(56, 189, 248, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 50%, rgba(45, 212, 191, 0.05) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(251, 191, 36, 0.03) 0%, transparent 40%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: auroraShift 15s ease-in-out infinite alternate;
}

@keyframes auroraShift {
  0% { transform: translateX(0) scale(1); opacity: 0.8; }
  50% { transform: translateX(30px) scale(1.05); opacity: 1; }
  100% { transform: translateX(-20px) scale(0.98); opacity: 0.7; }
}

/* Watermark */
.footer-watermark {
  position: absolute;
  bottom: 40px;
  right: -40px;
  font-family: 'Urbanist', sans-serif;
  font-size: 280px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.015);
  pointer-events: none;
  z-index: 0;
  line-height: 1;
  user-select: none;
}

/* Footer Bubbles */
.footer-bubbles {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.fb {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
    rgba(56, 189, 248, 0.35),
    rgba(45, 212, 191, 0.1) 60%,
    transparent 70%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  animation: aqBubbleRise linear infinite;
}

.fb:nth-child(1)  { left: 4%;  width: 6px;  height: 6px;  animation-duration: 14s; animation-delay: 0s; }
.fb:nth-child(2)  { left: 14%; width: 10px; height: 10px; animation-duration: 18s; animation-delay: -3s; animation-name: aqBubbleRise2; }
.fb:nth-child(3)  { left: 25%; width: 5px;  height: 5px;  animation-duration: 12s; animation-delay: -7s; }
.fb:nth-child(4)  { left: 36%; width: 14px; height: 14px; animation-duration: 22s; animation-delay: -1s; animation-name: aqBubbleRise2; }
.fb:nth-child(5)  { left: 48%; width: 7px;  height: 7px;  animation-duration: 15s; animation-delay: -5s; }
.fb:nth-child(6)  { left: 58%; width: 4px;  height: 4px;  animation-duration: 11s; animation-delay: -9s; animation-name: aqBubbleRise2; }
.fb:nth-child(7)  { left: 68%; width: 12px; height: 12px; animation-duration: 20s; animation-delay: -2s; }
.fb:nth-child(8)  { left: 78%; width: 6px;  height: 6px;  animation-duration: 13s; animation-delay: -6s; animation-name: aqBubbleRise2; }
.fb:nth-child(9)  { left: 87%; width: 8px;  height: 8px;  animation-duration: 16s; animation-delay: -4s; }
.fb:nth-child(10) { left: 32%; width: 5px;  height: 5px;  animation-duration: 10s; animation-delay: -8s; animation-name: aqBubbleRise2; }
.fb:nth-child(11) { left: 93%; width: 9px;  height: 9px;  animation-duration: 17s; animation-delay: -11s; }
.fb:nth-child(12) { left: 8%;  width: 7px;  height: 7px;  animation-duration: 19s; animation-delay: -13s; animation-name: aqBubbleRise2; }

/* Newsletter CTA Card — floats between "Ready to Grow?" section & footer */
.footer-cta-card {
  position: relative;
  margin-top: -120px;
  margin-bottom: 48px;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(45, 212, 191, 0.15), rgba(251, 191, 36, 0.1));
  z-index: 2;
}

.footer-cta-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(45, 212, 191, 0.1));
  filter: blur(20px);
  z-index: -1;
}

.footer-cta-inner {
  background: linear-gradient(135deg, rgba(6, 13, 26, 0.95), rgba(12, 24, 41, 0.95));
  border-radius: calc(var(--radius-xl) - 2px);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  backdrop-filter: blur(20px);
}

.footer-cta-text {
  flex: 1;
}

.footer-cta-text h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.footer-cta-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.newsletter-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-muted);
  min-width: 240px;
}

.newsletter-input-wrap:focus-within {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}

.newsletter-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 14px 0;
}

.newsletter-input-wrap input::placeholder {
  color: var(--text-muted);
}

.newsletter-btn {
  background: var(--gradient-water);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.35);
}

/* Footer Main Grid */
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}

/* Brand Column */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-v2-logo {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 320px;
}

/* Social Icons */
.footer-socials {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--accent-blue);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.2);
}

/* Trust Badges */
.footer-trust-row {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.12);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.02em;
}

/* Footer Link Columns */
.footer-v2-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-blue);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-v2-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gradient-water);
  border-radius: 1px;
}

.footer-v2-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-v2-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.86rem;
  transition: all 0.3s ease;
  padding: 3px 0;
}

.footer-v2-col a:hover {
  color: var(--accent-blue);
  transform: translateX(4px);
}

.footer-v2-col a i,
.footer-v2-col a svg {
  color: var(--text-muted);
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.footer-v2-col a:hover i,
.footer-v2-col a:hover svg {
  color: var(--accent-blue);
}

/* Contact Card */
.footer-contact-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.fcc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
  text-decoration: none;
}

.fcc-item:hover {
  background: rgba(56, 189, 248, 0.08);
}

.fcc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.fcc-item:hover .fcc-icon {
  background: rgba(56, 189, 248, 0.2);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}

.fcc-icon-gold {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.2);
  color: var(--accent-gold);
}

.fcc-item:hover .fcc-icon-gold {
  background: rgba(251, 191, 36, 0.2);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.15);
}

.fcc-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.fcc-value {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.fcc-cta {
  background: rgba(251, 191, 36, 0.04);
  border-top: 1px solid rgba(251, 191, 36, 0.08);
}

.fcc-cta:hover {
  background: rgba(251, 191, 36, 0.1);
}

.fcc-cta .fcc-value {
  color: var(--accent-gold);
}

/* Divider */
.footer-v2-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.2), rgba(45, 212, 191, 0.15), rgba(251, 191, 36, 0.1), transparent);
  position: relative;
  z-index: 1;
}

/* Bottom Bar */
.footer-v2-bottom {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.footer-v2-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-v2-legal {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-v2-legal a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-v2-legal a:hover {
  color: var(--accent-blue);
}

.footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.4;
}

/* Back to Top */
.back-to-top {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background: rgba(56, 189, 248, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.2);
  color: var(--accent-blue);
}

/* --- Forms --- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent-blue);
  background: rgba(14, 165, 233, 0.05);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
  font-size: 0.8rem;
  color: var(--accent-red);
  margin-top: 6px;
  display: none;
}

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

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

/* --- Guarantee Badge --- */
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(245, 158, 11, 0.04));
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 60px;
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.06);
  letter-spacing: 0.02em;
}

/* --- Pricing Cards --- */
.pricing-card {
  text-align: center;
  padding: 40px 32px;
}

.pricing-card .price {
  font-family: 'Urbanist', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-blue);
  line-height: 1;
  margin: 16px 0 4px;
}

.pricing-card .price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-card .features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
}

.pricing-card .feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-card .feature-check {
  color: var(--accent-teal);
  font-weight: 700;
}

.pricing-recommended {
  transform: scale(1.05);
  border: 2px solid rgba(245, 158, 11, 0.5);
  box-shadow:
    0 25px 80px rgba(245, 158, 11, 0.15),
    0 10px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(245, 158, 11, 0.3);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: var(--text-dark);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Section Dividers --- */
.section-divider {
  width: 60px;
  height: 2px;
  background: var(--gradient-water);
  border-radius: 2px;
  margin: 0 auto 32px;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

/* --- Utility Classes --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.pt-0 { padding-top: 0; }

/* --- Pool Water Texture Backgrounds --- */
.pool-texture {
  position: relative;
}

.pool-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 80%, rgba(56, 189, 248, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(45, 212, 191, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(56, 189, 248, 0.03) 0%, transparent 60%);
  animation: causticShift 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.pool-texture > * {
  position: relative;
  z-index: 1;
}

/* Section subtle pool texture backgrounds (CSS-only) */
.section-problem,
.section-guarantee,
.section-faq {
  position: relative;
  overflow: hidden;
}

.section-problem::before,
.section-guarantee::before,
.section-faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(56, 189, 248, 0.018) 0px, rgba(56, 189, 248, 0.018) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(90deg, rgba(56, 189, 248, 0.018) 0px, rgba(56, 189, 248, 0.018) 1px, transparent 1px, transparent 80px);
  z-index: 0;
  pointer-events: none;
}

/* Subtle radial glow accents per section */
.section-problem::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.04) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.section-guarantee::after {
  content: '';
  position: absolute;
  top: 30%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(45, 212, 191, 0.035) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.section-faq::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 40%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(251, 191, 36, 0.025) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* Pool image texture layers (like hero banner) */
.has-pool-texture {
  position: relative;
  overflow: hidden;
}

.pool-tex-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: brightness(0.6) saturate(1.3);
  z-index: 0;
  pointer-events: none;
}

.pool-tex-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(10, 22, 40, 0.72) 30%,
    rgba(10, 22, 40, 0.72) 70%,
    rgba(10, 22, 40, 0.85) 100%);
  z-index: 0;
  pointer-events: none;
}

.has-pool-texture > .container {
  position: relative;
  z-index: 1;
}

/* --- Lucide Icon Sizing in Cards --- */
.card-icon svg,
.card-icon i {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.card-icon-gold svg,
.card-icon-gold i {
  color: var(--accent-gold);
}

/* --- Problem Section X Icons --- */
.problem-x {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--accent-red);
  flex-shrink: 0;
}

.problem-x svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

/* --- Guide & Guarantee Section: Centered Card Icons --- */
.section-guide .card-icon,
.section-guarantee .card-icon {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.section-guide .glass-card,
.section-guarantee .glass-card {
  text-align: center;
}

/* --- Premium Connected Steps Timeline --- */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  padding-top: 40px;
}

.steps-connector {
  display: none;
}

/* Line segment 1: circle 01 right dot → circle 02 left dot */
.steps-timeline::before {
  content: '';
  position: absolute;
  top: 69px;
  left: calc((100% - 64px) / 6 + 34px);
  width: calc((100% - 64px) / 3 - 36px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
  z-index: 3;
}

/* Line segment 2: circle 02 right dot → circle 03 left dot */
.steps-timeline::after {
  content: '';
  position: absolute;
  top: 69px;
  left: calc((100% - 64px) / 2 + 66px);
  width: calc((100% - 64px) / 3 - 36px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-gold));
  z-index: 3;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f2340, #0d1e38);
  border: 2px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  transition: all 0.4s ease;
  z-index: 2;
}

.step-circle::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.1);
  background: var(--bg-primary);
  z-index: -1;
}

.step-item:hover .step-circle {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(45, 212, 191, 0.15));
  border-color: rgba(56, 189, 248, 0.5);
  transform: scale(1.1);
}

.step-num {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient-water);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-content {
  flex: 1;
  padding: 28px 24px;
}

.step-content h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.step-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Step circle connector dots via ::after */
.step-item:nth-child(2) .step-circle::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
  z-index: 5;
}

.step-item:nth-child(3) .step-circle {
  border-color: rgba(45, 212, 191, 0.3);
}

.step-item:nth-child(3) .step-circle::after {
  content: '';
  position: absolute;
  left: -7px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
  z-index: 5;
  box-shadow: 66px 0 0 0 var(--accent-teal);
}

.step-item:nth-child(4) .step-circle {
  border-color: rgba(251, 191, 36, 0.3);
  background: linear-gradient(135deg, #1a1a0f, #151510);
}

.step-item:nth-child(4) .step-circle::after {
  content: '';
  position: absolute;
  left: -7px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  z-index: 5;
}

.step-item:nth-child(4) .step-num {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
}

.step-item:nth-child(4):hover .step-circle {
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.15);
}

/* --- Service Cards with Images --- */
.service-card {
  background: linear-gradient(165deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 40%, rgba(0,0,0,0.1) 100%);
  backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.2);
  transition: all 0.5s var(--ease-spring);
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 4px 16px rgba(56,189,248,0.1);
  transform: translateY(-8px);
}

.service-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-spring), filter 0.6s ease;
  filter: brightness(0.7) saturate(1.2);
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.1);
  filter: brightness(0.85) saturate(1.4);
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-primary) 0%, rgba(7, 14, 26, 0.3) 50%, transparent 100%);
  z-index: 1;
  transition: opacity 0.5s ease;
}

.service-card:hover .service-img-overlay {
  opacity: 0.7;
}

/* Pool ripple hover effect */
.service-img-ripple {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 4px,
    rgba(56, 189, 248, 0.08) 4px,
    rgba(56, 189, 248, 0.08) 6px
  );
  mask-image: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  animation: rippleMove 3s linear infinite;
}

.service-card:hover .service-img-ripple {
  opacity: 1;
}

@keyframes rippleMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(6px); }
}

.service-card-body {
  padding: 24px 28px 28px;
}

.service-card-body h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.service-card-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Fallback gradient when image is missing */
.service-img-wrap img[src=""],
.service-img-wrap img:not([src]) {
  display: none;
}

.service-img-wrap img[src=""]+.service-img-overlay,
.service-img-wrap img:not([src])+.service-img-overlay {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(45, 212, 191, 0.1));
}

/* Image error fallback */
.service-img-wrap {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(45, 212, 191, 0.05));
}
