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

:root {
  --brand-300: #3DB892;
  --brand-400: #1D9E75;
  --brand-500: #178A63;
  --brand-600: #0F6E56;
  --brand-700: #0B5542;
  --brand-900: #04342C;

  --bg:        #0a0f0d;
  --bg-alt:    #0e1612;
  --bg-card:   #111a16;
  --border:    rgba(255,255,255,0.08);
  --text:      #e8f5f1;
  --text-muted:#8aafa3;

  --radius-md: 12px;
  --radius-lg: 20px;

  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--sm  { padding: 8px 18px; font-size: 0.875rem; }
.btn--lg  { padding: 14px 32px; font-size: 1rem; }

.btn--primary {
  background: var(--brand-400);
  color: #fff;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 0 rgba(29,158,117,0);
}
.btn--primary:hover {
  background: var(--brand-500);
  border-color: var(--brand-500);
  box-shadow: 0 4px 20px rgba(29,158,117,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--brand-300);
  border-color: var(--brand-600);
}
.btn--outline:hover {
  background: rgba(29,158,117,0.1);
  border-color: var(--brand-400);
  color: var(--brand-300);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,15,13,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo { display: flex; align-items: center; text-decoration: none; }
.nav__logo img { height: 56px; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
  text-align: center;
}
.hero__inner { position: relative; z-index: 1; }

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(29,158,117,0.12);
  border: 1px solid rgba(29,158,117,0.3);
  color: var(--brand-300);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero__title--accent {
  background: linear-gradient(135deg, var(--brand-300), var(--brand-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  max-width: 600px;
  margin: 0 auto 44px;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(29,158,117,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(11,85,66,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section__subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Features ───────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  border-color: rgba(29,158,117,0.3);
  box-shadow: 0 4px 32px rgba(29,158,117,0.08);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(29,158,117,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand-300);
}
.feature-card__icon svg { width: 22px; height: 22px; }

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Steps ──────────────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 280px;
  flex: 1;
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-700));
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(29,158,117,0.1);
}

.step__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step__desc {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.step__connector {
  flex: 0 0 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-700), var(--brand-600));
  margin-top: 28px;
  opacity: 0.5;
}

/* ── CTA ────────────────────────────────────────────────────── */
.cta-section {
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(29,158,117,0.1) 0%, transparent 70%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.cta-section__inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-section__subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}
.cta-section__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer__tagline { color: var(--text-muted); font-size: 0.875rem; }
.footer__links {
  display: flex;
  gap: 32px;
}
.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--brand-300); }
.footer__copy { color: var(--text-muted); font-size: 0.82rem; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 72px 0 88px; }

  .steps {
    flex-direction: column;
    align-items: center;
  }
  .step__connector {
    width: 2px;
    height: 32px;
    flex: 0 0 32px;
    margin: 0;
    background: linear-gradient(180deg, var(--brand-700), var(--brand-600));
  }

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

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-up {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}
