/* ═══════════════════════════════════════════════════════════════
   AGEDREX — Landing V2
   Design System: Vercel/Apple inspired — Mobile First
   Brand: Navy #011140 · Blue #0439D9 · Light #F2F2F2
   Fonts: Jost (headings) · Inter (body)
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  /* Brand colors */
  --navy:         #011140;
  --navy-deep:    #000d2e;
  --navy-mid:     #051a5c;
  --blue:         #0439D9;
  --blue-light:   #2563EB;
  --blue-hover:   #1d4ed8;
  --light:        #F2F2F2;
  --white:        #FFFFFF;

  /* Semantic text */
  --text-on-dark:   #F8FAFC;
  --text-muted:     #94A3B8;
  --text-on-light:  #0F172A;
  --text-subtle:    #64748B;

  /* Surfaces */
  --card-dark:    rgba(255,255,255,0.04);
  --card-border:  rgba(255,255,255,0.08);
  --divider:      rgba(255,255,255,0.06);

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

  /* Spacing scale (4pt base) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --radius-pill: 999px;

  /* Transitions */
  --transition: 200ms ease;
  --transition-slow: 400ms ease;

  /* Z-index scale */
  --z-base:    0;
  --z-above:   10;
  --z-sticky:  100;
  --z-overlay: 200;
  --z-modal:   300;

  /* Container */
  --container-max: 1200px;
  --container-pad: var(--sp-6);
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-on-dark);
  background-color: var(--light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

ul {
  list-style: none;
}

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

.section {
  padding: var(--sp-16) 0;
  position: relative;
  z-index: 1;
  background: transparent;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}


.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(4,57,217,0.12);
  border: 1px solid rgba(4,57,217,0.25);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-4);
}

.section-tag--dark {
  color: var(--blue-light);
  background: rgba(4,57,217,0.15);
  border-color: rgba(4,57,217,0.3);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-on-light);
  margin-bottom: var(--sp-4);
}

.section-title--light {
  color: var(--text-on-light);
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-subtle);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-subtitle--muted {
  color: var(--text-subtle);
}

/* ── 2. Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  min-height: 48px;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(4,57,217,0.6), 0 4px 20px rgba(4,57,217,0.3);
}

.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 0 0 1px rgba(4,57,217,0.8), 0 8px 30px rgba(4,57,217,0.4);
  transform: translateY(-1px);
}

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

.btn-ghost {
  background: var(--light);
  color: var(--text-on-dark);
  border: 1px solid var(--card-border);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
  min-height: 56px;
  border-radius: var(--radius-lg);
}

/* ── 3. Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  transition: background var(--transition-slow), border-color var(--transition-slow), box-shadow var(--transition-slow);
  padding: var(--sp-4) 0;
  background: transparent;
}


.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--sp-3) var(--sp-6);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  margin-left: var(--container-pad);
  margin-right: var(--container-pad);
}

.navbar-logo {
  flex-shrink: 0;
  display: none;
  align-items: center;
  position: relative;
}

.logo-img {
  height: 64px;
  width: auto;
  transition: opacity var(--transition-slow);
}

/* Navbar logo swap: azul on light (default), blanco on dark (scrolled) */
.logo-blanco {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}

.navbar.scrolled .logo-azul   { opacity: 1; pointer-events: auto; }
.navbar.scrolled .logo-blanco { opacity: 0; pointer-events: none; }

.navbar-menu {
  display: none;
  gap: var(--sp-8);
}

.nav-link {
  font-size: 14px;
  font-weight: 700;
  color: #0439D9;
  transition: color var(--transition);
  padding: var(--sp-2) var(--sp-4);
}

.nav-link:hover {
  color: #0439D9;
}

.navbar.scrolled .nav-link       { color: #0439D9; }
.navbar.scrolled .nav-link:hover { color: #0439D9; }

.nav-cta {
  display: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  padding: 8px 20px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  min-height: 40px;
  align-items: center;
  box-shadow: 0 0 0 1px rgba(4,57,217,0.5);
}

.nav-cta:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

/* Mobile toggle */
.navbar-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.navbar-toggle:hover {
  background: rgba(255,255,255,0.06);
}

.toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  transform-origin: center;
}

.navbar.scrolled .toggle-bar { background: var(--navy); }

.navbar-toggle.open .toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.open .toggle-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.navbar-toggle.open .toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.navbar-menu.mobile-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(1,17,64,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--sp-6) var(--container-pad) var(--sp-8);
  gap: 0;
  border-bottom: 1px solid var(--divider);
  animation: menuSlide 200ms ease;
  z-index: var(--z-overlay);
}

@keyframes menuSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.navbar-menu.mobile-open .nav-link {
  font-size: 18px;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--divider);
  color: var(--text-on-dark);
}

.navbar-menu.mobile-open .nav-link:last-child {
  border-bottom: none;
}

.mobile-menu-cta {
  display: flex;
  margin-top: var(--sp-6);
}

.mobile-menu-cta .btn {
  width: 100%;
}

/* ── 4. Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  background-color: transparent;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  color: var(--text-on-light);
}

/* Hero fade-to-light effect at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, rgba(242, 242, 242, 0.6), var(--light));
  pointer-events: none;
  z-index: 0;
}

/* ── Radial glow background (page-level, fixed) ────────────────────────── */
/* Port of radial-gradient glow component. No animation = zero CPU cost.     */
.page-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}


/* Top-right glow — brand blue — DISABLED */
/* .page-glow::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -15%;
  width: 75%;
  height: 75%;
  background: radial-gradient(circle at top right, rgba(4, 57, 217, 0.55), transparent 65%);
  filter: blur(70px);
  border-radius: 50%;
  transform: translateZ(0);
} */

/* Bottom-left glow — navy accent — DISABLED */
/* .page-glow::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -15%;
  width: 65%;
  height: 65%;
  background: radial-gradient(circle at bottom left, rgba(1, 17, 64, 0.38), transparent 65%);
  filter: blur(80px);
  border-radius: 50%;
  transform: translateZ(0);
} */

.hero-container {
  position: relative;
  z-index: var(--z-above);
  text-align: center;
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-20);
}

/* Hero wave effect canvas */
.hero-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
}

/* Hero logo */
.hero-logo {
  margin-bottom: var(--sp-8);
}

.hero-logo img {
  height: clamp(140px, 18vw, 360px);
  width: auto;
  margin: 0 auto;
  display: block;
  animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 12px;
  font-weight: 600;
  color: #0439D9;
  background: rgba(4,57,217,0.15);
  border: 1px solid rgba(4,57,217,0.4);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-8);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-on-light);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-6);
}

.hero-subtext {
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 600;
  color: var(--blue);
  max-width: 520px;
  margin: 0 auto var(--sp-10);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: center;
}

/* Ghost button variant for light hero */
.hero .btn-ghost {
  color: var(--text-on-light);
  border-color: rgba(1,17,64,0.18);
}
.hero .btn-ghost:hover {
  background: rgba(1,17,64,0.06);
  border-color: rgba(1,17,64,0.3);
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(1,17,64,0.35), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.1); }
}


/* ── 6. Comparison (Antes / Después) Section ──────────────────── */
.comparison-section {
  background: transparent;
}

/* Column headers */
.comp-headers {
  display: none; /* shown on tablet+ */
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
  padding: 0 var(--sp-4);
}

.comp-col-label {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.comp-col-label--before {
  color: #EF4444;
  flex: 1;
}

.comp-col-label--after {
  color: var(--blue-light);
  flex: 1;
  justify-content: flex-end;
}

/* Table */
.comp-table {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* Each comparison row */
.comp-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Each cell */
.comp-cell {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border-radius: 24px;
  border: 1px solid;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition);
  position: relative;
}

.comp-cell--before {
  background: rgba(220,38,38,0.14);
  border-color: rgba(220,38,38,0.45);
  box-shadow: inset 3px 0 0 rgba(220,38,38,0.5);
}

.comp-cell--before:hover {
  background: rgba(220,38,38,0.20);
}

.comp-cell--after {
  background: rgba(4,57,217,0.06);
  border-color: rgba(4,57,217,0.18);
  flex-wrap: wrap;
}

.comp-cell--after:hover {
  background: rgba(4,57,217,0.1);
}

/* Icon circles */
.comp-cell-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.comp-cell-icon--before {
  background: rgba(220,38,38,0.28);
}

.comp-cell-icon--after {
  background: rgba(4,57,217,0.15);
}

/* Cell text */
.comp-cell-text {
  flex: 1;
}

.comp-cell-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--sp-1);
}

.comp-cell--before .comp-cell-title {
  color: #FCA5A5;
}

.comp-cell--after .comp-cell-title {
  color: #0439D9;
}

.comp-cell-desc {
  font-size: 13px;
  line-height: 1.55;
}

.comp-cell--before .comp-cell-desc {
  color: rgba(252,165,165,0.6);
}

.comp-cell--after .comp-cell-desc {
  color: #0439D9;
}

/* Metric badge */
.comp-metric {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(4,57,217,0.15);
  border: 1px solid rgba(4,57,217,0.3);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  margin-top: var(--sp-2);
  align-self: flex-start;
}

/* Arrow between cells — hidden on mobile, shown on desktop */
.comp-arrow {
  display: none;
}

/* ── 8. Solution / Capabilities (on light bg) ─────────────────── */
.solution-section {
  background: transparent;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.capability-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-5);
  transition: box-shadow var(--transition);
}

.capability-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.cap-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(4,57,217,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.cap-icon svg {
  width: 20px;
  height: 20px;
}

.capability-item p {
  font-size: 15px;
  color: var(--text-subtle);
  line-height: 1.6;
  padding-top: 9px;
}

/* ── 9. Demos / Products (on dark bg) ─────────────────────────── */
.demos-section {
  background: transparent;
  padding-top: 0.5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

.product-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition), transform var(--transition-slow);
  position: relative;
  perspective: 1000px;
  cursor: pointer;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(4,57,217,0.4), rgba(1,17,64,0.2), rgba(4,57,217,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
  z-index: 1;
}

.product-card:hover {
  background: rgba(4,57,217,0.02);
  border-color: rgba(4,57,217,0.4);
  box-shadow: 0 12px 48px rgba(4,57,217,0.2), 0 0 1px rgba(4,57,217,0.5);
  transform: translateY(-4px) translateZ(0);
}

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

/* Card badges */
.card-badges {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  padding: var(--sp-5) var(--sp-5) 0;
}

.badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.badge--industry {
  background: rgba(4,57,217,0.15);
  color: var(--blue-light);
  border: 1px solid rgba(4,57,217,0.25);
}

.badge--type {
  background: rgba(0,0,0,0.04);
  color: var(--text-subtle);
  border: 1px solid rgba(0,0,0,0.1);
}

/* Thumbnail */
.card-thumbnail {
  margin: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.thumbnail-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  cursor: default;
  transition: background var(--transition);
  aspect-ratio: 16/9;
}

.product-card:hover .thumbnail-placeholder {
  background: rgba(4,57,217,0.06);
}

.play-icon {
  width: 40px;
  height: 40px;
  color: rgba(0,0,0,0.18);
  transition: color var(--transition);
}

.product-card:hover .play-icon {
  color: rgba(4,57,217,0.5);
}

.thumbnail-placeholder span {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Card body */
.card-body {
  padding: var(--sp-1) var(--sp-5) var(--sp-4);
  flex: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-on-light);
  margin-bottom: var(--sp-3);
  line-height: 1.3;
}

.card-description {
  font-size: 14px;
  color: var(--text-subtle);
  line-height: 1.65;
}

/* Card footer */
.card-footer {
  padding: 0 var(--sp-5) var(--sp-5);
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: var(--sp-4);
  margin-top: var(--sp-2);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-light);
  transition: gap var(--transition), color var(--transition);
}

.card-cta:hover {
  color: var(--text-on-dark);
  gap: var(--sp-3);
}

.card-cta svg {
  transition: transform var(--transition);
}

.card-cta:hover svg {
  transform: translateX(2px);
}

/* Stretched link: hace clickable todo el .product-card */
.card-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--radius-xl);
}

/* Mantener contenido del card por encima del stretched link */
.card-badges,
.card-thumbnail,
.card-body,
.card-footer {
  position: relative;
  z-index: 3;
}

/* Demos footer note */
.demos-footer-note {
  text-align: center;
  margin-top: var(--sp-10);
  font-size: 15px;
  color: var(--text-subtle);
}

.inline-link {
  color: var(--blue-light);
  font-weight: 600;
  transition: color var(--transition);
}

.inline-link:hover {
  color: var(--text-on-dark);
}

/* ── 10. Methodology (on light bg) ────────────────────────────── */
.methodology-section {
  background: transparent;
}

.methodology-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 960px;
  margin: 0 auto var(--sp-10);
}

.methodology-step {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--text-on-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.step-content {
  padding-bottom: var(--sp-8);
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-on-light);
  margin-bottom: var(--sp-3);
}

.step-content p {
  font-size: 15px;
  color: var(--text-subtle);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.step-deliverable {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  background: rgba(4,57,217,0.07);
  border: 1px solid rgba(4,57,217,0.15);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.step-connector {
  display: none; /* shown on desktop */
}

.methodology-callout {
  background: rgba(4,57,217,0.08);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.methodology-callout p {
  font-size: 15px;
  color: var(--text-on-light);
  line-height: 1.7;
}

.methodology-callout strong {
  color: #0439D9;
  font-weight: 700;
}

/* ── 11. Use Cases (on dark bg) ────────────────────────────────── */
.usecases-section {
  background: transparent;
}

.usecases-tabs-nav {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

.tab-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-subtle);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  min-height: 44px;
}

.tab-btn:hover {
  color: var(--text-on-light);
  background: rgba(0,0,0,0.04);
}

.tab-btn.active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(4,57,217,0.3);
}

.usecases-tabs-content {
  max-width: 700px;
  margin: 0 auto;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: tabFadeIn 250ms ease;
}

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

.tab-panel-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.usecase-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.usecase-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 15px;
  color: var(--text-subtle);
  line-height: 1.5;
  padding: var(--sp-4) var(--sp-5);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.usecase-list li:hover {
  background: rgba(4,57,217,0.03);
  border-color: rgba(4,57,217,0.2);
  color: var(--text-on-light);
}

.usecase-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  margin-top: 7px;
}

.tab-stat-col {
  display: flex;
  justify-content: center;
}

.tab-stat {
  text-align: center;
  padding: var(--sp-8);
  background: var(--white);
  border: 1px solid rgba(4,57,217,0.2);
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  width: 100%;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1;
  margin-bottom: var(--sp-2);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--text-subtle);
  line-height: 1.4;
}

/* ── 12. Competitive Advantages (on light bg) ─────────────────── */
.advantages-section {
  background: transparent;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.advantage-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

.advantage-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.advantage-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: var(--sp-3);
}

.advantage-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-on-light);
  margin-bottom: var(--sp-3);
  line-height: 1.3;
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-subtle);
  line-height: 1.65;
}

/* ── 13. CTA Final (on dark bg) ────────────────────────────────── */
.cta-section {
  background: transparent;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(4,57,217,0.2) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.cta-container {
  position: relative;
  z-index: var(--z-above);
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-20);
}

.cta-container .section-tag {
  margin-bottom: var(--sp-5);
}

.cta-headline {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--text-on-light);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-5);
}

.cta-subtext {
  font-size: 15px;
  color: var(--text-subtle);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto var(--sp-10);
}

.cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: 13px;
  color: var(--text-subtle);
  margin-top: var(--sp-5);
}

/* ── 14. Footer ────────────────────────────────────────────────── */
/* ── 16. Footer Redesign ──────────────────────────────────────── */

.footer {
  position: relative;
  z-index: 1;
  background-color: #F8FAFC;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: var(--sp-10) var(--sp-6);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
  align-items: stretch;
}

/* Header: Logo + Description (Mobile First) */
.footer-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
  text-align: left;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  opacity: 0.9;
}

.footer-description {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-subtle);
  max-width: 100%;
}

/* Links Grid (Mobile: Single Column) */
.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.footer-section-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-subtle);
  text-decoration: none;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  min-height: 44px;
}

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

.footer-links a:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Social Icons (Mobile: Centered) */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: var(--sp-6);
  padding: var(--sp-6) 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--navy);
  text-decoration: none;
  transition: all var(--transition);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-link:hover {
  color: var(--blue);
  transform: scale(1.1);
}

.social-link:focus {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

/* Footer Bottom (Copyright) */
.footer-bottom {
  text-align: center;
  padding-top: var(--sp-6);
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* ── Tablet: 768px+ ─────────────────────────────────────────── */
@media (min-width: 768px) {
  .footer-container {
    gap: var(--sp-12);
  }

  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
  }

  .footer-header {
    margin-bottom: var(--sp-4);
  }

  .footer-description {
    font-size: 13px;
    max-width: 90%;
  }
}

/* ── Desktop: 1024px+ ─────────────────────────────────────────── */
@media (min-width: 1024px) {
  .footer-container {
    display: grid;
    grid-template-columns: 0.8fr 2fr;
    gap: var(--sp-16);
    align-items: start;
  }

  .footer-header {
    grid-column: 1;
    grid-row: 1 / 4;
  }

  .footer-links-grid {
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-socials {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-start;
    border: none;
    padding: var(--sp-4) 0;
  }

  .footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: var(--sp-8);
    margin-top: var(--sp-4);
  }

  .footer-description {
    max-width: 100%;
    font-size: 14px;
  }
}

/* ── 15. Scroll Animations ─────────────────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet 768px+
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  :root {
    --container-pad: var(--sp-8);
  }

  .section {
    padding: var(--sp-20) 0;
  }

  /* Navbar */
  .navbar-logo {
    display: flex;
  }

  .navbar-menu {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .navbar-toggle {
    display: none;
  }

  /* Hero */
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  /* Comparison: show column headers + side-by-side layout */
  .comp-headers {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .comp-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--sp-3);
    border-radius: var(--radius-xl);
  }

  .comp-cell {
    border-radius: var(--radius-lg);
    height: 100%;
  }

  .comp-cell--after {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .comp-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .comp-metric {
    margin-top: var(--sp-3);
  }

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

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

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

  /* Methodology */
  .methodology-steps {
    flex-direction: row;
    gap: 0;
    align-items: flex-start;
  }

  .methodology-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    gap: var(--sp-4);
  }

  .step-content {
    padding-bottom: 0;
  }

  .step-connector {
    display: block;
    flex: 0 0 24px;
    height: 1px;
    background: linear-gradient(to right, var(--blue), transparent);
    margin-top: 28px;
  }

  .step-content h3 {
    font-size: 18px;
  }

  /* Use Cases */
  .tab-panel-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--sp-10);
  }

  .tab-list-col {
    flex: 1;
  }

  .tab-stat-col {
    flex-shrink: 0;
    width: 200px;
    display: flex;
    align-items: center;
  }

  /* Footer */
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    text-align: left;
    gap: var(--sp-8);
  }

  .footer-left {
    flex: 0 0 auto;
  }

  .footer-bottom {
    text-align: left;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Desktop 1024px+
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  :root {
    --container-pad: var(--sp-10);
  }

  .section {
    padding: var(--sp-24) 0;
  }

  /* Capabilities: 2 x 3 or auto-fit */
  .capabilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Products: 4 cards in row (but auto-fit works fine) */
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Advantages: 4 columns */
  .advantages-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Footer full row */
  .footer-container {
    flex-wrap: nowrap;
    align-items: center;
  }

  .footer-bottom {
    flex-basis: 100%;
    margin-top: var(--sp-4);
  }
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT PAGES — Detalles de Agentes
   ═══════════════════════════════════════════════════════════════ */

/* Product Page Main — push below fixed navbar + add side margins */
main.product-page {
  padding: 100px var(--container-pad) 0 var(--container-pad);
}

/* Breadcrumb */
.product-breadcrumb {
  padding: var(--sp-4) 0;
  font-size: 14px;
}

.product-breadcrumb a {
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  transition: color var(--transition);
}

.product-breadcrumb a:hover {
  color: var(--blue-hover);
}

/* Product Hero */
.product-hero {
  padding: var(--sp-10) 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.product-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-on-light);
  margin-top: var(--sp-4);
}

/* Product Video */
.product-video {
  padding: var(--sp-6) 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-video .video-placeholder {
  aspect-ratio: 16/9;
  max-height: 350px;
  width: 100%;
  max-width: 600px;
  background: rgba(0,0,0,0.04);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  cursor: pointer;
  transition: background var(--transition);
}

.product-video .video-placeholder:hover {
  background: rgba(4, 57, 217, 0.08);
}

.product-video .video-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.4;
}

.product-video .video-placeholder span {
  font-size: 14px;
  color: var(--text-subtle);
  font-weight: 500;
}

/* Product Description */
.product-description,
.product-usecase {
  padding: var(--sp-10) 0 var(--sp-12) 0;
}

.product-description h2,
.product-benefits h2,
.product-stack h2,
.product-cta h2,
.product-usecase h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-on-light);
  margin-bottom: var(--sp-6);
}

.product-description p,
.product-usecase p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-on-light);
  margin-bottom: var(--sp-5);
}

.product-description p:last-child,
.product-usecase p:last-child {
  margin-bottom: 0;
}

.product-usecase ol {
  padding-left: 1.5rem;
  margin-top: var(--sp-5);
}

.product-usecase ol li {
  font-size: 15px;
  color: var(--text-on-light);
  line-height: 1.8;
  margin-bottom: var(--sp-3);
}

/* Product Benefits */
.product-benefits {
  padding: var(--sp-10) 0 var(--sp-12) 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

.benefit-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.benefit-card:hover {
  border-color: rgba(4, 57, 217, 0.3);
  box-shadow: 0 4px 16px rgba(4, 57, 217, 0.08);
  transform: translateY(-2px);
}

.benefit-metric {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.benefit-card-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-on-light);
  margin-bottom: var(--sp-1);
}

.benefit-card-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-subtle);
}

/* Product Stack */
.product-stack {
  padding: var(--sp-10) 0 var(--sp-12) 0;
}

.stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.stack-chip {
  background: rgba(4, 57, 217, 0.1);
  color: var(--blue);
  border: 1px solid rgba(4, 57, 217, 0.2);
  border-radius: var(--radius-pill);
  padding: var(--sp-2) var(--sp-4);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
}

.stack-chip:hover {
  background: rgba(4, 57, 217, 0.15);
  border-color: rgba(4, 57, 217, 0.3);
}

/* Product CTA */
.product-cta {
  width: 100% !important;
  padding: var(--sp-16) var(--sp-6);
  background: transparent;
  text-align: center;
  margin-top: var(--sp-10) !important;
  margin-bottom: var(--sp-10) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

/* Benefits Grid — Dark variant (for #comparison section) */
.benefits-grid--dark .benefit-card {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.benefits-grid--dark .benefit-metric {
  color: #60A5FA;
}

.benefits-grid--dark .benefit-card-title {
  color: var(--text-on-dark);
}

.benefits-grid--dark .benefit-card-description {
  color: rgba(255,255,255,0.65);
}

.benefits-grid--dark .benefit-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(96,165,250,0.4);
  box-shadow: 0 4px 16px rgba(96,165,250,0.12);
}

/* Q&A Section */
.product-qa,
.qa-section {
  padding: var(--sp-10) 0 var(--sp-12) 0;
}

.product-qa h2,
.qa-section h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-on-light);
  margin-bottom: var(--sp-6);
}

.qa-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.qa-accordion--centered {
  max-width: 720px;
  margin: 0 auto;
}

.qa-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}

.qa-item.open {
  border-color: rgba(4, 57, 217, 0.25);
}

.qa-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-on-light);
  transition: color var(--transition);
}

.qa-trigger:hover {
  color: var(--blue);
}

.qa-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--text-subtle);
  opacity: 0.6;
  transition: transform 200ms ease;
}

.qa-item.open .qa-chevron {
  transform: rotate(180deg);
}

.qa-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.qa-content p {
  padding: 0 var(--sp-6) var(--sp-5) var(--sp-6);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-subtle);
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────────
   Responsive — Product Pages
   ───────────────────────────────────────────────────────────────── */

@media (min-width: 640px) {
  .product-title {
    font-size: 36px;
  }

  .product-description h2,
  .product-benefits h2,
  .product-stack h2,
  .product-cta h2,
  .product-usecase h2 {
    font-size: 26px;
  }

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

@media (min-width: 1024px) {
  .product-title {
    font-size: 42px;
  }

  .product-hero {
    padding: var(--sp-16) 0;
  }

  .product-video {
    padding: var(--sp-16) 0;
  }

  .product-description,
  .product-usecase {
    padding: var(--sp-12) 0;
  }

  .product-benefits {
    padding: var(--sp-12) 0;
  }

  .product-stack {
    padding: var(--sp-12) 0;
  }

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

  .metrics-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .product-cta {
    padding: var(--sp-16) var(--sp-10);
  }
}

/* === Book A Call Button === */
.book-call-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-6);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  border: 1px solid rgba(31, 78, 216, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(4, 57, 217, 0.3);
  text-decoration: none;
  outline: none;
}

.book-call-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 8px 24px rgba(4, 57, 217, 0.4);
  transform: translateY(-2px);
}

.book-call-btn:active {
  transform: scale(0.95);
}

.book-call-btn:focus {
  box-shadow: 0 0 0 4px rgba(4, 57, 217, 0.2), 0 4px 12px rgba(4, 57, 217, 0.3);
}

.book-call-btn-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.book-call-btn-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.book-call-btn-text {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.book-call-btn:hover .book-call-btn-text {
  transform: translateX(2px);
}

/* Shine effect on hover */
.book-call-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 12px;
  opacity: 0;
  transition: all 0.6s ease-out;
}

.book-call-btn:hover::after {
  left: 100%;
  opacity: 1;
}

/* ── Card video thumbnail ───────────────────────────────────────── */
.card-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: block;
}

.card-video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background var(--transition);
}

.card-video-wrapper:hover .card-video-play {
  background: rgba(4, 57, 217, 0.55);
}

.card-video-play .play-icon {
  width: 44px;
  height: 44px;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  transition: transform var(--transition);
}

.card-video-wrapper:hover .card-video-play .play-icon {
  transform: scale(1.1);
}

/* ── Product page inline video player ──────────────────────────── */
.product-video-player {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  background: #000;
  max-height: 480px;
  object-fit: contain;
}

/* ── Video Modal ────────────────────────────────────────────────── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  width: min(92vw, 960px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  backdrop-filter: blur(4px);
}

.video-modal-close:hover {
  background: rgba(255,255,255,0.3);
}

.video-modal-close svg {
  width: 16px;
  height: 16px;
}

.video-modal-player {
  width: 100%;
  display: block;
  max-height: 85vh;
}

/* ── Dashboard / Metrics Section ───────────────────────────────── */
.product-dashboard {
  padding-top: 0;
}

.product-dashboard h2 {
  color: var(--blue-light);
}

.dashboard-subtitle {
  font-size: 15px;
  color: var(--text-subtle);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
  max-width: 600px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

.metric-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transition: all var(--transition);
}

.metric-card:hover {
  border-color: rgba(4,57,217,0.3);
  box-shadow: 0 4px 16px rgba(4,57,217,0.08);
  transform: translateY(-2px);
}

.metric-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--blue);
  margin-bottom: var(--sp-1);
}

.metric-icon svg {
  width: 28px;
  height: 28px;
}

.metric-label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-on-light);
  margin-bottom: var(--sp-1);
}

.metric-desc {
  font-size: 14px;
  color: var(--text-subtle);
  line-height: 1.6;
}
