/* ========================================
   CAAST GO! LANDING PAGE
   Premium B2B — Luxury Minimal
   ======================================== */

/* Root vars, body padding, reveal-delay-*, divider — now in components.css */

/* Page-specific reveal with luxury timing (overrides base) */
.reveal {
  transform: translateY(32px);
  transition: opacity var(--transition-luxury), transform var(--transition-luxury);
}

/* Page-specific gradient divider (overrides base .divider) */
.divider {
  background: linear-gradient(90deg, transparent, var(--color-gray-200), transparent);
}

/* ========================================
   2. PAGE HEADER
   ======================================== */
.page-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-24) 0 var(--space-20);
}
.page-header__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-gray-400);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.page-header__title {
  font-family: var(--font-primary);
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--color-primary);
}

/* ========================================
   3. FEATURES — TOUT EST INCLUS
   ======================================== */
.features {
  padding: var(--section-pad) 0;
  background: var(--color-gray-50);
}
.features__two-col {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
.features__left {
  position: sticky;
  top: 100px;
}
.features__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-6);
}
.features__label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #8B4DFF, #F000B9);
  border-radius: 2px;
}
.features__title {
  font-family: var(--font-primary);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.features__subtitle {
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  color: var(--color-gray-500);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-8);
}
.features__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #8B4DFF, #F000B9);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  box-shadow: 0 4px 20px rgba(139, 77, 255, 0.35);
}
.features__pill .material-symbols-rounded {
  font-size: 16px;
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.features__right {
  display: flex;
  flex-direction: column;
}

/* Feature rows */
.feat-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(18, 0, 31, 0.07);
  position: relative;
  transition: padding-left 0.25s ease;
}
.feat-row:first-child { padding-top: 0; }
.feat-row:last-child { border-bottom: none; padding-bottom: 0; }
.feat-row::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #8B4DFF, #F000B9);
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.feat-row:hover::before { opacity: 1; transform: scaleY(1); }
.feat-row:hover { padding-left: 8px; }
.feat-row__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139, 77, 255, 0.10), rgba(240, 0, 185, 0.07));
  border: 1px solid rgba(139, 77, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feat-row:hover .feat-row__icon {
  background: linear-gradient(135deg, rgba(139, 77, 255, 0.18), rgba(240, 0, 185, 0.13));
  border-color: rgba(139, 77, 255, 0.35);
  box-shadow: 0 4px 14px rgba(139, 77, 255, 0.18);
}
.feat-row__icon .material-symbols-rounded {
  font-size: 20px;
  background: linear-gradient(135deg, #8B4DFF, #F000B9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.feat-row__content { flex: 1; padding-top: 2px; }
.feat-row__name {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-1);
  letter-spacing: -0.01em;
}
.feat-row__desc {
  font-size: var(--fs-sm);
  font-weight: var(--fw-light);
  color: var(--color-gray-500);
  line-height: var(--lh-relaxed);
}
.feat-row__num {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: var(--fw-bold);
  color: rgba(18, 0, 31, 0.18);
  letter-spacing: 0.05em;
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}

/* ========================================
   4. HOW IT WORKS — TIMELINE
   ======================================== */
.how {
  padding: var(--section-pad) 0;
}
.how__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-16);
}
.how__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-gray-400);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.how__title {
  font-family: var(--font-primary);
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--color-primary);
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
/* Connecting line */
.how__steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 var(--space-6);
}
.step__number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  font-family: var(--font-primary);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--color-white);
  background: var(--color-primary);
  box-shadow: 0 8px 24px rgba(18, 0, 31, 0.15);
}
.step__name {
  font-family: var(--font-primary);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.step__desc {
  font-size: var(--fs-sm);
  font-weight: var(--fw-light);
  color: var(--color-gray-500);
  line-height: var(--lh-relaxed);
  max-width: 280px;
  margin: 0 auto;
}

/* ========================================
   5. PERFORMANCES — KPI CARDS
   ======================================== */
.perf {
  padding: var(--section-pad) 0;
  background: var(--color-gray-50);
}
.perf__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-16);
}
.perf__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-gray-400);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.perf__title {
  font-family: var(--font-primary);
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--color-primary);
}
.perf__subtitle {
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  color: var(--color-gray-500);
  margin-top: var(--space-3);
}
.perf__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
}
.kpi {
  background: var(--color-white);
  border: 1px solid rgba(18, 0, 31, 0.06);
  border-radius: 20px;
  padding: var(--space-8) var(--space-4);
  text-align: center;
  transition: all var(--transition-luxury);
}
.kpi:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(18, 0, 31, 0.06);
}
.kpi__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, rgba(139, 77, 255, 0.08), rgba(240, 0, 185, 0.05));
}
.kpi__icon .material-symbols-rounded {
  font-size: 22px;
  color: var(--color-secondary);
}
.kpi__value {
  font-family: var(--font-primary);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}
.kpi__label {
  font-size: 0.78rem;
  font-weight: var(--fw-medium);
  color: var(--color-gray-500);
  line-height: 1.4;
}

/* ========================================
   6b. SHOWCASE — 3 PLAYERS
   ======================================== */
.showcase {
  padding: var(--section-pad) 0;
}
.showcase__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-16);
}
.showcase__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-gray-400);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.showcase__title {
  font-family: var(--font-primary);
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--color-primary);
}
.showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  justify-items: center;
}
.showcase__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.showcase__player {
  width: 248px;
  max-width: 100%;
  position: relative;
  box-shadow: 0 16px 48px rgba(18, 0, 31, 0.12);
}
.showcase__player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase__logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 1;
  transition: opacity var(--transition-base);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .features__two-col { grid-template-columns: 1fr; gap: var(--space-12); }
  .features__left { position: static; }
  .perf__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .how__steps::before {
    display: none;
  }
  .how__steps {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .showcase__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
  .showcase__player {
    width: 220px;
    height: 435px;
  }
}

@media (max-width: 768px) {
  .perf__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__title {
    font-size: var(--fs-3xl);
  }
  .hero__actions {
    flex-direction: column;
    gap: var(--space-3);
  }
  .ptable {
    font-size: 0.85rem;
  }
  .ptable thead th,
  .ptable tbody td {
    padding: 16px 10px;
  }
  .ptable thead th:first-child,
  .ptable tbody td:first-child {
    padding-left: 16px;
  }
  .ptable__pkg-name { font-size: 0.85rem; }
  .ptable__total { font-size: 1rem; }
  .showcase__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .showcase__player {
    width: 248px;
    height: 491px;
  }
}

@media (max-width: 480px) {
  .perf__grid {
    grid-template-columns: 1fr;
  }
  .feat { padding: var(--space-6); }
  .table-card { border-radius: 16px; }
  .ptable thead th:first-child { width: 100px; }
}
