/* ============================================
   SITE SORTED — Marketing Pages
   Palette: forest green + warm neutrals
   See .impeccable.md for full design system
   ============================================ */

/* NOTE: Fonts (Satoshi + DM Sans) are loaded via Next.js localFont in layout.tsx.
   The CSS variables --font-heading and --font-body are set there.
   No @import needed here. Tokens below mirror globals.css — keep in sync. */
:root {
  --color-primary: #2D6A4F;
  --color-primary-hover: #1B4332;
  --color-primary-light: #E9F5EF;
  --color-accent: #2D6A4F;
  --color-success: #05966B;
  --color-bg: #FAF9F7;
  --color-bg-dark: #1A1A1A;
  --color-bg-cream: #F8F8F8;
  --color-text: #1C1B18;
  --color-text-light: #FAF9F7;
  --color-text-muted: #6b6b6b;
  --color-text-secondary: #2d2d2d;
  --color-border: #e4e4e4;
  --color-border-light: #f0f0f0;

  --font-heading: 'Satoshi', var(--font-heading), Arial, sans-serif;
  --font-body: 'DM Sans', var(--font-body), -apple-system, BlinkMacSystemFont, sans-serif;

  --h1: clamp(40px, 6vw, 72px);
  --h2: clamp(32px, 4vw, 48px);
  --h3: 20px;
  --body: 18px;
  --small: 14px;
  --eyebrow: 13px;

  --section-pad: 80px;
  --container: 1152px;
  --gap: 24px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-pill: 40px;
  --radius-card: 16px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.7;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- FOCUS ACCESSIBILITY ---- */
*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

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

/* ---- UTILITY ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--eyebrow);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow--light { color: var(--color-primary); }
.section-heading {
  font-family: var(--font-heading);
  font-size: var(--h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-wrap: balance;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  transition-property: background-color, color, transform, box-shadow;
  transition-duration: 200ms;
  transition-timing-function: var(--ease);
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  transition-duration: 80ms;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-light);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45,106,79,0.3);
}
.btn--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}
.btn--dark:hover {
  background: var(--color-text-secondary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn--outline:hover {
  border-color: var(--color-text);
}
.btn--white {
  background: var(--color-bg);
  color: var(--color-primary);
}
.btn--white:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ---- HEADER ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  transition: box-shadow 0.3s var(--ease);
}
.header--scrolled {
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__logo-icon { width: 28px; height: 28px; }
.header__logo-text {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 10px 0;
  transition: color 0.2s;
}
.header__link:hover { color: var(--color-text); }
.header__link[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
}
.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__cta {
  background: var(--color-primary);
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition-property: background-color, transform, box-shadow;
  transition-duration: 200ms;
  transition-timing-function: var(--ease);
}
.header__cta:active {
  scale: 0.96;
}
.header__cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45,106,79,0.3);
}
.header--scrolled .header__cta {
  background: var(--color-primary);
  color: var(--color-text-light);
}
.header__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.header__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition-property: transform, opacity;
  transition-duration: 300ms;
  transition-timing-function: var(--ease);
}
.header__mobile-menu {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--color-border);
  animation: menu-slide-in 0.25s var(--ease-out);
}
@keyframes menu-slide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.header__mobile-link {
  font-size: var(--small);
  font-weight: 500;
  color: var(--color-text);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.25s;
}
.header__mobile-link:hover { color: var(--color-primary); }

/* ---- HERO ---- */
.hero {
  padding: 100px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-cream) 100%);
  overflow: hidden;
}
.hero--compact {
  padding: 100px 24px 48px;
}
.hero__bg { display: none; }
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero__headline {
  font-family: var(--font-heading);
  font-size: var(--h1);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--color-text);
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero__headline em {
  font-style: italic;
  color: var(--color-primary);
}
.hero__sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}
.hero__price-tag {
  font-size: var(--small);
  color: var(--color-text-muted);
  margin-top: 16px;
  letter-spacing: 0.02em;
  opacity: 0.7;
}

/* Hero Inline Builder Form */
.hero-builder {
  position: relative;
  margin-top: 8px;
}
.hero-builder__trigger {
  font-size: 16px;
  padding: 16px 40px;
}
.hero-builder__form {
  display: none;
  flex-direction: column;
  gap: 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 32px;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  animation: formReveal 0.4s var(--ease-out) forwards;
}
.hero-builder--open .hero-builder__trigger { display: none; }
.hero-builder--open .hero-builder__form { display: flex; }

@keyframes formReveal {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-builder__field { text-align: left; }
.hero-builder__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.hero-builder__input {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-bg-cream);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.hero-builder__input::placeholder { color: #9a9a9a; }
.hero-builder__input:focus {
  border-color: var(--color-primary);
  background: var(--color-bg);
}
.hero-builder__submit {
  width: 100%;
  margin-top: 4px;
}
.hero-builder__submit:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}
.hero-builder__submit:disabled:hover {
  background: var(--color-primary);
  color: var(--color-text-light);
  transform: none;
}
.hero-builder__back {
  background: none;
  border: none;
  color: #9a9a9a;
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.25s;
  text-align: center;
}
.hero-builder__back:hover { color: var(--color-text-muted); }
.hero-builder__error {
  color: #ef4444;
  font-size: 0.875rem;
  margin: -4px 0 0;
}
.hero-builder__success {
  text-align: center;
  padding: 24px 0;
}
.hero-builder__success-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}
.hero-builder__success-body {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.hero-builder__success-body strong {
  color: var(--color-text);
}

/* Hero showcase cards */
.hero__showcase {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  display: flex;
  justify-content: center;
  gap: 20px;
  perspective: 1000px;
}
.hero__card {
  width: 320px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.15);
  transition: transform 0.5s var(--ease-out);
}
.hero__card:nth-child(1) { transform: rotate(-4deg) translateY(20px); }
.hero__card:nth-child(2) { transform: scale(1.05); z-index: 2; }
.hero__card:nth-child(3) { transform: rotate(4deg) translateY(20px); }
.hero__card:hover { transform: scale(1.06) translateY(-8px); z-index: 3; }
.hero__card--template {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: #111;
}
.hero__card-dots {
  display: flex;
  gap: 5px;
  padding: 8px 12px;
  background: #1a1a1a;
  position: relative;
  z-index: 2;
}
.hero__card-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #444;
}
.hero__card-dots span:first-child { background: #ff5f56; }
.hero__card-dots span:nth-child(2) { background: #ffbd2e; }
.hero__card-dots span:last-child { background: #27c93f; }
.hero__card--template iframe {
  width: 400%;
  height: 900px;
  border: none;
  transform: scale(0.25);
  transform-origin: top left;
  pointer-events: none;
  display: block;
}

/* ---- SOCIAL PROOF STRIP ---- */
.proof-strip {
  background: var(--color-bg-cream);
  padding: 48px 24px;
  border-top: 1px solid var(--color-border-light);
}
.proof-strip__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.proof-strip__stat {
  text-align: center;
}
.proof-strip__number {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.proof-strip__label {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  padding: var(--section-pad) 24px;
  background: var(--color-bg);
}
.how-it-works__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.how-it-works__header .eyebrow { margin-bottom: 16px; }
.how-it-works__header .section-heading { margin-bottom: 16px; }
.how-it-works__subtitle {
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.7;
}
.how-it-works__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.step {
  position: relative;
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-card);
  background: var(--color-bg-cream);
  transition-property: transform, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: var(--ease-out);
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(45,106,79,0.12);
}
.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-text-light);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}
.step__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--color-text);
}
.step__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
  text-wrap: pretty;
}

/* ---- SHOWCASE / TEMPLATES ---- */
.showcase {
  padding: var(--section-pad) 24px;
  background: var(--color-bg);
  overflow: hidden;
}
.showcase__header {
  max-width: var(--container);
  margin: 0 auto 48px;
  text-align: center;
}
.showcase__header .eyebrow { margin-bottom: 16px; }
.showcase__header .section-heading {
  color: var(--color-text);
  margin-bottom: 16px;
}
.showcase__header-desc {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
}
.showcase__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.showcase__grid--four { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.template-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  cursor: pointer;
}
.template-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.template-card__preview {
  position: relative;
  background: #1a1a1a;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  overflow: hidden;
  height: 280px;
}
.template-card__dots {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #222;
}
.template-card__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #444;
}
.template-card__dots span:first-child { background: #ff5f56; }
.template-card__dots span:nth-child(2) { background: #ffbd2e; }
.template-card__dots span:last-child { background: #27c93f; }
.template-card__iframe {
  width: 400%;
  height: 1000px;
  border: none;
  transform: scale(0.25);
  transform-origin: top left;
  pointer-events: none;
  display: block;
}
.template-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.template-card:hover .template-card__overlay { opacity: 1; }
.template-card__body {
  padding: 20px 24px;
}
.template-card__name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}
.template-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
}
.btn--sm {
  padding: 10px 24px;
  font-size: 13px;
}

/* ---- TEMPLATE PREVIEW MODAL ---- */
.template-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: modal-fade-in 0.2s ease;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.template-modal__inner {
  width: 100%;
  max-width: 1200px;
  height: 90vh;
  background: #1a1a1a;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  animation: modal-scale-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modal-scale-in {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.template-modal__topbar {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #222;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 12px;
  flex-shrink: 0;
}
.template-modal__dots {
  display: flex;
  gap: 6px;
}
.template-modal__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
}
.template-modal__dots span:first-child { background: #ff5f56; }
.template-modal__dots span:nth-child(2) { background: #ffbd2e; }
.template-modal__dots span:last-child { background: #27c93f; }
.template-modal__title {
  flex: 1;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.template-modal__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 24px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s;
}
.template-modal__close:hover { color: var(--color-text-light); }
.template-modal__iframe {
  flex: 1;
  width: 100%;
  border: none;
  background: var(--color-bg);
}
.template-modal__footer {
  display: flex;
  justify-content: center;
  padding: 16px 24px;
  background: #222;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.template-modal__footer .btn {
  min-width: 200px;
  text-align: center;
}
@media (max-width: 640px) {
  .template-modal { padding: 0; }
  .template-modal__inner { max-width: 100%; height: 100vh; border-radius: 0; }
}

/* ---- FEATURES ---- */
.features {
  padding: var(--section-pad) 24px;
  background: var(--color-bg-cream);
}
.features__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.features__header .eyebrow { margin-bottom: 16px; }
.features__header .section-heading { margin-bottom: 16px; }
.features__subtitle {
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.7;
}
.features__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius-card);
  background: var(--color-bg);
  box-shadow:
    0px 0px 0px 1px rgba(0, 0, 0, 0.06),
    0px 1px 2px -1px rgba(0, 0, 0, 0.06),
    0px 2px 4px 0px rgba(0, 0, 0, 0.04);
  border: none;
  transition-property: box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.feature-card:hover {
  box-shadow:
    0px 0px 0px 1px var(--color-primary),
    0px 2px 4px -1px rgba(45, 106, 79, 0.15),
    0px 4px 8px 0px rgba(45, 106, 79, 0.1);
}
.feature-card:hover .feature-card__icon {
  background: var(--color-primary);
  color: white;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.feature-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
  color: var(--color-text);
}
.feature-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
  text-wrap: pretty;
}

/* ---- TRADES ---- */
.trades {
  padding: var(--section-pad) 24px;
  background: var(--color-bg-dark);
}
.trades__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.trades__header .eyebrow { margin-bottom: 16px; }
.trades__header .section-heading {
  color: var(--color-text-light);
  margin-bottom: 16px;
}
.trades__header-desc {
  color: #9a9a9a;
  font-size: 17px;
  line-height: 1.7;
}
/* 3D Carousel */
@keyframes trades-spin {
  from { transform: translate(-50%, -50%) rotateY(0deg); }
  to   { transform: translate(-50%, -50%) rotateY(360deg); }
}

.trades__carousel {
  --carousel-radius: 340px;
  width: 100%;
  height: 460px;
  position: relative;
  perspective: 1200px;
  overflow: visible;
}

.trades__spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  transform-origin: center center;
  animation: trades-spin 30s infinite linear;
  will-change: transform;
}

.trades__spinner:hover {
  animation-play-state: paused;
}

.trades__card {
  position: absolute;
  width: 320px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  cursor: pointer;
  will-change: transform;
  transition: box-shadow 0.4s ease;
  text-decoration: none;
  color: inherit;
}

.trades__card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.1);
}

/* Browser chrome bar */
.trades__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 24px;
  background: rgba(30,30,30,0.92);
  z-index: 2;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trades__card::after {
  content: '\25CF  \25CF  \25CF';
  position: absolute;
  top: 6px; left: 10px;
  font-size: 6px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.25);
  z-index: 3;
}

.trades__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* White haze overlay + centered trade name */
.trades__card-overlay {
  position: absolute;
  inset: 24px 0 0 0;
  background: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.trades__card-name {
  font-family: var(--font-heading);
  font-size: 31px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
  text-shadow: 0 1px 8px rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 900px) {
  .trades__carousel { --carousel-radius: 280px; height: 380px; }
  .trades__card { width: 260px; height: 164px; }
  .trades__card-name { font-size: 26px; }
}
@media (max-width: 600px) {
  .trades__carousel { --carousel-radius: 200px; height: 320px; }
  .trades__card { width: 200px; height: 126px; }
  .trades__card-name { font-size: 21px; }
  .trades__card::before { height: 18px; }
  .trades__card::after { top: 4px; font-size: 5px; }
  .trades__card-overlay { inset: 18px 0 0 0; }
}

/* ---- PRICING (Comparison Table) ---- */
.pricing {
  padding: var(--section-pad) 24px;
  background: var(--color-bg);
}
.pricing__inner {
  max-width: 800px;
  margin: 0 auto;
}
.pricing__inner .eyebrow { margin-bottom: 16px; text-align: center; display: block; }
.pricing__inner .section-heading { margin-bottom: 16px; text-align: center; }
.pricing__tagline {
  color: var(--color-text-muted);
  font-size: 17px;
  margin-bottom: 32px;
  text-align: center;
  line-height: 1.7;
}
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  background: var(--color-bg);
}
.compare-table thead th {
  background: transparent;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  padding: 20px 28px;
  text-align: left;
  border-bottom: 2px solid var(--color-border);
}
.compare-table thead th:first-child {
  width: 35%;
}
.compare-table thead th.highlight {
  background: transparent;
  color: var(--color-primary);
}
.compare-table tbody td {
  padding: 18px 28px;
  font-size: 15px;
  border-bottom: 1px solid var(--color-border-light);
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table tbody td:nth-child(2) {
  font-weight: 600;
  color: var(--color-primary);
}
.compare-table tbody td:nth-child(3) {
  color: var(--color-text-muted);
}
.compare-table tbody td.td--success {
  color: var(--color-success);
  font-weight: 600;
}

/* ---- FAQ ---- */
.faq {
  padding: var(--section-pad) 24px;
  background: var(--color-bg-cream);
}
.faq__inner {
  max-width: 720px;
  margin: 0 auto;
}
.faq__header {
  text-align: center;
  margin-bottom: 40px;
}
.faq__header .eyebrow { margin-bottom: 16px; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item__q {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item__q:hover { color: var(--color-primary); }
.faq-item__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition-property: transform, border-color, background-color, box-shadow;
  transition-duration: 300ms;
  transition-timing-function: var(--ease);
}
.faq-item__q:hover .faq-item__icon {
  border-color: var(--color-primary);
}
.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
  border-color: var(--color-primary);
  background: var(--color-primary);
}
.faq-item.open .faq-item__icon svg { stroke: white; }
.faq-item__icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--color-text);
  stroke-width: 2;
  fill: none;
}
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-item__a {
  grid-template-rows: 1fr;
}
.faq-item__a p {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
  padding-bottom: 0;
  transition: padding-bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-item__a p {
  padding-bottom: 24px;
}

/* ---- FINAL CTA ---- */
.final-cta {
  padding: var(--section-pad) 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1B4332 100%);
}
.final-cta__inner {
  max-width: 680px;
  margin: 0 auto;
}
.final-cta .section-heading {
  color: var(--color-text-light);
  margin-bottom: 20px;
}
.final-cta__desc {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
}
.final-cta__price {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 20px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 24px 32px;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  gap: 32px;
}
.footer__brand-desc {
  font-size: 14px;
  color: #9a9a9a;
  margin-top: 12px;
  line-height: 1.7;
  max-width: 320px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__logo-icon { width: 24px; height: 24px; }
.footer__logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-light);
}
.footer__col-title {
  font-size: 13px;
  font-weight: 600;
  color: #9a9a9a;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__link {
  display: block;
  font-size: 14px;
  color: #9a9a9a;
  padding: 10px 0;
  transition: color 0.2s;
}
.footer__link:hover { color: var(--color-text-light); }
.footer__bottom {
  max-width: var(--container);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-primary);
  color: var(--color-text-light);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  z-index: 200;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 8px;
}

/* ---- SCROLL ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-stagger { transition-delay: calc(var(--i, 0) * 0.1s); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .showcase__grid,
  .showcase__grid--four { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header__nav { display: none; }
  .header__mobile-toggle { display: block; }

  .hero { padding: 120px 20px 60px; }
  .hero--compact { padding: 100px 20px 48px; }
  .hero__showcase { flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; }
  .hero__card { width: 260px; }
  .hero__card:nth-child(1),
  .hero__card:nth-child(3) { transform: none; }
  .hero__card:nth-child(2) { transform: none; }

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

  .showcase__grid,
  .showcase__grid--four { grid-template-columns: 1fr; }

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

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

  .compare-table { font-size: 13px; }
  .compare-table thead th,
  .compare-table tbody td { padding: 14px 16px; }
}

@media (max-width: 600px) {
  .how-it-works__grid { grid-template-columns: 1fr; }

  .proof-strip__inner { gap: 32px; }

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