/* ===================================================
   AUTONOMOUS GROWTH — v0 Site Styles
   Premium, restrained, software-adjacent, near-monochrome
   =================================================== */

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

:root {
  --ink: #0a0a14;
  --ink-soft: #1a1a2e;
  --mid: #5c5c6c;
  --muted: #9c9ca8;
  --border: #e4e4e8;
  --surface: #f5f5f7;
  --white: #fafafa;
  --pure-white: #ffffff;

  --font-display: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --container: 1200px;
  --section-pad: 120px;
  --section-pad-mobile: 64px;
}

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

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

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

ul {
  list-style: none;
}

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


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


/* --- TYPOGRAPHY --- */
.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 800px;
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--mid);
  max-width: 580px;
  margin-top: 24px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.body-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--mid);
}

.body-text + .body-text {
  margin-top: 16px;
}


/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--pure-white);
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.btn:hover {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
}

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

.btn-outline:hover {
  background: var(--surface);
  border-color: var(--muted);
}

.btn-light {
  background: var(--pure-white);
  color: var(--ink);
  border-color: var(--pure-white);
}

.btn-light:hover {
  background: var(--surface);
  border-color: var(--surface);
}


/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--border);
}

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

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

.nav-logo-mark {
  height: 44px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}


/* --- HERO --- */
.hero {
  padding-top: calc(72px + var(--section-pad));
  padding-bottom: var(--section-pad);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero .btn {
  margin-top: 40px;
  align-self: flex-start;
}


/* --- TRUST STRIP --- */
.trust-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.trust-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 24px;
}

.logo-scroll-wrapper {
  overflow: hidden;
  position: relative;
}

.logo-scroll-wrapper::before,
.logo-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.logo-scroll-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.logo-scroll-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.logo-scroll {
  overflow: hidden;
}

.logo-scroll-inner {
  display: flex;
  gap: 64px;
  animation: scroll-logos 20s linear infinite;
  width: max-content;
}

.trust-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--muted);
  white-space: nowrap;
  opacity: 0.6;
  letter-spacing: -0.01em;
}

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


/* --- SECTION LAYOUT --- */
.section {
  padding: var(--section-pad) 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.section-intro {
  margin-bottom: 64px;
}

.section-intro .section-label {
  display: block;
  margin-bottom: 16px;
}

.section-content-col .section-headline {
  margin-bottom: 24px;
}


/* --- SHIFT SECTION --- */
.shift {
  background: var(--white);
}


/* --- FOUNDATIONS SECTION --- */
.foundations {
  background: var(--surface);
}


/* --- WHAT WE BUILD --- */
.what-we-build {
  background: var(--white);
}

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

.card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: var(--muted);
}

.card-icon {
  color: var(--ink);
  margin-bottom: 20px;
  opacity: 0.7;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mid);
}


/* --- HOW IT WORKS --- */
.how-it-works {
  background: var(--ink);
  color: var(--pure-white);
}

.how-it-works .section-label {
  color: var(--muted);
}

.how-it-works .section-headline {
  color: var(--pure-white);
}

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

.step {
  padding: 32px 0;
}

.step-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.step-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}


/* --- TESTIMONIALS --- */
.testimonials {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.testimonial {
  padding: 40px;
  background: var(--surface);
  border-radius: 12px;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 24px;
}

.testimonial-attr {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-role {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.testimonial-co {
  font-size: 14px;
  color: var(--muted);
}


/* --- PRICING --- */
.pricing {
  background: var(--surface);
}

.pricing-terms {
  font-size: 15px;
  color: var(--mid);
  margin-top: 12px;
}

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

.pricing-card {
  background: var(--pure-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.pricing-card-featured {
  border-color: var(--ink);
  border-width: 2px;
  position: relative;
}

.pricing-card-header {
  margin-bottom: 32px;
}

.pricing-tier-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.pricing-card-featured .pricing-tier-label {
  color: var(--ink);
}

.pricing-tier-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -0.02em;
}

.pricing-term {
  font-size: 14px;
  color: var(--muted);
}

.pricing-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--mid);
}

.pricing-feature-group {
  margin-bottom: 20px;
}

.pricing-feature-group-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.pricing-features {
  margin-bottom: 24px;
}

.pricing-features li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--mid);
  padding: 6px 0 6px 24px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c9ca8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
}


/* --- FINAL CTA --- */
.final-cta {
  background: var(--ink);
  padding: var(--section-pad) 0;
}

.cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--pure-white);
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 40px;
}

.cta-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}

.cta-note a {
  color: var(--pure-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-note a:hover {
  opacity: 0.8;
}


/* --- FOOTER --- */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 64px 0 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo-mark {
  height: 32px;
  width: auto;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--pure-white);
}

.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
}


/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

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

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

  .container {
    padding: 0 20px;
  }

  .nav-inner {
    padding: 0 20px;
  }

  .nav-logo-text {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(72px + 48px);
  }

  .hero-headline {
    font-size: 36px;
  }

  .cards-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 48px;
  }

  .logo-scroll-inner {
    gap: 40px;
  }

  .trust-logo {
    font-size: 14px;
  }
}


/* AI Platforms Section */
.ai-platforms {
  padding: 3rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ai-platforms-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  text-align: center;
  margin-bottom: 2rem;
}

.ai-platforms-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.ai-platform-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-platform-icon {
  width: 28px;
  height: 28px;
  opacity: 0.5;
}

.ai-platform-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.5;
}

@media (max-width: 768px) {
  .ai-platforms-grid {
    gap: 1.5rem;
  }
}
