/* Server Tracker — landing page */
:root {
  --ink: #0b1020; --text: #1e293b; --muted: #64748b; --line: #e6e9f2; --bg: #ffffff; --bg-2: #f5f7fc;
  --a1: #6366f1; --a2: #a855f7; --a3: #ec4899; --ok: #10b981;
  --dark: #0a0f1f;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.025em; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
svg { width: 20px; height: 20px; flex: 0 0 auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 12px; font-weight: 600; font-size: .95rem;
  background: linear-gradient(135deg, var(--a1), var(--a2)); color: #fff; border: 1px solid transparent; box-shadow: 0 8px 24px rgba(99,102,241,.35); transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(99,102,241,.45); }
.btn.big { padding: 15px 26px; font-size: 1.02rem; border-radius: 14px; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--a1); color: var(--a1); }
.btn.ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); box-shadow: none; }
.btn.ghost-light:hover { background: rgba(255,255,255,.16); }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(10,15,31,.85); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; font-size: 1.1rem; letter-spacing: -.01em; }
.mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--a1), var(--a2) 55%, var(--a3)); box-shadow: 0 6px 18px rgba(168,85,247,.45); }
.mark svg { width: 18px; height: 18px; stroke-width: 2.5; }
.links { display: flex; gap: 24px; margin-left: 8px; }
.links a { color: #c3cadb; font-weight: 500; font-size: .94rem; }
.links a:hover { color: #fff; }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
.nav .btn.ghost { color: #fff; border-color: rgba(255,255,255,.2); }
.nav .btn.ghost:hover { color: #fff; border-color: #fff; }

/* hero */
.hero { position: relative; overflow: hidden; color: #cdd5e6; padding: 84px 0 96px;
  background: radial-gradient(900px 520px at 12% -10%, rgba(99,102,241,.45), transparent 60%), radial-gradient(800px 500px at 100% 20%, rgba(236,72,153,.3), transparent 60%), var(--dark); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 500; letter-spacing: 0; color: #c7d2fe; background: rgba(99,102,241,.18); border: 1px solid rgba(129,140,248,.35); padding: 5px 12px; border-radius: 99px; }
.eyebrow.dark { color: var(--a1); background: #eef0ff; border-color: #dfe3ff; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.08; margin: 20px 0 18px; font-weight: 700; }
.grad { background: linear-gradient(90deg, #a5b4fc, #f0abfc 60%, #f9a8d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: #c3cadb; max-width: 560px; }
.lead b { color: #fff; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-cta.center { justify-content: center; }
.note { font-size: .86rem; color: #8b95ad; margin-top: 18px; }

.mock { background: #111a30; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.mock-top i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.mock-top i:nth-child(1) { background: #f87171; } .mock-top i:nth-child(2) { background: #fbbf24; } .mock-top i:nth-child(3) { background: #34d399; }
.mock-top span { margin-left: 10px; font-size: .8rem; color: #8b95ad; }
.mock-body { padding: 18px; display: grid; gap: 16px; }
.mk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.t { border-radius: 12px; padding: 12px; color: #fff; }
.t small { display: block; font-size: .7rem; opacity: .9; }
.t b { font-size: 1.25rem; font-weight: 700; }
.t1 { background: linear-gradient(135deg, #4f46e5, #7c3aed); } .t2 { background: linear-gradient(135deg, #059669, #34d399); } .t3 { background: linear-gradient(135deg, #0284c7, #38bdf8); }
.bars { height: 130px; display: flex; align-items: flex-end; gap: 8px; padding: 10px; background: rgba(255,255,255,.03); border-radius: 12px; }
.bars span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #a78bfa, #6366f1); animation: grow .9s ease-out both; transform-origin: bottom; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.feed { display: grid; gap: 8px; }
.feed div { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: #e2e8f0; background: rgba(255,255,255,.04); border-radius: 10px; padding: 9px 12px; }
.feed span { color: #a5b4fc; font-size: .72rem; background: rgba(99,102,241,.18); padding: 2px 8px; border-radius: 99px; }
.feed b { margin-left: auto; color: #34d399; font-size: .74rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.15); }

/* pains */
.pains { background: var(--dark); padding: 0 0 70px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); border-radius: 16px; padding: 22px; }
.pain b { color: #fff; display: block; font-size: 1.05rem; margin-bottom: 6px; }
.pain p { color: #98a2b8; font-size: .95rem; }

/* sections */
.sec { padding: 96px 0; }
.sec.alt { background: var(--bg-2); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 14px 0 10px; font-weight: 700; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: #fff; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15,23,42,.08); }
.feature h3 { font-size: 1.05rem; margin: 16px 0 8px; font-weight: 600; }
.feature p { color: var(--muted); font-size: .93rem; }
.fi { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; }
.c0 .fi { background: #eef0ff; color: #4f46e5; } .c1 .fi { background: #e7f8f1; color: #059669; } .c2 .fi { background: #fff2e2; color: #d97706; } .c3 .fi { background: #fde8f1; color: #db2777; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; position: relative; }
.num { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--a1), var(--a2)); margin-bottom: 16px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

.price-card { max-width: 460px; margin: 0 auto; border-radius: 22px; padding: 32px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(79,70,229,.15); position: relative; }
.price-card::before { content: ""; position: absolute; inset: -1px; border-radius: 22px; padding: 1px; background: linear-gradient(135deg, var(--a1), var(--a2), var(--a3)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan { font-weight: 600; color: var(--a1); font-size: .95rem; }
.amount { display: flex; align-items: flex-end; gap: 10px; margin: 10px 0 22px; }
.amount b { font-size: 3.4rem; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.amount span { color: var(--muted); font-size: .92rem; line-height: 1.3; padding-bottom: 6px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; }
.price-card li svg { color: var(--ok); width: 19px; height: 19px; margin-top: 2px; stroke-width: 2.6; }
.pay { text-align: center; color: var(--muted); font-size: .86rem; margin-top: 14px; }

.qa { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
.qa summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--a1); font-size: 1.3rem; line-height: 1; }
.qa[open] summary::after { content: "–"; }
.qa p { color: var(--muted); padding: 0 0 18px; }

.cta { padding: 90px 0; text-align: center; color: #c3cadb;
  background: radial-gradient(700px 400px at 50% 0%, rgba(168,85,247,.35), transparent 70%), var(--dark); }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
.cta p { margin-top: 10px; }
.foot { background: #070b17; color: #8b95ad; font-size: .88rem; padding: 26px 0; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.brand.sm { font-size: .95rem; }
.brand.sm .mark { width: 28px; height: 28px; border-radius: 8px; }

@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; }
  .mock { transform: none; max-width: 560px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .links { display: none; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 54px 0 64px; }
  .grid3, .steps, .features { grid-template-columns: 1fr; }
  .sec { padding: 64px 0; }
  .nav-cta .btn.ghost { display: none; }
  .mk .t b { font-size: 1rem; }
  .btn.big { width: 100%; }
}

/* ---------- v6 ---------- */
:focus-visible { outline: 2px solid #a5b4fc; outline-offset: 3px; border-radius: 6px; }
.brand-block { display: inline-flex; align-items: center; gap: 10px; }
.brand-img { display: block; max-height: 36px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
.brand-block.logo-only .brand-img { max-height: 42px; max-width: 210px; }
.brand-plate { display: inline-flex; padding: 5px 8px; border-radius: 10px; background: #fff; }
.brand-text small { display: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--a1), var(--a2) 55%, var(--a3)); box-shadow: 0 6px 18px rgba(168,85,247,.45); }
.logo-mark svg { width: 18px; height: 18px; }
.brand.sm .logo-mark { width: 28px; height: 28px; border-radius: 8px; }
.brand.sm .brand-img { max-height: 30px; }

.menu-btn { display: none; background: transparent; border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 10px; padding: 7px; cursor: pointer; }
.only-m { display: none; }

.hero h1.grad-h { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.1; letter-spacing: -.03em;
  background: linear-gradient(100deg, #fff 30%, #c7d2fe 70%, #f5d0fe); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* hero: the same event from two lanes, merged into one */
.merge { position: relative; background: #0f1830; border: 1px solid rgba(255,255,255,.09); border-radius: 20px; padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.45); display: grid; gap: 14px; }
.lane { position: relative; height: 92px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.lane-name { position: absolute; left: 14px; top: 10px; max-width: calc(100% - 130px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 8px; font-size: .78rem; color: #94a3b8; }
.lane-name svg { width: 15px; height: 15px; flex: 0 0 auto; }
.pkt { position: absolute; left: 14px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; font-size: .8rem; color: #fff;
  animation: travel 4.8s cubic-bezier(.5,0,.3,1) infinite; }
.pkt i { font-style: normal; font-size: .72rem; opacity: .75; }
.l-browser .pkt { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.l-server .pkt { background: linear-gradient(135deg, #0891b2, #10b981); animation-delay: .25s; }
.blocked, .ok { position: absolute; right: 12px; top: 10px; font-size: .72rem; padding: 2px 9px; border-radius: 99px; }
.blocked { color: #fca5a5; background: rgba(248,113,113,.12); }
.ok { color: #6ee7b7; background: rgba(52,211,153,.12); }
@keyframes travel { 0% { left: 14px; opacity: 0; } 10% { opacity: 1; } 62% { left: calc(100% - 230px); opacity: 1; } 80%, 100% { left: calc(100% - 200px); opacity: 0; } }
.sink { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(99,102,241,.22), rgba(16,185,129,.16)); border: 1px solid rgba(165,180,252,.25);
  animation: land 4.8s ease-in-out infinite; }
.sink b { display: block; color: #fff; font-size: .95rem; }
.sink span { color: #c7d2fe; font-size: .82rem; }
.sink-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #10b981; color: #fff; flex: 0 0 auto; }
@keyframes land { 0%, 58% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } 70% { box-shadow: 0 0 0 6px rgba(16,185,129,.25); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.merge-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .76rem; color: #8b95ad; }
.merge-foot span { display: inline-flex; align-items: center; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .pkt, .sink, .bars span { animation: none; } .pkt { left: auto; right: 14px; } }

/* works with */
.works { background: var(--dark); border-top: 1px solid rgba(255,255,255,.06); padding: 22px 0 26px; }
.works-in { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; color: #8b95ad; font-size: .9rem; }
.works ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.works li { color: #e2e8f0; font-weight: 500; }
.works small { color: #a5b4fc; font-weight: 400; margin-left: 4px; }

/* comparison */
.compare-sec { background: var(--bg); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 980px; margin: 0 auto; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.compare .col { padding: 30px 32px; }
.compare h3 { font-size: 1.15rem; margin-bottom: 16px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.compare li { position: relative; padding-left: 30px; }
.compare li::before { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.before { background: var(--bg-2); color: var(--muted); }
.before li::before { content: "✕"; background: #fde2e2; color: #dc2626; }
.after { background: #fff; position: relative; }
.after::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--a1), var(--a3)); }
.after li::before { content: "✓"; background: #d1fae5; color: #059669; }

/* footer */
.foot { padding: 46px 0 34px; }
.foot-in { align-items: flex-start; }
.foot-brand p { margin-top: 10px; max-width: 300px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot-links a { color: #c3cadb; } .foot-links a:hover { color: #fff; }
.foot-meta { display: flex; flex-direction: column; gap: 6px; text-align: right; }

@media (max-width: 1000px) {
  .menu-btn { display: inline-grid; place-items: center; }
  body.menu-open .links { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px; background: #0a0f1f; border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 40px rgba(0,0,0,.5); }
  body.menu-open .links a { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .merge { max-width: 560px; }
}
@media (max-width: 680px) {
  .only-m { display: block; }
  .nav-cta .btn:not(.ghost) { padding: 9px 14px; }
  .compare { grid-template-columns: 1fr; }
  .compare .col { padding: 24px 20px; }
  .foot-meta { text-align: left; }
  .pkt i { display: none; }
}
