/* ═══════════════════════════════════════════════
   LULO Coaching — Design System
   Font: Inter (headlines) + Open Sans (body)
   Accent: #E75325 (bright orange)
   Theme: Light (sandstone)
   ═══════════════════════════════════════════════ */


/* ── Design Tokens ── */

:root {
  /* Colors */
  --bg:            #f5f2eb;
  --bg-alt:        #d9e8f4;
  --text:          #2C4D73;
  --text-heading:  #233359;
  --text-muted:    #2C4D73;
  --text-faint:    rgba(44,77,115,0.78);
  --text-ghost:    rgba(44,77,115,0.35);
  --text-label:    rgba(44,77,115,0.78);
  --accent:        #E75325;
  --accent-glow:   rgba(231,83,37,0.1);
  --accent-border: rgba(231,83,37,0.2);
  --accent-bg:     rgba(231,83,37,0.06);
  --border:        rgba(44,77,115,0.1);
  --border-light:  rgba(44,77,115,0.25);
  --card-bg:       rgba(255,255,255,0.5);

  /* Typography */
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body:    'Open Sans', system-ui, sans-serif;

  /* Layout */
  --side-pad:    80px;

  /* Easing */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
}


/* ── Reset ── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
input, select, button { font: inherit; border: none; outline: none; background: none; }


/* ── Typography ── */

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--text-heading);
}

.eyebrow {
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 16px;
  text-transform: uppercase;
}

.eyebrow-sm {
  font-size: 12px;
  letter-spacing: 0.2em;
}

.heading-xl,
.heading-lg,
.heading-md,
.heading-sm,
.heading-card,
.heading-guarantee {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--text-heading);
}

.heading-xl {
  font-size: 88px;
  letter-spacing: -2px;
  line-height: 84px;
}

.heading-lg {
  font-size: 56px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.heading-md {
  font-size: 48px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.heading-sm {
  font-size: 44px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.heading-card {
  font-size: 28px;
  line-height: 1.2;
}

.heading-guarantee {
  font-size: 24px;
  line-height: 1.35;
}

.body-lg {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 28px;
}

.body-md {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.body-card {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.stat-number {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 44px;
}

.stat-label {
  color: var(--text-ghost);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 14px;
  text-transform: uppercase;
}

.label-text {
  color: var(--text-label);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 16px;
}


/* ── Layout ── */

.section {
  padding: 100px var(--side-pad);
  width: 100%;
  position: relative;
}

.section-lg {
  padding: 120px var(--side-pad);
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-overflow {
  overflow: clip;
}


/* ── Navigation ── */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--side-pad);
  height: 140px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease,
              height 0.3s ease, padding 0.3s ease;
}

.site-nav.scrolled {
  background-color: rgba(245,242,235,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: 64px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-logo {
  height: 108px;
  width: auto;
  transition: height 0.3s ease;
}

.site-nav.scrolled .nav-logo {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  position: relative;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover {
  color: var(--text) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(44,77,115,0.3);
  border-radius: 100px;
  padding: 10px 24px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-cta span {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  transition: color 0.25s ease;
}

.nav-cta:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}

.nav-cta:hover span {
  color: #FFFFFF !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ── Buttons ── */

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent);
  border-radius: 100px;
  padding: 18px 36px;
  cursor: pointer;
  border: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.cta-pill span {
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
}

.cta-pill svg {
  transition: transform 0.3s var(--ease);
}

.cta-pill:hover {
  transform: scale(1.04);
  box-shadow: 0 0 24px rgba(231,83,37,0.3);
}

.hero-fade.visible.cta-pill:hover {
  transform: translateY(0) scale(1.04);
}

.cta-pill:hover svg {
  transform: translateX(4px);
}

.cta-pill-sm {
  padding: 14px 32px;
}

/* Arrow icon for CTA buttons */
.cta-arrow {
  width: 16px;
  height: 16px;
}


/* ── Cards ── */

.card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--accent-glow);
  flex-shrink: 0;
}

.ghost-num {
  position: absolute;
  bottom: 14px;
  right: 17px;
  font-family: var(--font-body);
  font-size: 160px;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  width: fit-content;
  background: linear-gradient(180deg, rgba(44,77,115,0.08) 0%, rgba(44,77,115,0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
}


/* ── Guarantee Card ── */

.guarantee-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 36px 44px;
  background-color: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.guarantee-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.3) 40%,
    rgba(255,255,255,0.5) 50%,
    rgba(255,255,255,0.3) 60%,
    transparent 80%
  );
  transform: skewX(-15deg);
  transition: none;
  pointer-events: none;
}

.guarantee-card.shine::after {
  animation: shineSweep 1s var(--ease-smooth) forwards;
}

@keyframes shineSweep {
  0%   { left: -100%; }
  100% { left: 150%; }
}


/* ── Stats Bar ── */

.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 40px var(--side-pad);
  background-color: var(--card-bg);
  border-top: 1px solid var(--border);
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-divider {
  background-color: var(--border-light);
  width: 1px;
  height: 40px;
  flex-shrink: 0;
}


/* ── Form Fields ── */

.field-input,
.field-select {
  width: 100%;
  padding: 14px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 18px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s ease;
}

.field-input::placeholder {
  color: rgba(44,77,115,0.35);
}

.field-input:focus,
.field-select:focus {
  border-color: var(--accent);
}

.field-select {
  color: rgba(44,77,115,0.35);
  padding-right: 40px;
}

.field-select.has-value {
  color: var(--text);
}

.field-select option {
  background: #FFFFFF;
  color: var(--text);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--text-ghost);
}


/* ── Decorative Canvases ── */

.shader-canvas {
  position: absolute;
  pointer-events: none;
}

.cta-mesh {
  position: absolute;
  pointer-events: none;
}


/* ── Hero Background ── */

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

.section-bg-image {
  position: absolute;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.halftone-overlay {
  filter: grayscale(100%) contrast(1.2) url(#halftone-filter);
}


/* ── Animations: Hero Entrance ── */

.hero-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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


/* ── Animations: Marker Underline ── */

.underline-word {
  position: relative;
  display: inline-block;
}

.underline-word::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 4px;
  height: 0.35em;
  background: rgba(231, 83, 37, 0.4);
  border-radius: 3px;
  z-index: -1;
  transform: scaleX(0) rotate(-0.5deg) skewX(-2deg);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}

.underline-word.animate::after {
  transform: scaleX(1) rotate(-0.5deg) skewX(-2deg);
}


/* ── Animations: Scroll Reveal ── */

.scroll-reveal {
  opacity: 0;
  transform: translateY(48px);
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: var(--ease);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ── Animations: Word Reveal ── */

.reveal-word {
  display: inline;
  opacity: 0.12;
  transition: opacity 0.8s var(--ease-smooth);
}

.reveal-word.is-visible {
  opacity: 1;
}


/* ── Animations: Card Stagger ── */

.stagger-card {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}


/* ── Footer ── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 80px var(--side-pad) 40px;
  width: 100%;
}

.footer-grid {
  display: flex;
  gap: 80px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1.5 1 0%;
}

.footer-brand-logo {
  height: 72px;
  width: auto;
}

.footer-brand p {
  color: var(--text-faint);
  font-size: 14px;
  line-height: 1.65;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-faint);
  transition: color 0.2s ease;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col h3 {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 16px;
}

.footer-col a {
  color: var(--text-faint);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 20px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom span,
.footer-bottom a {
  color: rgba(44,77,115,0.7);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 16px;
}

footer a {
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--text) !important;
}


/* ── Responsive ── */

@media (max-width: 1024px) {
  :root { --side-pad: 40px; }

  .heading-xl {
    font-size: 72px;
    line-height: 72px;
    letter-spacing: -1.5px;
  }

  .heading-lg { font-size: 42px; }
  .heading-md { font-size: 36px; }
  .heading-sm { font-size: 34px; }

  .stats-bar { gap: 40px; }
  .footer-grid { flex-wrap: wrap; gap: 40px; }

  .mission-section { padding-top: 120px !important; padding-bottom: 120px !important; }
  .uniques-header { padding-top: 100px !important; }
  .cta-section { padding-top: 120px !important; padding-bottom: 120px !important; }
  .form-section { gap: 48px !important; }
}

/* Hero CTA — full/short text toggle */
.cta-text-short { display: none; }

@media (max-width: 768px) {
  :root { --side-pad: 24px; }

  /* Mobile nav */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(245,242,235,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0 24px;
    gap: 0;
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-top: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), padding 0.4s var(--ease);
  }

  .nav-links.open {
    max-height: 400px;
    opacity: 1;
    padding: 8px 24px 24px;
  }

  .nav-toggle { display: flex; }

  .site-nav { height: 110px; }
  .nav-logo { height: 81px; }
  .footer-brand-logo { height: 54px; }

  .nav-links .nav-link {
    color: rgba(44,77,115,0.7) !important;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    font-size: 17px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), color 0.2s ease;
  }

  .nav-links.open .nav-link {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.open .nav-link:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.open .nav-link:nth-child(2) { transition-delay: 0.1s; }

  .nav-links .nav-link:hover { color: var(--text) !important; }

  .nav-links .nav-cta {
    margin-top: 20px;
    justify-content: center;
    border: 1px solid var(--border);
    padding: 14px 24px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
                background-color 0.25s ease, border-color 0.25s ease;
  }

  .nav-links.open .nav-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
  }

  .nav-links .nav-cta span {
    color: var(--text);
  }

  /* Hero CTA — shorter text on mobile */
  .cta-text-full { display: none; }
  .cta-text-short { display: inline; }

  .heading-xl {
    font-size: 48px;
    line-height: 50px;
    letter-spacing: -1px;
  }

  .heading-lg { font-size: 32px; }
  .heading-md { font-size: 28px; }
  .heading-sm { font-size: 28px; }

  .stats-bar {
    flex-wrap: wrap;
    gap: 32px 60px;
  }

  .stat-divider { display: none; }

  .footer-grid {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Mission section */
  .mission-section { padding-top: 80px !important; padding-bottom: 80px !important; gap: 32px !important; }
  .mission-content { max-width: 100% !important; }
  #mission-text { font-size: 28px !important; line-height: 1.2 !important; }

  /* Uniques */
  .uniques-header { padding-top: 64px !important; }
  .uniques-grid { flex-direction: column !important; gap: 20px !important; }

  /* CTA section */
  .cta-section { padding-top: 80px !important; padding-bottom: 80px !important; }

  /* Form section */
  .form-section { flex-direction: column !important; gap: 40px !important; }
  .form-row { flex-direction: column !important; }

  /* Guarantee */
  .guarantee-card { padding: 24px !important; }
}
