:root {
  --bg: #000;
  --surface: #111;
  --surface2: #1a1a1a;
  --border: rgba(255,255,255,0.07);
  --blue: #007aff;
  --blue-bg: rgba(0,122,255,0.1);
  --blue-border: rgba(0,122,255,0.2);
  --blue-glow: rgba(0,122,255,0.35);
  --white: #fff;
  --muted: #888;
  --dim: #555;
  --red: #ff3b30;
  --green: #34c759;
  --r: 16px;
  --r-lg: 22px;
  --ease: cubic-bezier(0.25,0.46,0.45,0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: var(--blue); color: #fff; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

#nav { position: fixed; inset: 0 0 auto; z-index: 99; padding: 0 24px; transition: background 0.4s var(--ease), border-color 0.4s var(--ease); will-change: background; }
#nav.on { background: rgba(0,0,0,0.75); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1080px; margin: 0 auto; height: 58px; display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; letter-spacing: -0.03em; flex-shrink: 0; }
.logo em { font-style: normal; color: var(--blue); }
.dot-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); animation: dp 2.4s ease-in-out infinite; }
@keyframes dp { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(.75); } }

#nav ul { display: flex; gap: 28px; list-style: none; margin-left: auto; }
#nav ul a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; letter-spacing: -0.01em; }
#nav ul a:hover { color: var(--white); }
.nav-btn { padding: 7px 16px; background: var(--blue); border-radius: 20px; font-size: 13.5px; font-weight: 600; color: #fff; letter-spacing: -0.01em; transition: opacity .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.nav-btn:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 18px var(--blue-glow); }

#hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(ellipse 70% 50% at 50% -5%, rgba(0,122,255,.13) 0%, transparent 65%); }
#canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 110px 24px 70px; }

#pill, #h1, #sub, #actions { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); will-change: opacity, transform; }
#h1 { transform: translateY(30px) scale(0.96); }
#pill.show, #h1.show, #sub.show, #actions.show { opacity: 1; transform: translateY(0) scale(1); }

.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; border-radius: 20px; background: var(--blue-bg); border: 1px solid var(--blue-border); font-size: 11.5px; font-weight: 700; color: var(--blue); letter-spacing: .06em; text-transform: uppercase; }
h1 { margin-top: 22px; font-size: clamp(50px, 9vw, 92px); font-weight: 900; line-height: 1.02; letter-spacing: -0.045em; }
.blue-grad { background: linear-gradient(130deg, #007aff 0%, #5ac8fa 55%, #007aff 100%); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: shine 4s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
#sub { margin-top: 22px; font-size: clamp(15px, 2.2vw, 19px); color: var(--muted); line-height: 1.7; letter-spacing: -0.01em; }
.hero-ctas { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
#cta { position: relative; padding: 15px 34px; background: var(--blue); border: none; border-radius: 50px; font-family: inherit; font-size: 15.5px; font-weight: 700; color: #fff; letter-spacing: -0.02em; cursor: pointer; overflow: hidden; transition: box-shadow .3s, transform .2s cubic-bezier(0,0,0,1.5); }
#cta:hover { box-shadow: 0 8px 36px var(--blue-glow); }
#cta span { position: relative; z-index: 1; pointer-events: none; }
#cta i { position: absolute; inset: -60%; background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 65%); opacity: 0; transition: opacity .35s; pointer-events: none; border-radius: 50%; }
#cta:hover i { opacity: 1; }
.scroll-hint { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--dim); transition: color .2s; }
.scroll-hint:hover { color: var(--muted); }
.scroll-hint svg { animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.section { padding: 110px 0; }
.section.alt { background: var(--surface); }
.sec-head { text-align: center; margin-bottom: 60px; }
.label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 14px; line-height: 1.08; }
.sec-head p { font-size: 16.5px; color: var(--muted); max-width: 480px; margin: 0 auto; letter-spacing: -0.01em; line-height: 1.65; }

.card { background: rgba(255,255,255,.028); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease), box-shadow .35s var(--ease); will-change: transform; }
.card:hover { background: rgba(255,255,255,.042); border-color: var(--blue-border); box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 0 1px rgba(0,122,255,.08); z-index: 10; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-bg); border: 1px solid var(--blue-border); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; }
.card > p { font-size: 14.5px; color: var(--muted); line-height: 1.75; letter-spacing: -0.005em; }
.card-stat { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 4px; }
.card-stat strong { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; color: var(--blue); }
.card-stat span { font-size: 12.5px; color: var(--dim); }

.three-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.tool-card { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.tool-card.featured { border-color: var(--blue-border); background: rgba(0,122,255,.04); }
.card-num { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.12); letter-spacing: .06em; }
.tool-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tool-head h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; }
.tool-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--blue-bg); border: 1px solid var(--blue-border); display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0; transition: transform .25s, background .25s; }
.tool-card:hover .tool-icon { transform: scale(1.06); background: rgba(0,122,255,.16); }
.glow-icon { box-shadow: 0 0 18px rgba(0,122,255,.28); }
.tool-card > p { font-size: 13.5px; color: var(--muted); line-height: 1.75; letter-spacing: -0.005em; margin-bottom: 18px; }
.tool-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.tool-card ul li { font-size: 13px; color: var(--muted); padding-left: 18px; position: relative; letter-spacing: -0.01em; }
.tool-card ul li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--blue); opacity: .6; }
.badges { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.06); display: flex; flex-wrap: wrap; gap: 7px; }
.badges span { padding: 3px 10px; border-radius: 6px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); font-size: 11.5px; font-weight: 500; color: var(--muted); }
.badges .snyk { background: rgba(0,206,120,.08); border-color: rgba(0,206,120,.2); color: #00ce78; }

.compare-box { background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.07); border-radius: var(--r-lg); overflow: hidden; }
.tabs { display: flex; gap: 2px; padding: 0 22px; background: rgba(0,0,0,.25); border-bottom: 1px solid rgba(255,255,255,.06); }
.tab { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: transparent; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--dim); cursor: pointer; letter-spacing: -0.01em; transition: color .2s, border-color .2s; }
.tab.active { color: var(--white); border-bottom-color: var(--blue); }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot.red { background: var(--red); }
.dot.green { background: var(--green); }
.panel { display: none; padding: 22px; animation: fadeUp .3s ease; }
.panel.active { display: block; }
@keyframes fadeUp { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.plabel { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: .02em; margin-bottom: 14px; }
.plabel.bad { color: var(--red); }
.plabel.good { color: var(--green); }
pre { background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 22px; overflow-x: auto; font-size: 13px; line-height: 1.8; font-family: 'SF Mono', 'Fira Code', Consolas, monospace; }
.c { color: rgba(255,255,255,.28); font-style: italic; }
.k { color: #fc5fa3; }
.f { color: #5dd8ff; }
.s { color: #fc6a5d; }
.v { color: #67b7a4; }
.n { color: #d0bf69; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.06); }
.metrics div { padding: 22px; text-align: center; border-right: 1px solid rgba(255,255,255,.06); }
.metrics div:last-child { border-right: none; }
.metrics strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.04em; color: var(--blue); margin-bottom: 4px; }
.metrics span { font-size: 12px; color: var(--dim); letter-spacing: -0.01em; }

.stats-strip { background: var(--surface); border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 0 32px; text-align: center; border-right: 1px solid rgba(255,255,255,.06); }
.stat-item:last-child { border-right: none; }
.stat-item p { font-size: clamp(38px, 5vw, 60px); font-weight: 900; letter-spacing: -0.05em; line-height: 1; }
.stat-item p b { font-weight: 900; }
.stat-item p em { font-style: normal; color: var(--blue); font-weight: 900; }
.stat-item span { display: block; margin-top: 8px; font-size: 12.5px; color: var(--dim); letter-spacing: -0.01em; }

footer { padding: 72px 0 36px; border-top: 1px solid rgba(255,255,255,.06); }
.foot-top { display: flex; justify-content: space-between; gap: 60px; margin-bottom: 56px; flex-wrap: wrap; }
.foot-brand { max-width: 260px; }
.foot-brand p { margin-top: 14px; font-size: 13.5px; color: var(--dim); line-height: 1.65; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-cols > div { display: flex; flex-direction: column; gap: 12px; }
.foot-cols h4 { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.foot-cols a { font-size: 13.5px; color: var(--dim); transition: color .2s; }
.foot-cols a:hover { color: var(--white); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.05); flex-wrap: wrap; gap: 10px; }
.foot-bottom p { font-size: 13px; color: var(--dim); }
.foot-bottom strong { color: var(--blue); font-weight: 700; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.two-col .card:nth-child(2) { transition-delay: 0.1s; }
.three-col .card:nth-child(2) { transition-delay: 0.1s; }
.three-col .card:nth-child(3) { transition-delay: 0.2s; }
.stat-item:nth-child(2) { transition-delay: 0.1s; }
.stat-item:nth-child(3) { transition-delay: 0.2s; }
.stat-item:nth-child(4) { transition-delay: 0.3s; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

@media (max-width: 768px) {
  #nav ul { display: none; }
  .nav-btn { margin-left: auto; }
  .section { padding: 80px 0; }
  .two-col, .three-col { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2,1fr); }
  .metrics div { border-bottom: 1px solid rgba(255,255,255,.06); }
  .metrics div:nth-child(2n) { border-right: none; }
  .metrics div:nth-last-child(-n+2) { border-bottom: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .stat-item { border-right: none; padding: 0 16px; }
  .foot-top { flex-direction: column; gap: 36px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  #sub br { display: none; }
  .reveal { transition-delay: 0s !important; }
}
@media (max-width: 480px) { .metrics { grid-template-columns: repeat(2,1fr); } }