/* ============================================
   DIGIBOX APP - Corporate Website
   Pure HTML5 + CSS3 + JavaScript
   ============================================ */

/* CSS Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream: #f5f5f0;
  --black: #000000;
  --white: #ffffff;
  --amber: #d4a017;
  --teal: #0a8a8a;
  --light-gray: #e6e6e2;
  --muted-gray: #999999;
  --font-display: 'Archivo', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --container: 1280px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-pill: 50px;
  --section-pad: 120px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul { list-style: none; }

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

.max-w-1100 { max-width: 1100px; margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.max-w-640 { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Language tag */
html[lang="es"] .nav-link,
html[lang="es"] .nav-cta,
html[lang="es"] .btn,
html[lang="es"] .hero-point,
html[lang="es"] .overline {
  /* Spanish text support */
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  background: transparent;
}

.nav.scrolled {
  background: rgba(245, 245, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav-container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--black);
  transition: color 0.3s ease;
}

.nav-logo-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-gray);
  transition: color 0.3s ease;
}

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

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--black);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--amber);
  transition: width 0.25s ease;
}

.nav-link:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--black);
  color: var(--white);
  transition: var(--transition);
}

.nav.scrolled .nav-cta {
  background: var(--black);
  color: var(--white);
}

.nav-cta:hover { transform: scale(1.02); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
}

.nav-hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: var(--black);
}
.nav-hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.nav-hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: var(--black);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--cream);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.active { display: flex; }

.mobile-nav-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--black);
  transition: color 0.2s;
}

.mobile-nav-link:hover { color: var(--teal); }

.mobile-nav-cta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  background: var(--black);
  color: var(--white);
  margin-top: 16px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 32px 64px;
}

.hero-grid {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-text { flex: 1; max-width: 600px; }

.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 24px;
}

.hero-subheadline {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted-gray);
  line-height: 1.5;
  margin-bottom: 24px;
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--muted-gray);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-phone {
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--muted-gray);
  animation: bounce 2s ease-in-out infinite;
  background: none;
  border: none;
}

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

/* Hero Animations */
.hero-anim {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.8s ease-out forwards;
}

.hero-anim[data-delay="0.5"] { animation-delay: 0.5s; }
.hero-anim[data-delay="0.7"] { animation-delay: 0.7s; }
.hero-anim[data-delay="0.9"] { animation-delay: 0.9s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   PHONE MOCKUP
   ============================================ */
.phone-frame {
  position: relative;
  width: 280px;
  height: 560px;
  background: var(--black);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.phone-lg {
  width: 320px;
  height: 640px;
  border-radius: 44px;
  padding: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

.phone-sm {
  width: 200px;
  height: 400px;
  border-radius: 32px;
  padding: 10px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--white);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--black);
  border-radius: 0 0 20px 20px;
  z-index: 2;
}

.phone-home-bar {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  z-index: 2;
}

.phone-sm .phone-notch { top: 10px; width: 80px; height: 22px; border-radius: 0 0 14px 14px; }
.phone-sm .phone-home-bar { width: 80px; height: 3px; }
.phone-lg .phone-notch { top: 14px; width: 130px; height: 30px; }

/* Floating animation */
.phone-float {
  animation: phoneFloat 4s ease-in-out infinite;
}

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

.phone-float-rotate {
  animation: phoneFloatRotate 6s ease-in-out infinite;
}

@keyframes phoneFloatRotate {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

/* Phone stack for Billing section */
.phone-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.phone-back {
  position: absolute;
  left: -30px;
  top: -20px;
  transform: scale(0.95);
  opacity: 0.7;
  z-index: 1;
}

.phone-front {
  position: relative;
  z-index: 2;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  cursor: pointer;
}

.btn:hover { transform: scale(1.02); }

.btn-primary {
  background: var(--amber);
  color: var(--black);
  border: none;
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  width: 0;
  transition: width 0.3s ease-out;
  z-index: -1;
}

.btn-outline:hover { color: var(--white); }
.btn-outline:hover::before { width: 100%; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
}

.btn-amber {
  background: var(--amber);
  color: var(--black);
  border: none;
}

.btn-lg { padding: 16px 40px; font-size: 1.25rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* ============================================
   TYPOGRAPHY UTILITIES
   ============================================ */
.overline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.heading-2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.body-text {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--muted-gray);
  line-height: 1.6;
  margin-bottom: 24px;
}

.text-amber { color: var(--amber); }
.text-white { color: var(--white); }
.text-white-70 { color: rgba(255,255,255,0.7); }
.text-white-80 { color: rgba(255,255,255,0.8); }
.text-center { text-align: center; }

.mb-16 { margin-bottom: 64px; }

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--section-pad) 0;
}

.bg-cream { background: var(--cream); }
.bg-black { background: var(--black); }
.bg-light-gray { background: var(--light-gray); }
.bg-teal { background: var(--teal); }

/* ============================================
   LAYOUT GRIDS
   ============================================ */
.two-col {
  display: flex;
  align-items: center;
  gap: 64px;
}

.two-col.reverse { flex-direction: row-reverse; }

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.content-col { flex: 1; }
.visual-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sticky-col {
  width: 45%;
  position: sticky;
  top: 120px;
  align-self: start;
}

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

/* ============================================
   TRUSTED BY / MARQUEE
   ============================================ */
.trusted-by {
  background: var(--cream);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}

.marquee {
  height: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  animation: marqueeScroll 30s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 32px;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.marquee-item:hover { opacity: 0.8; }

.logo-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
}

.marquee-item span {
  font-family: var(--font-body);
  font-size: 0.875rem;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   WHY DIGIBOX
   ============================================ */
.why-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.decorative-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.08;
  z-index: -1;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.benefit-card {
  display: flex;
  gap: 16px;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(10, 138, 138, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--black);
  margin-bottom: 4px;
}

.benefit-desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--muted-gray);
  line-height: 1.5;
}

/* ============================================
   FEATURE CARDS (dark)
   ============================================ */
.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 48px;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-4px);
}

.feature-icon { margin-bottom: 24px; }

.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.feature-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ============================================
   CHECK LISTS
   ============================================ */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
}

.check-list.white li { color: rgba(255,255,255,0.8); }

.check-list svg { flex-shrink: 0; margin-top: 2px; }

/* ============================================
   DECORATIVE
   ============================================ */
.deco-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  z-index: -1;
}

.deco-circle.amber {
  background: var(--amber);
  opacity: 0.1;
  top: -40px;
  right: -40px;
}

/* ============================================
   PILLS
   ============================================ */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.pill-filled {
  background: var(--black);
  color: var(--white);
}

.pill-outline {
  border: 1px solid var(--black);
  color: var(--black);
}

.pill-outline:hover {
  background: var(--black);
  color: var(--white);
}

/* ============================================
   WHITE CARDS
   ============================================ */
.white-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}

.white-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.card-icon { margin-bottom: 24px; }

.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: 12px;
}

.card-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted-gray);
  line-height: 1.6;
}

/* ============================================
   GEOLOCATION MAP
   ============================================ */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
}

.map-img {
  width: 100%;
  height: auto;
}

/* ============================================
   SCROLL GALLERY
   ============================================ */
.scroll-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding: 0 32px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-gallery::-webkit-scrollbar { display: none; }

.scroll-gallery-item {
  scroll-snap-align: center;
  flex-shrink: 0;
}

.scroll-gallery-item:first-child { margin-left: max(32px, calc((100vw - 1280px) / 2)); }
.scroll-gallery-item:last-child { margin-right: max(32px, calc((100vw - 1280px) / 2)); }

.feature-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--black);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  position: relative;
  background: var(--cream);
  min-height: 400vh;
}

.how-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  overflow: hidden;
  pointer-events: none;
}

.how-bg-pattern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-sticky {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.how-content-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 32px;
}

.step-block {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  transform: scale(1.02);
}

.step-block.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 64px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  width: 100%;
}

.step-grid {
  display: flex;
  align-items: center;
  gap: 48px;
}

.step-text { flex: 1; }
.step-phone { flex-shrink: 0; }

.step-label {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--amber);
  letter-spacing: 0.1em;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 3rem);
  color: var(--black);
  margin-top: 12px;
  margin-bottom: 16px;
}

.step-desc {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--muted-gray);
  line-height: 1.6;
}

/* How It Works Progress Bar */
.how-progress {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  width: 200px;
}

.how-progress-line {
  flex: 1;
  height: 2px;
  background: rgba(0,0,0,0.1);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.how-progress-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.how-progress-line.active::after {
  transform: scaleX(1);
}

/* ============================================
   ANALYTICS DASHBOARD
   ============================================ */
.dashboard-preview {
  margin-bottom: 64px;
}

.browser-chrome {
  background: #2a2a2a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px 12px 0 0;
}

.browser-dots {
  display: flex;
  gap: 8px;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: var(--amber); }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-right: 52px;
}

.dashboard-img {
  width: 100%;
  height: auto;
  border-radius: 0 0 12px 12px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.metric { text-align: center; }

.metric-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 8px;
}

.metric-label {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--muted-gray);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--amber);
  opacity: 0.3;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.quote-text {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--black);
  margin-bottom: 32px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 138, 138, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal);
}

.author-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--black);
}

.author-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted-gray);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--teal);
  padding: 160px 32px;
}

.cta-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.cta-text {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.cta-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-logo-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-gray);
}

.footer-desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--muted-gray);
  line-height: 1.6;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-links li {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--muted-gray);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted-gray);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted-gray);
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--white); }

/* ============================================
   MODAL
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.active { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.modal-content {
  position: relative;
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 48px;
  z-index: 1;
  max-width: 600px;
  width: 90%;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}

.modal-body {
  text-align: center;
  padding: 32px 0;
}

.modal-placeholder {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--muted-gray);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for groups */
.reveal-item:nth-child(1) { transition-delay: 0s; }
.reveal-item:nth-child(2) { transition-delay: 0.08s; }
.reveal-item:nth-child(3) { transition-delay: 0.16s; }
.reveal-item:nth-child(4) { transition-delay: 0.24s; }
.reveal-item:nth-child(5) { transition-delay: 0.32s; }
.reveal-item:nth-child(6) { transition-delay: 0.40s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .two-col, .two-col.reverse {
    flex-direction: column;
    gap: 48px;
  }

  .sticky-col {
    position: relative;
    top: auto;
    width: 100%;
  }

  .three-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-grid {
    flex-direction: column;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .phone-stack {
    min-height: auto;
    flex-direction: column;
    gap: 24px;
  }

  .phone-back {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px; }

  .container { padding: 0 16px; }
  .nav-container { padding: 0 16px; }

  .hero-grid {
    flex-direction: column;
    text-align: center;
  }

  .hero-text { max-width: 100%; }
  .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-subheadline { font-size: 1rem; }
  .hero-points { align-items: center; }
  .hero-ctas { justify-content: center; }

  .hero-content { padding: 100px 16px 64px; }

  .three-col { grid-template-columns: 1fr; }

  .benefits-grid { grid-template-columns: 1fr; }

  .heading-2 { font-size: clamp(1.75rem, 6vw, 2.5rem); }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-section { padding: 100px 16px; }

  .step-card { padding: 32px; }
  .step-title { font-size: 1.75rem; }

  .phone-frame {
    width: 240px;
    height: 480px;
  }

  .phone-lg {
    width: 260px;
    height: 520px;
  }

  .scroll-gallery { padding: 0 16px 16px; }

  .how-progress { width: 160px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-track { animation: none; }
  .reveal-item { opacity: 1; transform: none; }
  .hero-anim { opacity: 1; transform: none; animation: none; }
}
