/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary:    #0ea5e9;   /* sky blue */
  --color-primary-dk: #0284c7;
  --color-accent:     #10b981;   /* emerald */
  --color-dark:       #0f172a;
  --color-dark-2:     #1e293b;
  --color-text:       #334155;
  --color-muted:      #64748b;
  --color-border:     #e2e8f0;
  --color-bg:         #ffffff;
  --color-bg-alt:     #f8fafc;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --max-width: 1100px;
  --section-gap: 5rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3 { line-height: 1.25; color: var(--color-dark); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--color-text); }
a  { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
em { font-style: italic; color: var(--color-primary); }
strong { font-weight: 700; }

/* ── Layout ── */
.container {
  width: min(var(--max-width), 100% - 2rem);
  margin-inline: auto;
}

.center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn:hover { background: var(--color-primary-dk); text-decoration: none; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--ghost:hover { background: var(--color-primary); color: #fff; }
.btn--sm  { padding: 0.45rem 1rem; font-size: 0.875rem; }
.btn--lg  { padding: 0.9rem 2.2rem; font-size: 1rem; }

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: #e0f2fe;
  color: var(--color-primary-dk);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 99px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}
.nav__logo {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-dark);
  white-space: nowrap;
}
.nav__logo strong { color: var(--color-primary); }
.nav__logo:hover  { text-decoration: none; }
.nav nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.nav nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.15s;
}
.nav nav a:hover { color: var(--color-dark); text-decoration: none; }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  background: linear-gradient(160deg, #f0f9ff 0%, #ffffff 60%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
}
.hero__sub {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 580px;
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero__bg-shape {
  position: absolute;
  top: -80px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #bae6fd 0%, transparent 65%);
  opacity: 0.4;
  border-radius: 50%;
  pointer-events: none;
}

/* ── Sections ── */
.section {
  padding: var(--section-gap) 0;
}
.section--alt  { background: var(--color-bg-alt); }
.section--dark { background: var(--color-dark);   }
.section--dark h2,
.section--dark p,
.section--dark .section__lead { color: #e2e8f0; }
.section--dark .section__label { color: #94a3b8; }
.section--accent {
  background: linear-gradient(135deg, #0f172a 0%, #0c4a6e 100%);
}
.section--accent h2,
.section--accent p,
.section--accent .section__lead { color: #e0f2fe; }
.section--accent .section__label { color: #7dd3fc; }

.section__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}
.section__lead {
  margin-top: 0.85rem;
  font-size: 1.08rem;
  color: var(--color-muted);
  max-width: 680px;
  line-height: 1.75;
}
.center .section__lead { margin-inline: auto; }

/* ── Cards (Problem) ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.card {
  padding: 1.75rem 1.5rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: box-shadow 0.15s;
}
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.card__icon  { font-size: 1.8rem; margin-bottom: 0.75rem; }
.card h3     { margin-bottom: 0.4rem; }
.card p      { font-size: 0.9rem; color: var(--color-muted); }

/* ── Steps (Solution) ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.step__num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__body h3     { margin-bottom: 0.4rem; font-size: 1rem; }
.step__body p      { font-size: 0.9rem; color: var(--color-muted); }

/* ── Pillars ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.pillar {
  padding: 2rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pillar:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px #e0f2fe;
}
.pillar__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.pillar h3    { margin-bottom: 0.5rem; }
.pillar p     { font-size: 0.9rem; color: var(--color-muted); }

/* ── Team ── */
.team {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.member { text-align: center; }
.member__avatar {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}
.member h3   { font-size: 1rem; margin-bottom: 0.2rem; }
.member p    { font-size: 0.875rem; color: var(--color-muted); line-height: 1.5; }
.member span { font-style: italic; }

/* ── Footer ── */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.footer p { font-size: 0.875rem; color: var(--color-muted); }

/* ── Responsive ── */
@media (max-width: 640px) {
  .nav nav a:not(.btn) { display: none; }
  .hero { padding: 4rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .team { justify-content: center; }
}
