/* =========================================================
   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%; }

/* ---------------- 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 .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);
  animation: panelFloat 5s ease-in-out infinite;
}
@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); }

/* ---------------- 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;
}
.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-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; }

/* ---------------- FOOTER ---------------- */
.site-footer {
  padding: 40px 60px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.site-footer p { color: var(--text-muted); font-size: 13.5px; }

/* ---------------- 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; }
}
@media (max-width: 900px) {
  .navbar { padding: 16px 20px; }
  .navbar .nav-links { display: none; }
  .hero h1 { font-size: 34px; }
  .feature-grid { grid-template-columns: 1fr; }
  .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: 30px 20px; flex-direction: column; text-align: center; }
}
