/* ===========================
   ETA — Electric Transits Africa
   Brand: Space Grotesk, #011045 navy, #7FF9FE cyan, #90FFA7 light green
   =========================== */



:root {
  --navy:        #011045;
  --navy-90:     rgba(1,16,69,0.9);
  --navy-mid:    #0a1d6b;
  --cyan:        #7FF9FE;
  --green:       #90FFA7;
  --slate:       #214E4F;
  --off-white:   #EFEFEF;
  --white:       #ffffff;
  --muted:       #8a93b0;
  --border:      rgba(127,249,254,0.15);
  --radius:      8px;
  --radius-lg:   16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 48px;
  height: 68px;
  background: rgba(1,16,69,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 32px; }
.nav-logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }

.btn-nav {
  margin-left: 1rem;
  font-size: 14px;
  padding: 8px 20px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--navy);
  padding: 1.5rem 48px;
  gap: 1.25rem;
  z-index: 99;
  border-bottom: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--cyan);
  color: var(--navy);
}
.btn-primary:hover { background: #a5fbff; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-lg { padding: 16px 40px; font-size: 17px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 48px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127,249,254,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127,249,254,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(127,249,254,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease both;
}

.hero-badge {
  display: inline-block;
  background: rgba(127,249,254,0.1);
  border: 1px solid rgba(127,249,254,0.25);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-accent { color: var(--cyan); }

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-stat-bar {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 0;
}
.stat {
  flex: 1;
  min-width: 140px;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat:first-child { padding-left: 0; }
.stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===== SECTIONS ===== */
.section { padding: 96px 48px; }
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-cta {
  background: var(--off-white);
  text-align: center;
}
.section-tinted { background: #f6f7fb; }

.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 640px; margin: 0 auto; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 16px;
}
.section-label.light { color: var(--cyan); }

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--navy);
}
.section-title.light { color: var(--white); }

.section-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 56px;
}
.section-sub.light { color: rgba(255,255,255,0.6); }
.section-cta .section-sub { margin: 0 auto 40px; }
.section-cta .section-title { color: var(--navy); }

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

.feature-card {
  background: var(--white);
  border: 1px solid #e4e8f0;
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(1,16,69,0.08);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(1,16,69,0.06);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}
.feature-card p {
  font-size: 15px;
  color: #5a6080;
  line-height: 1.6;
}

/* ===== SOLUTIONS PREVIEW ===== */
.solutions-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.solution-card {
  display: block;
  text-decoration: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.2s;
  color: var(--white);
}
.solution-card:hover {
  background: rgba(127,249,254,0.06);
  border-color: rgba(127,249,254,0.4);
  transform: translateY(-2px);
}
.solution-card-accent {
  border-color: rgba(144,255,167,0.3);
  background: rgba(144,255,167,0.04);
}
.solution-card-accent:hover {
  border-color: rgba(144,255,167,0.6);
  background: rgba(144,255,167,0.08);
}

.solution-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.solution-card-accent .solution-num { color: var(--green); }

.solution-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.solution-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 24px;
}
.solution-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
}
.solution-card-accent .solution-link { color: var(--green); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--navy);
  padding: 140px 48px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127,249,254,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127,249,254,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  line-height: 1.6;
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--navy);
}
.about-text p {
  font-size: 17px;
  line-height: 1.7;
  color: #4a5270;
  margin-bottom: 16px;
}
.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.value-item {
  background: #f6f7fb;
  border-radius: var(--radius-lg);
  padding: 28px;
  border-left: 3px solid var(--cyan);
}
.value-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.value-item p {
  font-size: 15px;
  color: #5a6080;
  line-height: 1.6;
}

/* ===== SOLUTIONS PAGE ===== */
.solution-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid #e4e8f0;
}
.solution-full:last-child { border-bottom: none; }
.solution-full.reverse { direction: rtl; }
.solution-full.reverse > * { direction: ltr; }

.solution-content .solution-tag {
  display: inline-block;
  background: rgba(1,16,69,0.06);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.solution-content h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--navy);
}
.solution-content p {
  font-size: 17px;
  line-height: 1.7;
  color: #4a5270;
  margin-bottom: 20px;
}
.solution-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.solution-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #4a5270;
  line-height: 1.5;
}
.solution-points li::before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%23011045' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.solution-visual {
  background: var(--navy);
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.solution-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127,249,254,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127,249,254,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.solution-visual-icon {
  position: relative;
  z-index: 1;
  color: var(--cyan);
  opacity: 0.6;
}

/* ===== CHARGING PAGE ===== */
.charging-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}
.charging-intro-text h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--navy);
}
.charging-intro-text p {
  font-size: 17px;
  line-height: 1.7;
  color: #4a5270;
  margin-bottom: 16px;
}
.charging-specs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #f6f7fb;
  border-radius: var(--radius);
  border-left: 3px solid var(--navy);
}
.spec-label { font-size: 14px; color: #5a6080; font-weight: 500; }
.spec-val { font-size: 16px; font-weight: 700; color: var(--navy); }

.charger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.charger-card {
  border: 1px solid #e4e8f0;
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s;
}
.charger-card:hover { box-shadow: 0 8px 32px rgba(1,16,69,0.08); }
.charger-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}
.charger-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #5a6080;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.contact-info p {
  font-size: 17px;
  line-height: 1.7;
  color: #4a5270;
  margin-bottom: 32px;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--navy);
  font-weight: 500;
}
.contact-detail-item a {
  color: var(--navy);
  text-decoration: none;
}
.contact-detail-item a:hover { color: var(--slate); text-decoration: underline; }
.contact-icon {
  width: 40px; height: 40px;
  background: rgba(1,16,69,0.06);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}

.contact-form {
  background: #f6f7fb;
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid #d8dce8;
  border-radius: var(--radius);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { margin-top: 8px; width: 100%; text-align: center; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  padding: 56px 0 40px;
  flex-wrap: wrap;
}
.footer-brand .nav-logo-text { display: block; margin-bottom: 12px; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: auto;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan); }
.footer-contact a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 48px;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  max-width: 100%;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-links, .btn-nav { display: none; }
  .nav-burger { display: flex; }

  .section { padding: 64px 24px; }
  .hero { padding: 100px 24px 0; }
  .page-hero { padding: 120px 24px 60px; }
  .footer-bottom { padding: 20px 24px; }

  .hero-stat-bar { flex-direction: column; gap: 24px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }

  .about-grid,
  .solution-full,
  .charging-intro,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .solution-full.reverse { direction: ltr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { gap: 32px; padding: 40px 0 32px; }
  .footer-links { margin-left: 0; }
}
