/* ============================================
   TEMPLATE V3 — Platform + Engagements
   New components: Dark hero, breadcrumbs, pills,
   platform tiles, stat blocks, not-strip, pricing
   tiers, timeline, FAQ accordion, step badges
   ============================================ */


/* ============================================
   DARK NAVIGATION VARIANT
   ============================================ */

.nav--dark {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav--dark .nav__logo {
  color: var(--color-white);
}

.nav--dark .nav__link {
  color: rgba(255, 255, 255, 0.7);
}

.nav--dark .nav__link:hover {
  color: var(--color-white);
}

.nav--dark .nav__link::after {
  background: var(--color-white);
}

.nav--dark .nav__toggle span {
  background: var(--color-white);
}

.nav--dark .btn--secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav--dark .btn--secondary:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}


/* ============================================
   DARK HERO
   ============================================ */

.hero-dark {
  background: var(--color-black);
  color: var(--color-white);
  padding: 160px 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.hero-dark__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/bg-dark-contour.png');
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  z-index: 0;
}

.hero-dark .container {
  position: relative;
  z-index: 1;
}

.hero-dark__content {
  max-width: 800px;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-dark__headline {
  color: var(--color-white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: var(--space-lg);
}

.hero-dark__description {
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

.hero-dark .btn--secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-dark .btn--secondary:hover {
  color: var(--color-black);
  background: var(--color-cream);
  border-color: var(--color-cream);
}

.hero-dark__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}


/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.breadcrumb__link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration-fast) var(--ease-out);
}

.breadcrumb__link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb__sep {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb__current {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}


/* ============================================
   PILL TAGS
   ============================================ */

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-graphite);
  background: var(--color-cream);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 100px;
  white-space: nowrap;
}


/* ============================================
   PLATFORM TILES — Large linked cards
   ============================================ */

.platform-tile {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  transition: all var(--duration-normal) var(--ease-out);
}

.platform-tile:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.platform-tile__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sand);
  border-radius: 14px;
  color: var(--color-charcoal);
}

.platform-tile__content {
  flex: 1;
}

.platform-tile__title {
  margin-bottom: var(--space-sm);
}

.platform-tile__description {
  color: var(--color-graphite);
  margin-bottom: var(--space-md);
}

.platform-tile__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-black);
  transition: gap var(--duration-fast) var(--ease-out);
}

.platform-tile:hover .platform-tile__link {
  gap: 0.625rem;
}

@media (max-width: 640px) {
  .platform-tile {
    flex-direction: column;
    gap: var(--space-md);
  }
}


/* ============================================
   ARCHITECTURE DIAGRAM
   ============================================ */

.arch-diagram {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.08);
}

.arch-diagram img {
  width: 100%;
  height: auto;
  display: block;
}


/* ============================================
   STAT BLOCKS
   ============================================ */

.stat-block {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.stat-block__number {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-black);
  line-height: 1.1;
  margin-bottom: var(--space-xs);
}

.stat-block__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-graphite);
  margin-bottom: var(--space-sm);
}

.stat-block p {
  max-width: 220px;
  margin: 0 auto;
}


/* ============================================
   "NOT" STRIP — Horizontal differentiation bar
   ============================================ */

.not-strip {
  background: var(--color-charcoal);
  padding: var(--space-md) 0;
  overflow: hidden;
}

.not-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.not-strip__item {
  font-size: 0.875rem;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.not-strip__dot {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
}


/* ============================================
   ENGAGEMENT TIERS — Pricing columns
   ============================================ */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

.tier {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: var(--space-xl);
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}

.tier:hover {
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.1);
}

.tier--featured {
  border-color: var(--color-black);
  border-width: 2px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.12);
}

.tier--featured:hover {
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.18);
}

.tier__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 100px;
  white-space: nowrap;
}

.tier__header {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tier__phase {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-stone);
  margin-bottom: var(--space-xs);
}

.tier__title {
  margin-bottom: var(--space-xs);
}

.tier__duration {
  font-size: 0.875rem;
  color: var(--color-stone);
}

.tier__description {
  color: var(--color-graphite);
  margin-bottom: var(--space-lg);
}

.tier__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.tier__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--color-graphite);
  line-height: 1.5;
}

.tier__list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-charcoal);
}

.tier__cta {
  width: 100%;
}

@media (max-width: 1024px) {
  .tiers {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}


/* ============================================
   STEP BADGE — Numbered circle
   ============================================ */

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-charcoal);
  border-radius: 12px;
}


/* ============================================
   VERTICAL TIMELINE
   ============================================ */

.timeline {
  position: relative;
  padding-left: 160px;
}

/* Vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-warm-gray);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-xl);
  display: flex;
  gap: var(--space-lg);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__marker {
  position: absolute;
  left: -160px;
  top: 0;
  width: 100px;
  text-align: right;
}

/* Dot on the line */
.timeline__marker::after {
  content: '';
  position: absolute;
  right: -45px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--color-white);
  border: 2px solid var(--color-charcoal);
  border-radius: 50%;
}

.timeline__day {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-stone);
  white-space: nowrap;
}

.timeline__content {
  padding-top: 0;
}

.timeline__content h4 {
  margin-bottom: var(--space-xs);
}

.timeline__content p {
  color: var(--color-graphite);
}

@media (max-width: 640px) {
  .timeline {
    padding-left: 0;
    padding-top: 0;
  }

  .timeline::before {
    display: none;
  }

  .timeline__marker {
    position: static;
    width: auto;
    text-align: left;
    margin-bottom: var(--space-xs);
  }

  .timeline__marker::after {
    display: none;
  }

  .timeline__item {
    flex-direction: column;
    gap: 0;
    padding-bottom: var(--space-lg);
    padding-left: var(--space-md);
    border-left: 2px solid var(--color-warm-gray);
  }

  .timeline__item:last-child {
    padding-bottom: 0;
  }

  .timeline__day {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: var(--color-beige);
    border-radius: 4px;
    font-size: 0.75rem;
  }
}


/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq {
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq__item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-black);
  cursor: pointer;
  list-style: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::marker {
  content: '';
}

.faq__question:hover {
  color: var(--color-graphite);
}

.faq__chevron {
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out);
  color: var(--color-stone);
}

.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  padding-bottom: var(--space-lg);
  max-width: 640px;
}

.faq__answer p {
  color: var(--color-graphite);
}
