/* ============================================
   DESIGN SYSTEM — REBRAND SPRINT 15D
   Minimal Premium Black
   ============================================ */

:root {
  /* Colors */
  --text-primary: #F5F0E8;
  --text-secondary: #C8BFA8;
  --text-muted: #7A7060;
  --surface-page: #0A0906;
  --surface-card: #100E0A;
  --surface-alt: #0D0B08;
  --surface-elevated: #161310;

  /* Gold accent */
  --accent-gold: #C9A84C;
  --accent-gold-light: #E8C96A;
  --accent-gold-pale: #F2DFA0;
  --accent-gold-dim: rgba(201, 168, 76, 0.15);

  /* Gradient — deep gold → champagne */
  --grad-accent: linear-gradient(90deg, #C9A84C, #E8C96A);
  --grad-accent-135: linear-gradient(135deg, #C9A84C, #E8C96A);
  --grad-glow-lilac: rgba(201, 168, 76, 0.3);
  --grad-glow-orange: rgba(232, 201, 106, 0.2);

  /* Legacy tokens */
  --action-primary: #C9A84C;
  --action-primary-hover: #E8C96A;
  --border-default: #1E1A12;
  --border-subtle: #181410;
  --border-focus: #C9A84C;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-full: 9999px;

  /* Transitions */
  --t-fast: 200ms ease;
  --t-med: 300ms ease;
}

/* ============================================
   RESET & BASE
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--surface-page);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

em {
  font-style: italic;
  color: var(--accent-gold-light);
  font-family: var(--font-serif);
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section {
  padding: var(--sp-24) 0;
  border-top: 1px solid var(--border-subtle);
}

.section--dark {
  background: var(--surface-card);
}

.section--alt {
  background: var(--surface-alt);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.section__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-6);
  font-family: var(--font);
  display: inline-block;
}

.section__headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-6);
}

.section__body {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: var(--sp-12);
  line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font);
  font-weight: 500;
  border: none;
  cursor: pointer;
  border-radius: var(--r-full);
  transition: transform var(--t-fast), box-shadow var(--t-fast), opacity var(--t-fast), filter var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Primary — gold fill, dark text for contrast */
.btn--primary {
  background: var(--grad-accent);
  color: #0A0906;
  padding: var(--sp-3) var(--sp-8);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.3), 0 0 48px rgba(201, 168, 76, 0.1);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 60%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--t-fast);
}

.btn--primary:hover {
  background: linear-gradient(90deg, #E8C96A, #F2DFA0);
  transform: scale(1.03) translateY(-1px);
  box-shadow: 0 0 36px rgba(201, 168, 76, 0.5), 0 0 72px rgba(201, 168, 76, 0.15);
  filter: brightness(1.05);
}

.btn--primary:hover::before {
  opacity: 1;
}

.btn--primary:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Secondary — gradient border via pseudo-element */
.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  padding: var(--sp-3) var(--sp-8);
  font-size: 0.95rem;
  /* gradient border trick */
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
  z-index: 0;
}

.btn--secondary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  padding: 1px;
  background: var(--grad-accent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity var(--t-med);
  z-index: -1;
}

.btn--secondary:hover::after {
  opacity: 1;
}

.btn--secondary:hover {
  color: #fff;
}

/* Ghost */
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.9rem;
}

.btn--ghost:hover {
  color: var(--text-primary);
}

.btn--sm {
  padding: var(--sp-2) var(--sp-6);
  font-size: 0.85rem;
}

.btn--lg {
  padding: var(--sp-4) var(--sp-12);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ============================================
   NAV
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--sp-3) 0;
  background: rgba(10, 9, 6, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--t-med);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

/* Logo image */
.nav__logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity var(--t-fast);
}

.nav__logo-link:hover .nav__logo-img {
  opacity: 1;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav__link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t-fast);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--accent-gold-light);
}

/* Nav CTA — primary arrow button */
.btn--nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0A0906;
  background: var(--grad-accent);
  border-radius: var(--r-full);
  padding: 8px var(--sp-6);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.25);
  transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
}

.btn--nav-cta:hover {
  transform: scale(1.03) translateY(-1px);
  box-shadow: 0 0 32px rgba(201, 168, 76, 0.45);
  filter: brightness(1.08);
  color: #0A0906;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  padding: calc(var(--sp-24) + 80px) 0 var(--sp-24);
  text-align: center;
  position: relative;
}

.hero__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-6);
  margin-bottom: var(--sp-8);
  position: relative;
  z-index: 0;
}

.hero__tag::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  padding: 1px;
  background: var(--grad-accent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  z-index: -1;
}

.hero__headline {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: var(--sp-4);
  line-height: 1.6;
}

.hero__body {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-12);
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Hero video */
.hero__video-wrap {
  width: 100%;
  max-width: 420px;
  margin: 0 auto var(--sp-8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__video {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: screen;
  animation: videoFadeIn 1.2s ease forwards;
}

@keyframes videoFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Final CTA video */
.final-cta__video-wrap {
  width: 100%;
  max-width: 380px;
  margin: 0 auto var(--sp-8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__line {
  width: 1px;
  height: 80px;
  background: var(--border-default);
  margin: var(--sp-16) auto 0;
}

/* ============================================
   PROBLEM
   ============================================ */

.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.problem__item {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transition: border-color var(--t-med), box-shadow var(--t-med);
  position: relative;
}

.problem__item:hover {
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.25), 0 4px 24px rgba(201, 168, 76, 0.06);
}

.problem__num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-3);
}

.problem__item p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================
   CASES — BEFORE / AFTER SLIDER
   ============================================ */

.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  margin-top: var(--sp-12);
}

.case__item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* The slider container */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-default);
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
}

/* Before layer — full width, sits behind */
.ba-slider__before {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ba-slider__before img,
.ba-slider__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* After layer — clipped from the left by --pos */
.ba-slider__after {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(0 0 0 var(--pos, 50%));
  transition: clip-path 0ms;
  /* updated live via JS, no transition */
}

/* Draggable handle */
.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.ba-slider__line {
  width: 2px;
  height: 100%;
  background: var(--grad-accent);
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.5);
}

.ba-slider__btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-accent-135);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #0A0906;
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

/* Antes / Depois labels */
.ba-slider__label {
  position: absolute;
  bottom: var(--sp-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px var(--sp-3);
  border-radius: var(--r-full);
  background: rgba(10, 9, 6, 0.7);
  backdrop-filter: blur(6px);
  color: var(--text-muted);
  z-index: 4;
}

.ba-slider__label--before {
  left: var(--sp-3);
}

.ba-slider__label--after {
  right: var(--sp-3);
  background: rgba(201, 168, 76, 0.15);
  color: var(--accent-gold-light);
  z-index: 5;
}

/* Caption below each case */
.case__caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.03em;
}

.case__caption strong {
  color: var(--text-secondary);
  font-weight: 600;
}

@media (max-width: 900px) {
  .cases__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Expand button — top-right corner of each slider */
.ba-slider__expand {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: rgba(10, 9, 6, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--accent-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--t-fast), transform var(--t-fast), background var(--t-fast);
}

.ba-slider:hover .ba-slider__expand {
  opacity: 1;
  transform: scale(1);
}

.ba-slider__expand:hover {
  background: rgba(201, 168, 76, 0.2);
}

/* Case Lightbox Modal */
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  pointer-events: none;
  visibility: hidden;
}

.case-modal.is-open {
  pointer-events: all;
  visibility: visible;
}

.case-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 3, 0.92);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-modal.is-open .case-modal__backdrop {
  opacity: 1;
}

.case-modal__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  overflow: hidden;
  transform: scale(0.93) translateY(16px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.case-modal.is-open .case-modal__inner {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.case-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-6);
  border-bottom: 1px solid var(--border-subtle);
}

.case-modal__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.case-modal__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.case-modal__close:hover {
  color: var(--text-primary);
  border-color: var(--accent-gold);
}

/* Modal slider — no fixed aspect ratio, taller */
.ba-slider--modal {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  border: none;
  cursor: col-resize;
}

@media (max-width: 600px) {
  .ba-slider--modal {
    aspect-ratio: 4 / 3;
  }
}



/* ============================================
   PERSONAL INSIGHT
   ============================================ */

.insight__inner {
  display: flex;
  gap: var(--sp-8);
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
}

.insight__quote {
  font-size: 8rem;
  line-height: 0.6;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: Georgia, serif;
  flex-shrink: 0;
  opacity: 0.7;
}

.insight__text {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.01em;
}

.insight__body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
}

.insight__author {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   ABOUT SPRINT
   ============================================ */

.about__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.about__item {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transition: border-color var(--t-med), transform var(--t-med), box-shadow var(--t-med);
  position: relative;
}

.about__item:hover {
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.3), 0 8px 32px rgba(201, 168, 76, 0.08), 0 4px 16px rgba(201, 168, 76, 0.04);
}

.about__icon {
  font-size: 1.5rem;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-4);
}

.about__item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--sp-3);
}

.about__item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   TIMELINE
   ============================================ */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-12);
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-default);
}

.timeline__item {
  position: relative;
  padding-top: var(--sp-12);
}

.timeline__item::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad-accent);
  border: 2px solid var(--surface-alt);
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.5);
}

.timeline__phase {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-1);
}

.timeline__days {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}

.timeline__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.timeline__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   WHO IT'S FOR
   ============================================ */

.for__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}

.for__col {
  border-radius: var(--r-lg);
  padding: var(--sp-8);
}

.for__col--yes {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
}

.for__col--no {
  background: transparent;
  border: 1px solid var(--border-subtle);
  opacity: 0.7;
}

.for__col-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-6);
}

.for__col--no .for__col-label {
  color: var(--text-muted);
}

.for__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.for__list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-left: var(--sp-6);
  position: relative;
  line-height: 1.5;
}

.for__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.for__list--no li::before {
  content: '✕';
  color: var(--text-muted);
}

/* ============================================
   INVESTMENT
   ============================================ */

.invest__card {
  max-width: 520px;
  margin: var(--sp-12) auto 0;
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  padding: var(--sp-12);
  text-align: center;
}

.invest__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-6);
  margin-bottom: var(--sp-8);
  position: relative;
  z-index: 0;
}

.invest__badge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  padding: 1px;
  background: var(--grad-accent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  z-index: -1;
}

.invest__price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.invest__currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 12px;
}

.invest__amount {
  font-size: 5rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  font-family: var(--font-serif);
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.invest__note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-8);
}

.invest__note strong {
  color: var(--text-secondary);
}

.invest__value-compare {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-left: 2px solid var(--accent-gold-dim);
  padding-left: var(--sp-4);
  margin-bottom: var(--sp-8);
  text-align: left;
}

.invest__value-compare strong {
  color: var(--accent-gold-light);
}

.invest__includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
  text-align: left;
}

.invest__include {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-card);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.invest__include-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--accent-gold);
}

/* BONUS block */
.invest__bonus {
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-8);
  text-align: left;
}

.invest__bonus-label {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}

.invest__bonus-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad-accent);
  color: #0A0906;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  padding: 3px 10px;
  border-radius: var(--r-full);
  flex-shrink: 0;
}

.invest__bonus-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2) var(--sp-4);
}

.invest__bonus-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.invest__bonus-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--accent-gold);
}

.invest__cta {
  width: 100%;
  margin-bottom: var(--sp-4);
}

.invest__disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   QUALIFICATION FORM
   ============================================ */

.form-wrapper {
  max-width: 600px;
  margin: var(--sp-12) auto 0;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  padding: var(--sp-12);
}

.form-progress {
  height: 2px;
  background: var(--border-default);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-3);
  overflow: hidden;
}

.form-progress__bar {
  height: 100%;
  background: var(--grad-accent);
  border-radius: var(--r-full);
  width: 20%;
  transition: width 0.4s ease;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.form-progress__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-8);
}

.form-step {
  display: none;
  animation: fadeSlide 0.3s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-step__question {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--sp-6);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.form-options {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.form-option {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6);
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.form-option:hover {
  border-color: rgba(201, 168, 76, 0.4);
  color: var(--text-primary);
  background: rgba(201, 168, 76, 0.04);
}

.form-option input[type="radio"] {
  display: none;
}

.form-option.selected {
  border-color: rgba(201, 168, 76, 0.55);
  background: rgba(201, 168, 76, 0.06);
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.1);
}

.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

/* Step 5 fields */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-field input {
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--t-fast);
  outline: none;
}

.form-field input::placeholder {
  color: var(--text-muted);
}

.form-field input:focus {
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.07);
}

/* Success */
.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-12) 0;
  animation: fadeSlide 0.4s ease;
}

.form-success.visible {
  display: block;
}

.form-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
  margin: 0 auto var(--sp-6);
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.form-success p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
  text-align: center;
}

.final-cta__headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-8);
}

.final-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}

.final-cta__note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--border-subtle);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer__brand {
  font-weight: 600;
  font-size: 0.9rem;
}

.footer__role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {

  .problem__grid,
  .about__grid,
  .for__grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .timeline::before {
    display: none;
  }

  .timeline__item {
    padding-top: 0;
    padding-left: var(--sp-8);
  }

  .timeline__item::before {
    top: 4px;
    left: 0;
  }

  .invest__includes {
    grid-template-columns: 1fr;
  }

  .insight__inner {
    flex-direction: column;
    gap: var(--sp-4);
  }

  .insight__quote {
    font-size: 4rem;
    line-height: 1;
  }

  .hero__cta {
    flex-direction: column;
  }

  .form-wrapper {
    padding: var(--sp-8);
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__headline {
    font-size: 2.4rem;
  }

  .section__headline {
    font-size: 1.8rem;
  }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */

/* Hide default cursor on non-touch devices */
@media (pointer: fine) {

  *,
  *::before,
  *::after {
    cursor: none !important;
  }
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(201, 168, 76, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.35s ease, height 0.35s ease, border-color 0.25s ease, opacity 0.25s ease;
  will-change: transform;
}

/* Cursor states */
body.cursor-hover .cursor-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-gold-light);
}

body.cursor-hover .cursor-ring {
  width: 52px;
  height: 52px;
  border-color: rgba(232, 201, 106, 0.3);
}

body.cursor-click .cursor-dot {
  width: 4px;
  height: 4px;
  background: var(--accent-gold);
}

body.cursor-click .cursor-ring {
  width: 28px;
  height: 28px;
  border-color: var(--accent-gold);
}

body.cursor-text .cursor-dot {
  width: 2px;
  height: 22px;
  border-radius: 2px;
  background: var(--text-muted);
}

body.cursor-text .cursor-ring {
  opacity: 0;
}

/* ============================================
   ENHANCED MICROINTERACTIONS
   ============================================ */

/* Card tilt — applied via JS */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Ripple on buttons */
.btn {
  position: relative;
  overflow: hidden;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transform: scale(0);
  animation: ripple-anim 0.55s linear;
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Underline hover on nav logo */
.nav__logo {
  position: relative;
}

.nav__logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--grad-accent);
  transition: width 0.3s ease;
}

.nav__logo:hover::after {
  width: 100%;
}

/* Timeline dot pulse on hover */
.timeline__item:hover::before {
  box-shadow: 0 0 0 6px rgba(255, 77, 45, 0.15);
  transition: box-shadow 0.3s ease;
}

/* Form option micro-feedback */
.form-option {
  position: relative;
  overflow: hidden;
}

.form-option::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--grad-accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.2s ease;
  border-radius: 0 2px 2px 0;
}

.form-option.selected::before {
  transform: scaleY(1);
}

/* Hero tag shimmer */
.hero__tag {
  position: relative;
  overflow: hidden;
}

.hero__tag::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: shimmer 3s infinite 1s;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

/* Invest card glow on hover */
.invest__card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.invest__card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  box-shadow: 0 0 60px rgba(201, 168, 76, 0.07), 0 0 30px rgba(201, 168, 76, 0.04);
}

/* Hero line animated scroll indicator */
.hero__line {
  position: relative;
  overflow: hidden;
}

.hero__line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--grad-accent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    top: -50%;
    opacity: 1;
  }

  100% {
    top: 150%;
    opacity: 0;
  }
}

/* Section label entrance */
.section__label {
  display: inline-block;
}

/* Smooth button active press */
.btn:active {
  transform: scale(0.97) !important;
}

/* Hide cursor elements on touch devices */
@media (pointer: coarse) {

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* ============================================
   ABOUT ME
   ============================================ */

.about-me__inner {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.about-me__photo-wrap {
  position: sticky;
  top: 100px;
}

.about-me__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-lg);
  border: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.08);
  display: block;
}

.about-me__content .section__headline {
  margin-bottom: var(--sp-8);
}

.about-me__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: var(--sp-6);
}

.about-me__manifesto {
  font-size: 1.25rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--text-primary);
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border-default);
}

/* Nav responsive - hide links on smaller screens */
@media (max-width: 900px) {
  .nav__links {
    display: none;
  }
}

@media (max-width: 640px) {

  .btn--whatsapp span,
  .btn--whatsapp {
    font-size: 0;
    padding: 5px;
  }

  .nav__photo {
    width: 34px;
    height: 34px;
  }
}

/* About Me responsive */
@media (max-width: 768px) {
  .about-me__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .about-me__photo-wrap {
    position: static;
  }

  .about-me__photo {
    aspect-ratio: 4 / 3;
    max-height: 260px;
  }
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */

.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #25D366;
  color: #fff;
  border-radius: var(--r-full);
  padding: 14px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  max-width: 54px;
  transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow var(--t-med);
  white-space: nowrap;
}

.wa-float:hover {
  max-width: 280px;
  padding: 14px 20px;
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.25);
}

.wa-float__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.wa-float__text {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 10px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease 0.1s, transform 0.25s ease 0.1s;
  pointer-events: none;
}

.wa-float:hover .wa-float__text {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 640px) {
  .wa-float {
    bottom: 20px;
    right: 16px;
    padding: 13px;
  }
}