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

:root {
  --navy: #0B1120;
  --navy-light: #131C31;
  --navy-mid: #1A2540;
  --accent: #3B82F6;
  --accent-hover: #2563EB;
  --green: #22C55E;
  --text-white: #F1F5F9;
  --text-gray: #94A3B8;
  --text-muted: #64748B;
  --border-dark: #1E293B;
  --border-light: #E2E8F0;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --accent-glow-border: rgba(59, 130, 246, 0.25);
  --icon-bg: rgba(59, 130, 246, 0.1);
  --trust-icon-bg: rgba(34, 197, 94, 0.1);
  --max-width: 1080px;
  --content-width: 720px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: 15px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

/* ======================
   LANDING PAGE (DARK)
   ====================== */

.page-landing {
  background: var(--navy);
  color: var(--text-gray);
}

/* ---- Header (dark) ---- */
.header-dark {
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--navy) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

.header-dark .header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.header-dark .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-dark .logo img {
  height: 30px;
  width: auto;
}

.header-dark nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-dark nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.header-dark nav a:hover {
  color: var(--text-white);
  background: var(--navy-mid);
  text-decoration: none;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
  height: 100%;
  display: flex;
  align-items: center;
}

.dropdown-trigger {
  display: flex !important;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 280px;
  background: var(--navy-light);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 8px;
  display: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  margin-top: 8px;
  text-align: left;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 8px;
  transition: background 0.2s;
  text-decoration: none !important;
  line-height: normal;
  background: transparent !important;
  color: var(--text-gray) !important;
}

.dropdown-item:hover {
  background: var(--navy-mid) !important;
  color: var(--text-white) !important;
}

.dropdown-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.dropdown-icon img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: block;
}

.dropdown-info {
  display: flex;
  flex-direction: column;
}

.dropdown-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 2px;
  display: block;
}

.dropdown-desc {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 128px 24px 120px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle at 2px 2px, var(--border-dark) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.4;
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

/* Badge */
.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: color-mix(in srgb, var(--navy-light) 50%, transparent);
  border: 1px solid var(--border-dark);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* Heading */
.hero h1 {
  font-size: 60px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--accent);
}

/* Subtitle */
.hero .hero-sub {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 480px;
  margin: 0 0 32px;
  line-height: 1.625;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--accent-contrast, #FFFFFF);
  font-size: 15px;
  font-weight: 500;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s;
}

.hero-cta:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.hero-cta svg {
  transition: transform 0.2s;
}

.hero-cta:hover svg {
  transform: translateX(3px);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--navy-light);
  color: var(--text-white);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--border-dark);
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s;
}

.hero-cta-secondary:hover {
  background: var(--navy-mid);
  text-decoration: none;
}

/* Social proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-white);
  border: 2px solid var(--navy);
  margin-left: -8px;
}

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

.avatar-stack .avatar:nth-child(1) {
  background: #334155;
}

.avatar-stack .avatar:nth-child(2) {
  background: #475569;
}

.avatar-stack .avatar:nth-child(3) {
  background: #64748B;
}

.social-text strong {
  color: var(--text-white);
  font-weight: 500;
}

/* Illustration */
.hero-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: var(--accent);
  opacity: 0.03;
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
}

.hero-graphic {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
}

.hero-svg {
  width: 100%;
  height: 100%;
}

/* SVG animations */
@keyframes gauge-sweep {
  0% {
    transform: rotate(-40deg);
  }

  50% {
    transform: rotate(10deg);
  }

  100% {
    transform: rotate(-40deg);
  }
}

.gauge-needle {
  transform-origin: 0 0;
  animation: gauge-sweep 4s ease-in-out infinite;
}

@keyframes bar-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.bar-1 {
  animation: bar-pulse 3s ease-in-out infinite;
}

.bar-2 {
  animation: bar-pulse 3s ease-in-out infinite 0.3s;
}

.bar-3 {
  animation: bar-pulse 3s ease-in-out infinite 0.6s;
}

.bar-4 {
  animation: bar-pulse 3s ease-in-out infinite 0.9s;
}

.bar-5 {
  animation: bar-pulse 3s ease-in-out infinite 1.2s;
}

@keyframes progress-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.progress-fill {
  animation: progress-pulse 3s ease-in-out infinite;
}

.p-1 {
  animation-delay: 0s;
}

.p-2 {
  animation-delay: 0.4s;
}

.p-3 {
  animation-delay: 0.8s;
}

@keyframes counter-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.counter-num {
  animation: counter-pulse 3s ease-in-out infinite;
}

/* Floating card */
@keyframes float-card {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-float-card {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--navy-light);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-dark);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 180px;
  animation: float-card 5s ease-in-out infinite;
}

.float-card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.float-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ADE80;
  flex-shrink: 0;
}

.float-card-label {
  font-size: 11px;
  color: var(--text-muted);
}

.float-card-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
}

.float-card-bar {
  width: 100%;
  height: 4px;
  background: var(--navy-mid);
  border-radius: 4px;
  overflow: hidden;
}

.float-card-bar-fill {
  width: 75%;
  height: 100%;
  background: #4ADE80;
  border-radius: 4px;
}

/* ---- Section base ---- */
.section {
  padding: 80px 24px;
}

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-gray);
  max-width: 480px;
  margin: 0 auto;
  font-size: 15px;
}

/* ---- Features ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--navy-light);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 32px 28px;
}

.feature-card .feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card .feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
}

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

/* ---- Products ---- */
.section-alt {
  background: var(--navy-light);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--navy);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.product-card .product-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.product-card .product-icon img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.product-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 6px;
}

.product-card .product-platform {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

.product-link {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.product-link:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* ---- Trust ---- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.trust-item {
  padding: 28px 20px;
}

.trust-item .trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--trust-icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.trust-item .trust-icon svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.trust-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 6px;
}

.trust-item p {
  font-size: 14px;
  color: var(--text-gray);
  margin: 0;
  line-height: 1.5;
}

/* ---- Footer (dark) ---- */
.footer-dark {
  border-top: 1px solid var(--border-dark);
  padding: 40px 24px;
}

.footer-dark .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-dark nav {
  display: flex;
  gap: 24px;
}

.footer-dark nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.footer-dark nav a:hover {
  color: var(--text-gray);
  text-decoration: none;
}

.footer-dark .footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ======================
   POLICY PAGES (LIGHT)
   ====================== */

.page-policy {
  background: var(--navy);
  color: var(--text-gray);
}

/* ---- Header (light) ---- */
.header-light {
  background: var(--navy);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-dark);
}

.header-light .header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.header-light .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-light .logo img {
  height: 28px;
  width: auto;
}

.header-light nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-light nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.header-light nav a:hover {
  color: var(--text-white);
  background: var(--navy-light);
  text-decoration: none;
}

/* ---- Policy content ---- */
.policy-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.policy-content h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 6px;
}

.policy-content .effective-date {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.policy-content h2 {
  font-size: 18px;
  font-weight: 650;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.policy-content h2:first-of-type {
  margin-top: 0;
}

.policy-content p {
  margin-bottom: 16px;
  color: var(--text-gray);
}

.policy-content ul,
.policy-content ol {
  margin-bottom: 16px;
  padding-left: 20px;
}

.policy-content li {
  margin-bottom: 8px;
  color: var(--text-gray);
}

.policy-content li::marker {
  color: var(--text-muted);
}

.policy-content strong {
  font-weight: 600;
  color: var(--text-white);
}

/* ---- Footer (light) ---- */
.footer-light {
  border-top: 1px solid var(--border-dark);
  padding: 32px 24px;
}

.footer-light .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-light nav {
  display: flex;
  gap: 20px;
}

.footer-light nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.footer-light nav a:hover {
  color: var(--text-white);
  text-decoration: none;
}

.footer-light .footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

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

@media (max-width: 1024px) {
  .hero {
    padding: 80px 24px 80px;
  }

  .hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 64px 24px 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-social-proof {
    justify-content: center;
  }

  .hero-float-card {
    display: none;
  }

  .hero-graphic {
    max-width: 320px;
    margin: 0 auto;
  }

  .features-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-dark .footer-inner,
  .footer-light .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-dark nav,
  .footer-light nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-dark nav a,
  .header-light nav a {
    font-size: 12px;
    padding: 6px 8px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 20px 48px;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-graphic {
    max-width: 260px;
  }

  .section {
    padding: 56px 20px;
  }

  .product-card {
    flex-direction: column;
    gap: 16px;
  }
}