:root {
  --primary: #3E66F4;
  --green: #28C48D;
  --purple: #8D6AFB;
  --bg: #FFFFFF;
  --bg-alt: #F3F5F7;
  --text: #0D1B2A;
  --muted: #4E5A67;
}

html[data-theme="dark"] {
  --bg: #050816;
  --bg-alt: #0D1B2A;
  --text: #FFFFFF;
  --muted: #BAC4D0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* HEADER */
.header {
  width: 100%;
  padding: 9px 0;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
  transition: border-bottom 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  border-bottom: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
  width: 92%;
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links a {
  margin: 0 18px;
  text-decoration: none;
  color: #0a0a0a;
  font-size: 15px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-ghost {
  padding: 5px 16px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  color: #000;
  text-decoration: none;
}

.text-logo {
  color: rgb(8, 72, 110);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1px;
}

/* MOBILE NAV BAR */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #0a0a0a;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #ffffff;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.mobile-menu a {
  padding: 10px 0;
  color: #0a0a0a;
  text-decoration: none;
  font-size: 16px;
}

/* HERO */
.hero {
  background:
    linear-gradient(90deg, #061226 0%, #071433 10%, #0d2e67 40%, #194b9b 100%);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  padding: 80px 0 120px;
  position: relative;
  color: #fff;
}

.hero-inner {
  width: 92%;
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  align-items: center;
  gap: 40px;
}

.hero-eyebrow {
  background: rgba(255,255,255,0.06);
  padding: 8px 16px;
  border-radius: 20px;
  width: max-content;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: small;
}

.dot-green {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0f0;
}

.hero-title {
  font-size: 60px;
  line-height: 1.1;
  font-weight: 800;
  max-width: 620px;
}

.hero-subtitle {
  margin-top: 20px;
  max-width: 600px;
  font-size: 17px;
  opacity: 0.9;
}

.hero-meta {
  margin-top: 28px;
}

.meta-item {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* HERO CARD */
.hero-card {
  position: relative;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, #1F2937, #020617);
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 14px 14px 16px;
  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(148, 163, 184, 0.35);
  transform: perspective(1100px) rotateY(-16deg) rotateX(10deg);
  transform-origin: center;
}

.hero-card-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 12px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.hero-dot.red { background: #F97373; }
.hero-dot.yellow { background: #FACC15; }
.hero-dot.green { background: #22C55E; }

.hero-pill {
  font-size: 0.7rem;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-screenshot {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-screenshot img {
  width: 100%;
  display: block;
}

/* SECTIONS */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 20px 64px;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.section-title {
  font-size: 1.6rem;
  margin-top: 6px;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 520px;
  margin: 6px auto 0;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-icon.blue { background: rgba(59, 130, 246, 0.1); color: #60A5FA; }
.feature-icon.green { background: rgba(16, 185, 129, 0.12); color: #34D399; }
.feature-icon.purple { background: rgba(168, 85, 247, 0.12); color: #C4B5FD; }

.feature-title { font-size: 1rem; margin-bottom: 4px; }
.feature-body { font-size: 0.88rem; color: var(--muted); }

/* INTEGRATIONS */
.integrations {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.integration-card {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px dashed rgba(248, 113, 113, 0.6);
}

.integrations-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.78rem;
}

.integr-pill {
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 18px 18px 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.86rem;
}

.testimonial-author {
  margin-top: 10px;
  font-weight: 600;
}

/* FOOTER */
.footer {
  background:
    linear-gradient(90deg, #061226 0%, #071433 10%, #0d2e67 40%, #194b9b 100%);
  color: #fff;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 20px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 18px;
  font-size: 0.8rem;
}

.footer-title {
  font-weight: 600;
  color: #E5E7EB;
}

.footer-links {
  display: grid;
  gap: 4px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 22px;
  font-size: 0.75rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================= */
/* RESPONSIVE FIXES – RESPONSIVE NAVBAR + PAGE LAYOUT           */
/* ============================================================= */

/* 1200px */
@media (max-width: 1200px) {
  .hero-title { font-size: 48px; }
  .hero-inner { grid-template-columns: 1fr 420px; }
}

/* Tablets */
@media (max-width: 991px) {

  .hero {
    padding: 60px 0 90px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    margin: 0 auto;
    max-width: 480px;
    transform: none !important;
  }

  .hero-title {
    font-size: 42px;
  }

  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .integrations {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* Phones */
@media (max-width: 768px) {

  .nav-links {
    display: none !important;
  }

  .mobile-menu-btn {
    display: block !important;
  }

  .mobile-menu.show {
    display: flex !important;
  }

  .hero-title {
    font-size: 36px;
  }

  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* Small Phones */
@media (max-width: 480px) {

  .hero {
    padding: 40px 0 70px;
  }

  .hero-title {
    font-size: 30px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .hero-card {
    padding: 16px;
    border-radius: 14px;
  }

  .text-logo {
    font-size: 0.83em !important;
  }
}

@media (max-width: 320px) {
  .hero-eyebrow {
    width: fit-content;
    background: transparent;
    padding: 0;
  }
}