:root {
  --ink: #14171c;
  --ink-soft: #4a5160;
  --paper: #ffffff;
  --cloud: #f5f7fb;
  --line: #e6e9f0;
  --brand: #ff7a2f;
  --brand-dark: #e8631c;
  --brand-soft: #fff1e6;
  --teal: #0e7c7b;
  --teal-soft: #e3f6f5;
  --danger: #d64545;
  --radius: 18px;
  --shadow: 0 20px 45px -20px rgba(20, 23, 28, 0.25);
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.15;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 720px; }

.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.eyebrow.center { display: block; width: fit-content; margin-left: auto; margin-right: auto; }

.section-lede {
  max-width: 640px;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 24px -8px rgba(255,122,47,.55); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-large { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.link-btn {
  background: none; border: none; color: var(--teal); font-weight: 600;
  cursor: pointer; font-size: .9rem; padding: 4px;
}
.link-btn:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; gap: 8px; }
.logo-icon { color: var(--brand); }
.main-nav { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.main-nav a { color: var(--ink-soft); transition: color .15s; }
.main-nav a:hover { color: var(--ink); }
.nav-cta {
  background: var(--brand); color: #fff !important; padding: 10px 18px; border-radius: 10px;
}
.nav-cta:hover { background: var(--brand-dark); color: #fff !important; }
.nav-donate { border: 1.5px solid var(--line); padding: 10px 18px; border-radius: 10px; }

/* Hero */
.hero { padding: 90px 0 70px; background: linear-gradient(180deg, var(--cloud), #fff); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; }
.lede { font-size: 1.15rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin: 28px 0 40px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.6rem; font-family: 'Poppins', sans-serif; color: var(--brand-dark); }
.hero-stats span { font-size: .85rem; color: var(--ink-soft); }

.hero-visual { display: flex; justify-content: center; }
.charger-card {
  position: relative; width: 280px; height: 340px; border-radius: 28px;
  background: linear-gradient(155deg, #1f2430, #14171c);
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.charger-glow {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,47,.55), transparent 70%);
  filter: blur(10px);
  animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.15); opacity: 1; } }
.charger-plug { font-size: 4.5rem; z-index: 2; }
.charger-cable {
  position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 160px; background: var(--brand); border-radius: 6px; z-index: 1;
}

/* Mission */
.mission { padding: 90px 0; }
.mission h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px;
}
.value-card {
  background: var(--cloud); border-radius: var(--radius); padding: 30px 24px;
  border: 1px solid var(--line);
}
.value-icon { font-size: 2rem; margin-bottom: 14px; }
.value-card h3 { font-size: 1.1rem; }
.value-card p { font-size: .95rem; margin: 0; }

/* How it works */
.how { padding: 90px 0; background: var(--teal-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.step {
  background: #fff; border-radius: var(--radius); padding: 32px 26px;
  box-shadow: 0 12px 30px -18px rgba(20,23,28,.2);
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  font-family: 'Poppins', sans-serif; margin-bottom: 16px;
}

/* Get a charger */
.get-charger { padding: 90px 0; }
.charger-form-card {
  background: var(--cloud); border: 1px solid var(--line); border-radius: 24px;
  padding: 40px; margin-top: 40px; box-shadow: var(--shadow);
}
.form-step label { display: block; font-weight: 600; margin-bottom: 10px; font-size: .95rem; }
.form-step input, .form-step textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  font-size: 1rem; font-family: inherit; background: #fff;
}
.form-step input:focus, .form-step textarea:focus { outline: none; border-color: var(--brand); }
.form-step textarea { margin-bottom: 20px; resize: vertical; }
.input-row { display: flex; gap: 12px; }
.input-row input { flex: 1; }
.field-hint { font-size: .85rem; color: var(--ink-soft); margin-top: 10px; margin-bottom: 0; }
.form-error {
  color: var(--danger); font-size: .9rem; margin: 10px 0 0; min-height: 1.2em;
}
.code-actions { display: flex; justify-content: space-between; margin-top: 14px; }
.verified-badge {
  display: inline-block; background: var(--teal-soft); color: var(--teal);
  font-weight: 600; padding: 8px 14px; border-radius: 999px; margin-bottom: 18px; font-size: .9rem;
}
.hidden { display: none !important; }
.success-icon { font-size: 3rem; text-align: center; }
#success-step { text-align: center; }
#success-step h3 { font-size: 1.4rem; }

/* Donate */
.donate {
  padding: 80px 0; background: var(--ink); color: #fff; border-radius: 0;
}
.donate-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.donate h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.donate p { color: #c7cbd4; max-width: 460px; }
.donate .eyebrow { background: rgba(255,122,47,.18); color: #ffb27a; }
.donate-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.donate .btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.donate .btn-ghost:hover { border-color: #fff; }

/* Footer */
.site-footer { padding: 50px 0; background: var(--cloud); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; align-self: center; }
.footer-links a { color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }
.footer-meta { text-align: right; font-size: .85rem; color: var(--ink-soft); }
.footer-meta p { margin: 0; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .main-nav { gap: 14px; font-size: .9rem; }
  .donate-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}

@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
  .input-row { flex-direction: column; }
  .charger-form-card { padding: 26px; }
  .nav-donate { display: none; }
}
