/* ═══════════════════════════════════════════════════════
   ELECTRO SMART — Site-Specific Styles
   ═══════════════════════════════════════════════════════ */

/* ── NAV ────────────────────────────── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, padding 0.3s;
}
nav.scrolled {
  background: rgba(10,10,11,0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--es-border);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo svg { width: 32px; height: 32px; }
.nav-wordmark {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--es-white);
  text-transform: uppercase;
}
.nav-wordmark span {
  font-weight: 300;
  color: var(--es-gold);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--es-mid);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--es-gold); }

/* ── HERO ───────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-content {
  max-width: 680px;
}

.hero h1 {
  margin-bottom: 8px;
}
.hero h1 span {
  color: var(--es-gold);
  font-weight: 300;
}

.hero-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--es-gold);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 17px;
  color: var(--es-mid);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-icon {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.06;
  pointer-events: none;
}

/* ── BRAND PROMISE ──────────────────── */

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.promise-card {
  background: var(--bg-card);
  border: 1px solid var(--es-border);
  padding: 48px 32px;
  transition: border-color 0.3s;
}
.promise-card:hover { border-color: var(--es-gold); }

.promise-icon {
  font-size: 28px;
  margin-bottom: 20px;
  display: block;
}

.promise-card h3 {
  margin-bottom: 12px;
  color: var(--es-white);
}

.promise-card p {
  font-size: 14px;
  color: var(--es-mid);
  line-height: 1.7;
}

/* ── PRODUCT FEATURE ────────────────── */

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-visual {
  background: var(--es-panel);
  border: 1px solid var(--es-border);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-info .eyebrow { margin-bottom: 16px; }
.product-info h2 { margin-bottom: 16px; }
.product-info p {
  color: var(--es-mid);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ── SPECS TABLE ────────────────────── */

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--es-border);
  padding: 32px 24px;
  text-align: center;
}

.spec-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--es-electric);
  line-height: 1;
  margin-bottom: 8px;
}

.spec-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--es-mid);
  text-transform: uppercase;
}

/* ── COMPATIBILITY ──────────────────── */

.compat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.compat-card {
  background: var(--bg-card);
  border: 1px solid var(--es-border);
  padding: 48px 32px;
  text-align: center;
  transition: border-color 0.3s;
}
.compat-card:hover { border-color: var(--es-electric); }

.compat-card h3 {
  margin-bottom: 12px;
  color: var(--es-electric);
}

.compat-card p {
  font-size: 14px;
  color: var(--es-mid);
  line-height: 1.7;
}

/* ── HOW IT WORKS ───────────────────── */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--es-border);
  padding: 48px 32px;
  position: relative;
}

.step-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--es-gold);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 {
  margin-bottom: 12px;
  color: var(--es-white);
}

.step-card p {
  font-size: 14px;
  color: var(--es-mid);
  line-height: 1.7;
}

/* ── SWITCH TYPES ───────────────────── */

.switch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.switch-card {
  background: var(--bg-card);
  border: 1px solid var(--es-border);
  padding: 48px 32px;
  transition: border-color 0.3s;
}
.switch-card:hover { border-color: var(--es-gold); }

.switch-card .switch-type {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--es-gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.switch-card h3 {
  margin-bottom: 12px;
}

.switch-card p {
  font-size: 14px;
  color: var(--es-mid);
  line-height: 1.7;
}

/* ── CTA SECTION ────────────────────── */

.cta-section {
  text-align: center;
  padding: 120px 0;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--es-mid);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ── FOOTER ─────────────────────────── */

footer {
  border-top: 1px solid var(--es-border);
  padding: 48px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand svg { width: 24px; height: 24px; }
.footer-brand span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--es-mid);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--es-mid);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--es-gold); }

.footer-copy {
  font-size: 12px;
  color: var(--es-mid);
  opacity: 0.5;
}

/* ── RESPONSIVE ─────────────────────── */

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .nav-links { display: none; }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-icon { display: none; }

  .promise-grid,
  .compat-grid,
  .steps-grid,
  .switch-grid { grid-template-columns: 1fr; }

  .specs-grid { grid-template-columns: repeat(2, 1fr); }

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

  .footer-content { flex-direction: column; gap: 24px; text-align: center; }
}
