/* ============================================================
   GigDost — Alegria redesign
   Zero-build static stylesheet
   ============================================================ */

:root {
  --primary: #F74244;
  --primary-dark: #D9383A;
  --primary-light: #FC9A9C;
  --primary-tint: #FFF1EE;
  --hero-tint: #FFF6F3;
  --navy: #1F1B3A;
  --navy-soft: #2B2D42;
  --teal: #20B8B0;
  --teal-tint: #E6F7F6;
  --mustard: #FFC53D;
  --mustard-dark: #E8A91D;
  --mustard-tint: #FFF3D9;
  --blue: #4D7CFE;
  --blue-tint: #E9F1FB;
  --lavender: #C9B8E3;
  --lavender-tint: #F2EEFA;
  --sky: #A8D4E0;
  --skin-a: #E8B894;
  --skin-a-deep: #D49A6A;
  --skin-b: #F0C49E;
  --skin-c: #B98A65;
  --skin-d: #8C5F3F;
  --on-surface: #1F1B3A;
  --muted: #5C5962;
  --surface: #FFFFFF;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 18px 50px -18px rgba(31, 27, 58, 0.22);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--on-surface);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; }

.display-xl {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 800;
}

.display-lg {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 38rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(247, 66, 68, 0.55);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 44px -12px rgba(247, 66, 68, 0.6);
}

.btn-ghost {
  color: var(--on-surface);
  padding: 1rem 1.2rem;
}

.btn-ghost:hover { transform: translateY(-2px); color: var(--primary); }

.btn-inverse {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 14px 34px -12px rgba(31, 27, 58, 0.4);
}

.btn-inverse:hover { transform: translateY(-3px) scale(1.02); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 27, 58, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.header .logo { height: 38px; width: auto; }

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

.nav a {
  text-decoration: none;
  color: var(--on-surface);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.nav .btn { padding: 0.65rem 1.4rem; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--hero-tint);
  overflow: hidden;
  padding: clamp(3rem, 7vh, 6rem) 0 0;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  z-index: 0;
}

.hero::before {
  width: 46vw;
  height: 46vw;
  max-width: 640px;
  max-height: 640px;
  background: #FFE3DB;
  top: -18%;
  right: -12%;
}

.hero::after {
  width: 30vw;
  height: 30vw;
  max-width: 420px;
  max-height: 420px;
  background: var(--teal-tint);
  bottom: -14%;
  left: -10%;
  border-radius: 60% 40% 50% 50% / 45% 55% 50% 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: end;
}

.hero-content { padding-bottom: clamp(3rem, 8vh, 6rem); }

.hero-content .eyebrow { color: var(--primary-dark); }

.hero-content h1 { color: var(--navy); }

.hero-content h1 .accent { color: var(--primary); }

.hero-content .lede { margin: 1.5rem 0 2.2rem; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-art { align-self: end; }

.hero-art svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Manifesto ---------- */
.manifesto {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: clamp(4rem, 9vh, 7rem) 0;
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: rgba(247, 66, 68, 0.16);
  border-radius: 55% 45% 60% 40% / 50% 55% 45% 50%;
  top: -120px;
  left: -100px;
}

.manifesto::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  background: rgba(32, 184, 176, 0.14);
  border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%;
  bottom: -100px;
  right: -80px;
}

.manifesto p.statement {
  position: relative;
  z-index: 1;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.35;
  max-width: 56rem;
  margin: 0 auto;
}

.manifesto .statement .dost { color: var(--mustard); }

.manifesto .hindi {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 1.6rem;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--lavender);
  font-style: italic;
  font-weight: 500;
}

/* ---------- Journey ---------- */
.journey {
  padding: clamp(4rem, 9vh, 7rem) 0;
  position: relative;
}

.journey-head { text-align: center; margin-bottom: clamp(3rem, 6vh, 5rem); }

.journey-head .eyebrow { color: var(--primary); }

.journey-track { position: relative; }

.journey-track::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(var(--primary-light), var(--mustard), var(--teal));
  border-radius: 3px;
  opacity: 0.45;
}

.stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vh, 3.5rem) 0;
  position: relative;
}

.stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  background: var(--primary);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(247, 66, 68, 0.25);
}

.stage:nth-child(even) .stage-copy { order: 2; }
.stage:nth-child(even) .stage-art { order: 1; }

.stage-num {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
}

.stage-copy h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  margin: 0.4rem 0 0.8rem;
  color: var(--navy);
}

.stage-copy p { color: var(--muted); max-width: 30rem; }

.stage-chip {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
}

.chip-coral { background: var(--primary-tint); color: #993C1D; }
.chip-teal { background: var(--teal-tint); color: #085041; }
.chip-amber { background: var(--mustard-tint); color: #854F0B; }
.chip-lavender { background: var(--lavender-tint); color: #3C3489; }
.chip-blue { background: var(--blue-tint); color: #0C447C; }

.stage-art svg {
  width: min(100%, 440px);
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ---------- Ecosystem ---------- */
.ecosystem {
  background: var(--teal-tint);
  padding: clamp(4rem, 9vh, 7rem) 0;
  position: relative;
  overflow: hidden;
}

.ecosystem::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  background: rgba(32, 184, 176, 0.12);
  border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
  top: -140px;
  right: -120px;
}

.ecosystem-head { text-align: center; margin-bottom: 3rem; position: relative; z-index: 1; }

.ecosystem-head .eyebrow { color: #0F6E56; }

.eco-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.eco-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 10px 30px -18px rgba(31, 27, 58, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eco-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.eco-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.eco-icon svg { width: 28px; height: 28px; }

.eco-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.45rem; }

.eco-card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- How it works ---------- */
.how { padding: clamp(4rem, 9vh, 7rem) 0; }

.how-head { text-align: center; margin-bottom: 3rem; }

.how-head .eyebrow { color: var(--primary); }

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

.how-num {
  font-size: clamp(3.2rem, 6vw, 4.6rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.how-step h3 { font-size: 1.3rem; font-weight: 800; margin: 0.8rem 0 0.5rem; }

.how-step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Voices ---------- */
.voices {
  background: var(--hero-tint);
  padding: clamp(4rem, 9vh, 6.5rem) 0;
}

.voices-head { text-align: center; margin-bottom: 2.6rem; }

.voices-head .eyebrow { color: var(--primary-dark); }

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

.voice-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 10px 30px -18px rgba(31, 27, 58, 0.16);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.voice-card blockquote {
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--navy);
}

.voice-meta { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }

.voice-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
}

.voice-name { font-weight: 700; font-size: 0.92rem; }

.voice-role { font-size: 0.82rem; color: var(--muted); }

.voices-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1.8rem;
  opacity: 0.8;
}

/* ---------- CTA finale ---------- */
.cta {
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vh, 7rem) 0;
}

.cta::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%;
  top: -160px;
  left: -140px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}

.cta h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
}

.cta .cta-sub {
  margin: 1.2rem 0 2rem;
  font-size: 1.1rem;
  color: #FFE3DB;
  max-width: 30rem;
}

.cta-note { margin-top: 1.1rem; font-size: 0.85rem; color: #FFD3CB; }

.cta-art svg { width: min(100%, 360px); height: auto; margin: 0 auto; display: block; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer .logo {
  height: 34px;
  width: auto;
  background: #fff;
  border-radius: 8px;
  padding: 4px 8px;
}

.footer p { font-size: 0.92rem; margin-top: 1rem; max-width: 22rem; }

.footer h4 {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--mustard); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 1.4rem 0;
}

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.floaty { animation: floaty 5.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .floaty { animation: none; }
  .btn, .eco-card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .eco-grid, .voice-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.6rem 4vw 1.2rem;
    border-bottom: 1px solid rgba(31, 27, 58, 0.08);
    box-shadow: 0 24px 40px -24px rgba(31, 27, 58, 0.25);
    display: none;
  }

  .nav.open { display: flex; }

  .nav a { padding: 0.7rem 0; width: 100%; }

  .nav .btn { margin-top: 0.6rem; justify-content: center; width: 100%; }

  .nav-toggle { display: block; }

  .hero-inner { grid-template-columns: 1fr; }

  .hero-content { padding-bottom: 1rem; }

  .hero-art { max-width: 520px; margin: 0 auto; width: 100%; }

  .journey-track::before { left: 12px; }

  .stage { grid-template-columns: 1fr; gap: 1.6rem; padding-left: 2.4rem; }

  .stage::after { left: 12px; }

  .stage:nth-child(even) .stage-copy { order: 1; }
  .stage:nth-child(even) .stage-art { order: 2; }

  .how-steps { grid-template-columns: 1fr; gap: 2rem; }

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

  .cta .cta-sub { margin-left: auto; margin-right: auto; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  .eco-grid, .voice-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: stretch; }

  .hero-actions .btn { justify-content: center; }
}
