/* =============================================
   SCA FILA - LANDING PAGE
   Design System & Styles
   ============================================= */

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

:root {
  /* Brand */
  --brand-primary: #3b82f6;
  --brand-primary-dark: #2563eb;
  --brand-primary-light: #60a5fa;
  --brand-accent: #8b5cf6;
  --brand-gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --brand-gradient-hover: linear-gradient(135deg, #2563eb, #7c3aed);

  /* Surfaces */
  --bg-body: #050a14;
  --bg-section: #070d1a;
  --bg-section-alt: #0a1020;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-card-border: rgba(255, 255, 255, 0.06);

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

  /* Feedback */
  --color-success: #22c55e;
  --color-danger: #ef4444;
  --color-warning: #f59e0b;
  --color-star: #fbbf24;

  /* Spacing */
  --section-py: 100px;
  --container-max: 1200px;

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

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.15);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

a {
  color: var(--brand-primary-light);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--brand-primary); }

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

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ---------- Section Headers ---------- */
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-primary-light);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.section-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.12), transparent);
  animation: shimmer 4s ease-in-out infinite;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-header__sub {
  margin-top: 12px;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-orange { color: #f39c37; }
.text-green { color: #4caf50; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn--sm { padding: 8px 20px; font-size: 0.875rem; }
.btn--md { padding: 12px 28px; font-size: 0.95rem; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: none;
}
.btn--primary:hover::after {
  animation: btnShine 0.6s ease-out;
}
@keyframes btnShine {
  to { transform: translateX(100%); }
}
.btn--primary:hover {
  background: var(--brand-gradient-hover);
  box-shadow: 0 6px 30px rgba(59, 130, 246, 0.45), 0 0 60px rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
  color: #fff;
}
.btn--primary:active {
  transform: translateY(0) scale(0.98);
  transition: transform 0.1s;
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}
.btn--outline:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary-light);
  background: rgba(59, 130, 246, 0.05);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn--ghost:hover {
  color: var(--text-primary);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar--scrolled {
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 0;
}

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

.navbar__logo-img {
  height: 40px;
  width: auto;
}

.navbar__links {
  display: flex;
  list-style: none;
  gap: 32px;
}
.navbar__links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.navbar__links a:hover { color: var(--text-primary); }

.navbar__actions {
  display: flex;
  gap: 12px;
}

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   HERO — Framer-style centered layout
   ============================================= */
.hero {
  position: relative;
  padding: 140px 0 0;
  overflow: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-body);
}

/* Orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  will-change: transform;
  z-index: 0;
}
.hero__orb--green {
  width: 600px;
  height: 600px;
  background: rgba(76, 175, 80, 0.18);
  top: -200px;
  left: -100px;
  animation: orbFloat1 8s ease-in-out infinite;
}
.hero__orb--blue {
  width: 500px;
  height: 500px;
  background: rgba(59, 130, 246, 0.18);
  top: -100px;
  right: -100px;
  animation: orbFloat2 10s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.08); }
}

/* Subtle noise texture */
.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
  z-index: 1;
}

/* Hero entrance animations */
.hero__badge,
.hero__title,
.hero__subtitle {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s ease-out forwards;
}
.hero__badge     { animation-delay: 0.1s; }
.hero__title     { animation-delay: 0.25s; }
.hero__subtitle  { animation-delay: 0.4s; }

.hero__showcase {
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeUp 1s ease-out 0.8s forwards;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 3;
  flex: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary-light);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.hero__badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.15), transparent);
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero__subtitle strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 48px;
}

/* Hero Stats — big numbers */
.hero__stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s ease-out 0.7s forwards;
  position: relative;
}
.hero__stats::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(243, 156, 55, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}
.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hero__stat-value {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 30%, rgba(243, 156, 55, 0.35));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.hero__stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Showcase — carousel peaking from bottom */
.hero__showcase {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: auto;
}

.stack-carousel {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.stack-carousel__track {
  position: relative;
  width: 85%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
}

.stack-carousel__card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.6s ease;
  will-change: transform, opacity;
}

.stack-carousel__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card stack positions */
.stack-carousel__card[data-pos="front"] {
  z-index: 4;
  transform: translateX(0) scale(1);
  opacity: 1;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 60px rgba(59, 130, 246, 0.1);
}
.stack-carousel__card[data-pos="right-1"] {
  z-index: 3;
  transform: translateX(8%) scale(0.92);
  opacity: 0.7;
}
.stack-carousel__card[data-pos="right-2"] {
  z-index: 2;
  transform: translateX(14%) scale(0.85);
  opacity: 0.4;
}
.stack-carousel__card[data-pos="left-1"] {
  z-index: 3;
  transform: translateX(-8%) scale(0.92);
  opacity: 0.7;
}
.stack-carousel__card[data-pos="left-2"] {
  z-index: 2;
  transform: translateX(-14%) scale(0.85);
  opacity: 0.4;
}
.stack-carousel__card[data-pos="hidden"] {
  z-index: 1;
  transform: translateX(0) scale(0.8);
  opacity: 0;
  pointer-events: none;
}

/* Dots */
.stack-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.stack-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.stack-carousel__dot:hover {
  border-color: rgba(255, 255, 255, 0.7);
}
.stack-carousel__dot.active {
  background: var(--brand-primary-light);
  border-color: var(--brand-primary-light);
  transform: scale(1.2);
}

.placeholder-screen,
.placeholder-feature {
  text-align: center;
  color: var(--text-muted);
  padding: 40px;
}
.placeholder-screen i,
.placeholder-feature i {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
  color: var(--brand-primary);
  opacity: 0.5;
}
.placeholder-screen span { font-size: 0.8rem; }

/* =============================================
   PROBLEMS
   ============================================= */
.problems {
  padding: var(--section-py) 0;
  background: var(--bg-section-alt);
}

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

.problem-card {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  transition: all 0.35s ease;
  position: relative;
}
.problem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 0%, rgba(239, 68, 68, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.problem-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(239, 68, 68, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(239, 68, 68, 0.08);
}
.problem-card:hover::before { opacity: 1; }

.problem-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.problem-card__icon--red {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.problem-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.problem-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================
   BRIDGE
   ============================================= */
.bridge {
  padding: 80px 0;
  text-align: center;
}
.bridge__inner {
  max-width: 700px;
  margin: 0 auto;
}
.bridge__arrow {
  font-size: 2rem;
  color: var(--brand-primary);
  margin-bottom: 24px;
  animation: bounceDown 2s infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.bridge h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.bridge p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* =============================================
   FEATURES
   ============================================= */
.features {
  padding: var(--section-py) 0;
  background: var(--bg-section-alt);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-row:last-child { margin-bottom: 0; }

.feature-row--reverse .feature-row__content { order: 2; }
.feature-row--reverse .feature-row__visual { order: 1; }

.feature-row__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.feature-row__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand-primary-light);
  flex-shrink: 0;
}

.feature-row__content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0;
}
.feature-row__content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-row__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-row__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.feature-row__list li i {
  color: var(--color-success);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-row__visual {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-row__img {
  width: 100%;
  display: block;
}

.feature-row__visual--carousel {
  aspect-ratio: auto;
  background: transparent;
  border: none;
  overflow: visible;
}

.feature-row__visual--carousel .stack-carousel__track {
  width: 100%;
  max-width: none;
}

.feature-row__visual--carousel .stack-carousel__dots {
  margin-top: 14px;
}


/* Feature Carousel — simple fade */
.feature-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.feature-carousel__img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.feature-carousel__img.active {
  opacity: 1;
}
.feature-carousel__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.placeholder-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.placeholder-feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =============================================
   EXTRAS (Feature Grid)
   ============================================= */
.extras {
  padding: var(--section-py) 0;
  background: var(--bg-section);
}

.extras__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.extra-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  transition: all 0.35s ease;
  position: relative;
}
.extra-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 30% 0%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.extra-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.06);
}
.extra-card:hover::before { opacity: 1; }
.extra-card i {
  font-size: 1.6rem;
  color: var(--brand-primary-light);
  margin-bottom: 14px;
  display: block;
  transition: transform 0.35s ease;
}
.extra-card:hover i {
  transform: scale(1.15);
}
.extra-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.extra-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  padding: var(--section-py) 0;
  background: var(--bg-section-alt);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.step__number {
  position: absolute;
  top: 12px;
  right: 24px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(59, 130, 246, 0.08);
  line-height: 1;
}

.step__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 4px 30px rgba(59, 130, 246, 0.3);
  position: relative;
}
.step__icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.2);
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.06); }
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step__connector {
  display: flex;
  align-items: center;
  padding-top: 54px;
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* =============================================
   RESULTS / STATS
   ============================================= */
.results {
  padding: var(--section-py) 0;
  background: var(--bg-section);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all 0.35s ease;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.stat-card:hover {
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.08);
}
.stat-card:hover::before { opacity: 1; }

.stat-card__value {
  font-size: 2.8rem;
  font-weight: 900;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-card__label {
  font-size: 1rem;
  font-weight: 700;
  margin: 8px 0 4px;
}

.stat-card__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.testimonial-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.testimonial-card:hover {
  border-color: rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card__stars {
  margin-bottom: 14px;
  display: flex;
  gap: 2px;
}
.testimonial-card__stars i {
  color: var(--color-star);
  font-size: 1rem;
}

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

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__author .avatar-circle {
  margin-left: 0;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.testimonial-card__author strong {
  display: block;
  font-size: 0.9rem;
}
.testimonial-card__author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =============================================
   SEGMENTS
   ============================================= */
.segments {
  padding: var(--section-py) 0;
  background: var(--bg-section-alt);
}

.segments__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.segment-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}
.segment-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.segment-card i {
  font-size: 1.4rem;
  color: var(--brand-primary-light);
}
.segment-card span {
  font-size: 0.9rem;
  font-weight: 600;
}

/* =============================================
   PRICING
   ============================================= */
.pricing {
  padding: var(--section-py) 0;
  background: var(--bg-section);
}

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

.pricing-card {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border-color: transparent;
  background: rgba(59, 130, 246, 0.04);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.1);
  transform: scale(1.03);
  position: relative;
  overflow: visible;
}
.pricing-card--featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent), var(--brand-primary));
  background-size: 200% 200%;
  animation: gradientBorder 4s ease infinite;
  z-index: -1;
}
.pricing-card--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: var(--bg-section);
  z-index: -1;
}
@keyframes gradientBorder {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.15);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 20px;
  border-radius: 100px;
}

.pricing-card__header {
  margin-bottom: 24px;
}
.pricing-card__header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.pricing-card__header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-card__price {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing-card__currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.pricing-card__value {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}
.pricing-card__value--custom {
  font-size: 1.6rem;
}
.pricing-card__period {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-card__features li i {
  color: var(--color-success);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Pricing Add-on */
.pricing-addon {
  margin-top: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-addon__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease;
}
.pricing-addon__inner:hover {
  border-color: rgba(37, 211, 102, 0.2);
}
.pricing-addon__info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pricing-addon__info > i {
  font-size: 1.8rem;
  color: #25d366;
}
.pricing-addon__info strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
}
.pricing-addon__info p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 2px;
}
.pricing-addon__price span {
  font-size: 1.1rem;
  font-weight: 700;
  color: #25d366;
  white-space: nowrap;
}
.pricing-addon__price small {
  font-weight: 500;
  font-size: 0.8rem;
}

/* Pricing Equipment Notice */
.pricing-equipment {
  margin-top: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-equipment__inner {
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
}

.pricing-equipment__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pricing-equipment__title > i {
  font-size: 1.3rem;
  color: var(--brand-primary-light);
}

.pricing-equipment__title strong {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.pricing-equipment__items {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

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

.pricing-equipment__item > i {
  font-size: 1.2rem;
  color: var(--brand-primary-light);
  flex-shrink: 0;
  opacity: 0.7;
}

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

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] {
  border-color: rgba(59, 130, 246, 0.2);
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
  user-select: none;
}
.faq-item summary:hover { color: var(--brand-primary-light); }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  content: '-';
}

.faq-item summary::-webkit-details-marker { display: none; }

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

/* =============================================
   FINAL CTA
   ============================================= */
.final-cta {
  padding: var(--section-py) 0;
  background: var(--bg-section);
  position: relative;
}

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

.final-cta__content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.final-cta__content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.final-cta__benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.final-cta__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--text-secondary);
}
.final-cta__benefits li i {
  color: var(--color-success);
  font-size: 1.2rem;
}

/* Form */
.final-cta__form form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.final-cta__form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form-group select option {
  background: #1e293b;
  color: var(--text-primary);
}

.final-cta__form .btn {
  margin-top: 8px;
}

.form-disclaimer {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}
.form-disclaimer a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 60px 0 0;
  background: var(--bg-body);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
}

.footer__brand p {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer__logo-img {
  height: 36px;
  width: auto;
  opacity: 0.7;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 10px; }
.footer__col a {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer__col a:hover { color: var(--text-primary); }

.footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  margin-top: 40px;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer__social {
  display: flex;
  gap: 16px;
}
.footer__social a {
  color: var(--text-muted);
  font-size: 1.3rem;
  transition: color 0.2s;
}
.footer__social a:hover { color: var(--brand-primary-light); }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s;
  animation: whatsappPulse 2.5s ease-in-out infinite;
}
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
  color: #fff;
  animation: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .stack-carousel__track { width: 90%; }

  .problems__grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row--reverse .feature-row__content { order: 1; }
  .feature-row--reverse .feature-row__visual { order: 2; }
  .extras__grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .segments__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing__grid--4 { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
  .final-cta__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__links { grid-template-columns: repeat(3, 1fr); }
}

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

  .navbar__links { display: none; }
  .navbar__actions { display: none; }
  .navbar__burger { display: flex; }

  /* Mobile menu */
  .navbar__links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .navbar__actions--open {
    display: flex;
    position: absolute;
    top: calc(100% + 180px);
    left: 0;
    right: 0;
    background: rgba(5, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    padding: 0 24px 24px;
    justify-content: center;
    gap: 12px;
  }

  .hero { min-height: auto; padding: 120px 0 0; }
  .hero__title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero__orb--green { width: 300px; height: 300px; filter: blur(80px); }
  .hero__orb--blue { width: 250px; height: 250px; filter: blur(80px); }
  .hero__stats { gap: 24px; margin-bottom: 40px; }
  .hero__stat-value { font-size: clamp(1.6rem, 6vw, 2rem); }
  .hero__stat-label { font-size: 0.75rem; }
  .stack-carousel__track { width: 95%; }
  .stack-carousel__dots { gap: 6px; margin-top: 14px; }
  .stack-carousel__dot { width: 8px; height: 8px; }

  .problems__grid { grid-template-columns: 1fr; }
  .extras__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .segments__grid { grid-template-columns: 1fr; }

  .steps { flex-direction: column; align-items: center; }
  .step__connector { transform: rotate(90deg); padding: 0; margin: -8px 0; }

  .footer__links { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .pricing__grid--4 { grid-template-columns: 1fr; max-width: 420px; }
  .pricing-addon__inner { flex-direction: column; text-align: center; }
  .pricing-addon__info { flex-direction: column; }
  .pricing-equipment__items { flex-direction: column; gap: 12px; }
  .footer__links { grid-template-columns: 1fr; }
}

/* =============================================
   PARALLAX DIVIDERS
   ============================================= */
.parallax-divider {
  height: 300px;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.parallax-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 10, 20, 0.8) 0%,
    rgba(5, 10, 20, 0.65) 50%,
    rgba(5, 10, 20, 0.8) 100%
  );
  pointer-events: none;
}
.parallax-divider--1 { background-image: url('../img/img1.jpg'); }
.parallax-divider--2 { background-image: url('../img/img2.jpg'); }
.parallax-divider--3 { background-image: url('../img/img3.jpg'); }
.parallax-divider--4 { background-image: url('../img/img4.jpg'); }

/* =============================================
   REDUCED MOTION (Accessibility)
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__badge,
  .hero__title,
  .hero__subtitle,
  .hero__stats,
  .hero__showcase {
    opacity: 1;
    transform: none;
  }
}

/* =============================================
   SECTION ORBS
   ============================================= */
.has-orbs {
  position: relative;
  overflow: clip;
}
.section-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  z-index: 0;
}
/* Green variants */
.section-orb--green-left {
  width: 400px; height: 400px;
  background: rgba(76, 175, 80, 0.10);
  bottom: -100px; left: -150px;
  animation: orbFloat1 10s ease-in-out infinite;
}
.section-orb--green-right {
  width: 350px; height: 350px;
  background: rgba(76, 175, 80, 0.10);
  top: -80px; right: -100px;
  animation: orbFloat2 9s ease-in-out infinite;
}
.section-orb--green-center {
  width: 400px; height: 400px;
  background: rgba(76, 175, 80, 0.08);
  bottom: -120px; right: 20%;
  animation: orbFloat1 11s ease-in-out infinite;
}
/* Blue variants */
.section-orb--blue-right {
  width: 450px; height: 450px;
  background: rgba(59, 130, 246, 0.10);
  top: -100px; right: -120px;
  animation: orbFloat2 12s ease-in-out infinite;
}
.section-orb--blue-left {
  width: 400px; height: 400px;
  background: rgba(59, 130, 246, 0.10);
  top: -80px; left: -120px;
  animation: orbFloat1 9s ease-in-out infinite;
}
.section-orb--blue-center {
  width: 350px; height: 350px;
  background: rgba(59, 130, 246, 0.08);
  bottom: -80px; left: 30%;
  animation: orbFloat2 10s ease-in-out infinite;
}
/* Orange variants */
.section-orb--orange-left {
  width: 400px; height: 400px;
  background: rgba(243, 156, 55, 0.09);
  top: -60px; left: -100px;
  animation: orbFloat1 11s ease-in-out infinite;
}
.section-orb--orange-right-low {
  width: 300px; height: 300px;
  background: rgba(243, 156, 55, 0.08);
  bottom: -80px; right: -80px;
  animation: orbFloat2 10s ease-in-out infinite;
}

/* =============================================
   PREMIUM DETAILS
   ============================================= */
/* Smooth scroll indicator for navbar links */
.navbar__links a {
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: 1px;
  transition: width 0.3s ease;
}
.navbar__links a:hover::after {
  width: 100%;
}

/* Feature row visual hover lift */
.feature-row__visual {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.feature-row__visual:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

/* Segment card icon hover */
.segment-card i {
  transition: transform 0.3s ease, color 0.3s ease;
}
.segment-card:hover i {
  transform: scale(1.2);
  color: #fff;
}

/* FAQ open/close smooth */
.faq-item summary::after {
  display: inline-block;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
}

/* Form card subtle glow */
.final-cta__form form {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.final-cta__form form:focus-within {
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.06);
}

/* Gradient line separators between sections */
.bridge::before {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--brand-gradient);
  border-radius: 2px;
  margin: 0 auto 32px;
  opacity: 0.6;
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__img-wrap {
  max-width: 90vw;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transition: opacity 0.25s ease;
  user-select: none;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 2;
  line-height: 1;
}

.lightbox__close:hover {
  opacity: 1;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s;
  z-index: 2;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.lightbox__dots {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.lightbox__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.lightbox__dot:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.lightbox__dot.active {
  background: var(--brand-primary-light);
  border-color: var(--brand-primary-light);
  transform: scale(1.2);
}

.lightbox__counter {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .lightbox__prev,
  .lightbox__next {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}
