:root {
  --ink: #171a20;
  --muted: #5c5e62;
  --line: #e4e4e4;
  --surface: #ffffff;
  --surface-soft: #f5f5f5;
  --night: #111315;
  --red: #e82127;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  color: #fff;
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255,255,255,.9);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: min(100% - 48px, 1480px);
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 8px;
  line-height: 1;
}
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  font-weight: 600;
}
.primary-nav a, .mobile-menu a { transition: opacity .2s ease; }
.primary-nav a:hover, .mobile-menu a:hover { opacity: .65; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .menu-toggle {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.icon-button { font-weight: 700; font-size: 16px; }
.icon-button:hover, .menu-toggle:hover { background: rgba(128,128,128,.18); transform: translateY(-1px); }
.menu-toggle { display: none; padding: 8px 7px; border-radius: 8px; }
.menu-toggle span { display: block; width: 20px; height: 1.5px; margin: 3px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }
.mobile-menu {
  display: none;
  padding: 18px 24px 24px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: 0 12px 20px rgba(0,0,0,.12);
}
.mobile-menu a, .mobile-menu button { display: block; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.mobile-menu button { color: var(--red); font-weight: 700; }
.mobile-menu.is-open { display: block; }

.hero { position: relative; min-height: 100svh; color: #fff; overflow: hidden; background: #2b3136; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { display: grid; place-items: center; isolation: isolate; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s ease; }
.hero-slide::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-image) center / cover no-repeat, linear-gradient(120deg, #71828d 0%, #2c3d47 52%, #101316 100%); transform: scale(1.02); transition: transform 8s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide.is-active::before { transform: scale(1.08); }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.32) 0%, rgba(0,0,0,.08) 35%, rgba(0,0,0,.60) 100%); }
.hero-content { width: min(100% - 48px, 850px); padding-top: 110px; text-align: center; }
.eyebrow { margin: 0 0 12px; color: rgba(255,255,255,.78); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow-dark { color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(52px, 8vw, 100px); font-weight: 600; letter-spacing: -.06em; line-height: .95; }
h2 { margin-bottom: 14px; font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
h3 { margin-bottom: 8px; font-size: clamp(25px, 3vw, 36px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.hero-subtitle { max-width: 670px; margin: 0 auto; color: rgba(255,255,255,.9); font-size: clamp(17px, 2vw, 23px); line-height: 1.3; }
sup { position: relative; top: -.35em; font-size: .55em; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.button { min-width: 164px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 700; text-align: center; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: #fff; }
.button-light:hover { background: #f0f0f0; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(0,0,0,.2); }
.button-ghost:hover { border-color: #fff; background: rgba(0,0,0,.45); }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: #30343a; }
.button-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.button-outline:hover { color: #fff; background: var(--ink); }
.hero-controls { position: absolute; z-index: 2; bottom: 62px; left: 50%; display: flex; align-items: center; gap: 16px; transform: translateX(-50%); }
.hero-arrow { width: 32px; height: 32px; padding: 0 0 4px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: #fff; background: rgba(0,0,0,.16); font-size: 26px; line-height: 1; cursor: pointer; }
.hero-arrow:hover { background: rgba(0,0,0,.45); }
.hero-dots { display: flex; align-items: center; gap: 8px; }
.hero-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: width .2s ease, background .2s ease; }
.hero-dot.is-active { width: 24px; border-radius: 8px; background: #fff; }
.scroll-cue { position: absolute; z-index: 2; right: 32px; bottom: 32px; display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.82); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.scroll-cue-arrow { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 17px; transition: transform .2s ease; }
.scroll-cue:hover .scroll-cue-arrow { transform: translateY(3px); }

.section { padding: clamp(72px, 9vw, 136px) clamp(24px, 5vw, 80px); }
.section-light { background: var(--surface); }
.section-ink { color: #fff; background: var(--night); }
.section-heading { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-heading > p:last-child, .discover-copy > p:not(.eyebrow), .charging-content > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.section-heading-inverse > p:last-child { color: rgba(255,255,255,.68); }
.card-grid { display: grid; gap: 22px; width: min(100%, 1440px); margin: 0 auto; }
.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card, .energy-card { position: relative; min-height: 570px; overflow: hidden; border-radius: var(--radius); isolation: isolate; }
.product-card { background: #4c5962; }
.energy-card { min-height: 520px; background: #22272c; }
.product-card .card-image, .energy-card .card-image { position: absolute; inset: 0; z-index: -2; background: var(--card-image) center / cover no-repeat, linear-gradient(135deg, #92a8b4, #2e3c45); transition: transform .7s ease; }
.product-card:hover .card-image, .energy-card:hover .card-image { transform: scale(1.05); }
.card-overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 15%, rgba(0,0,0,.68) 100%); }
.card-content { position: absolute; right: 0; bottom: 0; left: 0; padding: clamp(24px, 4vw, 44px); color: #fff; }
.card-content p:not(.card-kicker) { max-width: 370px; margin-bottom: 0; color: rgba(255,255,255,.82); font-size: 16px; }
.card-kicker { margin-bottom: 10px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.card-content .button-row { justify-content: flex-start; margin-top: 22px; }
.product-card .button { min-width: 132px; padding: 11px 18px; }
.energy-card-solar { color: var(--ink); background: radial-gradient(circle at 72% 22%, #fff 0 3%, transparent 4%), linear-gradient(160deg, #f9fbff 0%, #dce9f5 43%, #a8bfd2 100%); }
.energy-card-solar::before { content: ""; position: absolute; right: -10%; bottom: -22%; width: 100%; height: 90%; border-radius: 48% 48% 0 0; background: linear-gradient(155deg, rgba(255,255,255,.78), rgba(93,126,153,.42)); transform: rotate(-13deg); }
.solar-art { position: absolute; top: 14%; right: 11%; width: 48%; height: 34%; transform: perspective(300px) rotateX(42deg) rotateZ(-15deg); }
.solar-art span { position: absolute; display: block; border: 2px solid rgba(52,87,115,.52); background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(91,134,171,.5)); box-shadow: 0 8px 24px rgba(47,80,107,.16); }
.solar-art span:nth-child(1) { inset: 0 51% 51% 0; }.solar-art span:nth-child(2) { inset: 0 0 51% 51%; }.solar-art span:nth-child(3) { inset: 51% 51% 0 0; }.solar-art span:nth-child(4) { inset: 51% 0 0 51%; }
.energy-card-solar .card-content { color: var(--ink); }
.energy-card-solar .card-content p:not(.card-kicker) { color: var(--muted); }
.energy-card-solar .card-kicker { color: var(--muted); }
.energy-card-solar .text-link { color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: #fff; font-size: 15px; font-weight: 700; }
.text-link span { font-size: 20px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link-dark { color: var(--ink); }

.charging-section { position: relative; display: grid; min-height: 640px; overflow: hidden; background: #e9edf0; }
.charging-map { position: absolute; inset: 0; background: radial-gradient(ellipse at 62% 44%, rgba(112,148,157,.5) 0 3%, transparent 3.3%), radial-gradient(ellipse at 73% 63%, rgba(112,148,157,.42) 0 2.6%, transparent 2.9%), radial-gradient(ellipse at 46% 28%, rgba(112,148,157,.45) 0 2.8%, transparent 3.1%), linear-gradient(140deg, #e6eef0 0%, #c8dadd 50%, #edf2f2 100%); }
.charging-map::before { content: ""; position: absolute; inset: 12% 15%; border: 34px solid rgba(255,255,255,.5); border-radius: 46% 54% 42% 58%; transform: rotate(-22deg); box-shadow: inset 10px 12px 0 rgba(150,184,190,.15), 0 12px 0 rgba(255,255,255,.25); }
.charging-map::after { content: ""; position: absolute; inset: -14% 32% 10% 35%; border: 24px solid rgba(255,255,255,.45); border-radius: 51% 49% 62% 38%; transform: rotate(18deg); }
.map-line { position: absolute; z-index: 1; display: block; height: 2px; transform-origin: left center; background: rgba(34,93,100,.43); }
.map-line-one { top: 41%; left: 33%; width: 34%; transform: rotate(18deg); }.map-line-two { top: 53%; left: 45%; width: 30%; transform: rotate(-30deg); }.map-line-three { top: 62%; left: 53%; width: 18%; transform: rotate(52deg); }
.map-pin { position: absolute; z-index: 2; width: 16px; height: 16px; border: 4px solid rgba(255,255,255,.95); border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(232,33,39,.15); }
.map-pin-one { top: 39%; left: 32%; }.map-pin-two { top: 51%; left: 65%; }.map-pin-three { top: 72%; left: 57%; }
.charging-content { position: relative; z-index: 3; width: min(100% - 48px, 470px); align-self: center; margin-left: clamp(24px, 8vw, 160px); padding: 36px 0; }
.charging-content h2 { max-width: 400px; }
.charging-content > p:not(.eyebrow) { max-width: 400px; }
.charging-content .button-row { justify-content: flex-start; }

.discover-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 10vw, 160px); }
.discover-copy { max-width: 560px; margin-left: auto; }
.discover-copy h2 { max-width: 480px; }
.discover-copy > p:not(.eyebrow) { max-width: 500px; }
.discover-trade-button { display: inline-block; margin-top: 24px; }
.discover-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 600px; }
.stat { padding: 20px 0; border-top: 1px solid var(--line); }
.stat strong { display: block; margin-bottom: 9px; font-size: clamp(24px, 3vw, 38px); font-weight: 600; letter-spacing: -.05em; }
.stat span { display: block; color: var(--muted); font-size: 13px; }
.contact-section { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: clamp(54px, 7vw, 100px) clamp(24px, 8vw, 140px); color: #fff; background: var(--red); }
.contact-section h2 { margin-bottom: 10px; }
.contact-section p:not(.eyebrow) { margin-bottom: 0; color: rgba(255,255,255,.82); font-size: 17px; }
.contact-section .button-row { flex: 0 0 auto; margin-top: 0; }
.contact-section .button-ghost { border-color: rgba(255,255,255,.8); background: transparent; }
.contact-section .button-ghost:hover { background: rgba(0,0,0,.16); }
.site-footer { padding: 46px clamp(24px, 5vw, 80px) 30px; color: #fff; background: #0b0c0e; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 70px; }
.brand-footer { font-size: 20px; }.footer-top p { max-width: 300px; margin-bottom: 0; color: rgba(255,255,255,.5); font-size: 13px; text-align: right; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 18px 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.5); font-size: 12px; }
.footer-bottom a { margin-left: auto; color: #fff; }
.toast { position: fixed; z-index: 30; right: 24px; bottom: 24px; max-width: min(360px, calc(100% - 48px)); padding: 14px 18px; border-radius: 12px; color: #fff; background: rgba(23,26,32,.94); box-shadow: var(--shadow); font-size: 14px; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 940px) {
  .primary-nav { gap: 18px; }
  .card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .energy-card:last-child { grid-column: 1 / -1; min-height: 450px; }
  .discover-section { gap: 52px; }
  .contact-section { align-items: flex-start; flex-direction: column; }
  .contact-section .button-row { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .nav-shell { width: min(100% - 32px, 1480px); height: 64px; }
  .brand { font-size: 19px; letter-spacing: 6px; }
  .primary-nav, .nav-actions .icon-button { display: none; }
  .menu-toggle { display: block; }
  .hero-content { width: min(100% - 32px, 850px); padding-top: 82px; }
  h1 { font-size: clamp(54px, 17vw, 88px); }
  .hero-subtitle { font-size: 16px; }
  .hero-controls { bottom: 52px; }
  .scroll-cue { right: 16px; bottom: 20px; }
  .scroll-cue span:first-child { display: none; }
  .section { padding: 74px 16px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading > p:last-child, .discover-copy > p:not(.eyebrow), .charging-content > p:not(.eyebrow) { font-size: 16px; }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .product-card, .energy-card, .energy-card:last-child { min-height: 510px; grid-column: auto; }
  .charging-section { min-height: 690px; }
  .charging-content { align-self: end; width: calc(100% - 32px); margin: 0 16px; padding: 0 0 66px; }
  .charging-map::before { inset: 12% -16% 21% 9%; }
  .charging-map::after { inset: 4% 11% 25% 47%; }
  .discover-section { display: block; }
  .discover-copy { margin: 0 0 46px; }
  .discover-stats { gap: 10px; }
  .stat { padding: 16px 0; }
  .stat strong { font-size: 26px; }
  .stat span { font-size: 12px; }
  .contact-section { padding: 68px 24px; }
  .contact-section .button-row { width: 100%; flex-direction: column; align-items: stretch; }
  .contact-section .button { width: 100%; }
  .footer-top { padding-bottom: 48px; flex-direction: column; }
  .footer-top p { text-align: left; }
  .footer-bottom a { width: 100%; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
