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

:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: rgba(17, 17, 24, 0.6);
  --bg-card-hover: rgba(25, 25, 38, 0.8);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  --text-primary: #f0f0f5;
  --text-secondary: #9494a8;
  --text-tertiary: #6b6b80;

  --indigo: #4F46E5;
  --violet: #7C3AED;
  --cyan: #06B6D4;
  --emerald: #10B981;
  --amber: #F59E0B;
  --rose: #F43F5E;

  --gradient-primary: linear-gradient(135deg, #4F46E5, #7C3AED, #06B6D4);
  --gradient-glow: radial-gradient(circle, rgba(79, 70, 229, 0.15), transparent 70%);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-padding: 120px 0;
  --container-max: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.4s;
}

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

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

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

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

/* Honeypot spam trap — hidden from users */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

.bg-gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

.bg-gradient-orb--1 {
  width: 600px;
  height: 600px;
  background: var(--indigo);
  top: -200px;
  left: -100px;
  animation: orbFloat1 20s ease-in-out infinite;
}

.bg-gradient-orb--2 {
  width: 500px;
  height: 500px;
  background: var(--violet);
  top: 40%;
  right: -150px;
  animation: orbFloat2 25s ease-in-out infinite;
}

.bg-gradient-orb--3 {
  width: 400px;
  height: 400px;
  background: var(--cyan);
  bottom: -100px;
  left: 30%;
  animation: orbFloat3 22s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 50px) scale(1.1); }
  66% { transform: translate(-40px, 80px) scale(0.9); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, -40px) scale(0.95); }
  66% { transform: translate(50px, 60px) scale(1.05); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(70px, -50px) scale(1.1); }
  66% { transform: translate(-50px, -30px) scale(0.9); }
}

/* ===== CONTAINER ===== */
.section__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
  position: relative;
  z-index: 1;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all var(--duration) var(--ease-out);
}

.nav--scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 101;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 40px;
  max-height: 40px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer__brand .nav__logo-img {
  height: 36px;
  max-height: 36px;
  max-width: 150px;
}

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

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease-out);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transition: width var(--duration) var(--ease-out);
}

.nav__link:hover {
  color: var(--text-primary);
}

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

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.nav__hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.mobile-menu__link:hover {
  color: var(--text-primary);
}

.mobile-menu__cta {
  margin-top: 16px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 0 40px rgba(79, 70, 229, 0.5);
  transform: translateY(-2px);
}

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

.btn--ghost:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
}

.btn--nav {
  background: rgba(79, 70, 229, 0.12);
  color: #818cf8;
  border: 1px solid rgba(79, 70, 229, 0.2);
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 10px;
}

.btn--nav:hover {
  background: rgba(79, 70, 229, 0.2);
  border-color: rgba(79, 70, 229, 0.4);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 14px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  z-index: 1;
}

.hero__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.2);
  color: #818cf8;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #818cf8;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero__title-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  min-height: 1.15em;
  min-width: 1ch;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

/* ===== HERO VISUAL ===== */
.hero__visual {
  margin-top: 72px;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.stack-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
}

.stack-visual__layer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  width: 100%;
  transition: all 0.5s var(--ease-out);
  cursor: default;
  font-weight: 600;
  font-size: 0.95rem;
}

.stack-visual__layer:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}

.stack-visual__tag {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.stack-visual__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stack-visual__layer--1 .stack-visual__icon {
  background: rgba(79, 70, 229, 0.15);
  color: #818cf8;
}

.stack-visual__layer--2 .stack-visual__icon {
  background: rgba(124, 58, 237, 0.15);
  color: #a78bfa;
}

.stack-visual__layer--3 .stack-visual__icon {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
}

.stack-visual__connector {
  width: 2px;
  height: 24px;
  background: var(--border-color);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-visual__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  animation: connectorPulse 2.5s ease-in-out infinite;
  position: absolute;
}

@keyframes connectorPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ===== SECTION COMMON ===== */
.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #818cf8;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section__subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== FEATURES ===== */
.features {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

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

.feature-card {
  padding: 32px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  transition: all var(--duration) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at top left, rgba(79,70,229,0.08), transparent 60%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card__icon--indigo { background: rgba(79,70,229,0.12); color: #818cf8; }
.feature-card__icon--violet { background: rgba(124,58,237,0.12); color: #a78bfa; }
.feature-card__icon--cyan { background: rgba(6,182,212,0.12); color: #22d3ee; }
.feature-card__icon--emerald { background: rgba(16,185,129,0.12); color: #34d399; }
.feature-card__icon--amber { background: rgba(245,158,11,0.12); color: #fbbf24; }
.feature-card__icon--rose { background: rgba(244,63,94,0.12); color: #fb7185; }

.feature-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease-out);
}

.step.visible {
  opacity: 1;
  transform: none;
}

.step__number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
  min-width: 72px;
}

.step__content {
  flex: 1;
}

.step__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.step__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.step__code {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: rgba(10, 10, 15, 0.8);
}

.step__code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-color);
}

.step__code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.step__code-dot--red { background: #ff5f57; }
.step__code-dot--yellow { background: #febc2e; }
.step__code-dot--green { background: #28c840; }

.step__code-file {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.step__code-body {
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  overflow-x: auto;
  color: var(--text-secondary);
}

.step__code-body code {
  font-family: inherit;
}

.code-key { color: #c792ea; }
.code-str { color: #c3e88d; }
.code-fn { color: #82aaff; }

/* ===== USE CASES ===== */
.use-cases {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

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

.use-case-card {
  padding: 36px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  transition: all var(--duration) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.use-case-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.use-case-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.use-case-card__icon--indigo { background: rgba(79,70,229,0.12); color: #818cf8; }
.use-case-card__icon--violet { background: rgba(124,58,237,0.12); color: #a78bfa; }
.use-case-card__icon--cyan { background: rgba(6,182,212,0.12); color: #22d3ee; }
.use-case-card__icon--emerald { background: rgba(16,185,129,0.12); color: #34d399; }

.use-case-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.use-case-card__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== STATS ===== */
.stats {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

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

.stat {
  text-align: center;
  padding: 40px 24px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  transition: all var(--duration) var(--ease-out);
}

.stat:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.stat__value {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}

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

/* ===== WAITLIST ===== */
.waitlist {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.waitlist__card {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 48px;
  border-radius: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.waitlist__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79,70,229,0.12), transparent 60%);
  pointer-events: none;
}

.waitlist__badge {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #818cf8;
  margin-bottom: 20px;
}

.waitlist__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.waitlist__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.65;
}

.waitlist__form {
  position: relative;
  z-index: 2;
}

.waitlist__input-group {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.waitlist__input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--duration) var(--ease-out);
}

.waitlist__input::placeholder {
  color: var(--text-tertiary);
}

.waitlist__input:focus {
  border-color: rgba(79, 70, 229, 0.5);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background: rgba(255,255,255,0.06);
}

.waitlist__btn {
  flex-shrink: 0;
}

.waitlist__note {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 14px;
}

.waitlist__success {
  animation: fadeInUp 0.5s var(--ease-out);
}

.waitlist__success-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.waitlist__success h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.waitlist__success p {
  color: var(--text-secondary);
}

.waitlist__recaptcha-notice,
.newsletter__recaptcha-notice {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  margin-top: 10px;
}

.waitlist__recaptcha-notice a,
.newsletter__recaptcha-notice a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn--loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ===== NEWSLETTER ===== */
.newsletter {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 48px;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
}

.newsletter__text {
  flex: 1;
  min-width: 0;
}

.newsletter__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.newsletter__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.newsletter__form {
  flex-shrink: 0;
  width: 400px;
}

.newsletter__input-group {
  display: flex;
  gap: 10px;
}

.newsletter__input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: all var(--duration) var(--ease-out);
}

.newsletter__input::placeholder {
  color: var(--text-tertiary);
}

.newsletter__input:focus {
  border-color: rgba(79, 70, 229, 0.5);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background: rgba(255,255,255,0.06);
}

.newsletter__btn {
  flex-shrink: 0;
}

.newsletter__success {
  font-size: 0.95rem;
  color: var(--text-primary);
  animation: fadeInUp 0.5s var(--ease-out);
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.footer__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

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

.footer__link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

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

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav__links {
    display: none;
  }

  .btn--nav {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero__title {
    font-size: 2.2rem;
  }

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

  .use-cases__grid {
    grid-template-columns: 1fr;
  }

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

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

  .step__number {
    font-size: 2rem;
  }

  .stack-visual__tag {
    display: none;
  }

  .waitlist__card {
    padding: 40px 24px;
  }

  .waitlist__input-group {
    flex-direction: column;
  }

  .newsletter__inner {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
  }

  .newsletter__form {
    width: 100%;
  }

  .newsletter__input-group {
    flex-direction: column;
  }

  .footer__content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.8rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .stat__value {
    font-size: 2.2rem;
  }
}
