/* PeakFlow — Styled after landonorris.com visual language */
/* Design tokens from reference: dark olive + cream + neon lime */

:root {
  /* Colors — PeakFlow brand */
  --color-bg: #171e19;
  --color-bg-alt: #f4f4f5;
  --color-text: #f4f4f5;
  --color-text-dark: #171e19;
  --color-heading: #f4f4f5;
  --color-accent: #ffe17c;
  --color-accent-hover: #ffd54f;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-dark: rgba(0, 0, 0, 0.12);
  --color-muted: #b7c6c2;
  --color-surface: rgba(255, 255, 255, 0.06);
  --color-hero-bg: #ffe17c;

  /* Typography — PeakFlow brand */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --section-padding: clamp(60px, 10vw, 120px);
  --container-max-width: 1200px;
  --nav-height: 72px;

  /* Effects — neo-brutalist */
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 4px 4px 0px 0px #000000;
  --shadow-md: 8px 8px 0px 0px #000000;
}

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

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ==================== BLOB & CONTOUR LAYERS ==================== */
.blob-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  will-change: transform;
}

.blob-layer svg {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

/* Layer depth: furthest back = slowest, largest, most transparent */
.blob-layer--1 { z-index: 0; }
.blob-layer--2 { z-index: 1; }
.blob-layer--3 { z-index: 2; }
.blob-layer--contours { z-index: 3; }
.blob-layer--light { z-index: 0; }
.blob-layer--dark { z-index: 0; }

/* Hero blobs: full width, no offset */

/* Section-specific blob positioning */
.tools, .testimonials, .how-it-works { position: relative; overflow: hidden; }
.features, .pricing, .download-cta { position: relative; overflow: hidden; }

/* Clip-path section wipe transition */
.section-wipe {
  clip-path: ellipse(150% 0% at 50% 0%);
  transition: clip-path 0s;
}

.section-wipe.revealed {
  clip-path: ellipse(150% 120% at 50% 0%);
  transition: clip-path 1s cubic-bezier(0.65, 0.05, 0, 1);
}

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 clamp(16px, 3vw, 32px);
  background: rgba(255, 225, 124, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(23, 30, 25, 0.1);
  transition: var(--transition);
  color: var(--color-text-dark);
}

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

.header__logo img {
  height: 32px;
  width: auto;
}

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

.header__nav a {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(23, 30, 25, 0.6);
  transition: color 0.25s ease;
}

.header__nav a:hover { color: var(--color-text-dark); }

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-text-dark);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--color-text-dark);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.header__cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px 0px #000;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 2px solid var(--color-text-dark);
  border-radius: var(--border-radius);
  padding: 10px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text-dark);
  transition: var(--transition);
}

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

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 99;
  padding: 40px 24px;
  flex-direction: column;
  gap: 0;
}

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

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

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

.mobile-nav__cta {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--color-accent);
  color: var(--color-text-dark);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: calc(var(--section-padding) + 60px);
  background: var(--color-hero-bg);
  color: var(--color-text-dark);
  overflow: hidden;
}

.hero .hero__label { color: rgba(23, 30, 25, 0.6); }
.hero .hero__title { color: var(--color-text-dark); }
.hero .hero__title .accent { color: var(--color-text-dark); font-style: italic; }
.hero .hero__subtitle { color: rgba(23, 30, 25, 0.7); }
.hero .hero__meta { color: rgba(23, 30, 25, 0.5); }
.hero .hero__stat-value { color: var(--color-text-dark); }
.hero .hero__stat-label { color: rgba(23, 30, 25, 0.6); }
.hero .hero__stats { border-top-color: rgba(23, 30, 25, 0.15); }
.hero .btn--primary { background: var(--color-text-dark); color: var(--color-hero-bg); border-radius: var(--border-radius); box-shadow: var(--shadow); }
.hero .btn--primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0px 0px #000; }
.hero .btn--secondary { border-color: var(--color-text-dark); color: var(--color-text-dark); border-radius: var(--border-radius); border-width: 2px; }

/* Pine tree forest silhouette at hero bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -2px;
  right: -2px;
  height: 160px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Crect width='1440' height='160' fill='%23171e19'/%3E%3Cpath d='M0 40l20-12 15 8 10-16 20 12 15-20 10 16 25-24 15 20 20-16 10 12 25-28 15 24 20-20 10 16 30-32 15 28 20-24 15 20 25-28 10 16 20-20 15 24 25-32 20 28 15-20 10 12 30-36 15 32 20-24 25 20 15-28 10 24 20-16 15 12 25-32 20 28 10-20 15 16 30-28 20 24 15-16 10 12 25-24 15 20 20-28 25 24 10-16 15 20 20-24 15 16 25-32 10 28 20-20 15 16 30-28 20 24 15-20 10 16 25-24 15 20 20-16 15 12 10-20 20 16 25-24 10 20 15-12 20 8 15-16 25 12 10-8 20 4V160H0z' fill='%23171e19'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 4;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 32px);
    padding-bottom: 100px;
  }
  .hero::after { height: 120px; }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.hero__label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(42px, 8vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 28px;
  text-wrap: balance;
}

.hero__title .accent { color: var(--color-accent); }

.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  text-wrap: pretty;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(210, 255, 0, 0.25);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

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

.hero__meta {
  font-size: 13px;
  color: var(--color-muted);
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: clamp(32px, 5vw, 64px);
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.hero__stat-label {
  font-size: 12px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ==================== PRODUCT SHOWCASE ==================== */
.showcase {
  position: relative;
  padding: clamp(32px, 6vw, 80px) 0;
  background: var(--color-bg);
  z-index: 5;
}

.showcase__image {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.showcase__image img {
  width: 100%;
  border: 1px solid var(--color-border);
}

/* ==================== TOOLS SECTION ==================== */
.tools {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  color: var(--color-text-dark);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--color-muted);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* Utility classes (replacing inline styles) */
.section-label--accent { color: var(--color-accent); }
.section-title--hero { font-size: clamp(36px, 6vw, 72px); color: var(--color-text); }
.accent { color: var(--color-accent); }
.pricing-card__unit { font-size: 16px; font-weight: 400; color: var(--color-muted); }

.tools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border-dark);
  border: 1px solid var(--color-border-dark);
}

.tool-card {
  background: var(--color-bg-alt);
  padding: clamp(24px, 3vw, 40px);
  transition: var(--transition);
  position: relative;
}

.tool-card:hover {
  background: #EAEAE0;
}

.tool-card__icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.tool-card__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.tool-card__desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.tool-card__replaces {
  font-size: 12px;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

.tool-card__replaces span {
  color: var(--color-text-dark);
  font-weight: 600;
}

.tool-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dark);
  transition: color 0.25s ease;
}

.tool-card__link:hover { color: #3B3C38; }
.tool-card__link::after { content: '→'; transition: transform 0.25s ease; }
.tool-card__link:hover::after { transform: translateX(4px); }

/* ==================== HORIZONTAL SCROLL FEATURES ==================== */
.hscroll {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.hscroll__track {
  display: flex;
  width: max-content;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.hscroll__panel {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  position: relative;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* INTRO PANEL — full bleed bold text */
.hscroll__panel--intro {
  align-items: center;
  justify-content: flex-start;
}

.hscroll__panel--intro .hscroll__panel-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(60px, 8vw, 140px);
  height: 100%;
  max-width: 800px;
}

/* TOOL PANELS — image fills left half, text fills right half, zero gaps */
.hscroll__panel-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  width: 100%;
  height: 100%;
}

.hscroll__img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 3vw, 48px);
}

.hscroll__img img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--color-border);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
}

.hscroll__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4vw, 72px) clamp(32px, 4vw, 64px);
  border-left: 1px solid var(--color-border);
}

.hscroll__icon {
  font-size: 40px;
  display: block;
  margin-bottom: 20px;
}

.hscroll__name {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1;
}

.hscroll__name .accent { color: var(--color-accent); }

.hscroll__desc {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 400px;
}

.hscroll__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.hscroll__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.5;
}

.hscroll__features li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
}

.hscroll__replaces {
  font-size: 14px;
  color: var(--color-muted);
  letter-spacing: 0.03em;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.hscroll__replaces strong {
  color: var(--color-text);
}

/* Vertical dividers between panels */
.hscroll__panel + .hscroll__panel {
  border-left: 1px solid var(--color-border);
}

/* Mobile: stack vertically, no pin */
@media (max-width: 768px) {
  .hscroll__track {
    flex-direction: column;
    width: 100%;
  }
  .hscroll__panel {
    width: 100%;
    height: auto;
    min-height: auto;
    border-left: none !important;
  }
  .hscroll__panel--intro .hscroll__panel-inner {
    padding: 48px clamp(20px, 4vw, 40px);
    max-width: 100%;
    height: auto;
  }
  .hscroll__panel-inner {
    grid-template-columns: 1fr;
    height: auto;
  }
  .hscroll__img {
    height: 280px;
  }
  .hscroll__text {
    padding: 32px clamp(20px, 4vw, 40px);
    border-left: none;
  }
}

/* Keep old feature styles for services subpage */
.features {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 120px);
}

.feature-block:nth-child(even) { direction: rtl; }
.feature-block:nth-child(even) > * { direction: ltr; }
.feature-block:last-child { margin-bottom: 0; }

.feature__image img {
  width: 100%;
  border: 1px solid var(--color-border);
}

.feature__content { padding: clamp(0px, 2vw, 20px); }
.feature__icon { font-size: 32px; margin-bottom: 16px; }

.feature__name {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 16px;
}

.feature__name .accent { color: var(--color-accent); }

.feature__desc {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}

.feature__list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  background: var(--color-accent);
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  color: var(--color-text-dark);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 32px);
}

.testimonial {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--color-border-dark);
  transition: var(--transition);
}

.testimonial:hover { border-color: var(--color-text-dark); }

.testimonial__stars {
  color: var(--color-accent);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial__text {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  color: var(--color-text-dark);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial__author {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: 0.02em;
}

.testimonial__role {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 2px;
}

/* ==================== PRICING ==================== */
.pricing {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.pricing__header {
  text-align: center;
  margin-bottom: 56px;
}

.pricing__header .section-title { color: var(--color-text); }
.pricing__header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  color: var(--color-muted);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.pricing-card {
  background: var(--color-bg);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  background: rgba(210, 255, 0, 0.06);
  border: 1px solid var(--color-accent);
  position: relative;
}

.pricing-card__badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--color-accent);
  color: var(--color-text-dark);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.pricing-card__name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.pricing-card__billing {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 28px;
}

.pricing-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}

.pricing-card__features li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.pricing-card .btn { width: 100%; justify-content: center; }

.pricing__note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--color-muted);
}

.pricing__note a {
  color: var(--color-accent);
  transition: opacity 0.2s;
}

.pricing__note a:hover { opacity: 0.8; }

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  color: var(--color-text-dark);
}

.how-it-works__header {
  text-align: center;
  margin-bottom: 56px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 32px);
}

.step {
  text-align: center;
  padding: clamp(24px, 3vw, 40px);
}

.step__number {
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.step__desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ==================== TICKER ==================== */
.ticker {
  padding: 20px 0;
  background: var(--color-text-dark);
  overflow: hidden;
  white-space: nowrap;
}

.ticker__inner {
  display: inline-flex;
  animation: ticker 30s linear infinite;
}

.ticker__item {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 0 32px;
}

.ticker__item::after {
  content: '·';
  margin-left: 32px;
}

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

/* ==================== DOWNLOAD CTA ==================== */
.download-cta {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--color-bg);
  text-align: center;
}

.download-cta .section-title {
  color: var(--color-text);
  margin-bottom: 16px;
}

.download-cta__subtitle {
  font-size: 16px;
  color: var(--color-muted);
  margin-bottom: 40px;
}

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

.download-cta__note {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 8px;
}

/* ==================== FOOTER ==================== */
.footer {
  position: relative;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: clamp(48px, 6vw, 80px) 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 48px;
}

.footer__brand img {
  height: 28px;
  width: auto;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 14px;
  color: var(--color-muted);
  max-width: 320px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.footer__social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 14px;
  color: var(--color-text);
  transition: color 0.25s ease;
}

.footer__links a:hover { color: var(--color-accent); }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copyright {
  font-size: 12px;
  color: var(--color-muted);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 12px;
  color: var(--color-muted);
  transition: color 0.25s ease;
}

.footer__legal a:hover { color: var(--color-text); }

/* ==================== SCROLL INDICATOR ==================== */
.scroll-indicator {
  position: fixed;
  top: var(--nav-height);
  right: 20px;
  width: 4px;
  height: 60px;
  background: var(--color-border);
  z-index: 90;
  display: none;
}

.scroll-indicator__bar {
  width: 100%;
  background: var(--color-accent);
  will-change: transform;
  height: 100%;
  transform-origin: top;
  transform: scaleY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-block:nth-child(even) { direction: ltr; }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .hamburger { display: flex; }

  .hero__title {
    font-size: clamp(36px, 10vw, 56px);
  }

  .hero__stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

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

  .feature-block {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }
  .feature-block:nth-child(even) { direction: ltr; }

  .features {
    padding-top: 48px;
    padding-bottom: 48px;
  }

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

  .steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

  .scroll-indicator { display: none !important; }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn { justify-content: center; }

  .download-cta__buttons {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

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

@keyframes clipReveal {
  from { clip-path: ellipse(100% 0% at 50% 0%); }
  to { clip-path: ellipse(100% 120% at 50% 0%); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ==================== POLISH: BORDER RADIUS ==================== */
.btn { border-radius: var(--border-radius); }
.tool-card { border-radius: var(--border-radius); }
.testimonial { border-radius: var(--border-radius); }
.pricing-card { border-radius: var(--border-radius); }
.pricing-card--featured { border-radius: var(--border-radius); }
.footer__social a { border-radius: var(--border-radius); }
.mobile-nav__cta { border-radius: var(--border-radius); }
.showcase__image img { border-radius: var(--border-radius); }
.hscroll__img img { border-radius: var(--border-radius); }

/* ==================== POLISH: FOCUS STATES ==================== */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.tool-card:focus-within { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* ==================== POLISH: REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .blob-layer { display: none; }
  .section-wipe { clip-path: none !important; }
}

/* ==================== POLISH: SVG ICONS ==================== */
.tool-card__icon svg, .hscroll__icon svg {
  stroke: var(--color-accent);
}

.tools .tool-card__icon svg {
  stroke: var(--color-text-dark);
}

.testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 20px;
}

/* ==================== POLISH: HARD SHADOWS ==================== */
.tool-card { box-shadow: var(--shadow); border: 2px solid var(--color-border-dark); }
.tool-card:hover { box-shadow: var(--shadow-md); transform: translate(-2px, -2px); }
.testimonial { box-shadow: var(--shadow); border: 2px solid var(--color-border-dark); }
.testimonial:hover { box-shadow: var(--shadow-md); transform: translate(-2px, -2px); }
.pricing-card { border: 2px solid var(--color-border); }
.btn--secondary { border-width: 2px; }
