/* =========================================================
   HOME / LANDING PAGE — premium white & blue
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --hp-display: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  --hp-mono: 'JetBrains Mono', monospace;
}

.home-page { overflow-x: hidden; }

/* ---------------- NAVBAR ---------------- */
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 60px;
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.navbar .brand { display: flex; align-items: center; gap: 10px; font-family: var(--hp-display); font-weight: 700; font-size: 19px; color: var(--text); letter-spacing: -.01em; }
.navbar .brand img { width: 34px; height: 34px; border-radius: 9px; }
.navbar .nav-links { display: flex; gap: 36px; font-weight: 600; font-size: 14px; }
.navbar .nav-links a { color: var(--text-muted); transition: color .2s; position: relative; }
.navbar .nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width .25s ease;
}
.navbar .nav-links a:hover { color: var(--primary); }
.navbar .nav-links a:hover::after { width: 100%; }
.navbar { transition: box-shadow .25s ease, background .25s ease; }
.navbar.is-scrolled { box-shadow: 0 8px 30px rgba(15,30,70,.08); background: rgba(255,255,255,.92); }

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  padding: 92px 60px 40px;
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
  text-align: left;
}
.hero .tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 12px; border-radius: 30px;
  background: var(--primary-light); border: 1px solid #dce8ff;
  color: var(--primary-dark); font-weight: 600; font-size: 13px;
  margin-bottom: 24px;
}
.hero .tag .live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 0 rgba(23,201,100,.5);
  animation: livePing 1.8s ease-out infinite;
}
@keyframes livePing {
  0% { box-shadow: 0 0 0 0 rgba(23,201,100,.5); }
  70% { box-shadow: 0 0 0 7px rgba(23,201,100,0); }
  100% { box-shadow: 0 0 0 0 rgba(23,201,100,0); }
}
.hero h1 {
  font-family: var(--hp-display);
  font-size: 50px; font-weight: 800; line-height: 1.1; letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: 22px;
}
.hero h1 .accent-word {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto;
  animation: gradientShift 5s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.hero p { font-size: 16.5px; color: var(--text-muted); line-height: 1.75; margin-bottom: 34px; max-width: 480px; }
.hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- hero trust row --- */
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.hero-trust-avatars { display: flex; }
.hero-trust-avatars .hta {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2.5px solid var(--white);
  background: linear-gradient(135deg, var(--primary-light), #dce8ff);
  margin-left: -10px;
  box-shadow: 0 2px 6px rgba(15,30,70,.08);
}
.hero-trust-avatars .hta:first-child { margin-left: 0; }
.hero-trust-avatars .hta:nth-child(1) { background: linear-gradient(135deg, #ffd9a0, #ff9f6b); }
.hero-trust-avatars .hta:nth-child(2) { background: linear-gradient(135deg, #a7e3c4, #46c98f); }
.hero-trust-avatars .hta:nth-child(3) { background: linear-gradient(135deg, #b9c9ff, #7490ff); }
.hero-trust-avatars .hta:nth-child(4) { background: linear-gradient(135deg, #ffc1dd, #ff7fb0); }
.hero-trust p { margin: 0; font-size: 13px; font-weight: 600; color: var(--text-muted); max-width: none; }

.hero .btn { font-weight: 700; font-size: 15px; padding: 14px 26px; border-radius: 12px; }

.btn-glow { position: relative; overflow: hidden; box-shadow: 0 12px 28px rgba(21,101,255,.28); }
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(21,101,255,.36); }
.btn-glow::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  animation: btnSheen 3.2s ease-in-out infinite;
}
@keyframes btnSheen { 0% { left: -60%; } 55%, 100% { left: 140%; } }

.btn-ghost {
  background: var(--white); color: var(--text); border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }

/* --- signature element: live activity card --- */
.hero-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(21,101,255,.14), 0 2px 0 rgba(255,255,255,.6) inset;
  animation: panelFloat 5s ease-in-out infinite;
  position: relative;
}
.hero-panel::before {
  content: '';
  position: absolute; inset: -1.5px;
  border-radius: 21.5px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(21,101,255,.35), transparent 35%, transparent 65%, rgba(0,194,255,.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
@keyframes panelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-panel .panel-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  background: var(--primary-light);
}
.hero-panel .panel-dot { width: 9px; height: 9px; border-radius: 50%; }
.hero-panel .panel-dot:nth-child(1) { background: #ff5f56; }
.hero-panel .panel-dot:nth-child(2) { background: #ffbd2e; }
.hero-panel .panel-dot:nth-child(3) { background: #27c93f; }
.hero-panel .panel-title { margin-left: 8px; color: var(--primary-dark); font-size: 12.5px; font-weight: 700; font-family: var(--hp-mono); }
.hero-panel .panel-body { padding: 8px 10px; }
.act-line {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 10px; border-radius: 10px;
  opacity: 0; animation: lineIn .5s ease forwards;
  transition: background .2s ease;
}
.act-line:hover { background: var(--bg); }
@keyframes lineIn { to { opacity: 1; } }
.act-line .a-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.act-line .a-dot.ok { background: var(--success); }
.act-line .a-dot.warn { background: var(--warning); }
.act-line .a-main { flex: 1; min-width: 0; }
.act-line .a-path { font-family: var(--hp-mono); font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.act-line .a-meta { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.act-line .a-status {
  font-family: var(--hp-mono); font-size: 11.5px; font-weight: 700; flex-shrink: 0;
  padding: 3px 9px; border-radius: 6px;
}
.act-line .a-status.ok { color: var(--success); background: rgba(23,201,100,.1); }
.act-line .a-status.warn { color: #b8860b; background: rgba(255,176,32,.14); }

/* ---------------- HOW IT WORKS ---------------- */
.how-it-works { padding: 70px 60px 10px; max-width: 1180px; margin: 0 auto; }
.how-it-works .section-title { text-align: center; margin-bottom: 52px; }
.how-it-works .section-title .tag {
  display: inline-block; padding: 7px 16px; border-radius: 30px;
  background: var(--primary-light); color: var(--primary-dark); font-weight: 700; font-size: 12.5px; margin-bottom: 16px;
}
.how-it-works .section-title h2 { font-family: var(--hp-display); font-size: 32px; font-weight: 800; margin-bottom: 12px; letter-spacing: -.02em; }
.how-it-works .section-title p { color: var(--text-muted); font-size: 15px; }

.hiw-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: start; }
.hiw-step { text-align: center; padding: 0 6px; }
.hiw-num {
  width: 52px; height: 52px; margin: 0 auto 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--hp-mono); font-weight: 700; font-size: 16px; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 24px rgba(21,101,255,.28);
}
.hiw-step h3 { font-family: var(--hp-display); font-size: 16.5px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.hiw-step p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; max-width: 240px; margin: 0 auto; }
.hiw-connector { align-self: center; width: 60px; color: var(--border); margin-top: 26px; }

/* ---------------- FEATURES ---------------- */
.features { padding: 90px 60px; max-width: 1180px; margin: 0 auto; }
.features .section-title { text-align: center; margin-bottom: 56px; }
.features .section-title .tag {
  display: inline-block; padding: 7px 16px; border-radius: 30px;
  background: var(--primary-light); color: var(--primary-dark); font-weight: 700; font-size: 12.5px; margin-bottom: 16px;
}
.features .section-title h2 { font-family: var(--hp-display); font-size: 34px; font-weight: 800; margin-bottom: 12px; letter-spacing: -.02em; }
.features .section-title p { color: var(--text-muted); font-size: 15.5px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 18px;
  padding: 32px 28px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
  position: relative; overflow: hidden;
  cursor: pointer;
}
.feature-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.feature-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(21,101,255,.06), transparent 60%);
  pointer-events: none;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: #cfe0ff; }
.feature-card .icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 8px 20px rgba(21,101,255,.25);
}
.feature-card:hover .icon-wrap { transform: rotate(-8deg) scale(1.08); }
.feature-card .icon-wrap img { width: 25px; height: 25px; filter: brightness(0) invert(1); }
.feature-card h3 { font-family: var(--hp-display); font-size: 17.5px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ---------------- STATS ---------------- */
.stats-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 28px;
  max-width: 1180px; margin: 20px auto 100px; padding: 56px 40px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 70px rgba(21,101,255,.28);
}
.stats-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.14), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(255,255,255,.14), transparent 45%);
  animation: statsGlow 6s ease-in-out infinite;
}
@keyframes statsGlow { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
.stats-band .stat { position: relative; z-index: 1; transition: transform .3s ease; }
.stats-band .stat:hover { transform: translateY(-5px); }
.stats-band .stat h3 { font-family: var(--hp-display); color: #fff; font-size: 38px; font-weight: 800; }
.stats-band .stat p { color: rgba(255,255,255,.82); font-size: 13.5px; margin-top: 6px; font-weight: 500; }

/* ---------------- CTA ---------------- */
.cta-section {
  max-width: 1000px; margin: 0 auto 100px; padding: 64px 60px;
  background: var(--white); border-radius: 28px; border: 1px solid var(--border);
  box-shadow: var(--shadow); text-align: center;
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(21,101,255,.12), transparent 70%);
  top: -150px; left: 50%; transform: translateX(-50%);
  animation: ctaPulse 4s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { opacity: .6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}
.cta-grid-pattern {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .5;
}
.cta-eyebrow {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--primary-dark);
  background: var(--primary-light); border: 1px solid #dce8ff;
  padding: 7px 14px; border-radius: 30px; margin-bottom: 18px;
}
.cta-section h2 { font-family: var(--hp-display); font-size: 32px; font-weight: 800; margin-bottom: 14px; position: relative; z-index: 1; letter-spacing: -.02em; }
.cta-section p { color: var(--text-muted); margin-bottom: 30px; position: relative; z-index: 1; font-size: 15.5px; }
.cta-section .hero-actions { position: relative; z-index: 1; justify-content: center; }

.cta-contact-row {
  position: relative; z-index: 1;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--border);
}
.cta-contact-chip {
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  background: var(--bg); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 30px; transition: all .2s ease;
}
.cta-contact-chip:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-light); transform: translateY(-2px); }

/* ---------------- FOOTER ---------------- */
.site-footer {
  padding: 56px 60px 32px; border-top: 1px solid var(--border);
  max-width: 1220px; margin: 0 auto;
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; margin-bottom: 28px; border-bottom: 1px solid var(--border);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 13.5px; line-height: 1.7; max-width: 320px; }
.footer-col h4 { font-family: var(--hp-display); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text); margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--text-muted); font-size: 13.5px; transition: color .2s ease; width: fit-content; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.site-footer p { color: var(--text-muted); font-size: 13.5px; }
.footer-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; color: var(--text-muted);
}
.footer-status .live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 0 rgba(23,201,100,.5);
  animation: livePing 1.8s ease-out infinite;
}

/* ---------------- Scroll-reveal ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s cubic-bezier(.2,.8,.2,1), transform .65s cubic-bezier(.2,.8,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.feature-card.reveal { transition-duration: .55s; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: left; padding: 60px 24px 50px; }
  .hero p { max-width: none; }
  .hero-panel { max-width: 480px; width: 100%; margin: 0 auto; }
  .hiw-grid { grid-template-columns: 1fr; gap: 36px; }
  .hiw-connector { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .navbar { padding: 16px 20px; }
  .navbar .nav-links { display: none; }
  .hero { padding: 48px 20px 44px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 15px; }
  .hero-trust { flex-wrap: wrap; }
  .hero-panel { border-radius: 16px; }
  .how-it-works { padding: 56px 20px 10px; }
  .feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .feature-card { box-shadow: 0 6px 20px rgba(15,30,70,.06); }
  .stats-band { grid-template-columns: repeat(2,1fr); padding: 40px 24px; margin: 20px 16px 70px; }
  .features { padding: 60px 20px; }
  .cta-section { margin: 0 16px 70px; padding: 44px 24px; }
  .site-footer { padding: 40px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-brand .brand { justify-content: center; }
  .footer-brand p { margin: 0 auto; }
  .footer-col { align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  .hero { padding: 40px 16px 36px; }
  .hero h1 { font-size: 27px; }
  .hero .tag { font-size: 12px; padding: 7px 14px 7px 10px; }
  .hero-panel .panel-title { font-size: 11px; }
  .act-line .a-path { font-size: 12px; }
  .hiw-num { width: 44px; height: 44px; font-size: 14px; }
}
