:root {
  --navy: #071a32;
  --navy-2: #0b2747;
  --ink: #10243b;
  --muted: #6d7d90;
  --paper: #f5f8fb;
  --white: #ffffff;

  --line: rgba(16, 36, 59, 0.11);

  --green: #63d391;
  --gold: #f7c85a;
  --blue: #4ca9ff;

  --shadow:
    0 20px 60px rgba(7, 26, 50, 0.12);

  --radius: 26px;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}


body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}


h1,
h2,
h3,
h4,
.brand,
.metric-number,
.eyebrow {
  font-family: "Space Grotesk", sans-serif;
}


a {
  text-decoration: none;
  color: inherit;
}


button,
input,
select {
  font: inherit;
}


button {
  cursor: pointer;
  border: 0;
}


.container {
  width: min(1180px, 92%);
  margin: auto;
}


/* ================= NAV ================= */

nav {
  position: fixed;
  z-index: 1000;

  top: 18px;
  left: 50%;

  transform: translateX(-50%);

  width: min(1180px, 92%);

  padding: 13px 15px 13px 22px;

  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;

  display: flex;
  align-items: center;
  gap: 28px;

  color: white;

  background: rgba(7,26,50,.32);

  backdrop-filter: blur(18px);

  transition: .35s;
}


nav.scrolled {
  background: rgba(255,255,255,.92);
  color: var(--ink);

  border-color: var(--line);

  box-shadow:
    0 10px 35px rgba(7,26,50,.08);
}


.brand {
  font-size: 1.15rem;
  font-weight: 700;

  letter-spacing: -.04em;

  margin-right: auto;
}


.brand span {
  color: var(--green);
}


.nav-links {
  display: flex;
  gap: 24px;

  font-size: .88rem;
  font-weight: 600;
}


.nav-links a {
  opacity: .85;
  transition: .2s;
}


.nav-links a:hover {
  opacity: 1;
}


.nav-cta,
.primary {
  background: var(--green);

  color: #062014;

  padding: 12px 18px;

  border-radius: 12px;

  font-weight: 700;

  transition: .25s;

  box-shadow:
    0 8px 25px rgba(99,211,145,.18);
}


.nav-cta:hover,
.primary:hover {
  transform: translateY(-2px);

  box-shadow:
    0 12px 30px rgba(99,211,145,.28);
}


.menu {
  display: none;

  background: none;

  color: inherit;

  font-size: 1.4rem;
}


/* ================= HERO ================= */

.hero {
  min-height: 780px;

  position: relative;

  color: white;

  display: flex;

  align-items: center;

  background:
    linear-gradient(
      90deg,
      rgba(3,18,36,.92) 0%,
      rgba(3,18,36,.62) 45%,
      rgba(3,18,36,.16) 100%
    ),
    url("https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?auto=format&fit=crop&w=2200&q=85")
    center / cover;
}


.hero::after {
  content: "";

  position: absolute;

  inset: auto 0 0;

  height: 180px;

  background:
    linear-gradient(
      transparent,
      var(--paper)
    );

  pointer-events: none;
}


.hero-content {
  position: relative;

  z-index: 2;

  padding-top: 80px;

  max-width: 760px;
}


.eyebrow {
  text-transform: uppercase;

  letter-spacing: .16em;

  font-size: .72rem;

  color: var(--green);

  font-weight: 700;

  margin-bottom: 20px;
}


.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.4rem);

  line-height: .94;

  letter-spacing: -.065em;

  margin-bottom: 24px;
}


.hero h1 em {
  font-style: normal;

  color: var(--gold);
}


.hero p {
  font-size: 1.08rem;

  line-height: 1.7;

  color: rgba(255,255,255,.76);

  max-width: 620px;
}


.hero-actions {
  display: flex;

  gap: 12px;

  margin-top: 30px;

  flex-wrap: wrap;
}


.secondary {
  padding: 12px 18px;

  border-radius: 12px;

  color: white;

  background: rgba(255,255,255,.1);

  border:
    1px solid rgba(255,255,255,.2);

  font-weight: 700;

  backdrop-filter: blur(10px);

  transition: .25s;
}


.secondary:hover {
  background: rgba(255,255,255,.18);

  transform: translateY(-2px);
}


.hero-stats {
  margin-top: 54px;

  display: grid;

  grid-template-columns:
    repeat(3,1fr);

  max-width: 650px;

  border-top:
    1px solid rgba(255,255,255,.2);

  padding-top: 22px;
}


.hero-stat small {
  display: block;

  color: rgba(255,255,255,.55);

  font-size: .72rem;

  text-transform: uppercase;

  letter-spacing: .1em;
}


.hero-stat strong {
  display: block;

  font-family: "Space Grotesk";

  font-size: 1.35rem;

  margin-top: 6px;
}


/* FLOATING DASHBOARD */

.floating-dashboard {
  position: absolute;

  right: 7%;

  bottom: 125px;

  z-index: 3;

  width: 300px;

  padding: 20px;

  border-radius: 22px;

  background:
    rgba(255,255,255,.1);

  border:
    1px solid rgba(255,255,255,.25);

  backdrop-filter: blur(22px);

  box-shadow:
    0 25px 70px rgba(0,0,0,.22);

  animation:
    float 5s ease-in-out infinite;
}


@keyframes float {

  50% {
    transform: translateY(-10px);
  }

}


.dash-top {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 22px;
}


.live {
  font-size: .68rem;

  text-transform: uppercase;

  letter-spacing: .1em;

  color: var(--green);
}


.live::before {
  content: "";

  display: inline-block;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--green);

  margin-right: 6px;

  box-shadow:
    0 0 12px var(--green);
}


.dash-main {
  font-family: "Space Grotesk";

  font-size: 2.5rem;

  font-weight: 600;
}


.dash-unit {
  color:
    rgba(255,255,255,.5);

  font-size: .9rem;
}


.dash-bar {
  height: 8px;

  border-radius: 20px;

  background:
    rgba(255,255,255,.12);

  overflow: hidden;

  margin: 12px 0 20px;
}


.dash-bar span {
  display: block;

  height: 100%;

  width: 94%;

  background:
    linear-gradient(
      90deg,
      var(--green),
      var(--gold)
    );

  border-radius: inherit;
}


.dash-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 12px;
}


.dash-item {
  background:
    rgba(255,255,255,.08);

  padding: 12px;

  border-radius: 13px;
}


.dash-item small {
  display: block;

  color:
    rgba(255,255,255,.5);

  font-size: .67rem;
}


.dash-item b {
  font-family: "Space Grotesk";

  display: block;

  margin-top: 4px;
}


/* ================= GENERAL ================= */

section {
  padding: 110px 0;
}


.section-head {
  max-width: 680px;

  margin-bottom: 45px;
}


.section-head h2 {
  font-size:
    clamp(2.3rem,5vw,4.5rem);

  line-height: 1;

  letter-spacing: -.055em;

  margin: 10px 0 18px;
}


.section-head p {
  color: var(--muted);

  line-height: 1.75;
}


.reveal {
  opacity: 0;

  transform:
    translateY(25px);

  transition:
    opacity .7s ease,
    transform .7s ease;
}


.reveal.visible {
  opacity: 1;

  transform: none;
}


/* ================= TRUST ================= */

.trust {
  padding: 34px 0;

  background: white;

  border-bottom:
    1px solid var(--line);
}


.trust-grid {
  display: grid;

  grid-template-columns:
    repeat(4,1fr);

  gap: 25px;
}


.trust-item {
  padding:
    10px 20px;

  border-right:
    1px solid var(--line);
}


.trust-item:last-child {
  border: 0;
}


.trust-item strong {
  font-family: "Space Grotesk";

  font-size: 1.65rem;

  display: block;
}


.trust-item span {
  font-size: .78rem;

  color: var(--muted);
}


/* ================= SOLUTIONS ================= */

.solutions {
  background: white;
}


.cards {
  display: grid;

  grid-template-columns:
    repeat(2,1fr);

  gap: 18px;
}


.solution-card {
  min-height: 370px;

  border-radius: var(--radius);

  overflow: hidden;

  position: relative;

  color: white;

  background-size: cover;

  background-position: center;

  box-shadow: var(--shadow);

  transition:
    transform .35s ease;
}


.solution-card:hover {
  transform: translateY(-7px);
}


.solution-card::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      0deg,
      rgba(3,18,36,.92),
      rgba(3,18,36,.05) 70%
    );
}


.solution-card:nth-child(1) {
  background-image:
    url("https://images.unsplash.com/photo-1548337138-e87d889cc369?auto=format&fit=crop&w=1200&q=80");
}


.solution-card:nth-child(2) {
  background-image:
    url("https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?auto=format&fit=crop&w=1200&q=80");
}


.solution-card:nth-child(3) {
  background-image:
    url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1200&q=80");
}


.solution-card:nth-child(4) {
  background-image:
    url("https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?auto=format&fit=crop&w=1200&q=80");
}


.solution-content {
  position: absolute;

  inset:
    auto 28px 28px;
}


.solution-content h3 {
  font-size: 1.8rem;

  margin-bottom: 7px;
}


.solution-content p {
  color:
    rgba(255,255,255,.72);

  font-size: .9rem;

  line-height: 1.6;

  max-width: 430px;
}


.arrow {
  display: inline-flex;

  margin-top: 18px;

  width: 42px;
  height: 42px;

  border:
    1px solid rgba(255,255,255,.3);

  border-radius: 50%;

  align-items: center;

  justify-content: center;

  transition: .25s;
}


.solution-card:hover .arrow {
  background: var(--green);

  color: #062014;

  transform:
    translateX(5px);
}


/* ================= ENERGY FLOW ================= */

.flow-section {
  background: var(--paper);
}


.flow {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 70px;

  align-items: center;
}


.system-visual {
  background: white;

  border:
    1px solid var(--line);

  border-radius: 30px;

  padding: 28px;

  box-shadow: var(--shadow);
}


.system-stage {
  display: grid;

  grid-template-columns:
    repeat(5,1fr);

  align-items: center;

  gap: 8px;
}


.system-node {
  text-align: center;
}


.node-icon {
  width: 68px;
  height: 68px;

  margin: auto;

  border-radius: 20px;

  background: var(--navy);

  color: white;

  display: grid;

  place-items: center;

  font-size: 1.6rem;
}


.system-node b {
  display: block;

  font-size: .78rem;

  margin-top: 10px;
}


.system-node small {
  display: block;

  color: var(--muted);

  font-size: .65rem;

  margin-top: 4px;
}


.connector {
  height: 2px;

  background:
    linear-gradient(
      90deg,
      var(--green),
      var(--blue)
    );

  position: relative;

  overflow: hidden;
}


.connector::after {
  content: "";

  position: absolute;

  width: 25px;
  height: 4px;

  background: white;

  filter: blur(2px);

  top: -1px;

  left: -25px;

  animation:
    energy 1.8s linear infinite;
}


@keyframes energy {

  to {
    left: 100%;
  }

}


.flow-note {
  margin-top: 25px;

  padding: 18px;

  border-radius: 18px;

  background: #f4f8fb;

  border:
    1px solid var(--line);

  font-size: .85rem;

  color: var(--muted);
}


.flow-note b {
  color: var(--ink);
}


/* ================= CALCULATOR ================= */

.calculator-section {
  background: var(--navy);

  color: white;
}


.calculator-section .section-head p {
  color:
    rgba(255,255,255,.6);
}


.calc-wrap {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 18px;
}


.calc-panel,
.result-panel {
  border-radius: 28px;

  padding: 30px;

  background:
    rgba(255,255,255,.07);

  border:
    1px solid rgba(255,255,255,.12);
}


.field {
  margin-bottom: 18px;
}


.field label {
  display: block;

  font-size: .76rem;

  color:
    rgba(255,255,255,.6);

  margin-bottom: 8px;

  text-transform: uppercase;

  letter-spacing: .08em;
}


.field input,
.field select {
  width: 100%;

  padding: 14px 15px;

  border-radius: 12px;

  border:
    1px solid rgba(255,255,255,.14);

  background:
    rgba(255,255,255,.07);

  color: white;

  outline: none;
}


.field select option {
  color: var(--ink);
}


.calc-btn {
  width: 100%;

  margin-top: 4px;

  padding: 14px;

  border-radius: 12px;

  background: var(--green);

  font-weight: 800;

  color: #062014;
}


.result-panel {
  background:
    linear-gradient(
      145deg,
      rgba(99,211,145,.12),
      rgba(76,169,255,.08)
    );
}


.result-panel h3 {
  font-size: 1.3rem;

  margin-bottom: 24px;
}


.result-main {
  font-family: "Space Grotesk";

  font-size: 4rem;

  letter-spacing: -.07em;
}


.result-main small {
  font-family: "DM Sans";

  font-size: .9rem;

  color:
    rgba(255,255,255,.5);

  letter-spacing: 0;
}


.result-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 12px;

  margin-top: 25px;
}


.result-card {
  padding: 16px;

  background:
    rgba(255,255,255,.07);

  border-radius: 15px;
}


.result-card small {
  display: block;

  color:
    rgba(255,255,255,.5);

  font-size: .68rem;
}


.result-card strong {
  display: block;

  font-family: "Space Grotesk";

  font-size: 1.2rem;

  margin-top: 5px;
}


.estimate {
  font-size: .7rem;

  color:
    rgba(255,255,255,.42);

  line-height: 1.5;

  margin-top: 22px;
}


/* ================= DASHBOARD ================= */

.dashboard-section {
  background: white;
}


.dashboard {
  padding: 24px;

  border:
    1px solid var(--line);

  border-radius: 30px;

  box-shadow: var(--shadow);

  background: #fbfdff;
}


.dashboard-head {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  margin-bottom: 25px;
}


.dashboard-head h3 {
  font-size: 1.25rem;
}


.tabs {
  display: flex;

  background: #eef3f7;

  padding: 4px;

  border-radius: 10px;
}


.tab {
  padding: 8px 12px;

  border-radius: 7px;

  background: none;

  font-size: .72rem;

  color: var(--muted);
}


.tab.active {
  background: white;

  color: var(--ink);

  box-shadow:
    0 3px 12px rgba(0,0,0,.06);
}


.metrics {
  display: grid;

  grid-template-columns:
    repeat(4,1fr);

  gap: 12px;
}


.metric {
  padding: 18px;

  background: white;

  border:
    1px solid var(--line);

  border-radius: 18px;
}


.metric small {
  color: var(--muted);

  font-size: .7rem;
}


.metric-number {
  display: block;

  font-size: 1.7rem;

  margin-top: 5px;
}


.metric-change {
  font-size: .68rem;

  color: #319b61;

  margin-top: 4px;
}


.chart-wrap {
  height: 260px;

  margin-top: 16px;

  padding: 20px;

  background: white;

  border:
    1px solid var(--line);

  border-radius: 20px;
}


canvas {
  width: 100%;
  height: 100%;
}


/* ================= AI ================= */

.ai-section {
  background: var(--paper);
}


.ai-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 18px;

  align-items: stretch;
}


.ai-copy {
  background: var(--navy);

  color: white;

  border-radius: 30px;

  padding: 45px;

  display: flex;

  flex-direction: column;

  justify-content: center;
}


.ai-copy p {
  color:
    rgba(255,255,255,.65);

  line-height: 1.75;

  margin-top: 16px;
}


.ai-panel {
  border-radius: 30px;

  background: white;

  border:
    1px solid var(--line);

  padding: 24px;

  box-shadow: var(--shadow);
}


.ai-message {
  padding: 18px;

  border-radius: 17px;

  background: #f2f7f5;

  margin-bottom: 12px;
}


.ai-message strong {
  display: block;

  margin-bottom: 6px;

  font-size: .9rem;
}


.ai-message p {
  font-size: .8rem;

  color: var(--muted);

  line-height: 1.55;
}


.ai-meter {
  margin-top: 22px;
}


.meter-label {
  display: flex;

  justify-content: space-between;

  font-size: .75rem;

  margin-bottom: 7px;
}


.meter {
  height: 9px;

  background: #e9eef2;

  border-radius: 10px;

  overflow: hidden;
}


.meter span {
  display: block;

  height: 100%;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      var(--green),
      var(--blue)
    );

  width: 86%;
}


/* ================= PROJECTS ================= */

.projects {
  background: white;
}


.project-grid {
  display: grid;

  grid-template-columns:
    1.4fr .8fr .8fr;

  grid-auto-rows: 250px;

  gap: 15px;
}


.project {
  border-radius: 22px;

  overflow: hidden;

  position: relative;

  background-size: cover;

  background-position: center;
}


.project:nth-child(1) {
  grid-row: span 2;

  background-image:
    url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1400&q=80");
}


.project:nth-child(2) {
  background-image:
    url("https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?auto=format&fit=crop&w=900&q=80");
}


.project:nth-child(3) {
  background-image:
    url("assets/images.jpg");
}


.project:nth-child(4) {
  background-image:
    url("assets/images (1).jpg");
}


.project:nth-child(5) {
  background-image:
    url("assets/images (2).jpg");
}


.project::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      0deg,
      rgba(3,18,36,.85),
      transparent 60%
    );
}


.project-info {
  position: absolute;

  left: 20px;

  bottom: 18px;

  color: white;
}


.project-info small {
  font-size: .65rem;

  text-transform: uppercase;

  letter-spacing: .1em;

  color:
    rgba(255,255,255,.6);
}


.project-info h3 {
  margin-top: 4px;

  font-size: 1.05rem;
}


/* ================= IMPACT ================= */

.impact {
  background: var(--paper);
}


.impact-grid {
  display: grid;

  grid-template-columns:
    repeat(4,1fr);

  gap: 15px;
}


.impact-card {
  padding: 28px;

  background: white;

  border:
    1px solid var(--line);

  border-radius: 22px;
}


.impact-card strong {
  font-family: "Space Grotesk";

  font-size: 2.25rem;

  display: block;

  letter-spacing: -.06em;
}


.impact-card span {
  font-size: .78rem;

  color: var(--muted);
}


/* ================= PROCESS ================= */

.process {
  background: var(--navy);

  color: white;
}


.process .section-head p {
  color:
    rgba(255,255,255,.6);
}


.steps {
  display: grid;

  grid-template-columns:
    repeat(5,1fr);

  gap: 10px;
}


.step {
  padding: 22px;

  border-top:
    1px solid rgba(255,255,255,.18);
}


.step-number {
  font-family: "Space Grotesk";

  color: var(--green);

  font-size: .75rem;
}


.step h3 {
  margin: 15px 0 8px;

  font-size: 1rem;
}


.step p {
  font-size: .78rem;

  line-height: 1.6;

  color:
    rgba(255,255,255,.55);
}


/* ================= CTA ================= */

.cta {
  padding: 90px 0;

  background:
    linear-gradient(
      120deg,
      #eaf8ef,
      #edf5fb
    );
}


.cta-box {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;
}


.cta h2 {
  font-size:
    clamp(2.4rem,5vw,4.5rem);

  letter-spacing: -.06em;

  line-height: .98;
}


.cta p {
  color: var(--muted);

  margin-top: 12px;
}


/* ================= FOOTER ================= */

footer {
  background: #041326;

  color: white;

  padding: 70px 0 25px;
}


.footer-top {
  display: grid;

  grid-template-columns:
    1.5fr repeat(3,1fr);

  gap: 40px;

  padding-bottom: 55px;
}


footer .brand {
  display: inline-block;
}


.footer-brand p {
  color:
    rgba(255,255,255,.48);

  font-size: .82rem;

  line-height: 1.7;

  max-width: 300px;

  margin-top: 15px;
}


footer h4 {
  font-size: .8rem;

  margin-bottom: 15px;

  color:
    rgba(255,255,255,.75);
}


footer ul {
  list-style: none;
}


footer li {
  margin: 9px 0;

  color:
    rgba(255,255,255,.45);

  font-size: .78rem;
}


.footer-bottom {
  border-top:
    1px solid rgba(255,255,255,.1);

  padding-top: 20px;

  color:
    rgba(255,255,255,.35);

  font-size: .72rem;

  display: flex;

  justify-content: space-between;
}


/* ================= RESPONSIVE ================= */

@media(max-width: 900px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu {
    display: block;
  }


  .hero {
    min-height: 820px;
  }


  .floating-dashboard {
    right: 4%;

    bottom: 55px;

    width: 270px;
  }


  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }


  .trust-item:nth-child(2) {
    border: 0;
  }


  .flow,
  .calc-wrap,
  .ai-grid {
    grid-template-columns: 1fr;
  }


  .project-grid {
    grid-template-columns: 1fr 1fr;

    grid-auto-rows: 220px;
  }


  .project:nth-child(1) {
    grid-row: span 1;
  }


  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }


  .steps {
    grid-template-columns: 1fr 1fr;
  }


  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

}


@media(max-width: 600px) {

  nav {
    top: 10px;
  }


  .hero {
    min-height: 860px;
  }


  .hero-content {
    padding-top: 70px;
  }


  .hero h1 {
    font-size: 3.35rem;
  }


  .hero-stats {
    grid-template-columns: 1fr 1fr;

    gap: 18px;
  }


  .hero-stat:last-child {
    grid-column: span 2;
  }


  .floating-dashboard {
    position: relative;

    right: auto;

    bottom: auto;

    margin: 30px auto 0;

    width: min(330px,90%);

    animation: none;
  }


  .hero {
    align-items: flex-start;

    padding-top: 110px;
  }


  .hero::after {
    height: 100px;
  }


  section {
    padding: 75px 0;
  }


  .cards {
    grid-template-columns: 1fr;
  }


  .solution-card {
    min-height: 330px;
  }


  .system-stage {
    grid-template-columns: 1fr;

    gap: 10px;
  }


  .connector {
    width: 2px;

    height: 24px;

    margin: auto;
  }


  .connector::after {
    animation: none;
  }


  .metrics {
    grid-template-columns: 1fr 1fr;
  }


  .dashboard-head {
    align-items: flex-start;

    flex-direction: column;
  }


  .tabs {
    width: 100%;

    overflow: auto;
  }


  .tab {
    white-space: nowrap;
  }


  .project-grid {
    grid-template-columns: 1fr;

    grid-auto-rows: 230px;
  }


  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }


  .steps {
    grid-template-columns: 1fr;
  }


  .cta-box {
    flex-direction: column;

    align-items: flex-start;
  }


  .footer-top {
    grid-template-columns: 1fr 1fr;
  }


  .footer-brand {
    grid-column: span 2;
  }


  .footer-bottom {
    flex-direction: column;

    gap: 8px;
  }

}