:root {
  --navy: #0b2458;
  --navy-2: #12306e;
  --blue: #1d7dff;
  --teal: #12c8a8;
  --green: #2ee08a;
  --mint: #e8fbf4;
  --text: #1c2d4a;
  --muted: #5b6b86;
  --line: #dce6f5;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(11, 36, 88, 0.12);
  --radius: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

section[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text);
  background: #e7f1fb;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  z-index: 80;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(1080px, calc(100% - 24px));
  margin: 0 auto;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(11, 36, 88, 0.08);
}

.nav.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(11, 36, 88, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 10px 0 18px;
}

.brand img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, #1d7dff, #12c8a8);
  box-shadow: 0 10px 24px rgba(29, 125, 255, 0.28);
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn-ghost.light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-stage .btn-ghost.light {
  margin-top: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: #fff;
  border-radius: 12px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 4px auto;
  transition: 0.2s;
}

.hero {
  position: relative;
  padding: 16px 0 28px;
  overflow: hidden;
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: center;
  min-height: 430px;
  padding: 32px 36px 28px;
  border-radius: 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(46, 224, 138, 0.28), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(29, 125, 255, 0.45), transparent 32%),
    linear-gradient(160deg, #0b2458 0%, #123e8a 48%, #0e6d7a 100%);
  box-shadow: 0 30px 70px rgba(11, 36, 88, 0.18);
  animation: shift 12s ease-in-out infinite alternate;
}

.hero-stage-copy {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 540px;
}

.hero-stage-copy h1,
.hero-stage-copy p {
  color: #fff;
}

.hero-stage-copy h1 {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  letter-spacing: -0.03em;
  margin: 6px 0 12px;
}

.hero-trust {
  margin-top: 18px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-phone-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.app-phone.tilt {
  transform: rotateY(-16deg) rotateX(8deg) translateY(18px);
  animation: floatTilt 7s ease-in-out infinite;
}

.hero-blurb {
  max-width: 860px;
  margin: 18px auto 0;
  text-align: center;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1rem;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

.blob-a {
  width: 280px;
  height: 280px;
  background: rgba(29, 125, 255, 0.18);
  top: 40px;
  left: -80px;
}

.blob-b {
  width: 320px;
  height: 320px;
  background: rgba(18, 200, 168, 0.18);
  right: -90px;
  bottom: 20px;
  animation-delay: -3s;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.eyebrow.light {
  color: #bfefff;
}

h1,
h2,
h3 {
  color: var(--navy);
  margin: 10px 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
}

h1 span,
h2 span {
  background: linear-gradient(90deg, #1d7dff, #12c8a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead a {
  color: var(--blue);
  font-weight: 700;
}

.lead.strong {
  color: var(--navy);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 10px;
}

.pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}

.pill.ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.meta-line {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.ui-stage {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.app-phone {
  width: min(250px, 100%);
  background: linear-gradient(180deg, #f7fbff, #ffffff);
  border: 10px solid #101828;
  border-radius: 36px;
  padding: 16px 14px 18px;
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}

.app-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.app-kicker {
  margin: 12px 0 0;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-phone h3,
.dash-ui h3 {
  margin: 6px 0 10px;
}

.app-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.score-ring {
  width: 100px;
  height: 100px;
  margin: 6px auto;
  border-radius: 50%;
  background: conic-gradient(#12c8a8 0 84%, #e8eef8 0);
  display: grid;
  place-items: center;
  animation: spinIn 1.2s ease;
}

.score-ring b {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--navy);
}

.app-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.app-tiles span {
  background: #f3f7ff;
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  min-width: 132px;
  animation: float 5.5s ease-in-out infinite;
}

.float-card span,
.float-card small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.float-card strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.fc-1 { left: 0; top: 18%; }
.fc-2 { right: 0; top: 8%; animation-delay: -1.6s; }
.fc-3 { right: 4%; bottom: 10%; animation-delay: -2.8s; }

.spark,
.bars {
  display: block;
  height: 22px;
  margin-top: 8px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(29, 125, 255, 0.15), rgba(18, 200, 168, 0.35));
  position: relative;
  overflow: hidden;
}

.spark::after {
  content: "";
  position: absolute;
  inset: 8px 6px auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 99px;
  animation: pulse 2s ease-in-out infinite;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  background: transparent;
  height: 28px;
}

.bars em {
  flex: 1;
  display: block;
  height: 40%;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--blue), var(--teal));
  transform-origin: bottom;
  animation: bounce 1.6s ease-in-out infinite;
}

.bars em:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.bars em:nth-child(3) { height: 50%; animation-delay: 0.2s; }
.bars em:nth-child(4) { height: 90%; animation-delay: 0.3s; }

.ui-frame {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #eef6ff, #f4fffb);
  padding: 28px 18px;
}

.dash-ui {
  width: 100%;
  background: #fff;
  border-radius: 24px;
  padding: 20px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dash-ui.wide .metric-row {
  grid-template-columns: repeat(4, 1fr);
}

.metric-row div {
  background: #f4f8ff;
  border-radius: 14px;
  padding: 10px;
}

.metric-row span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
}

.metric-row strong {
  color: var(--navy);
}

.chart {
  width: 100%;
  height: 90px;
  margin: 12px 0;
}

.chart path {
  fill: none;
  stroke: url(#none);
  stroke: #1d7dff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: draw 1.8s ease forwards;
}

.dept-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  align-items: end;
  height: 120px;
  margin-top: 16px;
}

.dept-bars span {
  display: block;
  height: var(--h);
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--blue), var(--teal));
  animation: riseBar 1.2s ease;
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: transparent;
}

.section-head {
  max-width: 820px;
  margin-bottom: 22px;
}

.grid-3,
.grid-2,
.grid-5 {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-3.tight {
  margin: 14px 0;
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 22px;
}

.card,
.step,
.audience,
.mock,
.banner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: 0 10px 30px rgba(11, 36, 88, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover,
.step:hover,
.audience:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--mint);
  margin-bottom: 12px;
  font-weight: 800;
  color: var(--navy);
}

.icon.blue {
  background: #e8f1ff;
}

.icon.violet {
  background: #efeaff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tl {
  border-radius: 18px;
  padding: 14px 16px;
  min-height: 110px;
}

.tl p {
  color: var(--muted);
  margin: 0;
}

.tl-1 { background: #e9f9ef; }
.tl-2 { background: #fff4e5; }
.tl-3 { background: #e8f4ff; }
.tl-4 { background: #ffe8ea; }

.flow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

.flow span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.88rem;
}

.banner {
  margin-top: 22px;
}

.banner p {
  color: var(--muted);
  margin: 8px 0 0;
}

.photo-frame,
.wide-photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.wide-photo {
  min-height: 220px;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  display: grid;
  place-items: center;
  font-weight: 800;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
}

.bar {
  height: 10px;
  border-radius: 99px;
  background: #eef3fb;
  overflow: hidden;
  margin: 8px 0 14px;
}

.bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--green));
  animation: grow 1.4s ease forwards;
}

.insight {
  margin-top: 12px;
  background: #eefcf6;
  border-radius: 12px;
  padding: 10px;
  font-size: 0.9rem;
}

.eco {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.eco .audience {
  grid-column: span 2;
}

.promise {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 28px;
  width: min(1280px, calc(100% - 32px));
  margin: 8px auto 24px;
}

.promise-anim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(46, 224, 138, 0.35), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(29, 125, 255, 0.4), transparent 40%),
    linear-gradient(135deg, #0b2458, #1d7dff 55%, #12c8a8);
  animation: shift 10s ease-in-out infinite alternate;
}

.promise-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  min-height: 280px;
  padding: 32px 0;
  color: #fff;
}

.promise h2,
.promise p {
  color: #fff;
  max-width: 680px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
}

.map-section {
  padding: 8px 0 36px;
}

.map-wrap {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.map-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px 16px;
}

.map-caption a {
  color: var(--blue);
  font-weight: 700;
}

.contact-card {
  background: linear-gradient(160deg, #0b2458, #1d7dff 70%, #12c8a8);
  color: #fff;
  border-radius: 28px;
  padding: 32px;
}

.contact-card h2 {
  color: #fff;
}

.contact-card .btn {
  margin-top: 12px;
}

.form {
  background: #fff;
  border-radius: 28px;
  padding: 28px;
  border: 1px solid var(--line);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 10px 0 6px;
  color: var(--navy);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fbfcff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 24px;
  margin-top: 10px;
  font-weight: 700;
}

.form-status.ok {
  color: #0d8a62;
}

.form-status.err {
  color: #c0392b;
}

.footer {
  background: #081833;
  color: #c9d6ee;
  padding: 36px 0 22px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.footer img {
  height: 36px;
  background: #fff;
  border-radius: 10px;
  padding: 4px 8px;
  margin-bottom: 8px;
}

.footer a {
  color: #9ec4ff;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.26s; }
.delay-4 { transition-delay: 0.34s; }

.mobile-menu {
  display: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes grow {
  from { width: 0; }
  to { width: var(--w, 68%); }
}

@keyframes spinIn {
  from { transform: rotate(-80deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

@keyframes bounce {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.2); }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes riseBar {
  from { height: 8%; }
}

@keyframes shift {
  from { filter: hue-rotate(0deg) saturate(1); }
  to { filter: hue-rotate(16deg) saturate(1.08); }
}

@keyframes floatTilt {
  0%, 100% { transform: rotateY(-16deg) rotateX(8deg) translateY(18px); }
  50% { transform: rotateY(-16deg) rotateX(8deg) translateY(4px); }
}

@media (max-width: 980px) {
  .hero-grid,
  .hero-stage,
  .split,
  .contact-wrap,
  .grid-2,
  .grid-3,
  .grid-5,
  .timeline,
  .steps-row,
  .eco {
    grid-template-columns: 1fr;
  }

  .eco .audience {
    grid-column: span 1;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    border-radius: 22px;
  }

  .mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 20px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .app-phone,
  .float-card {
    animation: none;
  }

  .float-card {
    position: static;
    margin: 8px 0 0;
  }

  .ui-stage {
    min-height: auto;
  }

  .app-phone.tilt {
    transform: none;
    animation: none;
  }

  .hero-stage {
    min-height: auto;
    padding: 28px 20px;
    border-radius: 28px;
  }

  .metric-row,
  .dash-ui.wide .metric-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1180px, calc(100% - 24px));
  }

  .section {
    padding: 36px 0;
  }

  .promise,
  .promise-overlay {
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .app-phone.tilt,
  .float-card,
  .blob,
  .bar i,
  .promise-anim,
  .score-ring,
  .chart path,
  .dept-bars span {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
  }
}
