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

/* ── Selection ── */
::selection { background: #4fd1c5; color: #0f1a2e; }

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 100;
  background: linear-gradient(90deg, #4fd1c5 0%, #6ee7db 50%, #38d9c4 100%);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
  will-change: transform;
}

/* ── Reveal-on-scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Base ── */
html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #e8f0fe;
  background: #0f1a2e;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: #cde2db; /* mint tint — same as section-light */
  border-bottom: 1px solid #b9d4cd;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  backdrop-filter: saturate(140%);
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}
.navbar.is-scrolled {
  background: rgba(205,226,219,0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: rgba(185,212,205,0.5);
  box-shadow: 0 4px 18px rgba(15,26,46,0.08);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  padding: 0;
  transition: height 0.25s ease;
}
.navbar.is-scrolled .nav-inner { height: 56px; }

.nav-brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a2a42;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-links a {
  position: relative;
  color: #4a5568;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: #2a9d8f;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).is-active::after { transform: scaleX(1); }
.nav-links a:hover,
.nav-links a.is-active { color: #1a2a42; }

.nav-cta {
  background: #4fd1c5 !important;
  color: #0f1a2e !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem !important;
  transition: background 0.2s;
}
.nav-cta:hover { background: #38b2ac !important; }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(30,58,95,0.7) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 20%, rgba(42,74,127,0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(79,209,197,0.08) 0%, transparent 55%),
    #07101f;
}

.hero-inner { position: relative; z-index: 1; max-width: 100%; margin: 0 auto; }

.hero-logo {
  height: 240px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 20px;
  color: #fff;
  white-space: nowrap;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #4fd1c5 0%, #6ee7db 50%, #38d9c4 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 900px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.hero-btns {
  display: flex; gap: 12px; justify-content: center;
  margin-bottom: 20px;
}

/* Scroll-down hint under the hero CTA */
.hero-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
.hero-scroll-hint:hover { color: #4fd1c5; }
.hero-scroll-hint .chev {
  display: inline-block;
  animation: hint-bounce 1.8s ease-in-out infinite;
}
@keyframes hint-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}


/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 24px;
  border: none; border-radius: 8px;
  font: inherit; font-size: 0.92rem; font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer; text-decoration: none;
  transition: transform 0.18s ease, background 0.2s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79,209,197,0.45);
}

.btn-primary {
  background: #4fd1c5;
  color: #0f1a2e;
  box-shadow:
    0 4px 16px rgba(79,209,197,0.30),
    0 1px 2px rgba(15,26,46,0.20);
}
.btn-primary:hover {
  background: #6ee7db;
  transform: translateY(-2px) scale(1.015);
  box-shadow:
    0 8px 28px rgba(79,209,197,0.45),
    0 2px 6px rgba(15,26,46,0.25);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
}

.btn-full { width: 100%; }

/* ── Sections ── */
.section {
  padding: 72px 0;
}

.section-alt {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.section-heading {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-align: center;
  margin-bottom: 8px;
  color: #fff;
}

.section-lead {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  margin-bottom: 36px;
}

/* ── Light sections (Problem, CTA) ── */
.section-light {
  background: #cde2db !important; /* mint-tinted, clearly not pure white */
  color: #1a2a42;
  padding: 96px 0;
}

.section-light .section-heading {
  color: #1a2a42;
  font-size: 1.5rem;
  margin-bottom: 40px;
}

.section-light .cta-text h2 {
  color: #1a2a42 !important;
}

.section-light .cta-text p {
  color: #5f6e82 !important;
}

.section-light .cta-form {
  background: #ecf5f2;
  border: 1px solid #b9d4cd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.section-light .f-group label {
  color: #4a5568;
}

.section-light .f-group input,
.section-light .f-group select,
.section-light .f-group textarea {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  color: #1a2a42;
}

.section-light .f-group input::placeholder,
.section-light .f-group textarea::placeholder {
  color: #9ca3af;
}

.section-light .f-group select option {
  background: #fff;
  color: #1a2a42;
}

.section-light .f-check label {
  color: #6b7280;
}

.section-light .form-status {
  color: #6b7280;
}

/* ── Problem cards ── */
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: #ecf5f2;
  border: 1px solid #b9d4cd;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow:
    0 1px 2px rgba(15,26,46,0.04),
    0 8px 24px -8px rgba(15,26,46,0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #9ec7be;
  box-shadow:
    0 2px 4px rgba(15,26,46,0.06),
    0 16px 36px -10px rgba(15,26,46,0.18);
}

.card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  background: #eef6f5;
  border-radius: 10px;
  color: #2a9d8f;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.card:hover .card-icon {
  background: #2a9d8f;
  color: #fff;
  transform: scale(1.06);
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1d3556;
}

.card p {
  font-size: 0.88rem;
  color: #5f6e82;
  line-height: 1.55;
}

/* ── Solution grid ── */
.solution-grid {
  display: grid !important;
  grid-template-columns: 1fr 2.5fr !important;
  gap: 96px;
  align-items: center;
  min-height: 700px;
}

.solution-left {
  display: block;
}

.solution-left .section-heading {
  text-align: left;
  margin-bottom: 8px;
}

.solution-left .section-lead {
  text-align: left;
  margin-bottom: 24px;
}

.solution-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-badge-btn {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4fd1c5;
  background: rgba(79,209,197,0.1);
  border: 1px solid rgba(79,209,197,0.3);
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
}

/* ── Features ── */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.feat {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 18px 20px;
}

.feat strong {
  font-size: 0.95rem;
  color: #4fd1c5;
  margin-bottom: 4px;
}

.feat span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ── Video ── */
.video-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#0a1220, #0a1220) padding-box,
    linear-gradient(135deg, rgba(79,209,197,0.55) 0%, rgba(110,231,219,0.18) 45%, rgba(255,255,255,0.05) 100%) border-box;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.3),
    0 16px 40px -12px rgba(79,209,197,0.18),
    0 12px 32px rgba(0,0,0,0.4);
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #0a1220;
}

/* ── CTA / Form ── */
.cta-block {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: center;
}

.cta-text h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.cta-text p {
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

.cta-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 24px;
}

.f-group { margin-bottom: 14px; }

.f-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-bottom: 5px;
}

.f-group input,
.f-group select,
.f-group textarea {
  width: 100%;
  padding: 9px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  transition: border-color 0.15s;
}

.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
  outline: none;
  border-color: rgba(79,209,197,0.5);
}

.f-group input::placeholder,
.f-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.f-group select option { background: #1e3050; color: #fff; }

.f-group textarea { resize: vertical; }

.f-row { display: grid; gap: 12px; }
.f-2col { grid-template-columns: 1fr 1fr; }

.f-check {
  display: flex; align-items: start; gap: 8px;
  margin-bottom: 16px;
}
.f-check input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }
.f-check label { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

.form-status {
  margin-top: 8px;
  min-height: 18px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ── Footer ── */
.site-footer {
  background: #0a1220;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-row > * { margin: 0; }

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-align: left;
  justify-self: start;
}

.footer-questions {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  text-align: center;
  justify-self: center;
  white-space: nowrap;
}
.footer-questions a {
  color: #4fd1c5;
  text-decoration: none;
  font-weight: 500;
}
.footer-questions a:hover { text-decoration: underline; }

.footer-funding {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  background: rgba(79,209,197,0.06);
  border: 1px solid rgba(79,209,197,0.22);
  border-radius: 999px;
  justify-self: end;
}
.footer-funding-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
}
.footer-funding-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #4fd1c5;
  letter-spacing: 0.05em;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
  .solution-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .hero { padding: 130px 0 60px; }
  .hero-logo { height: 160px; }
  .hero h1 { font-size: 1.8rem; white-space: normal; }
  .cards-row { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr !important; gap: 32px; min-height: auto; }
  .solution-left .section-heading,
  .solution-left .section-lead { text-align: center; }
  .solution-right { align-items: center; }
  .cta-block { grid-template-columns: 1fr; }
  .f-2col { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-btns { flex-direction: column; align-items: center; }
  .section-light { padding: 64px 0; }
  .footer-row { grid-template-columns: 1fr; gap: 12px; }
  .footer-tagline, .footer-questions, .footer-funding {
    justify-self: center;
    text-align: center;
  }
}
