/* ==========================================================================
   Aperture22 — Homepage Styles
   ========================================================================== */

/* ── General ──────────────────────────────────────────────────────────────── */

body {
  margin: 0;
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  line-height: 1.6;
}

/* ── Hero Section ─────────────────────────────────────────────────────────── */

.hero-section {
  min-height: 85vh;
  background: linear-gradient(135deg, #1A1A2E 0%, #2D2D44 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.hero-content {
  max-width: 900px;
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 24px 0;
  line-height: 1.1;
}

.hero-subheadline {
  font-size: 1.25rem;
  font-weight: 300;
  color: #CBD5E1;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}

/* ── How It Works Section ─────────────────────────────────────────────────── */

.how-it-works-section {
  background: var(--color-bg-secondary);
  padding: var(--spacing-section) 24px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 60px 0;
}

.cards-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-bg-surface);
  border-radius: var(--border-radius);
  padding: 32px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 12px 0;
}

.card-body {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ── Showcase Sections ────────────────────────────────────────────────────── */

.showcase-section {
  padding: var(--spacing-section) 24px;
}

.showcase-section.alt-bg {
  background: var(--color-bg-secondary);
}

.showcase-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.showcase-container.reverse {
  direction: rtl;
}

.showcase-container.reverse > * {
  direction: ltr;
}

.showcase-text h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 20px 0;
}

.showcase-text p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0 0 24px 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.showcase-cta {
  display: inline-flex;
  align-items: center;
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: gap 0.2s ease;
  gap: 8px;
}

.showcase-cta:hover {
  gap: 12px;
}

.showcase-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  border: 2px dashed var(--color-border);
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

/* ── Philosophy Section ───────────────────────────────────────────────────── */

.philosophy-section {
  padding: var(--spacing-section) 24px;
  background: var(--color-bg-primary);
}

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

.philosophy-title {
  font-size: 1.75rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-primary);
  margin: 0 0 24px 0;
  line-height: 1.4;
}

.philosophy-body {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* ── Beta CTA Section ─────────────────────────────────────────────────────── */

.beta-section {
  background: var(--color-footer-bg);
  padding: var(--spacing-section) 24px;
  text-align: center;
}

.beta-content {
  max-width: 700px;
  margin: 0 auto;
}

.beta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 20px 0;
}

.beta-body {
  font-size: 1.125rem;
  color: #CBD5E1;
  line-height: 1.7;
  margin: 0 0 32px 0;
}

.beta-cta {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.beta-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}

.beta-subtext {
  margin-top: 16px;
  font-size: 0.875rem;
  color: #9CA3AF;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

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

  .showcase-container {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.5rem;
  }

  .hero-subheadline {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .showcase-container.reverse {
    direction: ltr;
  }

  .showcase-text h2 {
    font-size: 1.75rem;
  }

  .philosophy-title {
    font-size: 1.5rem;
  }

  .beta-title {
    font-size: 2rem;
  }

  :root {
    --spacing-section: 60px;
  }
}

/* ── Scroll Animations (Optional) ─────────────────────────────────────────── */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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