/*
Theme Name: Saleleni Child
Theme URI: https://saleleni.com
Template: generatepress
Version: 1.0.6
Description: Custom child theme for Saleleni — eCommerce & AI Consultancy
Author: Saleleni
*/

/* ===================================
   DESIGN TOKENS (Custom Properties)
   =================================== */
:root {
  /* Colours */
  --color-bg-primary:    #0C0C0F;
  --color-bg-secondary:  #111219;
  --color-bg-light:      #F8F7F4;
  --color-bg-white:      #FFFFFF;
  --color-bg-amber:      #F5A623;
  --color-accent:        #F5A623;
  --color-accent-hover:  #E09620;
  --color-accent-glow:   rgba(245, 166, 35, 0.25);
  --color-accent-subtle: rgba(245, 166, 35, 0.10);
  --color-text-primary:  #FFFFFF;
  --color-text-secondary:#A8A8B3;
  --color-text-muted:    #6B6B7A;
  --color-text-dark:     #0C0C0F;
  --color-text-body:     #3D3D4E;
  --color-text-subtle:   #7A7A8C;
  --border-dark:         rgba(255,255,255,0.08);
  --border-light:        #E2E2EC;
  --border-amber:        rgba(245,166,35,0.35);
  --shadow-card-light:   0 2px 16px rgba(0,0,0,0.06);
  --shadow-card-hover:   0 8px 32px rgba(0,0,0,0.14);
  --shadow-amber:        0 4px 24px rgba(245,166,35,0.28);
  --shadow-nav:          0 1px 24px rgba(0,0,0,0.3);

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --text-hero:    clamp(2.5rem, 5vw, 5rem);
  --text-h2:      clamp(2rem, 3.5vw, 3.5rem);
  --text-h3:      clamp(1.375rem, 2.25vw, 2.25rem);
  --text-h4:      clamp(1.125rem, 1.5vw, 1.5rem);
  --text-stat:    clamp(3rem, 5vw, 5rem);
  --text-xl:      clamp(1.0625rem, 1.25vw, 1.25rem);
  --text-base:    1rem;
  --text-sm:      0.875rem;
  --text-xs:      0.8125rem;

  /* Layout */
  --section-py:    clamp(4rem, 8vw, 6rem);
  --section-px:    clamp(1rem, 4vw, 5rem);
  --max-width:     1280px;
  --content-width: 1120px;
  --radius:        12px;
  --radius-sm:     8px;
  --radius-xs:     6px;
}

/* ===================================
   BASE RESET & GLOBAL
   =================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Accessibility: skip to content link */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 24px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--color-accent);
  color: var(--color-text-dark);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}
.skip-to-content:focus {
  top: 0;
}

/* Container */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

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

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: inherit;
}

h1 { font-size: var(--text-hero); letter-spacing: -0.03em; }
h2 { font-size: var(--text-h2);   letter-spacing: -0.02em; }
h3 { font-size: var(--text-h3);   letter-spacing: -0.01em; font-weight: 600; }
h4 { font-size: var(--text-h4);   letter-spacing: 0; font-weight: 600; }

p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: inherit;
}

.text-xl  { font-size: var(--text-xl); }
.text-sm  { font-size: var(--text-sm); }
.text-xs  { font-size: var(--text-xs); }

.pre-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 16px;
}

.section-heading {
  font-size: var(--text-h2);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-subheading {
  font-size: var(--text-xl);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 640px;
  margin-bottom: 48px;
}

/* ===================================
   SECTIONS
   =================================== */
.section {
  padding: var(--section-py) var(--section-px);
}

.section--dark    { background-color: var(--color-bg-primary); color: var(--color-text-primary); }
.section--darker  { background-color: var(--color-bg-secondary); color: var(--color-text-primary); }
.section--light   { background-color: var(--color-bg-light); color: var(--color-text-dark); }
.section--amber   { background-color: var(--color-bg-amber); color: var(--color-text-dark); }
.section--footer  { background-color: #0A0A0D; color: var(--color-text-secondary); border-top: 1px solid var(--border-dark); }

/* ===================================
   NAVIGATION
   =================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background-color: rgba(12,12,15,0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-nav);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img { height: 36px; width: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-list a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 2px;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: #fff;
}
.nav-list a:hover::after,
.nav-list a.active::after {
  transform: scaleX(1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: var(--color-bg-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px var(--section-px);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.mobile-nav-overlay.is-open {
  transform: translateX(0);
}

.mobile-nav-list {
  list-style: none;
  margin-bottom: 40px;
}

.mobile-nav-list a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s ease;
}

.mobile-nav-list a:hover {
  color: var(--color-accent);
}

@media (max-width: 1023px) {
  .nav-list { display: none; }
  .hamburger { display: flex; }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  min-height: 48px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-xs);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-text-dark);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-amber);
  transform: translateY(-1px);
  color: var(--color-text-dark);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-dark {
  background: var(--color-text-dark);
  color: var(--color-accent);
}

.btn-dark:hover {
  background: #1a1a1f;
  color: var(--color-accent-hover);
}

.btn-text-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
}

.btn-text-link .arrow { transition: transform 0.2s ease; }
.btn-text-link:hover .arrow { transform: translateX(4px); }

.btn-full { width: 100%; }

/* Focus states — accessibility */
.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ===================================
   CARDS
   =================================== */
.card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-dark {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  padding: 32px;
  color: var(--color-text-primary);
}

.card-dark:hover {
  transform: translateY(-4px);
  border-color: var(--border-amber);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}

.card-ai {
  border-color: var(--border-amber);
  background: var(--color-accent-subtle);
  border-top: 2px solid var(--color-accent);
}

.card-light {
  background: var(--color-bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card-light);
  padding: 32px;
}

.card-light:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* ===================================
   FORMS
   =================================== */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }

.form-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;          /* Prevent iOS auto-zoom */
  color: var(--color-text-primary);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
}

.form-control::placeholder { color: rgba(168,168,179,0.45); }

.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-control.is-error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

.form-error { font-size: var(--text-xs); color: #EF4444; margin-top: 4px; }

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Form on amber section (lead magnet) */
.section--amber .form-control {
  background: #fff;
  color: var(--color-text-dark);
  border-color: rgba(12,12,15,0.2);
}
.section--amber .form-control:focus {
  border-color: var(--color-text-dark);
  box-shadow: 0 0 0 3px rgba(12,12,15,0.1);
}
.section--amber .form-label { color: rgba(12,12,15,0.65); }

/* ===================================
   LOGO BAR MARQUEE
   =================================== */
.logo-bar { overflow: hidden; }

/* Mobile: marquee scroll */
.logo-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.logo-bar:hover .logo-track { animation-play-state: paused; }

.logo-item img {
  height: 36px;
  width: auto;
  filter: grayscale(100%) brightness(0.6);
  transition: filter 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0) brightness(1);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Desktop: static centered row, hide duplicate set */
@media (min-width: 768px) {
  .logo-bar { overflow: visible; }

  .logo-track {
    width: auto;
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 56px;
  }

  /* Hide the duplicate set used only for the marquee loop */
  .logo-item:nth-child(n+6) { display: none; }

  .logo-item img {
    height: 56px;
  }
}

/* ===================================
   STAT COUNTER
   =================================== */
.stat-block { text-align: center; }

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-stat);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}

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

.section--light .stat-label { color: var(--color-text-subtle); }

/* ===================================
   PROCESS STEPS
   =================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(to right, var(--color-accent), var(--border-light), var(--color-accent));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.step-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-dark);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.step-copy {
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process-steps::before { display: none; }
  .process-step {
    text-align: left;
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 20px;
    padding-bottom: 40px;
  }
  .step-dot { margin: 0; grid-column: 1; grid-row: 1; }
  .step-title { grid-column: 2; grid-row: 1; align-self: center; }
  .step-copy { grid-column: 2; grid-row: 2; }
}

/* ===================================
   PULL QUOTE
   =================================== */
.pull-quote {
  border-left: 3px solid var(--color-accent);
  padding-left: 24px;
  margin: 32px 0;
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  color: inherit;
}

.pull-quote cite {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  font-style: normal;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 12px;
}

/* ===================================
   TIMELINE (ABOUT PAGE)
   =================================== */
.timeline {
  position: relative;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  border-left: 1px dashed rgba(245,166,35,0.4);
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-subtle);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-copy {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* ===================================
   HERO (HOMEPAGE)
   =================================== */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-bg-primary);
  background-image: url('../images/noise-texture.svg');
  background-repeat: repeat;
  background-size: 200px 200px;
  position: relative;
  overflow: hidden;
  padding: 120px var(--section-px) 80px;
}

/* Ambient radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 60%;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: var(--content-width);
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s ease forwards;
  animation-delay: 0.1s;
}

.hero-title {
  max-width: 780px;
  margin: 0 auto 24px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.25s;
}

.hero-subtitle {
  max-width: 580px;
  margin: 0 auto 36px;
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  line-height: 1.65;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.4s;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s ease forwards;
  animation-delay: 0.55s;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s ease forwards;
  animation-delay: 0.7s;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin-top: 6px;
  max-width: 140px;
}

/* ===================================
   PAIN SECTION GRID
   =================================== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pain-icon {
  width: 40px; height: 40px;
  background: rgba(245,166,35,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.pain-icon svg {
  width: 20px; height: 20px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1023px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 639px) {
  .pain-grid { grid-template-columns: 1fr; }
}

/* ===================================
   SERVICES GRID
   =================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

@media (max-width: 767px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ===================================
   STATS GRID
   =================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}

@media (max-width: 1023px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 479px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ===================================
   AI SECTION GRID
   =================================== */
.ai-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 48px 0;
}

.ai-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

@media (max-width: 1023px) {
  .ai-services-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-intro-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 639px) {
  .ai-services-grid { grid-template-columns: 1fr; }
}

/* ===================================
   FOUNDER SECTION
   =================================== */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.founder-image {
  border: none;
  box-shadow: none;
}

.founder-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  border: none;
  box-shadow: none;
  outline: none;
}

/* Founder SVG smiley */
.founder-smiley {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  animation: founder-breathe 4.5s ease-in-out infinite;
}

@keyframes founder-breathe {
  0%, 100% { transform: translateY(0); }
  40%, 60% { transform: translateY(-14px); }
}

.founder-eye-l,
.founder-eye-r {
  transform-box: fill-box;
  transform-origin: center;
  animation: founder-blink 5s ease-in-out infinite;
}
.founder-eye-r { animation-delay: 0.06s; }

@keyframes founder-blink {
  0%,  88%, 100% { transform: scaleY(1); }
  92%             { transform: scaleY(0.06); }
  96%             { transform: scaleY(1); }
}

.founder-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 16px;
}

@media (max-width: 767px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .founder-image img { aspect-ratio: 1/1; }
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 767px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===================================
   BLOG GRID
   =================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 1023px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .blog-grid { grid-template-columns: 1fr; } }

.blog-category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

/* ===================================
   LEAD MAGNET / CTA SECTION
   =================================== */
.lead-magnet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.checklist-benefits {
  list-style: none;
  margin: 24px 0 36px;
}

.checklist-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: var(--text-base);
  color: var(--color-text-dark);
  border-bottom: 1px solid rgba(12,12,15,0.08);
}

.checklist-benefits li::before {
  content: '✓';
  color: var(--color-text-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 767px) {
  .lead-magnet-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===================================
   CONTACT / FINAL CTA
   =================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-what-happens {
  list-style: none;
  margin: 24px 0 32px;
}

.contact-what-happens li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.contact-what-happens li::before {
  content: '→';
  color: var(--color-accent);
  font-weight: 600;
  flex-shrink: 0;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin-bottom: 8px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-detail:hover { color: var(--color-accent); }
.contact-detail svg  { color: var(--color-accent); flex-shrink: 0; }

.calendly-alt {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.calendly-alt a { color: var(--color-accent); font-weight: 600; }

@media (max-width: 767px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===================================
   FOOTER
   =================================== */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer-bottom a { color: inherit; text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }

.footer-seo-note {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
  padding: 12px 0;
}

@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 639px)  { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* Scroll-triggered reveal — initial state */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .logo-track { animation: none !important; }
  .reveal, .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* Cursor glow */
#cursor-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    600px circle at var(--cx, 50%) var(--cy, 50%),
    rgba(245, 166, 35, 0.08) 0%,
    rgba(245, 166, 35, 0.03) 40%,
    transparent 70%
  );
}
#cursor-glow.active { opacity: 1; }
