:root {
  --navy-950: #031522;
  --navy-900: #06243b;
  --navy-800: #0a3552;
  --blue-600: #0d91d0;
  --blue-500: #16a7e0;
  --blue-100: #e8f7fd;
  --orange-500: #f5a623;
  --ink: #102333;
  --muted: #60717f;
  --line: #dbe4ea;
  --surface: #f5f8fa;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 36, 59, 0.10);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--blue-500); color: var(--white); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-pad { padding: 108px 0; }
.skip-link { position: absolute; left: -999px; top: 12px; z-index: 1000; background: #fff; padding: 10px 14px; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 228, 234, 0.7);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 238px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; color: #314756; }
.primary-nav a:not(.nav-cta) { position: relative; padding: 28px 0; }
.primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: 20px; width: 0; height: 2px; background: var(--blue-600); transition: width .25s ease; }
.primary-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { color: #fff; background: var(--navy-900); padding: 13px 18px; border-radius: 999px; transition: transform .2s ease, background .2s ease; }
.nav-cta:hover { background: var(--blue-600); transform: translateY(-1px); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy-900); margin: 6px 0; transition: .2s ease; }

.hero { min-height: 760px; position: relative; overflow: hidden; display: flex; align-items: center; background: linear-gradient(145deg, #fff 0%, #f8fbfd 56%, #eef8fc 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(6,36,59,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(6,36,59,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 85%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; }
.hero-orb-one { width: 360px; height: 360px; background: radial-gradient(circle, rgba(22,167,224,.20), rgba(22,167,224,0)); right: 8%; top: 5%; }
.hero-orb-two { width: 280px; height: 280px; background: radial-gradient(circle, rgba(245,166,35,.15), rgba(245,166,35,0)); left: 1%; bottom: 4%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.03fr .97fr; gap: 68px; align-items: center; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; line-height: 1.3; font-weight: 800; color: var(--blue-600); }
.eyebrow.light { color: #73d4f7; }
.hero h1 { margin: 0; max-width: 690px; font-size: clamp(48px, 5.2vw, 76px); line-height: .99; letter-spacing: -.045em; color: var(--navy-950); }
.hero h1 span { color: var(--blue-600); }
.hero-lead { margin: 28px 0 0; max-width: 675px; font-size: 18px; line-height: 1.8; color: var(--muted); }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-size: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy-900); color: #fff; box-shadow: 0 12px 28px rgba(6, 36, 59, .18); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 14px 32px rgba(13, 145, 208, .25); }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.75); color: var(--navy-900); }
.btn-secondary:hover { border-color: #b4c5d0; }
.btn-white { background: #fff; color: var(--navy-900); }
.hero-points { display: flex; gap: 16px 26px; flex-wrap: wrap; margin-top: 34px; font-size: 12px; font-weight: 800; color: #536978; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500); }

.energy-visual { position: relative; height: 570px; border-radius: 34px; background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(239,248,252,.94)); border: 1px solid rgba(6,36,59,.08); box-shadow: var(--shadow); overflow: hidden; }
.energy-visual::before { content: ""; position: absolute; width: 310px; height: 310px; border-radius: 50%; background: radial-gradient(circle, rgba(13,145,208,.14), rgba(13,145,208,0)); left: 50%; top: 50%; transform: translate(-50%,-50%); }
.visual-label { position: absolute; top: 24px; left: 28px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: #8294a0; }
.energy-grid { position: absolute; inset: 68px 34px 28px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; gap: 20px 86px; }
.energy-node { position: relative; z-index: 3; align-self: center; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 13px; padding: 16px; background: rgba(255,255,255,.91); border: 1px solid rgba(6,36,59,.08); border-radius: 18px; box-shadow: 0 12px 30px rgba(6,36,59,.07); }
.energy-node strong { align-self: end; font-size: 14px; color: var(--navy-900); }
.energy-node small { font-size: 10px; color: #7b8b96; }
.node-icon { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-100); }
.node-icon svg, .product-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--blue-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.node-solar { grid-column: 1; grid-row: 1; }
.node-wind { grid-column: 2; grid-row: 1; }
.node-bess { grid-column: 1; grid-row: 2; }
.node-ems { grid-column: 2; grid-row: 2; }
.node-load { grid-column: 1 / 3; grid-row: 3; width: 58%; justify-self: center; }
.flow-lines { position: absolute; inset: 72px 24px 28px; width: calc(100% - 48px); height: calc(100% - 100px); z-index: 1; }
.flow-lines path { fill: none; stroke: rgba(13,145,208,.30); stroke-width: 2; stroke-dasharray: 7 9; animation: dash 12s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -150; } }
.energy-core { position: absolute; z-index: 4; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 105px; height: 105px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-content: center; text-align: center; box-shadow: 0 0 0 12px rgba(13,145,208,.08), 0 18px 30px rgba(6,36,59,.25); }
.energy-core span { font-size: 9px; letter-spacing: .16em; }
.energy-core strong { font-size: 18px; letter-spacing: .04em; }

.market-strip { background: var(--navy-950); color: #fff; padding: 56px 0 40px; }
.market-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 38px; align-items: end; }
.market-intro h2 { margin: 0; font-size: 28px; letter-spacing: -.025em; }
.stat { border-left: 1px solid rgba(255,255,255,.18); padding-left: 26px; }
.stat strong { display: block; font-size: 34px; letter-spacing: -.04em; color: #fff; }
.stat span { display: block; margin-top: 8px; color: #9fb2bf; font-size: 12px; line-height: 1.5; }
.source-note { margin: 30px 0 0; font-size: 10px; color: #76909f; text-align: right; }

.section-heading { max-width: 760px; margin-bottom: 56px; }
.section-heading.compact { max-width: 650px; }
.section-heading h2, .about-copy h2, .support-copy h2, .contact-copy h2 { margin: 0; font-size: clamp(38px, 4vw, 58px); line-height: 1.08; letter-spacing: -.04em; color: var(--navy-950); }
.section-heading > p:last-child { margin: 22px 0 0; font-size: 16px; line-height: 1.8; color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { position: relative; min-height: 360px; padding: 30px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.product-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(22,167,224,.12), rgba(22,167,224,0)); transition: transform .3s ease; }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: #cbd9e1; }
.product-card:hover::after { transform: scale(1.5); }
.product-number { position: absolute; right: 28px; top: 28px; color: #c9d5dc; font-size: 12px; font-weight: 800; }
.product-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: var(--blue-100); }
.product-card h3 { margin: 28px 0 14px; max-width: 280px; font-size: 22px; line-height: 1.25; color: var(--navy-900); letter-spacing: -.025em; }
.product-card p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }
.product-card a { position: absolute; left: 30px; bottom: 28px; font-size: 12px; font-weight: 800; color: var(--blue-600); }
.product-card a span { display: inline-block; transition: transform .2s ease; }
.product-card a:hover span { transform: translateX(4px); }

.about { background: var(--surface); }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.about-panel { min-height: 520px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 44px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(150deg, var(--navy-950), #0a3e60 75%, #0e5b85); box-shadow: var(--shadow); }
.about-panel::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent); }
.about-mark { position: absolute; width: 255px; right: -8px; top: 58px; opacity: .11; filter: grayscale(1) brightness(4); z-index: 1; }
.panel-kicker { position: relative; z-index: 2; margin: 0 0 14px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #78daf8; }
.about-panel h3 { position: relative; z-index: 2; margin: 0; max-width: 430px; font-size: 36px; line-height: 1.12; letter-spacing: -.035em; }
.about-panel > p:last-child { position: relative; z-index: 2; margin: 18px 0 0; max-width: 420px; color: #b8cad5; line-height: 1.8; }
.about-copy > p:not(.eyebrow) { margin: 22px 0 0; color: var(--muted); line-height: 1.85; }
.mini-features { display: grid; gap: 16px; margin-top: 34px; }
.mini-features div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.mini-features strong { font-size: 13px; color: var(--navy-900); }
.mini-features span { font-size: 13px; color: var(--muted); }

.applications { background: #fff; }
.application-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.application-card { min-height: 300px; padding: 32px 26px; border-right: 1px solid var(--line); transition: background .2s ease; }
.application-card:last-child { border-right: 0; }
.application-card:hover { background: var(--surface); }
.application-card > span { display: block; font-size: 11px; font-weight: 800; color: var(--blue-600); }
.application-card h3 { margin: 58px 0 16px; font-size: 24px; color: var(--navy-900); }
.application-card p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--muted); }

.support { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--navy-950), #0a3552); }
.support::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; right: -150px; top: -160px; background: radial-gradient(circle, rgba(22,167,224,.22), rgba(22,167,224,0)); }
.support-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.support-copy h2 { color: #fff; }
.support-copy > p:not(.eyebrow) { margin: 24px 0 34px; max-width: 560px; line-height: 1.85; color: #afc3ce; }
.support-list { border-top: 1px solid rgba(255,255,255,.14); }
.support-list div { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.support-list span { font-size: 10px; color: #6fcff1; }
.support-list strong { font-size: 14px; font-weight: 600; }

.vision { background: var(--surface); }
.vision-inner { max-width: 960px; margin: auto; text-align: center; }
.vision-inner > img { width: 90px; margin: 0 auto 30px; opacity: .9; }
.vision blockquote { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.12; letter-spacing: -.045em; font-weight: 700; color: var(--navy-950); }
.vision blockquote span { color: var(--blue-600); }
.vision-inner > p:last-child { max-width: 720px; margin: 28px auto 0; color: var(--muted); line-height: 1.8; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-item { padding: 28px 24px; border-top: 3px solid var(--blue-600); background: var(--surface); min-height: 200px; }
.why-item strong { font-size: 16px; color: var(--navy-900); }
.why-item p { margin: 16px 0 0; font-size: 13px; color: var(--muted); line-height: 1.8; }

.contact { background: #f8fafb; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 92px; align-items: start; }
.contact-copy > p:not(.eyebrow) { margin: 22px 0 0; max-width: 530px; color: var(--muted); line-height: 1.8; }
.contact-details { display: grid; gap: 20px; margin-top: 38px; }
.contact-details a, .contact-details p { margin: 0; display: block; color: var(--navy-900); font-size: 14px; line-height: 1.7; }
.contact-details span { display: block; margin-bottom: 4px; color: #80929e; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.contact-form { padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 18px 50px rgba(6,36,59,.07); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 16px; color: #405463; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfd; color: var(--ink); padding: 13px 14px; outline: none; font-size: 14px; text-transform: none; letter-spacing: normal; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(13,145,208,.10); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-submit { border: 0; width: 100%; margin-top: 4px; }
.form-note { margin: 14px 0 0; font-size: 10px; line-height: 1.6; color: #91a0aa; }

.site-footer { background: var(--navy-950); color: #fff; padding: 68px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .75fr 1fr 1fr; gap: 42px; }
.footer-brand img { width: 220px; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { margin: 22px 0 0; color: #8da3b1; font-size: 13px; line-height: 1.8; }
.footer-links, .footer-cta { display: grid; align-content: start; gap: 10px; }
.footer-links h3, .footer-cta h3 { margin: 0 0 10px; font-size: 12px; color: #fff; }
.footer-links a { color: #8da3b1; font-size: 12px; }
.footer-links a:hover { color: #fff; }
.footer-cta a { color: #75d7f6; font-size: 13px; font-weight: 800; }
.footer-cta a span { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.footer-cta a:hover span { transform: translateX(4px); }
.footer-bottom { margin-top: 54px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.10); display: flex; justify-content: space-between; gap: 20px; color: #6f8795; font-size: 10px; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .section-pad { padding: 88px 0; }
  .hero-grid, .split-grid, .support-grid, .contact-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero { min-height: auto; }
  .energy-visual { max-width: 680px; width: 100%; margin: 0 auto; }
  .market-grid { grid-template-columns: 1fr 1fr 1fr; }
  .market-intro { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
  .application-card:nth-child(2) { border-right: 0; }
  .application-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-cta { grid-column: 2 / 4; }
}

@media (max-width: 820px) {
  .nav-wrap { min-height: 74px; }
  .brand { width: 200px; }
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 74px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 20px 24px; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(6,36,59,.08); }
  .primary-nav.open { display: flex; }
  .primary-nav a:not(.nav-cta) { padding: 14px 4px; }
  .primary-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .market-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat { padding: 0 0 18px; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .source-note { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-cta { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section-pad { padding: 72px 0; }
  .hero { padding-top: 74px; }
  .hero h1 { font-size: clamp(43px, 13vw, 60px); }
  .hero-lead { font-size: 16px; line-height: 1.7; }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .energy-visual { height: 530px; border-radius: 24px; }
  .energy-grid { inset: 68px 18px 24px; gap: 18px 32px; }
  .energy-node { padding: 12px; grid-template-columns: 38px 1fr; gap: 8px; }
  .node-icon { width: 36px; height: 36px; border-radius: 11px; }
  .node-icon svg { width: 24px; height: 24px; }
  .energy-node strong { font-size: 12px; }
  .energy-node small { font-size: 8px; }
  .energy-core { width: 86px; height: 86px; }
  .energy-core strong { font-size: 15px; }
  .product-grid, .application-grid, .why-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 340px; }
  .application-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .application-card:last-child { border-bottom: 0; }
  .application-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-grid { gap: 38px; }
  .about-panel { min-height: 440px; padding: 30px; }
  .about-panel h3 { font-size: 31px; }
  .mini-features div { grid-template-columns: 1fr; gap: 7px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-cta { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
