@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0D1B2A;
  --blue:        #1A4D8F;
  --lblue:       #4A9EE8;
  --orange:      #E8621A;
  --orange-dark: #C5511A;
  --slate:       #F4F6F9;
  --muted:       #5A6A7A;
  --border:      #E2E8F0;
  --white:       #ffffff;
  --green:       #4AE8A0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo img { height: 36px; display: block; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--orange); color: #fff; border: none;
  padding: 10px 22px; border-radius: 6px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: background .2s; white-space: nowrap;
  text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: var(--orange-dark); }
.nav-lang { display: flex; gap: 6px; }
.nav-lang a {
  font-size: 12px; font-weight: 600; text-decoration: none;
  border-radius: 4px; padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.45);
  transition: border-color .2s, color .2s;
}
.nav-lang a.active {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
  font-weight: 700;
}
.nav-lang a:hover { color: #fff; }
.nav-hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px; margin: 5px 0;
  transition: .3s;
}

/* ── HERO ── */
.hero { background: var(--navy); padding: 100px 24px 80px; }
.hero-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 60px; align-items: center;
}
.hero-eyebrow {
  color: var(--orange); font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 20px;
}
.hero h1 {
  color: #fff; font-size: clamp(32px, 4vw, 50px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -1px; margin-bottom: 20px;
}
.hero h1 em { color: var(--lblue); font-style: normal; }
.hero-sub {
  color: rgba(255,255,255,0.65); font-size: 17px;
  line-height: 1.75; margin-bottom: 36px; max-width: 500px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: var(--orange); color: #fff; border: none;
  padding: 14px 28px; border-radius: 7px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: background .2s; text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 14px 28px; border-radius: 7px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: border-color .2s; text-decoration: none; display: inline-block;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.7); }

/* Hero card */
.hero-card {
  background: rgba(26,77,143,0.18);
  border: 1px solid rgba(74,158,232,0.25);
  border-radius: 16px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.hero-card-label {
  color: rgba(255,255,255,0.45); font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; text-align: center;
}
.time-compare { display: flex; align-items: center; justify-content: center; gap: 20px; }
.time-block { text-align: center; }
.time-block .val { font-size: 40px; font-weight: 800; line-height: 1; color: #fff; }
.time-block .lbl { color: rgba(255,255,255,0.45); font-size: 11px; margin-top: 4px; }
.time-block.new .val { color: var(--green); }
.time-arrow { color: var(--orange); font-size: 24px; font-weight: 700; }
.progress-wrap { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--lblue));
  border-radius: 3px;
  transition: width 1.6s cubic-bezier(.4,0,.2,1);
}
.card-note { color: rgba(255,255,255,0.4); font-size: 12px; text-align: center; }
.sensor-row {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.05); border-radius: 8px; padding: 10px 14px;
}
.sensor-lbl { color: rgba(255,255,255,0.45); font-size: 12px; }
.sensor-val { color: var(--green); font-size: 13px; font-weight: 700; font-family: monospace; }
.sensor-row-pair { display: flex; gap: 10px; }
.sensor-row-pair .sensor-row { flex: 1; }

/* ── STATS BAND ── */
.stats-band { background: var(--blue); padding: 32px 24px; }
.stats-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.stat { text-align: center; }
.stat .num { color: #fff; font-size: 38px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.stat .desc { color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 6px; line-height: 1.4; }

/* ── SECTIONS ── */
section { padding: 88px 24px; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.slate-bg { background: var(--slate); }

.eyebrow {
  color: var(--blue); font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 14px;
}
h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; margin-bottom: 16px;
}
.section-sub {
  color: var(--muted); font-size: 16px; line-height: 1.75;
  max-width: 580px; margin-bottom: 52px;
}

/* Problem cards */
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.prob-card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: 12px; padding: 28px;
}
.prob-icon {
  width: 42px; height: 42px; background: #FEF0E7; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--orange); font-size: 20px;
}
.prob-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.prob-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Diagram */
.diagram-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 32px; overflow: hidden;
}
.diagram-wrap svg { width: 100%; height: auto; display: block; }
.diag-mobile { display: none !important; }
.diag-desktop { display: block !important; }

/* How it works */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--blue); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; margin-top: 2px;
}
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Device mockup */
.device { background: var(--navy); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.device-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.device-label { color: rgba(255,255,255,0.25); font-size: 11px; margin-left: 8px; font-family: monospace; }
.d-row {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.05); border-radius: 8px; padding: 10px 14px;
}
.d-lbl { color: rgba(255,255,255,0.45); font-size: 12px; }
.d-val { color: var(--green); font-size: 13px; font-weight: 700; font-family: monospace; }
.d-progress { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.d-progress-fill { height: 100%; width: 72%; background: var(--lblue); border-radius: 2px; }
.d-meta { display: flex; justify-content: space-between; color: rgba(255,255,255,0.25); font-size: 11px; margin-top: -6px; }

/* Benefits */
.benefits-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.benefit {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 22px;
}
.benefit-icon { color: var(--blue); font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.benefit h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.benefit p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Dark section / quotes */
.dark-section { background: var(--navy); padding: 88px 24px; }
.dark-inner { max-width: 1140px; margin: 0 auto; }
.dark-heading { text-align: center; margin-bottom: 52px; }
.dark-eyebrow {
  color: var(--lblue); font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 14px;
}
.dark-heading h2 { color: #fff; }
.quotes-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.quote-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--orange);
  border-radius: 14px; padding: 28px;
}
.quote-text { color: rgba(255,255,255,0.82); font-size: 15px; line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.quote-name { color: #fff; font-size: 14px; font-weight: 700; }
.quote-role { color: rgba(255,255,255,0.4); font-size: 12px; margin-top: 3px; }
.trust-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-top: 48px; flex-wrap: wrap;
}
.trust-badge {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; padding: 9px 16px;
  color: rgba(255,255,255,0.5); font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
}

/* Contact / CTA */
.cta-section { background: var(--blue); padding: 88px 24px; text-align: center; }
.cta-section .eyebrow { color: rgba(255,255,255,0.5); }
.cta-section h2 { color: #fff; margin-bottom: 12px; }
.cta-sub { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 40px; }
.contact-form { max-width: 540px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gp-input {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 8px; padding: 13px 16px;
  color: #fff; font-size: 14px; font-family: inherit;
  outline: none; transition: border-color .2s; width: 100%;
}
.gp-input::placeholder { color: rgba(255,255,255,0.38); }
.gp-input:focus { border-color: rgba(255,255,255,0.6); }
.gp-textarea { resize: vertical; min-height: 90px; }
.gp-submit {
  background: var(--orange); color: #fff; border: none;
  padding: 15px; border-radius: 8px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background .2s;
}
.gp-submit:hover { background: var(--orange-dark); }
.form-note { color: rgba(255,255,255,0.38); font-size: 12px; text-align: center; }
.form-success {
  display: none; color: var(--green);
  font-size: 16px; font-weight: 600; text-align: center; padding: 20px;
}

/* Footer */
footer { background: #0A1520; padding: 28px 24px; }
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.footer-logo { color: #fff; font-size: 15px; font-weight: 700; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: rgba(255,255,255,0.38); font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy { color: rgba(255,255,255,0.25); font-size: 12px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--navy); padding: 16px 24px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .hero { padding: 64px 24px 60px; }
  .stats-inner { grid-template-columns: repeat(3,1fr); }
  .problem-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .device { display: none; }
  .benefits-grid { grid-template-columns: 1fr; }
  .quotes-grid { grid-template-columns: 1fr; }
  .input-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stat .num { font-size: 28px; }
}

@media (max-width: 640px) {
  .diag-desktop { display: none !important; }
  .diag-mobile { display: block !important; }
  .diagram-wrap { padding: 20px 16px; }
}

@media (max-width: 500px) {
  .stats-inner { grid-template-columns: 1fr; gap: 24px; }
  .trust-strip { flex-direction: column; align-items: center; }
}
