/* styles.css */

/* -----------------------------
   Fonts
   - Prefer local font files in production.
   - Fallbacks included.
-------------------------------- */
:root {
  --bg: #06122b;
  --bg2: #071737;
  --card: #0a214d;
  --card2: #0b1f45;
  --stroke: rgba(202, 225, 255, 0.16);
  --stroke2: rgba(202, 225, 255, 0.1);

  --text: #eaf2ff;
  --muted: rgba(234, 242, 255, 0.72);
  --soft: rgba(234, 242, 255, 0.56);

  --a1: #17c6ff;
  --a2: #7c5cff;
  --a3: #ff4fd8;

  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow2: 0 10px 26px rgba(0, 0, 0, 0.35);

  --r16: 16px;
  --r20: 20px;
  --r24: 24px;

  --max: 1320px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, Segoe UI,
    Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background-color: #06122b;
  overflow-x: hidden;
}

/* Accessibility helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  background: rgba(10, 33, 77, 0.92);
  color: var(--text);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  transform: translateY(-140%);
  transition: transform 0.2s var(--ease);
  z-index: 9999;
}
.skip:focus {
  transform: translateY(0);
  outline: none;
}

/* Layout */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 84px 0;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}
.h1 {
  font-size: clamp(2.15rem, 3.4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  text-transform: uppercase;
}
.h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}
.h3 {
  font-size: 1.08rem;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.lead {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 12px 0 0;
}
.sub {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.7;
}

.grad {
  background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(202, 225, 255, 0.14);
  background: rgba(10, 33, 77, 0.55);
  border-radius: 999px;
  color: rgba(234, 242, 255, 0.86);
  margin: 0 0 14px;
}
.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--a1), var(--a3));
  box-shadow: 0 0 0 6px rgba(23, 198, 255, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid rgba(202, 225, 255, 0.14);
  color: var(--text);
  background: rgba(10, 33, 77, 0.36);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease),
    background 0.16s var(--ease), border-color 0.16s var(--ease);
  cursor: pointer;
  font-weight: 650;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  border-color: rgba(202, 225, 255, 0.22);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  border-color: rgba(23, 198, 255, 0.35);
  background: linear-gradient(
    135deg,
    rgba(23, 198, 255, 0.22),
    rgba(124, 92, 255, 0.18),
    rgba(255, 79, 216, 0.16)
  );
  box-shadow: 0 18px 50px rgba(23, 198, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(
    400px 120px at 20% 0%,
    rgba(255, 255, 255, 0.16),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.18s var(--ease);
}
.btn-primary:hover::after {
  opacity: 1;
}

.btn-ghost {
  background: rgba(10, 33, 77, 0.22);
}
.btn-sm {
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 650;
}
.btn-block {
  width: 100%;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* Hero */
.hero {
  padding: 34px 0 40px;
  position: relative;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      900px 560px at 10% 10%,
      rgba(23, 198, 255, 0.2),
      transparent 60%
    ),
    radial-gradient(
      900px 560px at 70% 20%,
      rgba(124, 92, 255, 0.18),
      transparent 60%
    ),
    radial-gradient(
      900px 560px at 85% 70%,
      rgba(255, 79, 216, 0.14),
      transparent 60%
    );
  pointer-events: none;
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
  padding-top: 28px;
}
.hero-copy {
  max-width: 58ch;
}
.hero-visual {
  position: relative;
}
.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--r24);
  border: 1px solid rgba(202, 225, 255, 0.12);
  box-shadow: var(--shadow);
  background: rgba(10, 33, 77, 0.26);
}
.hero-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.float-card {
  position: absolute;
  right: -8px;
  top: 18%;
  width: min(290px, 70%);
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(202, 225, 255, 0.14);
  background: rgba(10, 33, 77, 0.55);
  box-shadow: var(--shadow2);
  transform: rotate(1deg);
}
.float-card.alt {
  left: -10px;
  right: auto;
  top: 62%;
  transform: rotate(-1deg);
}
.float-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.chip {
  font-size: 0.82rem;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(202, 225, 255, 0.14);
  background: rgba(6, 18, 43, 0.35);
}
.chip-soft {
  border-color: rgba(23, 198, 255, 0.18);
  color: rgba(234, 242, 255, 0.82);
}
.float-bar {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(23, 198, 255, 0.55),
    rgba(124, 92, 255, 0.35),
    rgba(255, 79, 216, 0.3)
  );
  opacity: 0.9;
}
.float-bar.short {
  margin-top: 10px;
  width: 68%;
  opacity: 0.65;
}

.hero-metrics {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 22px 0 0;
  padding: 0;
}
.metric {
  border: 1px solid rgba(202, 225, 255, 0.1);
  background: rgba(10, 33, 77, 0.22);
  border-radius: 18px;
  padding: 12px 14px;
  min-width: 140px;
}
.metric dt {
  font-size: 0.78rem;
  color: var(--soft);
  margin-bottom: 6px;
}
.metric dd {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Trust row */
.trust {
  margin-top: 22px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(202, 225, 255, 0.08);
}
.trust-title {
  margin: 0 0 12px;
  color: var(--soft);
  font-size: 0.92rem;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.card {
  border-radius: var(--r24);
  border: 1px solid var(--stroke);
  background: linear-gradient(
    180deg,
    rgba(10, 33, 77, 0.62),
    rgba(10, 33, 77, 0.34)
  );
  box-shadow: var(--shadow2);
  padding: 18px;
}
.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.card.wide {
  padding: 22px;
}
.icon {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  border: 1px solid rgba(202, 225, 255, 0.12);
  background: radial-gradient(
    120px 90px at 30% 20%,
    rgba(23, 198, 255, 0.22),
    rgba(10, 33, 77, 0.25)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}
.icon svg {
  width: 26px;
  height: 26px;
  color: rgba(234, 242, 255, 0.92);
}

/* Split */
.split {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.split img {
  width: 600px;
}
.list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}
.list strong {
  color: rgba(234, 242, 255, 0.92);
}
.mini-cta {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.format-cards {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
.mini-card {
  border-radius: var(--r20);
  border: 1px solid var(--stroke2);
  background: rgba(10, 33, 77, 0.3);
  padding: 16px;
}
.mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.format-img {
  width: 100%;
  border-radius: var(--r24);
  border: 1px solid rgba(202, 225, 255, 0.12);
  box-shadow: var(--shadow);
}

/* Badges */
.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.badge {
  font-size: 0.82rem;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(202, 225, 255, 0.12);
  background: rgba(6, 18, 43, 0.22);
  color: rgba(234, 242, 255, 0.82);
}

/* Timeline */
.timeline {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: flex-start;
  border-radius: var(--r24);
  border: 1px solid var(--stroke);
  background: rgba(10, 33, 77, 0.3);
  padding: 18px;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(
    135deg,
    rgba(23, 198, 255, 0.22),
    rgba(124, 92, 255, 0.18),
    rgba(255, 79, 216, 0.14)
  );
  border: 1px solid rgba(23, 198, 255, 0.22);
}

/* Stats */
.stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.stat {
  border-radius: var(--r24);
  border: 1px solid rgba(202, 225, 255, 0.1);
  background: rgba(10, 33, 77, 0.22);
  padding: 18px;
}
.stat-k {
  font-weight: 950;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.stat-l {
  margin-top: 6px;
  color: var(--soft);
  line-height: 1.5;
}

/* Quotes */
.quote {
  border-radius: var(--r24);
  border: 1px solid rgba(202, 225, 255, 0.12);
  background: linear-gradient(
    180deg,
    rgba(10, 33, 77, 0.52),
    rgba(10, 33, 77, 0.24)
  );
  padding: 18px;
  box-shadow: var(--shadow2);
}
.quote p {
  margin: 0 0 12px;
  color: rgba(234, 242, 255, 0.86);
  line-height: 1.75;
}
.quote footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.who {
  font-weight: 800;
}
.where {
  color: var(--soft);
  font-size: 0.92rem;
}

/* CTA */
.cta {
  position: relative;
  padding: 86px 0;
}
.cta-inner {
  border-radius: 28px;
  border: 1px solid rgba(202, 225, 255, 0.14);
  background: radial-gradient(
      900px 560px at 15% 20%,
      rgba(23, 198, 255, 0.18),
      transparent 60%
    ),
    radial-gradient(
      900px 560px at 85% 30%,
      rgba(124, 92, 255, 0.16),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(10, 33, 77, 0.6), rgba(6, 18, 43, 0.46));
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 16px;
  overflow: hidden;
}
.cta-points {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.point {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(234, 242, 255, 0.82);
}
.bullet {
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--a1), var(--a3));
  box-shadow: 0 0 0 6px rgba(23, 198, 255, 0.1);
}

.form {
  border-radius: var(--r24);
  border: 1px solid rgba(202, 225, 255, 0.12);
  background: rgba(6, 18, 43, 0.4);
  padding: 16px;
}
.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.field span {
  font-size: 0.86rem;
  color: var(--soft);
}
input,
select,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(202, 225, 255, 0.14);
  background: rgba(10, 33, 77, 0.25);
  color: var(--text);
  outline: none;
  transition: border-color 0.16s var(--ease), transform 0.16s var(--ease),
    box-shadow 0.16s var(--ease);
}
input::placeholder,
textarea::placeholder {
  color: rgba(234, 242, 255, 0.4);
}
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(23, 198, 255, 0.45);
  box-shadow: 0 0 0 6px rgba(23, 198, 255, 0.1);
}
.form-note {
  margin: 10px 0 0;
  color: rgba(234, 242, 255, 0.55);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(202, 225, 255, 0.08);
  padding: 26px 0;
  background: rgba(4, 10, 24, 0.65);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: start;
}
.foot-brand {
  margin-bottom: 10px;
}
.foot-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 58ch;
}
.foot-links {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.foot-links a {
  color: rgba(234, 242, 255, 0.82);
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease);
}
.foot-links a:hover {
  background: rgba(202, 225, 255, 0.06);
  border-color: rgba(202, 225, 255, 0.12);
}
.foot-meta {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(234, 242, 255, 0.58);
  font-size: 0.92rem;
  padding-top: 10px;
  border-top: 1px solid rgba(202, 225, 255, 0.06);
}
.sep {
  opacity: 0.5;
}

/* Reveal animation (JS toggles .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }
  .btn {
    transition: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .float-card {
    display: none;
  } /* keep it clean on smaller screens */
  .split {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .foot-links {
    justify-content: flex-start;
  }
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-panel {
    position: absolute;
    right: 20px;
    top: 74px;
    width: min(340px, calc(100vw - 40px));
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-radius: 18px;
    border: 1px solid rgba(202, 225, 255, 0.14);
    background: rgba(6, 18, 43, 0.8);
    box-shadow: var(--shadow);
  }
  .nav-panel a {
    padding: 12px 12px;
  }
  .nav-panel.open {
    display: flex;
  }
}

::-webkit-scrollbar {
  width: 0.5em;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 100vw;
  background-color: #70cdff;
}

::-webkit-scrollbar-thumb:active {
  background-color: #70cdff;
}

.socials {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  i {
    font-size: 20px;
    color: #fff;
  }
}

@media (max-width: 800px) {
  .split {
    flex-direction: column;
    img {
      width: 300px;
    }
  }
  .hero-img {
    display: none;
  }
}
