/* ==============================
   SaaStrategy Design System
   ============================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --navy-950: #050a18;
  --navy-900: #0a0f1e;
  --navy-800: #0d1529;
  --navy-700: #111d38;
  --navy-600: #162344;
  --navy-500: #1e3058;
  --navy-400: #2a4070;

  --aqua-500: #00e5a0;
  --aqua-400: #00ffb4;
  --aqua-300: #33ffc6;
  --aqua-200: #80ffd9;
  --aqua-glow: rgba(0, 229, 160, 0.15);
  --aqua-glow-strong: rgba(0, 229, 160, 0.3);

  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-30: rgba(255, 255, 255, 0.3);
  --white-15: rgba(255, 255, 255, 0.15);
  --white-08: rgba(255, 255, 255, 0.08);
  --white-05: rgba(255, 255, 255, 0.05);
  --white-03: rgba(255, 255, 255, 0.03);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-display: clamp(2.5rem, 5vw, 4.5rem);
  --fs-h1: clamp(2rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-body-lg: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.6;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --space-6xl: 10rem;

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --border-subtle: 1px solid var(--white-08);
  --border-light: 1px solid var(--white-15);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px rgba(0, 229, 160, 0.1);
  --shadow-glow-strong: 0 0 60px rgba(0, 229, 160, 0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
}

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

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

body {
  font-family: var(--font-family);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--white-90);
  background-color: var(--navy-900);
  overflow-x: hidden;
}

a {
  color: var(--aqua-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--aqua-400);
}

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

button {
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--aqua-500);
  margin-bottom: var(--space-lg);
  padding: var(--space-xs) var(--space-md);
  background: var(--aqua-glow);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--white);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--fs-body-lg);
  color: var(--white-50);
  line-height: var(--lh-normal);
  max-width: 600px;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.text-gradient {
  background: linear-gradient(135deg, var(--aqua-400), var(--aqua-500), #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--aqua-500), #00c98d);
  color: var(--navy-900);
  box-shadow: 0 0 20px rgba(0, 229, 160, 0.3), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 229, 160, 0.4), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: var(--white-05);
  color: var(--white-90);
  border: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: var(--white-08);
  border-color: var(--white-30);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--aqua-500);
  padding: 0.5rem 1rem;
}

.btn--ghost:hover {
  background: var(--aqua-glow);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--fs-body);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: var(--border-subtle);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--white);
}

.navbar__logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--aqua-500), var(--aqua-400));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__logo-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--navy-900);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.navbar__link {
  font-size: var(--fs-small);
  color: var(--white-50);
  font-weight: var(--fw-medium);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar__link:hover {
  color: var(--white);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--aqua-500);
  transition: width var(--transition-base);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: var(--space-sm);
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white-70);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__gradient-1 {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.08) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

.hero__gradient-2 {
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
  animation: pulse 10s ease-in-out infinite reverse;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--white-03) 1px, transparent 1px),
    linear-gradient(to bottom, var(--white-03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero__text {
  max-width: 580px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md) var(--space-xs) var(--space-xs);
  background: var(--white-05);
  border: var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  color: var(--white-70);
  margin-bottom: var(--space-xl);
  animation: fadeUp 0.6s ease both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--aqua-500);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
  margin-left: var(--space-sm);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  color: var(--white);
  margin-bottom: var(--space-xl);
  animation: fadeUp 0.6s ease 0.1s both;
}

.hero__subtitle {
  font-size: var(--fs-body-lg);
  color: var(--white-50);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-2xl);
  max-width: 480px;
  animation: fadeUp 0.6s ease 0.2s both;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  animation: fadeUp 0.6s ease 0.3s both;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: fadeUp 0.8s ease 0.4s both;
}

.hero__visual img {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 0 60px rgba(0, 229, 160, 0.15));
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Agent System Section --- */
.agent-system {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  overflow: hidden;
}

.agent-system__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.agent-system__visual {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-3xl);
}

.agent-system__hub {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--aqua-500), #00c98d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 60px rgba(0, 229, 160, 0.3), 0 0 120px rgba(0, 229, 160, 0.1);
  animation: hubPulse 3s ease-in-out infinite;
}

@keyframes hubPulse {
  0%, 100% { box-shadow: 0 0 60px rgba(0, 229, 160, 0.3), 0 0 120px rgba(0, 229, 160, 0.1); }
  50% { box-shadow: 0 0 80px rgba(0, 229, 160, 0.4), 0 0 160px rgba(0, 229, 160, 0.15); }
}

.agent-system__hub-text {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--navy-900);
  text-align: center;
  line-height: 1.2;
}

.agent-system__nodes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.agent-node {
  background: var(--white-05);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  position: relative;
  transition: all var(--transition-base);
  overflow: hidden;
}

.agent-node::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--aqua-500), transparent);
}

.agent-node:hover {
  background: var(--white-08);
  border-color: rgba(0, 229, 160, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.agent-node__icon {
  width: 48px;
  height: 48px;
  background: var(--aqua-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 1.25rem;
}

.agent-node__name {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.agent-node__status {
  font-size: var(--fs-xs);
  color: var(--aqua-500);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.agent-node__status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--aqua-500);
  border-radius: 50%;
}

/* Connection lines */
.agent-system__connections {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.connection-line {
  stroke: url(#lineGradient);
  stroke-width: 1;
  fill: none;
  opacity: 0.4;
  stroke-dasharray: 8 4;
  animation: dashFlow 2s linear infinite;
}

@keyframes dashFlow {
  to { stroke-dashoffset: -24; }
}

/* --- Agent Marketplace --- */
.marketplace {
  background: var(--navy-900);
}

.marketplace__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.marketplace__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.agent-card {
  background: linear-gradient(145deg, var(--white-05), var(--white-03));
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.agent-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aqua-glow-strong), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.agent-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 160, 0.2);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.agent-card:hover::after {
  opacity: 1;
}

.agent-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.agent-card__icon {
  width: 44px;
  height: 44px;
  background: var(--aqua-glow);
  border: 1px solid rgba(0, 229, 160, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.agent-card__name {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--white);
}

.agent-card__tag {
  font-size: var(--fs-xs);
  color: var(--aqua-500);
  margin-top: 2px;
}

.agent-card__desc {
  font-size: var(--fs-small);
  color: var(--white-50);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-lg);
}

.agent-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.agent-card__runs {
  font-size: var(--fs-xs);
  color: var(--white-30);
}

/* --- How It Works --- */
.how-it-works {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-900) 100%);
}

.how-it-works__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.how-it-works__steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aqua-500), var(--aqua-500), transparent);
  opacity: 0.2;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-card__number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white-05);
  border: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.step-card:hover .step-card__number {
  border-color: rgba(0, 229, 160, 0.3);
  box-shadow: var(--shadow-glow);
}

.step-card__number span {
  font-size: 1.75rem;
  font-weight: var(--fw-bold);
  background: linear-gradient(135deg, var(--aqua-500), var(--aqua-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.step-card__title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.step-card__desc {
  font-size: var(--fs-small);
  color: var(--white-50);
  line-height: var(--lh-normal);
  max-width: 280px;
  margin: 0 auto;
}

/* --- Benefits --- */
.benefits {
  background: var(--navy-900);
}

.benefits__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.benefit-card {
  background: var(--white-03);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: flex;
  gap: var(--space-xl);
  transition: all var(--transition-base);
}

.benefit-card:hover {
  background: var(--white-05);
  border-color: var(--white-15);
  transform: translateY(-2px);
}

.benefit-card__icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--aqua-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.benefit-card__title {
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-semibold);
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.benefit-card__desc {
  font-size: var(--fs-small);
  color: var(--white-50);
  line-height: var(--lh-normal);
}

.benefit-card__stat {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--aqua-500);
  margin-top: var(--space-md);
}

/* --- Founder Section --- */
.founder {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.founder__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4xl);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.founder__image-wrapper {
  position: relative;
}

.founder__image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white-08);
  box-shadow: 0 0 40px rgba(0, 229, 160, 0.1);
}

.founder__image-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, var(--aqua-glow), transparent, var(--aqua-glow), transparent);
  animation: spin 8s linear infinite;
  z-index: -1;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.founder__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--aqua-500);
  margin-bottom: var(--space-md);
}

.founder__name {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.founder__role {
  font-size: var(--fs-body);
  color: var(--aqua-500);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-lg);
}

.founder__bio {
  font-size: var(--fs-body);
  color: var(--white-50);
  line-height: var(--lh-normal);
  max-width: 500px;
}

.founder__socials {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.founder__social-link {
  width: 40px;
  height: 40px;
  background: var(--white-05);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-50);
  transition: all var(--transition-base);
}

.founder__social-link:hover {
  background: var(--aqua-glow);
  border-color: rgba(0, 229, 160, 0.2);
  color: var(--aqua-500);
}

/* --- Final CTA --- */
.final-cta {
  background: var(--navy-900);
  padding: var(--space-6xl) 0;
  position: relative;
  overflow: hidden;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 229, 160, 0.06) 0%, transparent 60%);
}

.final-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.final-cta__title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-extrabold);
  color: var(--white);
  margin-bottom: var(--space-md);
}

.final-cta__subtitle {
  font-size: var(--fs-body-lg);
  color: var(--white-50);
  margin-bottom: var(--space-2xl);
}

.final-cta__btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

/* --- Footer --- */
.footer {
  background: var(--navy-950);
  border-top: var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand-desc {
  font-size: var(--fs-small);
  color: var(--white-30);
  line-height: var(--lh-normal);
  margin-top: var(--space-md);
  max-width: 300px;
}

.footer__col-title {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--white-70);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--fs-small);
  color: var(--white-30);
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: var(--border-subtle);
  font-size: var(--fs-xs);
  color: var(--white-30);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__visual img {
    max-width: 400px;
  }

  .agent-system__nodes {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .founder__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder__image {
    margin: 0 auto;
  }

  .founder__bio {
    margin: 0 auto;
  }

  .founder__socials {
    justify-content: center;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-4xl) 0;
  }

  .navbar__links {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

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

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

  .how-it-works__steps {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .how-it-works__steps::before {
    display: none;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .agent-system__nodes {
    grid-template-columns: 1fr;
  }

  .final-cta__btn-group {
    flex-direction: column;
  }
}
