/* Treeline Proxy funnel styles (two-page conversion site) */
:root{
  --bg:#070b14;
  --panel:#0b1220;
  --text:#e8eefc;
  --muted:#a8b4d6;
  --line2:rgba(255,255,255,.07);
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --r2:24px;
  --max:1180px;
  --brand1:#7c3aed;
  --brand2:#22d3ee;
  --brand3:#a3e635;
  --ok:#34d399;
  --warn:#fbbf24;
  --bad:#fb7185;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*{ box-sizing:border-box; }
html,body{
  margin:0; padding:0;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(124,58,237,.25), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(34,211,238,.20), transparent 55%),
    radial-gradient(900px 600px at 70% 90%, rgba(163,230,53,.12), transparent 55%),
    var(--bg);
  color:var(--text); font-family:var(--font);
}
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset:3px; }

.container{ width:min(var(--max), calc(100% - 40px)); margin:0 auto; }

.skip{ position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip:focus{ left:20px; top:20px; width:auto; height:auto; padding:10px 12px; background:var(--panel); border:1px solid var(--line2); border-radius:12px; z-index:9999; }

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(7,11,20,.86), rgba(7,11,20,.55));
  border-bottom:1px solid var(--line2);
}
.topbar__inner{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:18px; }
.brand{ display:flex; gap:12px; align-items:center; }
.brand:hover{ text-decoration:none; }
.brand__logo{ width:42px; height:42px; }
.brand__logo--sm{ width:36px; height:36px; }
.brand__text{ display:flex; flex-direction:column; }
.brand__name{ font-weight:900; letter-spacing:.2px; }
.brand__tag{ font-size:12px; color:var(--muted); margin-top:2px; }

.nav{ display:flex; gap:18px; align-items:center; }
.nav a{ font-size:13px; color:var(--muted); padding:8px 8px; border-radius:12px; }
.nav a:hover{ color:var(--text); background: rgba(255,255,255,.06); text-decoration:none; }

.topbar__cta{ display:flex; gap:10px; align-items:center; }

.btn{
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  color:var(--text);
  padding:10px 14px;
  border-radius:14px;
  cursor:pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .15s ease, background .15s ease, border .15s ease;
  font-weight:750;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.22); background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.07)); }
.btn:active{ transform: translateY(0); }
.btn--ghost{ background: transparent; box-shadow:none; }
.btn--lg{ padding:12px 16px; border-radius:16px; }

.hero{ padding:52px 0 10px; }
.hero__grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap:28px; align-items:start; }
.pill{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 12px; border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line2);
  color:var(--muted);
  font-size:12px;
}
.dot{ width:8px; height:8px; border-radius:50%; background:var(--brand2); box-shadow:0 0 0 4px rgba(34,211,238,.12); }

h1{ margin:14px 0 12px; font-size: 44px; line-height:1.05; letter-spacing:-.8px; }
.grad{ background: linear-gradient(90deg, var(--brand2), var(--brand1), var(--brand3)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.lead{ color:var(--muted); font-size:16px; line-height:1.65; max-width: 62ch; }
.hero__cta{ display:flex; gap:12px; margin:18px 0 14px; flex-wrap:wrap; }

.trust{ display:flex; gap:18px; margin-top:12px; flex-wrap:wrap; }
.trust__item{ padding:10px 12px; border-radius:16px; border:1px solid var(--line2); background: rgba(255,255,255,.04); min-width: 160px; }
.trust__kpi{ font-weight:900; }
.trust__label{ color:var(--muted); font-size:12px; margin-top:4px; }

.hero__panel .panel{
  border-radius: var(--r2);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--line2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel__hdr{ display:flex; align-items:center; justify-content:space-between; padding:12px 14px; border-bottom:1px solid var(--line2); background: rgba(0,0,0,.25); }
.lights{ display:flex; gap:8px; }
.lights span{ width:10px; height:10px; border-radius:50%; background: rgba(255,255,255,.18); }
.panel__title{ font-size:12px; color:var(--muted); }
.badge{ font-size:12px; color:var(--text); padding:6px 10px; border-radius:999px; background: rgba(124,58,237,.18); border:1px solid rgba(124,58,237,.25); }
.panel__body{ padding:14px; }
.panel__foot{ margin-top:10px; font-size:12px; color:rgba(255,255,255,.45); }

.flow{ display:grid; grid-template-columns: .9fr 1.1fr; gap:12px; }
.card{ border-radius:18px; border:1px solid var(--line2); background: rgba(11,18,32,.70); padding:12px; }
.card__title{ font-weight:900; margin-bottom:8px; }
.mono{ font-family:var(--mono); font-size:12px; color:#d8e2ff; }
.muted{ color:var(--muted); }
.arrow{ text-align:center; color:rgba(255,255,255,.35); margin:10px 0; }

.kpis{ display:grid; grid-template-columns: repeat(2, 1fr); gap:10px; margin:10px 0 12px; }
.kpi{ padding:10px; border-radius:16px; border:1px solid var(--line2); background: rgba(255,255,255,.03); }
.kpi__num{ font-weight:900; font-size:18px; }
.kpi__lbl{ color:var(--muted); font-size:12px; margin-top:3px; }

.log{ border-top:1px solid var(--line2); margin-top:10px; padding-top:10px; }
.log__row{ display:flex; gap:10px; align-items:center; padding:6px 0; }
.tag{ font-size:11px; font-weight:900; padding:5px 9px; border-radius:999px; border:1px solid var(--line2); }
.tag.ok{ background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.20); }
.tag.warn{ background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.22); }
.tag.bad{ background: rgba(251,113,133,.12); border-color: rgba(251,113,133,.22); }
.log__hint{ margin-top:8px; font-size:12px; }

.section{ padding:72px 0; }
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.00));
  border-top:1px solid var(--line2);
  border-bottom:1px solid var(--line2);
}
.section__hdr{ margin-bottom:22px; }
.section__hdr h2{ margin:0 0 8px; font-size:28px; letter-spacing:-.3px; }
.section__hdr p{ margin:0; }

.grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
.grid2{ display:grid; grid-template-columns: repeat(2, 1fr); gap:14px; }

.feature{
  border:1px solid var(--line2);
  background: rgba(255,255,255,.03);
  border-radius: var(--r2);
  padding:18px 16px;
}
.feature__icon{ font-size:22px; }
.feature h3{ margin:10px 0 8px; }
.feature p{ margin:0 0 12px; color:var(--muted); line-height:1.6; }
.feature ul{ margin:0; padding-left:18px; color:rgba(232,238,252,.92); }
.feature li{ margin:7px 0; }

.callout{
  margin-top:18px;
  border-radius: var(--r2);
  border:1px solid rgba(34,211,238,.18);
  background: radial-gradient(800px 300px at 10% 10%, rgba(34,211,238,.12), transparent 60%),
              rgba(255,255,255,.02);
  padding:18px 16px;
}
.callout__title{ font-weight:900; margin-bottom:8px; }
.callout__body{ color:var(--muted); line-height:1.65; }

.techcard{
  border-radius: var(--r2);
  border:1px solid var(--line2);
  background: rgba(255,255,255,.03);
  padding:18px 16px;
}
.techcard h3{ margin:0 0 10px; }
.fineprint{ margin-top:16px; color:rgba(255,255,255,.45); font-size:12px; line-height:1.6; }

.ctaBand{
  margin-top:18px;
  border-radius: var(--r2);
  border:1px solid rgba(163,230,53,.18);
  background: radial-gradient(900px 340px at 20% 20%, rgba(163,230,53,.10), transparent 55%),
              rgba(255,255,255,.02);
  padding:18px 16px;
  display:flex; gap:14px; align-items:center; justify-content:space-between;
  flex-wrap:wrap;
}
.ctaBand__copy h3{ margin:0 0 6px; }
.ctaBand__copy p{ margin:0; max-width:78ch; }
.ctaBand__actions{ display:flex; gap:10px; flex-wrap:wrap; }

.faq details{
  border-radius: var(--r2);
  border:1px solid var(--line2);
  background: rgba(255,255,255,.03);
  padding:14px 14px;
  margin-bottom:12px;
}
.faq summary{ cursor:pointer; font-weight:900; }
.faq p{ color:var(--muted); line-height:1.7; margin:10px 0 0; }

.footer{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid var(--line2);
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.small{ font-size:12px; }

/* Pricing cards */
.pricing{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
.pricecard{
  border-radius: var(--r2);
  border:1px solid var(--line2);
  background: rgba(255,255,255,.03);
  padding:18px 16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.pricecard--best{
  border-color: rgba(34,211,238,.22);
  background: radial-gradient(800px 320px at 20% 10%, rgba(34,211,238,.10), transparent 60%), rgba(255,255,255,.03);
  box-shadow: 0 18px 55px rgba(0,0,0,.45);
}
.pricecard__name{ font-weight:950; font-size:16px; }
.pricecard__price{ font-weight:950; font-size:26px; margin-top:6px; }
.pricecard__tag{ font-size:12px; }
.pricecard__list{ margin:0; padding-left:18px; }
.pricecard__list li{ margin:8px 0; color:rgba(232,238,252,.92); }

@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr; }
  .nav{ display:none; }
}
