/* ===== DESIGN SYSTEM ===== */
:root {
  /* Colors - Pleasant teal/emerald theme */
  --bg-primary: #0f1419;
  --bg-secondary: #151c24;
  --bg-tertiary: #1c2631;
  --bg-card: rgba(28, 38, 49, 0.6);
  --bg-glass: rgba(255, 255, 255, 0.04);

  --accent-primary: #14b8a6;
  --accent-primary-dim: rgba(20, 184, 166, 0.15);
  --accent-secondary: #5eead4;
  --accent-secondary-dim: rgba(94, 234, 212, 0.15);
  --accent-green: #34d399;

  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);

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

  /* Spacing */
  --section-padding: clamp(4rem, 10vw, 8rem);
  --container-max: 1200px;
  --container-padding: 1.5rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Shadows */
  --glow-primary: 0 0 60px rgba(20, 184, 166, 0.25);
  --glow-secondary: 0 0 60px rgba(94, 234, 212, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

ul,
ol {
  list-style: none;
}

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

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

/* ===== UTILITIES ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

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

.lead {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 0.625rem;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #2dd4bf 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(20, 184, 166, 0.45);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.nav-logo span {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.nav-cta {
  display: flex;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-cta .btn-secondary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
  }
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-primary-dim) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, var(--accent-secondary-dim) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  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;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero .lead {
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-code {
  position: relative;
}

.code-window {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--glow-primary);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-color);
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-dot.red {
  background: #ff5f57;
}

.code-dot.yellow {
  background: #febc2e;
}

.code-dot.green {
  background: #28c840;
}

.code-title {
  margin-left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.code-content {
  padding: 1.5rem;
  overflow-x: auto;
}

.code-content pre {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
}

.code-content code {
  display: block;
}

/* Syntax highlighting */
.token-keyword {
  color: #c678dd;
}

.token-string {
  color: #98c379;
}

.token-function {
  color: #61afef;
}

.token-comment {
  color: #5c6370;
  font-style: italic;
}

.token-variable {
  color: #e5c07b;
}

.token-property {
  color: #e06c75;
}

.token-number {
  color: #d19a66;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero .lead {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-code {
    max-width: 600px;
    margin: 0 auto;
  }
}

/* ===== PROBLEM SECTION ===== */
.problem {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.problem h2 {
  margin-bottom: 1.5rem;
}

.problem .lead {
  font-size: 1.25rem;
  line-height: 1.8;
}

.problem-highlight {
  color: var(--accent-purple);
  font-weight: 500;
}

/* ===== SOLUTION SECTION ===== */
.solution-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.solution h2 {
  margin-bottom: 1rem;
}

.solution .lead {
  margin-bottom: 3rem;
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.solution-card {
  padding: 2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  text-align: left;
  transition: all var(--transition-base);
}

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

.solution-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-primary-dim);
  border-radius: 0.75rem;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.solution-card h3 {
  margin-bottom: 0.5rem;
}

.solution-card p {
  font-size: 0.9375rem;
}

@media (max-width: 768px) {
  .solution-cards {
    grid-template-columns: 1fr;
  }
}

/* ===== FEATURES SECTION ===== */
.features {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.features-header h2 {
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-primary-dim) 0%, var(--accent-secondary-dim) 100%);
  border-radius: 0.875rem;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

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

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.how-it-works-header h2 {
  margin-bottom: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0.3;
}

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

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.step h3 {
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.9375rem;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .steps::before {
    display: none;
  }
}

/* ===== CODE EXAMPLE SECTION ===== */
.code-example {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.code-example-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.code-example-text h2 {
  margin-bottom: 1rem;
}

.code-example-text .lead {
  margin-bottom: 2rem;
}

.code-example-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.code-example-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
}

.code-example-feature svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.code-example .code-window {
  box-shadow: var(--glow-secondary);
}

/* ===== DASHBOARD PREVIEW ===== */
.dashboard-preview {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--glow-primary);
}

.dashboard-preview.large {
  box-shadow: var(--glow-secondary);
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-color);
}

.dashboard-dots {
  display: flex;
  gap: 0.5rem;
}

.dashboard-title {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.dashboard-content {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dashboard-stat {
  text-align: center;
  padding: 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-action {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--accent-primary-dim);
  border: 1px solid var(--accent-primary);
  border-radius: 0.75rem;
  margin-top: 0.5rem;
}

.action-icon {
  font-size: 1.25rem;
}

.action-text {
  color: var(--accent-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
}

/* Dashboard UI Mockup */
.dashboard-ui {
  padding: 1.5rem;
}

.ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.ui-row:last-child {
  border-bottom: none;
}

.ui-label {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.ui-select {
  padding: 0.5rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.ui-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ui-tag {
  padding: 0.375rem 0.75rem;
  background: var(--accent-primary-dim);
  border: 1px solid var(--accent-primary);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--accent-secondary);
}

.ui-tag-add {
  padding: 0.375rem 0.75rem;
  background: transparent;
  border: 1px dashed var(--border-color);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: pointer;
}

.ui-slider {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slider-track {
  width: 120px;
  height: 6px;
  background: var(--bg-glass);
  border-radius: 3px;
  overflow: hidden;
}

.slider-fill {
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 3px;
}

.slider-value {
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 500;
}

.ui-toggle-group {
  display: flex;
  gap: 0.25rem;
  background: var(--bg-glass);
  border-radius: 0.5rem;
  padding: 0.25rem;
}

.ui-toggle {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ui-toggle.active {
  background: var(--accent-primary);
  color: white;
}

.ui-button {
  margin-top: 1rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #2dd4bf 100%);
  border-radius: 0.625rem;
  color: white;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.ui-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(20, 184, 166, 0.4);
}

@media (max-width: 640px) {
  .dashboard-content {
    grid-template-columns: 1fr;
  }

  .ui-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 1024px) {
  .code-example-content {
    grid-template-columns: 1fr;
  }
}

/* ===== COMPARISON TABLE SECTION ===== */
.comparison-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.comparison-header h2 {
  margin-bottom: 1rem;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  background: var(--bg-tertiary);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: rgba(0, 0, 0, 0.3);
  font-weight: 600;
  font-size: 0.9375rem;
}

.comparison-table th:last-child {
  background: linear-gradient(135deg, var(--accent-primary-dim) 0%, var(--accent-secondary-dim) 100%);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.comparison-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.check {
  color: var(--accent-green);
  font-size: 1.25rem;
}

.cross {
  color: #ef4444;
  font-size: 1.25rem;
}

/* ===== PRICING SECTION ===== */
.pricing {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.pricing h2 {
  margin-bottom: 1rem;
}

.pricing .lead {
  margin-bottom: 2rem;
}

.pricing-card {
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  backdrop-filter: blur(10px);
}

.pricing-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--accent-primary-dim) 0%, var(--accent-secondary-dim) 100%);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.pricing-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.pricing-card>p {
  margin-bottom: 2rem;
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto 1rem;
}

.waitlist-form input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 0.625rem;
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast);
}

.waitlist-form input::placeholder {
  color: var(--text-muted);
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.waitlist-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .waitlist-form {
    flex-direction: column;
  }
}

/* ===== FAQ SECTION ===== */
.faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.faq-header h2 {
  margin-bottom: 1rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--bg-glass);
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 0 2rem;
  background: var(--bg-primary);
}

.footer-cta {
  text-align: center;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 3rem;
}

.footer-cta h2 {
  margin-bottom: 1rem;
}

.footer-cta .lead {
  margin-bottom: 2rem;
}

.footer-cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 450px;
  margin: 0 auto;
}

.footer-cta-form input {
  flex: 1;
  padding: 1rem 1.25rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 0.625rem;
  color: var(--text-primary);
  font-size: 1rem;
}

.footer-cta-form input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.footer-logo span {
  color: var(--accent-primary);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .footer-cta-form {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

/* Scroll animation base state */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}