/* ==========================================================================
   Cloakfy.io — Landing page styles
   ========================================================================== */

:root {
  --bg: #08080d;
  --bg-2: #0c0c14;
  --card: #10101a;
  --card-2: #13131e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f2ee;
  --text-2: #c9c7c2;
  --muted: #8f8fa3;
  --muted-2: #62627a;
  --accent: #8b5cf6;
  --accent-2: #a78bfa;
  --accent-soft: rgba(139, 92, 246, 0.16);
  --on-accent: #ffffff;
  --display: "Inter", sans-serif;
  --green: #34d399;
  --red: #f87171;
  --amber: #fbbf24;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 112px 0; }
.section--tight { padding: 72px 0; }

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; }
h3 { font-size: 16px; font-weight: 600; }
p { margin: 0; }
.lead { color: var(--muted); font-size: 18px; max-width: 640px; margin-top: 18px; line-height: 1.6; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 18px;
}
.grad { color: var(--muted); background: linear-gradient(90deg, #c4b5fd, #8f8fa3); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--text); color: #0a0a0f; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 10px 34px rgba(139,92,246,.16); }
.btn--primary:hover { background: #fff; }
.btn--ghost { background: rgba(255,255,255,.04); border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--border-strong); background: rgba(255,255,255,.07); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 16px; height: 16px; }

/* Header ----------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 13, 0.75);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; }
.brand__name { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.brand__name span { font-weight: 300; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 15px; color: var(--text-2); transition: color .15s; }
.nav a:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__login { font-size: 15px; color: var(--text-2); }
.header__login:hover { color: var(--text); }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; width: 40px; height: 40px; color: var(--text); cursor: pointer; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; padding: 110px 0 60px; overflow: hidden; }
.hero__globe {
  position: absolute; left: 50%; top: 60px; transform: translateX(-50%);
  width: 1600px; height: 1000px;
  background: url("../img/world-dots.svg") center 40% / 1600px auto no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 48% 60% at 50% 55%, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 48% 60% at 50% 55%, #000 35%, transparent 80%);
  opacity: .28;
  pointer-events: none; z-index: 0;
}
.hero__rings {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  width: 1500px; height: 1500px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: radial-gradient(circle at 50% 40%, rgba(139,92,246,.10), transparent 58%);
  pointer-events: none; z-index: 0;
}
.hero__rings::before { content: ""; position: absolute; inset: 120px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.06); }
.hero__rings::after { content: ""; position: absolute; inset: -120px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.045); }
.hero__orbit-dot { position: absolute; left: 50%; top: -60px; width: 1500px; height: 1500px; transform: translateX(-50%); pointer-events: none; z-index: 0; animation: spin 60s linear infinite; }
.hero__orbit-dot::after { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }
.hero__fade {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(8,8,13,.85) 22%, rgba(8,8,13,0) 48%, rgba(8,8,13,0) 78%, var(--bg) 100%);
}
.hero__content { position: relative; z-index: 1; text-align: center; max-width: 860px; margin: 0 auto; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 700; letter-spacing: -0.035em; }
.hero h1 .grad { display: block; }
.hero .lead { font-size: 19px; margin: 26px auto 0; max-width: 660px; }
.hero__cta { display: flex; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero__note { margin-top: 16px; font-size: 13px; color: var(--muted-2); }
.eyebrow--orbit { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow--orbit::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--accent-2); box-shadow: 0 0 0 3px rgba(139,92,246,.14); }

/* Flow diagram */
.flow { position: relative; z-index: 1; margin: 96px auto 0; max-width: 760px; height: 260px; }
.flow__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow__node {
  position: absolute; width: 88px; height: 88px; border-radius: 22px;
  background: var(--card-2); border: 1px solid var(--border-strong);
  display: grid; place-items: center; color: var(--text-2);
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}
.flow__node svg { width: 30px; height: 30px; }
.flow__node span { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.flow__node--user { left: 0; top: 24px; color: var(--accent-2); }
.flow__node--bot { left: 0; bottom: 24px; }
.flow__node--white { right: 0; top: 24px; }
.flow__node--black { right: 0; bottom: 24px; color: var(--accent-2); border-color: rgba(139,92,246,.45); background: rgba(139,92,246,.10); }
.flow__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 132px; height: 132px; border-radius: 50%;
  background: linear-gradient(160deg, #9d6bff, #6d3ee8);
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 0 0 10px rgba(139,92,246,.10), 0 0 0 22px rgba(139,92,246,.05), 0 20px 70px rgba(139,92,246,.45);
}
.flow__core svg { width: 64px; height: 64px; }
.flow__core span { position: absolute; top: calc(100% + 30px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--mono); font-size: 11px; color: var(--accent-2); }
.flow__label { position: absolute; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.flow__label--l { left: 0; top: -22px; }
.flow__label--r { right: 0; top: -22px; }
.flow path { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.flow .p-white { stroke: url(#gWhite); }
.flow .p-purple { stroke: url(#gPurple); }
.flow .p-dash { stroke-dasharray: 6 10; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }

/* Browser mock ----------------------------------------------------------- */
.browser {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.browser__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.browser__dots i:nth-child(1) { background: #ff5f57; }
.browser__dots i:nth-child(2) { background: #febc2e; }
.browser__dots i:nth-child(3) { background: #28c840; }
.browser__url { flex: 1; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; }

/* Dashboard mock */
.hero__dash { position: relative; z-index: 1; margin-top: 110px; }
.dash { display: grid; grid-template-columns: 220px 1fr; min-height: 520px; }
.dash__side { border-right: 1px solid var(--border); padding: 18px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.dash__side .brand__mark { width: 26px; height: 26px; }
.dash__side .brand__name { font-size: 16px; }
.dash__plan { margin: 12px 6px 18px; font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; }
.dash__plan b { color: var(--text-2); }
.dash__group { font-size: 10px; letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; margin: 14px 6px 6px; font-weight: 600; }
.dash__item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--muted); }
.dash__item svg { width: 15px; height: 15px; }
.dash__item--active { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.dash__journey { margin-top: auto; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: var(--bg-2); }
.dash__journey small { font-size: 10px; letter-spacing: .12em; color: var(--accent-2); font-weight: 700; }
.dash__journey div { font-size: 12px; color: var(--muted); margin-top: 6px; }
.dash__journey div b { color: var(--text); }
.dash__main { padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; background: var(--bg-2); display: flex; justify-content: space-between; align-items: flex-start; }
.kpi small { font-size: 11px; color: var(--muted); }
.kpi strong { display: block; font-size: 22px; margin-top: 4px; font-weight: 700; }
.kpi strong span { font-size: 12px; color: var(--muted-2); font-weight: 500; }
.kpi svg { width: 18px; height: 18px; color: var(--accent-2); }
.chart-card { border: 1px solid var(--border); border-radius: 12px; background: var(--bg-2); padding: 16px; flex: 1; display: flex; flex-direction: column; }
.chart-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.chart-card__title { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.chart-card__title i { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); display: grid; place-items: center; }
.chart-card__title i svg { width: 14px; height: 14px; color: var(--on-accent); }
.chart-card__title small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
.chart-card__title b { font-weight: 600; }
.pill { font-size: 11px; color: var(--muted); border: 1px solid var(--border); border-radius: 7px; padding: 5px 10px; background: rgba(255,255,255,.03); }
.pill--accent { background: var(--accent); color: var(--on-accent); border-color: transparent; font-weight: 600; }
.chart { width: 100%; height: auto; flex: 1; }
.chart-card__foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 8px; }
.chart-card__foot b { color: var(--red); font-weight: 600; }
.legend { display: flex; gap: 14px; font-size: 11px; color: var(--muted); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }

/* Features grid ---------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 48px; margin-top: 72px; }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); display: grid; place-items: center; margin-bottom: 20px; }
.feature__icon svg { width: 20px; height: 20px; color: var(--text-2); }
.feature p { color: var(--muted); font-size: 15px; margin-top: 10px; line-height: 1.65; }

/* Platforms -------------------------------------------------------------- */
.platforms { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.stats { display: flex; flex-direction: column; gap: 10px; margin-top: 36px; }
.stat { display: flex; align-items: center; gap: 22px; border: 1px solid var(--border); background: var(--card); border-radius: 12px; padding: 14px 18px; }
.stat b { font-family: var(--mono); font-size: 15px; font-weight: 700; min-width: 74px; }
.stat span { color: var(--muted); font-size: 14px; }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.logo-tile { aspect-ratio: 1; border: 1px solid var(--border); background: var(--card); border-radius: 18px; display: grid; place-items: center; color: var(--text); transition: border-color .15s, transform .15s; }
.logo-tile:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.logo-tile svg { width: 44px; height: 44px; }
.logo-tile--text { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }

/* Steps ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.step { border: 1px solid var(--border); background: var(--card); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.step__shot { height: 200px; border-bottom: 1px solid var(--border); background: var(--bg-2); position: relative; overflow: hidden; }
.step__body { padding: 20px 22px 24px; }
.step__title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.step__title svg { width: 18px; height: 18px; color: var(--text-2); }
.step__num { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-bottom: 10px; letter-spacing: .1em; }
.step p { color: var(--muted); font-size: 14px; margin-top: 10px; line-height: 1.6; }
/* mini UI inside step shots */
.mini { position: absolute; left: 16px; right: 16px; top: 16px; border: 1px solid var(--border); background: var(--card-2); border-radius: 10px; padding: 12px; font-size: 11px; color: var(--muted); }
.mini__row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); }
.mini__row:last-child { border-bottom: 0; }
.mini__row code { font-family: var(--mono); color: var(--text-2); font-size: 11px; }
.tag { font-size: 10px; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--border); color: var(--text-2); background: rgba(255,255,255,.03); }
.tag--ok { color: var(--green); border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.08); }
.tag--accent { color: var(--accent-2); border-color: rgba(139,92,246,.4); background: var(--accent-soft); }
.mini__field { border: 1px solid var(--border); border-radius: 6px; padding: 7px 9px; margin-top: 8px; color: var(--muted-2); }
.mini__btn { margin-top: 10px; background: var(--accent); color: var(--on-accent); text-align: center; border-radius: 6px; padding: 7px; font-weight: 600; }
.mini__toggle { width: 30px; height: 16px; border-radius: 8px; background: var(--accent); position: relative; }
.mini__toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }

/* Two chart cards -------------------------------------------------------- */
.charts2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.card { border: 1px solid var(--border); background: var(--card); border-radius: 16px; padding: 20px; position: relative; }
.card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tooltip {
  position: absolute; background: var(--card-2); border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 14px 16px; font-size: 13px; box-shadow: 0 20px 50px rgba(0,0,0,.5); min-width: 220px; z-index: 2;
}
.tooltip__title { font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.tooltip__row { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.tooltip__row b { color: var(--text); font-weight: 600; }
.tooltip__row .accent { color: var(--accent-2); }
.tooltip__row .green { color: var(--green); }
.tooltip__sep { border-top: 1px solid var(--border); margin: 8px 0; }
.tooltip--right { right: 20px; top: 70px; }
.tooltip--left { right: 20px; top: 70px; }
.connect { text-align: center; }
.connect__vals { display: flex; align-items: center; justify-content: center; gap: 22px; font-size: 22px; font-weight: 700; }
.connect__vals small { display: block; font-size: 10px; letter-spacing: .12em; color: var(--muted); font-weight: 500; }
.connect__vals .accent { color: var(--accent-2); }
.connect__rate { margin-top: 8px; font-size: 12px; color: var(--muted); }
.connect__rate b { color: var(--text); }

/* Pages table ------------------------------------------------------------ */
.pages-card { margin-top: 56px; padding: 0; overflow: hidden; }
.pages-card__head { padding: 22px 24px 18px; border-bottom: 1px solid var(--border); }
.pages-card__head h3 { font-size: 20px; }
.pages-card__head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.filters { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; align-items: center; }
.chip { font-size: 13px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); background: rgba(255,255,255,.03); color: var(--text-2); }
.chip--active { background: var(--accent); color: var(--on-accent); border-color: transparent; font-weight: 600; }
.search { flex: 1; min-width: 200px; max-width: 340px; display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border); color: var(--muted-2); }
.search svg { width: 14px; height: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 14px 24px; border-bottom: 1px solid var(--border); }
td { padding: 16px 24px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text-2); }
tr:last-child td { border-bottom: 0; }
td .sub { display: block; font-size: 12px; color: var(--muted-2); margin-top: 2px; }
td.right, th.right { text-align: right; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 6px; }
.tags-popover {
  position: absolute; left: 300px; top: 118px; width: 300px; background: var(--card-2);
  border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.6); z-index: 3; font-size: 13px;
}
.tags-popover__head { padding: 12px 14px; border-bottom: 1px solid var(--border); font-weight: 600; }
.tags-popover__new { display: flex; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.tags-popover__new .mini__field { flex: 1; margin: 0; font-size: 12px; }
.tags-popover__new i { width: 32px; height: 32px; border-radius: 7px; background: #3b82f6; display: block; }
.tags-popover__new b { width: 32px; height: 32px; border-radius: 7px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); font-weight: 400; }
.tags-popover ul { list-style: none; margin: 0; padding: 8px 6px; }
.tags-popover li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 6px; color: var(--text-2); }
.tags-popover li .box { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--border-strong); }
.tags-popover li span:not(.box) { flex: 1; }
.tags-popover li .box { flex: none; }
.tags-popover li small { color: var(--muted-2); letter-spacing: .1em; }

/* Cloud pages ------------------------------------------------------------ */
.cloud { margin-top: 56px; padding: 0; overflow: hidden; }
.cloud__head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.cloud__head i { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; background: var(--bg-2); }
.cloud__head i svg { width: 18px; height: 18px; color: var(--text-2); }
.cloud__head b { display: block; font-weight: 600; }
.cloud__head small { color: var(--muted); font-size: 13px; }
.cloud__grid { display: grid; grid-template-columns: 1fr 1fr; }
.cloud__left { padding: 24px; border-right: 1px solid var(--border); position: relative; }
.dropzone { border: 1px dashed var(--border-strong); border-radius: 12px; padding: 18px; min-height: 250px; }
.upload-list { font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 12px; }
.upload-list div { display: flex; justify-content: space-between; align-items: center; }
.upload-list span { color: var(--text-2); }
.upload-list em { color: var(--green); font-style: normal; }
.publish { position: absolute; left: 48px; right: 48px; top: 48px; background: var(--card-2); border: 1px solid var(--border-strong); border-radius: 12px; padding: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.publish b { display: block; font-size: 15px; }
.publish > small { color: var(--muted); font-size: 12px; display: block; margin: 4px 0 12px; }
.publish__opt { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-size: 13px; margin-top: 8px; background: rgba(255,255,255,.02); }
.publish__opt i { width: 8px; height: 8px; border-radius: 50%; }
.cloud__right { padding: 32px 24px; display: flex; flex-direction: column; justify-content: center; }
.status { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.status b { font-weight: 600; }
.status small { color: var(--muted-2); }
.domain-box { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; background: var(--bg-2); font-family: var(--mono); font-size: 14px; }
.domain-box .tag { font-family: var(--font); }
.cloud__meta { margin-top: 12px; font-size: 12px; color: var(--muted-2); }

/* Logs ------------------------------------------------------------------- */
.logs { margin-top: 56px; padding: 0; overflow: hidden; }
.logs__head { padding: 22px 24px 18px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.logs__head h3 { font-size: 20px; }
.logs__head p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.logs table td { font-size: 13px; }
.logs .flag { font-size: 14px; margin-right: 6px; }
.logs .line { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; margin-top: 3px; }
.logs .line svg { width: 12px; height: 12px; }
.logs .big { font-size: 14px; color: var(--text); font-weight: 500; }
.logs code { font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.logs .fade { position: relative; }
.logs .fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, var(--card)); pointer-events: none; }
.logs tbody tr { animation: logIn .5s cubic-bezier(.2,.8,.2,1) both; }
.logs tbody tr.is-new td { background: rgba(139,92,246,.06); }
.logs tbody tr td { transition: background 1.2s ease; }
@keyframes logIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); font-weight: 700; white-space: nowrap; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(139,92,246,.55); } 100% { box-shadow: 0 0 0 9px rgba(139,92,246,0); } }
@media (prefers-reduced-motion: reduce) { .logs tbody tr { animation: none; } .live i { animation: none; } }

/* Pricing ---------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; max-width: 1020px; margin-left: auto; margin-right: auto; }
.plan { border: 1px solid var(--border); background: var(--card); border-radius: 16px; padding: 26px 22px; position: relative; display: flex; flex-direction: column; }
.plan--popular { border-color: rgba(139,92,246,.55); box-shadow: 0 0 0 1px rgba(139,92,246,.2), 0 30px 80px rgba(139,92,246,.12); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.plan__name { font-weight: 600; font-size: 18px; }
.plan__flags { margin-top: 6px; font-size: 14px; color: var(--muted); }
.plan__flags small { font-size: 10px; margin-left: 4px; }
.plan__price { margin-top: 18px; font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.plan__price small { font-size: 14px; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-left: 4px; }
.plan .btn { margin: 20px 0 22px; }
.plan__rows { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.plan__rows div { display: flex; justify-content: space-between; color: var(--muted); }
.plan__rows div b { color: var(--text); font-weight: 500; }
.plan__sep { border-top: 1px solid var(--border); margin: 18px 0; }
.check { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--border-strong); display: inline-grid; place-items: center; color: var(--text-2); }
.check svg { width: 9px; height: 9px; }
.plan__sources { margin-top: 18px; }
.plan__sources small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.sources { display: flex; flex-wrap: wrap; gap: 6px; }
.sources i { width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--border); background: rgba(255,255,255,.03); display: grid; place-items: center; color: var(--text-2); }
.sources i svg { width: 14px; height: 14px; }
.sources i.off { opacity: .28; }
.pricing__foot { display: flex; justify-content: space-between; margin-top: 18px; font-size: 12px; color: var(--muted-2); flex-wrap: wrap; gap: 8px; }

.addons { margin-top: 24px; padding: 22px 24px 24px; }
.addons__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.addons__head b { font-size: 16px; }
.addons__head p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.addons__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.addon { border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; background: var(--bg-2); }
.addon__name { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; min-height: 26px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.addon__name .pill { font-size: 10px; padding: 3px 8px; }
.addon__price { margin: 14px 0 10px; font-size: 20px; font-weight: 700; }
.addon__price small { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.addon__rows { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 7px; }
.addon__rows div { display: flex; justify-content: space-between; }
.addon__rows b { color: var(--text); font-weight: 500; }

/* Countries -------------------------------------------------------------- */
.countries { margin-top: 48px; padding: 0; overflow: hidden; }
.countries__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.countries th:not(:first-child), .countries td:not(:first-child) { text-align: center; }
.countries th small { display: block; text-transform: none; letter-spacing: 0; color: var(--muted-2); font-weight: 400; font-size: 11px; margin-top: 2px; }
.countries td code { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-left: 8px; }
.countries .no { color: var(--muted-2); }

/* Infra ------------------------------------------------------------------ */
.infra { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; }
.infra__col { padding: 0 32px 0 0; }
.infra__col + .infra__col { border-left: 1px solid var(--border); padding-left: 32px; }
.infra__fig { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--muted-2); }
.infra__art { height: 200px; display: grid; place-items: center; margin: 12px 0 20px; }
.infra__art svg { width: 100%; max-width: 260px; height: auto; }
.infra p { color: var(--muted); font-size: 14px; margin-top: 10px; line-height: 1.65; }

.billion { margin-top: 80px; padding: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.billion__label { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; color: var(--muted-2); }
.billion__num { font-family: var(--display); font-size: clamp(40px, 5.5vw, 66px); font-weight: 700; letter-spacing: -0.02em; margin: 14px 0 12px; }
.billion h3 { font-size: 26px; }
.billion p { color: var(--muted); font-size: 15px; margin-top: 14px; line-height: 1.65; }
.invoice { border: 1px solid var(--border); border-radius: 14px; padding: 26px 28px; background: var(--bg-2); }
.invoice__label { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; color: var(--muted-2); margin-bottom: 22px; }
.invoice__row { display: flex; align-items: baseline; gap: 12px; font-size: 14px; color: var(--muted); padding: 8px 0; }
.invoice__row::after { content: ""; flex: 1; border-bottom: 1px dotted var(--border-strong); order: 1; transform: translateY(-4px); }
.invoice__row b { order: 2; font-family: var(--mono); color: var(--text); font-weight: 600; }
.invoice__row span { order: 0; }
.invoice__total { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); font-weight: 600; font-size: 15px; }
.invoice__total b { font-family: var(--mono); font-size: 34px; font-weight: 700; white-space: nowrap; flex: none; margin-left: 16px; }
.invoice small { display: block; color: var(--muted); font-size: 13px; margin-top: 14px; line-height: 1.6; }

/* Decision pipeline ------------------------------------------------------ */
.pipeline { margin-top: 80px; padding: 40px 44px 44px; }
.pipeline__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end; margin-bottom: 36px; }
.pipeline__label { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; color: var(--accent-2); margin-bottom: 12px; }
.pipeline h3 { font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; }
.pipeline__head p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.pipeline__bar { display: grid; grid-template-columns: 8fr 16fr 52fr 24fr; gap: 6px; height: 8px; margin-bottom: 26px; }
.pipeline__bar i { border-radius: 999px; background: linear-gradient(90deg, rgba(139,92,246,.35), var(--accent)); }
.pipeline__bar i:nth-child(1) { opacity: .45; } .pipeline__bar i:nth-child(2) { opacity: .6; } .pipeline__bar i:nth-child(3) { opacity: .8; }
.pipeline__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pipeline__steps li { border-top: 1px solid var(--border); padding-top: 18px; position: relative; }
.pipeline__steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: var(--accent); }
.pipeline__ms { font-family: var(--mono); font-size: 12px; color: var(--accent-2); }
.pipeline__steps b { display: block; margin: 8px 0 8px; font-size: 15px; }
.pipeline__steps p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.pipeline__total { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pipeline__total b { font-size: 40px; letter-spacing: -0.03em; line-height: 1; }
.pipeline__total span { color: var(--muted); font-size: 14px; }

/* FAQ -------------------------------------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq .lead { max-width: none; }
.faq__list { margin-top: 44px; display: flex; flex-direction: column; gap: 10px; }
.faq__item { border: 1px solid var(--border); border-radius: 12px; background: var(--card); overflow: hidden; }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; color: var(--text); font-size: 16px; font-weight: 600; text-align: left; padding: 20px 22px; cursor: pointer; }
.faq__q svg { width: 16px; height: 16px; flex: none; transition: transform .2s; color: var(--muted); }
.faq__item[open] .faq__q svg { transform: rotate(45deg); }
.faq__a { padding: 0 22px 22px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.faq__a p + p { margin-top: 10px; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* Final CTA -------------------------------------------------------------- */
.cta { text-align: center; padding: 120px 0; }
.cta h2 { font-size: clamp(32px, 4.6vw, 48px); }
.cta__meta { margin-top: 28px; font-size: 14px; color: var(--muted); display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta__meta span::before { content: "·"; margin-right: 14px; color: var(--muted-2); }
.cta__meta span:first-child::before { content: none; margin: 0; }
.cta .btn { margin-top: 36px; }
.cta__note { margin-top: 14px; font-size: 12px; color: var(--muted-2); }

/* Footer ----------------------------------------------------------------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 280px; line-height: 1.6; }
.footer__social { display: flex; gap: 14px; margin-top: 18px; }
.footer__social a { color: var(--muted); }
.footer__social a:hover { color: var(--text); }
.footer__social svg { width: 18px; height: 18px; }
.footer h4 { margin: 0 0 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer li a { font-size: 14px; color: var(--text-2); }
.footer li a:hover { color: var(--text); }
.footer__bottom { border-top: 1px solid var(--border); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-2); flex-wrap: wrap; gap: 8px; }

/* Reveal ----------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .flow .p-dash { animation: none; } }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan:last-child { grid-column: span 2; max-width: 520px; width: 100%; justify-self: center; }
  .addons__grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; }
  .infra { grid-template-columns: 1fr; gap: 40px; }
  .pipeline__head { grid-template-columns: 1fr; }
  .pipeline__steps { grid-template-columns: repeat(2, 1fr); }
  .infra__col, .infra__col + .infra__col { padding: 0; border-left: 0; }
  .billion { grid-template-columns: 1fr; padding: 32px; }
  .dash { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .tags-popover { display: none; }
}
@media (max-width: 820px) {
  .section { padding: 80px 0; }
  .nav, .header__login { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .nav.is-open { display: flex; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 12px 24px 20px; }
  .nav.is-open a { padding: 10px 0; font-size: 16px; }
  .hero { padding-top: 72px; }
  .hero__globe { width: 100%; height: 700px; top: 120px; background-size: 900px auto; }
  .hero__rings, .hero__orbit-dot { width: 900px; height: 900px; top: 0; }
  .pipeline { padding: 28px 22px; }
  .pipeline__steps { grid-template-columns: 1fr; }
  .flow { height: 320px; max-width: 420px; }
  .flow__node { width: 68px; height: 68px; border-radius: 16px; }
  .flow__core { width: 104px; height: 104px; }
  .flow__core svg { width: 50px; height: 50px; }
  .flow__node span, .flow__core span { display: none; }
  .flow { height: 320px; max-width: 420px; }
  .flow__node { width: 68px; height: 68px; border-radius: 16px; }
  .flow__core { width: 104px; height: 104px; border-radius: 24px; }
  .flow__core svg { width: 50px; height: 50px; }
  .platforms { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .charts2 { grid-template-columns: 1fr; }
  .cloud__grid { grid-template-columns: 1fr; }
  .cloud__left { border-right: 0; border-bottom: 1px solid var(--border); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .plans, .addons__grid { grid-template-columns: 1fr; }
  .plan:last-child { grid-column: auto; max-width: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .tooltip { position: static; margin-top: 14px; min-width: 0; }
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-scroll table { min-width: 760px; }
  .card.pages-card, .card.logs, .card.countries { overflow: hidden; }
  .header__actions { gap: 8px; }
  .btn--sm { padding: 8px 12px; font-size: 13px; }
  .brand__name { font-size: 22px; }
}
