/* ========== BASE ========== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #050814;
  --bg-alt: #070b18;
  --bg-soft: #0b1022;
  --bg-white: #ffffff;

  --accent: #4f8cff;
  --accent-strong: #73a3ff;
  --accent-soft: rgba(79, 140, 255, 0.14);

  --text-main: #f5f7ff;
  --text-muted: #a3accb;
  --text-dark: #141727;

  --border-soft: rgba(255, 255, 255, 0.12);

  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);

  --max-width: 1120px;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #141c3b 0, #050814 45%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

main {
  padding-top: 86px; /* space for fixed nav */
}

img {
  max-width: 100%;
  display: block;
}

/* ========== NAVBAR ========== */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: 70px;
  background: rgba(5, 8, 20, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.93rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

/* ========== HERO ========== */

.hero {
  padding: 96px 20px 72px;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent-strong);
}

.hero-text h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 10px 0 18px;
}

.hero-body {
  color: var(--text-muted);
  max-width: 36rem;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border 0.15s ease,
    transform 0.08s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 32px rgba(79, 140, 255, 0.55);
}

.btn.primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* HERO visual */

.hero-visual {
  position: relative;
  min-height: 260px;
}

.hero-blob {
  position: absolute;
  inset: 0 12% 15% 0;
  background: radial-gradient(circle at top left, #4f8cff55, transparent 60%),
    radial-gradient(circle at bottom right, #00ffba33, transparent 60%);
  filter: blur(12px);
}

.hero-card {
  position: relative;
  margin-top: 10px;
  background: linear-gradient(145deg, #0b1024, #151a32);
  border-radius: var(--radius-xl);
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-soft);
}

.hero-card-label {
  font-size: 0.82rem;
  color: var(--accent-strong);
  margin-bottom: 8px;
}

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.hero-metrics li {
  display: flex;
  gap: 6px;
  align-items: baseline;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-metrics span {
  font-weight: 600;
  color: var(--text-main);
}

.hero-card-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== STRIP ========== */

.strip {
  padding: 26px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    to right,
    rgba(79, 140, 255, 0.2),
    transparent,
    rgba(0, 255, 186, 0.18)
  );
}

.strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.strip-title {
  font-size: 0.92rem;
  font-weight: 500;
}

.strip-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.strip-logos span {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 8, 20, 0.55);
}

/* ========== SECTIONS ========== */

.section {
  padding: 64px 20px;
}

.section.white {
  background: #f6f7ff;
  color: var(--text-dark);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-inner.split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: center;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--accent-strong);
  margin-bottom: 4px;
}

.section h2 {
  margin: 0 0 14px;
  font-size: 1.9rem;
}

.section-text p {
  margin: 0 0 10px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 40rem;
}

.section.white .section-text p {
  color: #4a5375;
}

/* Feature grid */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.feature {
  background: rgba(10, 15, 32, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 16px 16px 18px;
}

.section.white .feature {
  background: #ffffff;
  border-color: rgba(10, 15, 32, 0.08);
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section.white .feature p {
  color: #565f80;
}

/* Visual / circle box */

.section-visual {
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  padding: 20px 22px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.section.white .section-visual {
  background: #ffffff;
}

.circle-callout {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--accent-strong);
  margin-bottom: 4px;
}

.circle-title {
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.circle-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section.white .circle-text {
  color: #565f80;
}

/* ========== APPS GRID ========== */

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.app-card {
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 18px 18px 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.app-card h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.app-tag {
  margin: 0 0 10px;
  font-size: 0.8rem;
  color: var(--accent-strong);
}

.app-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.app-points {
  margin: 0;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.app-points li + li {
  margin-top: 4px;
}

/* ========== BULLET LISTS ========== */

.bullet-list {
  margin: 16px 0 0;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section.white .bullet-list {
  color: #4a5375;
}

.bullet-list li + li {
  margin-top: 4px;
}

/* ========== CONTACT FORM ========== */

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 4px;
  font-size: 0.85rem;
}

.contact-form input,
.contact-form textarea {
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 8px 10px;
  background: #050814;
  color: var(--text-main);
  font: inherit;
}

.section.white .contact-form input,
.section.white .contact-form textarea {
  background: #f0f2ff;
  border-color: rgba(10, 15, 32, 0.12);
  color: var(--text-dark);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(79, 140, 255, 0.4);
}

.form-status {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--accent-strong);
}

/* ========== FOOTER ========== */

.footer {
  padding: 26px 20px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: #050814;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-note {
  opacity: 0.85;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 960px) {
  .hero-inner,
  .section-inner.split {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .apps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-inner {
    gap: 10px;
  }

  .nav-links {
    font-size: 0.85rem;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  main {
    padding-top: 96px;
  }

  .nav {
    height: auto;
    padding: 6px 0;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .feature-grid,
  .apps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
