/* ============================================================
   SECTIONS.CSS — Page Section Layouts
   Hero, Vision, Problems, Products, AI Core, Roadmap, Pricing, CTA
   Paradosso Production Website
   ============================================================ */

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85%  60%, rgba(6, 182, 212, 0.10) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--space-md);
}

.hero-content h1 {
  margin-bottom: 1.4rem;
}

.hero-content > p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- VISION ---------- */
#vision {
  background: var(--surface);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.vision-text p {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ---------- PROBLEMS ---------- */
#problems {
  /* inherits section padding from layout.css */
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* ---------- PRODUCTS ---------- */
#products {
  background: var(--surface);
}

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

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

/* ---------- AI CORE ---------- */
#core {
  /* inherits section padding from layout.css */
}

.core-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.core-diagram {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.core-diagram-title {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

.core-layers {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.core-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ---------- ROADMAP ---------- */
#roadmap {
  background: var(--surface);
}

.roadmap-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

/* ---------- PRICING ---------- */
#pricing {
  /* inherits section padding */
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

/* ---------- CTA ---------- */
#cta {
  background: var(--surface);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

#cta .container {
  position: relative;
  z-index: 1;
}

#cta h2 {
  margin-bottom: 1rem;
}

#cta > .container > p {
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ---------- RESPONSIVE: SECTIONS ---------- */
@media (max-width: 900px) {
  .vision-grid,
  .core-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 700px) {
  .roadmap-track {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hero-stats {
    gap: 1.8rem;
  }

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