/* ---------- Reset & base ---------- */

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

:root {
  --navy-950: #0a1c35;
  --navy-900: #0f2444;
  --navy-800: #142c56;
  --navy-700: #1b3a6b;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --text-faint: #9ca3af;
  --border: #e5e7eb;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px -12px rgba(15, 36, 68, 0.25);
  --container: 1160px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

.accent {
  color: var(--blue-400);
}

.accent-dark {
  color: var(--blue-600);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: var(--radius-lg);
}

.btn--primary {
  background: linear-gradient(135deg, var(--navy-700), var(--blue-600));
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(27, 58, 107, 0.45);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--navy-900), #1d4ed8);
  box-shadow: 0 10px 24px -6px rgba(27, 58, 107, 0.55);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--navy-900);
}

.btn--ghost:hover {
  background: rgba(15, 36, 68, 0.06);
}

.btn--ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn--outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--blue-400);
  background: rgba(59, 130, 246, 0.06);
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--outline-light:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-700);
  margin-top: 8px;
}

.link-arrow svg {
  transition: transform 0.15s ease;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand__icon {
  width: 28px;
  height: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--blue-600);
}

.brand__text small {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--navy-700);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav a:hover {
  color: var(--navy-900);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.mobile-nav a {
  padding: 12px 4px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-nav__actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.mobile-nav__actions .btn {
  flex: 1;
}

.mobile-nav__actions .btn--ghost-dark {
  background: var(--navy-900);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(59, 130, 246, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 88% 82%, rgba(37, 99, 235, 0.22) 0%, transparent 50%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  color: #fff;
  padding: 88px 0 110px;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.hero__glow--1 {
  width: 480px;
  height: 480px;
  top: -160px;
  right: -120px;
  background: rgba(59, 130, 246, 0.25);
}

.hero__glow--2 {
  width: 360px;
  height: 360px;
  bottom: -140px;
  left: -100px;
  background: rgba(37, 99, 235, 0.18);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero__inner > * {
  min-width: 0;
}

.kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue-300);
  background: rgba(147, 197, 253, 0.12);
  border: 1px solid rgba(147, 197, 253, 0.25);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.kicker--dark {
  color: var(--navy-700);
  background: rgba(27, 58, 107, 0.08);
  border-color: rgba(27, 58, 107, 0.16);
}

.hero__copy h1 {
  font-size: 44px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.7px;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--navy-900);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-300));
  margin-left: -8px;
}

.avatar-stack span:first-child {
  margin-left: 0;
}

.hero__proof p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 260px;
}

.hero__media {
  position: relative;
  z-index: 1;
}

.browser-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.browser-card__bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #eef1f5;
}

.browser-card__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d1d5db;
}

.browser-card__bar span:first-child {
  background: #f87171;
}

.browser-card__bar span:nth-child(2) {
  background: #fbbf24;
}

.browser-card__bar span:nth-child(3) {
  background: #34d399;
}

.browser-card--float {
  transform: rotate(1.2deg);
}

.browser-card--small {
  width: 62%;
  position: absolute;
  right: -6%;
  bottom: -12%;
  transform: rotate(-2deg);
  border: 4px solid var(--bg);
}

/* ---------- Value strip ---------- */

.value-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.value-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.value-strip h2 {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.3px;
  max-width: 480px;
  color: var(--navy-900);
}

.value-strip__callout {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border: 1.5px solid var(--blue-300);
  border-radius: var(--radius-lg);
  max-width: 380px;
  background: rgba(59, 130, 246, 0.04);
}

.value-strip__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-strip__callout p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ---------- Section head ---------- */

.section-head {
  max-width: 620px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head .kicker {
  display: inline-block;
}

.section-head h2 {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.section-head p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Audience ---------- */

.audience {
  padding: 96px 0;
}

.audience__pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.pill {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pill:hover {
  border-color: var(--blue-400);
  color: var(--navy-900);
}

.pill.is-active {
  background: linear-gradient(135deg, var(--navy-700), var(--blue-600));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(27, 58, 107, 0.4);
}

.audience__panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.audience__panel.is-active {
  display: grid;
  animation: fadeIn 0.35s ease;
}

.audience__panel > * {
  min-width: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.audience__text h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--navy-900);
  margin-bottom: 14px;
}

.audience__text > p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.audience__media .browser-card {
  transform: rotate(-1deg);
}

/* ---------- Features ---------- */

.features {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.feature-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--blue-300);
  background: var(--surface);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(27, 58, 107, 0.08);
  color: var(--navy-700);
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
  color: #fff;
  padding: 96px 0;
  text-align: center;
}

.cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: rgba(59, 130, 246, 0.2);
  filter: blur(90px);
  border-radius: 50%;
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__brand img {
  height: 32px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  font-size: 13px;
  max-width: 260px;
  line-height: 1.6;
}

.footer__cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 14px;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  font-size: 12px;
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
    max-width: 440px;
    margin: 0 auto 12px;
  }

  .browser-card--small {
    display: none;
  }

  .audience__panel.is-active {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .audience__media {
    order: -1;
  }

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

@media (max-width: 768px) {
  .nav,
  .header__actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav.is-open {
    display: flex;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero__copy h1 {
    font-size: 32px;
  }

  .value-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
  }

  .cta h2 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .hero__actions,
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
