/* ===================================================
   GOOSE - One-Page Website Styles
   =================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Dark theme (default) */
  --bg-primary: #0B0B11;
  --bg-secondary: #13131B;
  --bg-card: #1A1A25;
  --bg-card-hover: #222230;
  --bg-banner: #0F0F18;

  --text-primary: #FFFFFF;
  --text-secondary: #A1A1B5;
  --text-muted: #6B6B80;

  --accent: #7C5CFC;
  --accent-hover: #6A48E8;
  --accent-glow: rgba(124, 92, 252, 0.25);

  --gradient-brand: linear-gradient(135deg, #F97316, #EC4899, #7C5CFC);
  --gradient-accent: linear-gradient(135deg, #7C5CFC, #EC4899);

  --border: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.08);

  --header-bg: rgba(11, 11, 17, 0.85);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(124, 92, 252, 0.15);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-primary: #FAFAFA;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F5F5F8;
  --bg-banner: #F0F0F5;

  --text-primary: #1A1A2E;
  --text-secondary: #555568;
  --text-muted: #8888A0;

  --accent: #F5921B;
  --accent-hover: #E07F0E;
  --accent-glow: rgba(245, 146, 27, 0.12);

  --border: rgba(0, 0, 0, 0.06);
  --border-card: rgba(0, 0, 0, 0.08);

  --header-bg: rgba(250, 250, 250, 0.85);

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 40px rgba(245, 146, 27, 0.08);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition), color var(--transition);
  overflow-x: hidden;
}

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

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

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

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: block;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-secondary);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

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

.btn__label {
  font-weight: 600;
}

.btn__sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
}

/* ===================================================
   HEADER
   =================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--transition);
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

/* Show white logo in dark mode, grey in light */
[data-theme="dark"] .header__logo-img--dark { display: block; }
[data-theme="dark"] .header__logo-img--light { display: none; }
[data-theme="light"] .header__logo-img--dark { display: none; }
[data-theme="light"] .header__logo-img--light { display: block; }

.header__logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  transition: color var(--transition);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.theme-toggle:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

/* Show sun in dark mode, moon in light mode */
[data-theme="dark"] .theme-toggle__sun { display: block; }
[data-theme="dark"] .theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }

.header__signup {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

/* ===================================================
   HERO
   =================================================== */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  margin-bottom: 32px;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero__title-gradient {
  background: linear-gradient(135deg, #F97316, #EC4899, #7C5CFC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.btn--gradient {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 36px;
  background: linear-gradient(135deg, #F97316, #EC4899, #7C5CFC);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.05rem;
  transition: all var(--transition);
  border: none;
}

.btn--gradient:hover {
  background: linear-gradient(135deg, #F97316, #EC4899, #7C5CFC);
  transform: scale(1.03);
  box-shadow: none;
}

.btn__apple {
  flex-shrink: 0;
}

.hero__trial {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trial-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.trial-note svg {
  flex-shrink: 0;
  stroke: var(--text-muted);
}

/* ===================================================
   BANNER
   =================================================== */
.banner {
  padding: 48px 0;
  background: var(--bg-banner);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.banner__text {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* ===================================================
   FEATURES
   =================================================== */
.features {
  padding: 100px 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: all var(--transition);
  text-align: center;
}

.feature-card:hover {
  background: var(--bg-card-hover);
}

.feature-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.feature-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================================================
   PHILOSOPHY (Why Goose Exists)
   =================================================== */
.philosophy {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.philosophy__inner {
  text-align: center;
}

.philosophy-carousel {
  position: relative;
  overflow: hidden;
}

.philosophy-carousel__track {
  display: flex;
  gap: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: grab;
  user-select: none;
}

.philosophy-carousel__track:active {
  cursor: grabbing;
}

.philosophy-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
}

.philosophy-carousel__slide .feature-card {
  max-width: 520px;
  margin: 0 auto;
}

.philosophy-carousel__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}

.philosophy-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.philosophy-carousel__dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* Desktop: show all 3 side by side */
@media (min-width: 901px) {
  .philosophy-carousel {
    overflow: visible;
  }

  .philosophy-carousel__track {
    cursor: default;
    gap: 24px;
  }

  .philosophy-carousel__slide {
    flex: 1 1 0;
  }

  .philosophy-carousel__slide .feature-card {
    max-width: none;
  }

  .philosophy-carousel__dots {
    display: none;
  }
}

/* ===================================================
   ROADMAP
   =================================================== */
.roadmap {
  padding: 100px 0;
}

.roadmap__timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.roadmap__timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(124, 92, 252, 0.1));
  border-radius: 2px;
}

.roadmap__step {
  display: flex;
  gap: 32px;
  padding: 0 0 48px;
  position: relative;
}

.roadmap__step:last-child {
  padding-bottom: 0;
}

.roadmap__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.roadmap__content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  padding-top: 4px;
  letter-spacing: -0.01em;
}

.roadmap__content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================================================
   SHOWCASE / COVERFLOW CAROUSEL
   =================================================== */
.showcase {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.coverflow {
  position: relative;
  width: 100%;
  margin-top: 40px;
}

.coverflow__stage {
  position: relative;
  width: 100%;
  height: 680px;
  perspective: 1200px;
  overflow: visible;
  cursor: grab;
  user-select: none;
}

.coverflow__stage:active {
  cursor: grabbing;
}

.coverflow__card {
  position: absolute;
  top: 0;
  left: 50%;
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  will-change: transform, opacity, filter;
}

.phone-mockup {
  width: 285px;
  height: 620px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.4s ease;
}

.coverflow__card.active .phone-mockup {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

/* Placeholder when no image loaded */
.phone-mockup img[src=""],
.phone-mockup img:not([src]) {
  display: none;
}

.coverflow__caption {
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.coverflow__card.active .coverflow__caption {
  opacity: 1;
}



@media (max-width: 600px) {
  .coverflow__stage {
    height: 540px;
  }
  .phone-mockup {
    width: 220px;
    height: 480px;
    border-radius: 24px;
  }
}

/* ===================================================
   CTA FINAL
   =================================================== */
.cta-final {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}



.cta-final__inner {
  position: relative;
  z-index: 1;
}

.cta-final__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.cta-final__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__logo-img {
  height: 28px;
  width: auto;
}

[data-theme="dark"] .footer__logo-img--dark { display: block; }
[data-theme="dark"] .footer__logo-img--light { display: none; }
[data-theme="light"] .footer__logo-img--dark { display: none; }
[data-theme="light"] .footer__logo-img--light { display: block; }

.footer__logo-text {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.footer__links {
  display: flex;
  gap: 32px;
}

.footer__link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===================================================
   LEGAL PAGES
   =================================================== */
.legal-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.legal-content {
  max-width: 720px;
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  opacity: 0.8;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 48px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.legal-back:hover {
  color: var(--accent);
}

.legal-back--top {
  margin-top: 0;
  margin-bottom: 32px;
}



/* ===================================================
   SCROLL ANIMATIONS
   =================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ===================================================
   RESPONSIVE
   =================================================== */

/* Tablet */
@media (max-width: 900px) {
  .features__grid,
  .philosophy__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
    gap: 16px;
  }

  .feature-card,
  .philosophy__card {
    padding: 28px 24px;
  }

  .carousel__slide {
    flex: 0 0 220px;
  }

  .phone-mockup {
    width: 240px;
    height: 520px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .header__nav {
    height: 56px;
  }

  .header__logo-img {
    height: 25px; /* 30% smaller than 36px */
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
  }

  .theme-toggle svg {
    width: 16px;
    height: 16px;
  }

  .hero {
    padding: 120px 0 72px;
  }

  .hero__title {
    font-size: 2.4rem;
    white-space: normal;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    margin-bottom: 32px;
    max-width: 320px;
  }

  .banner {
    padding: 32px 0;
  }

  .banner__text {
    font-size: 1rem;
    letter-spacing: 0.06em;
  }

  .features,
  .philosophy,
  .roadmap,
  .showcase,
  .cta-final {
    padding: 72px 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }

  .philosophy__title {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }

  .roadmap__timeline::before {
    left: 20px;
  }

  .roadmap__number {
    width: 40px;
    height: 40px;
    font-size: 0.75rem;
  }

  .roadmap__step {
    gap: 20px;
    padding-bottom: 36px;
  }

  .roadmap__content h3 {
    font-size: 1.05rem;
    padding-top: 0;
  }

  .roadmap__content p {
    font-size: 0.9rem;
  }

  .carousel__slide {
    flex: 0 0 200px;
  }

  .phone-mockup {
    width: 220px;
    height: 480px;
    border-radius: 24px;
  }

  .cta-final {
    padding: 80px 0;
  }

  .cta-final__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .footer__links {
    gap: 20px;
  }

  .footer__link {
    font-size: 0.8rem;
  }

  .modal {
    padding: 24px;
    border-radius: var(--radius-lg);
  }
}

/* ===================================================
   HERO EXTRAS
   =================================================== */
.hero__subtitle-large {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero__body {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.hero__body--muted {
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* ===================================================
   NARRATIVE (Why This Matters)
   =================================================== */
.narrative {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.narrative__body {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}

.narrative__body p {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

.narrative__emphasis {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem) !important;
  font-weight: 600;
  color: var(--text-primary) !important;
  margin-top: 16px;
}

/* ===================================================
   DATA SIGNALS
   =================================================== */
.signals-section {
  padding: 100px 0;
  text-align: center;
}

.signals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 56px;
}

.signal-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.signal-item:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.signal-item svg {
  flex-shrink: 0;
  color: var(--accent);
}

.signals-body {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.signals-body p {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

.signals-emphasis {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem) !important;
  font-weight: 600;
  color: var(--text-primary) !important;
  margin-top: 8px;
}

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

@media (max-width: 480px) {
  .signals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ===================================================
   FEATURES GRID 4-COLUMN
   =================================================== */
.features__grid--4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Left-align cards in the 4-col grid for better readability at narrow widths */
.features__grid--4 .feature-card {
  text-align: left;
  padding: 28px 24px;
}

.features__grid--4 .feature-card__header {
  justify-content: flex-start;
}

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

@media (max-width: 600px) {
  .features__grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   OUTCOMES
   =================================================== */
.outcomes {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

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

.outcome-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: left;
  transition: all var(--transition);
}

.outcome-item:hover {
  background: var(--bg-card-hover);
}

.outcome-item__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
  color: var(--accent);
}

.outcome-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.outcome-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

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

@media (max-width: 600px) {
  .outcomes__grid {
    grid-template-columns: 1fr;
    margin: 40px 0 0;
  }

  .narrative,
  .signals-section,
  .outcomes {
    padding: 72px 0;
  }
}

/* ===================================================
   CTA FINAL PILLARS
   =================================================== */
.cta-final__pillars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 40px;
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--text-muted);
}

/* ===================================================
   DARK/LIGHT TRANSITION FOR ALL ELEMENTS
   =================================================== */
.header,
.feature-card,
.philosophy__card,
.roadmap__number,
.phone-mockup,
.carousel__btn,
.modal,
.form-group input,
.form-group textarea,
.footer,
.banner {
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
