/* LocalAd aggressive network redesign */

:root {
  --bg: #050b14;
  --bg2: #07111f;
  --panel: rgba(15, 27, 45, .78);
  --panel-solid: #0f1b2d;
  --panel2: #132238;
  --line: rgba(255,255,255,.08);
  --line2: rgba(96,165,250,.25);
  --text: #f4f7fb;
  --muted: #94a3b8;
  --dim: #64748b;
  --blue: #2563eb;
  --blue2: #60a5fa;
  --cyan: #22d3ee;
  --red: #ef4444;
  --green: #10b981;
  --gold: #f59e0b;
  --purple: #a78bfa;
  --shadow: 0 26px 80px rgba(0,0,0,.42);
  --radius: 24px;
  --max: 1400px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(37,99,235,.20), transparent 38%),
    radial-gradient(circle at 82% 12%, rgba(239,68,68,.12), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg2) 45%, #050b14);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.site-shell { min-height: 100vh; overflow: hidden; }

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 54px);
  background: rgba(5, 11, 20, .72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, box-shadow .25s ease;
}

.topbar.scrolled { background: rgba(5, 11, 20, .94); box-shadow: 0 20px 60px rgba(0,0,0,.22); }

.brand { display: flex; gap: 12px; align-items: center; }

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(96,165,250,.95), rgba(37,99,235,.95)), #2563eb;
  box-shadow: 0 0 30px rgba(37,99,235,.38);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  color: white;
}

.brand strong { display: block; font-size: 19px; letter-spacing: -.04em; }

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-weight: 700; font-size: 14px; }
.nav a { transition: color .2s ease; }
.nav a:hover { color: white; }

.nav-button {
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(37,99,235,.18);
  border: 1px solid rgba(96,165,250,.30);
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  min-height: 100vh;
  padding: 140px clamp(18px, 4vw, 54px) 70px;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-layout {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.scan-grid {
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image: linear-gradient(rgba(96,165,250,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(96,165,250,.10) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 36%, black 0%, transparent 78%);
  pointer-events: none;
}

.hero-orb { position: absolute; border-radius: 999px; filter: blur(40px); opacity: .42; pointer-events: none; }
.orb-one { width: 360px; height: 360px; background: #2563eb; left: -120px; top: 110px; }
.orb-two { width: 300px; height: 300px; background: #ef4444; right: -90px; top: 90px; }

.signal-pill, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  color: #bfdbfe;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.signal-pill {
  background: rgba(37,99,235,.13);
  border: 1px solid rgba(96,165,250,.28);
  border-radius: 999px;
  padding: 10px 14px;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--red);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(239,68,68,.8);
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(239,68,68,.65); }
  70% { box-shadow: 0 0 0 12px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

.hero h1 { margin: 0; font-size: clamp(4.2rem, 8vw, 8.8rem); line-height: .87; letter-spacing: -.085em; font-weight: 950; }
.hero h1 span { color: var(--blue2); text-shadow: 0 0 36px rgba(96,165,250,.22); }

.hero-lead {
  margin: 28px 0 0;
  max-width: 760px;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 15px 20px;
  font-weight: 900;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), #1d4ed8); box-shadow: 0 0 44px rgba(37,99,235,.38); color: white; }
.btn-secondary { background: rgba(255,255,255,.05); border: 1px solid var(--line); color: white; }
.btn-gold { background: linear-gradient(135deg, #f59e0b, #d97706); color: #111827; }

.hero-metrics { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hero-metrics article { background: rgba(15,27,45,.70); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.hero-metrics small { display: block; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 900; }
.hero-metrics strong { display: block; margin-top: 8px; font-size: 22px; letter-spacing: -.04em; }
.hero-metrics span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }

.command-panel, .mock-browser, .build-card, .live-tile, .network-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.command-panel { border-radius: var(--radius); overflow: hidden; }

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}

.panel-top small { display: block; color: var(--dim); font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.panel-top strong { display: block; margin-top: 5px; font-size: 22px; letter-spacing: -.04em; }

.live-chip {
  color: #fecaca;
  background: rgba(239,68,68,.14);
  border: 1px solid rgba(239,68,68,.28);
  padding: 8px 12px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 900;
}

.feed-stack { padding: 18px; display: grid; gap: 14px; }

.feed-card {
  display: block;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}

.feed-card:hover { transform: translateX(4px); border-color: rgba(96,165,250,.38); }

.feed-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 999px;
  background: var(--blue2);
}

.feed-card.hot::before { background: var(--red); }
.feed-card.market::before { background: var(--gold); }
.feed-card.pet::before { background: var(--green); }

.feed-source { color: var(--blue2); font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .15em; font-weight: 900; }
.feed-card.hot .feed-source { color: #fca5a5; }
.feed-card.market .feed-source { color: #fcd34d; }
.feed-card.pet .feed-source { color: #86efac; }
.feed-card strong { display: block; margin-top: 8px; line-height: 1.45; font-size: 16px; }
.feed-card small { display: block; margin-top: 9px; color: var(--dim); font-weight: 700; }

.panel-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
}

.ticker-strip {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(5,11,20,.76);
}

.ticker-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  border-right: 1px solid var(--line);
}

.ticker-window { overflow: hidden; flex: 1; }
.ticker-track { display: flex; gap: 42px; width: max-content; animation: ticker 34s linear infinite; }
.ticker-track span { color: var(--muted); white-space: nowrap; }
.ticker-track b { color: white; }

@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: 92px clamp(18px, 4vw, 54px); max-width: var(--max); margin: 0 auto; }
.section-head { max-width: 820px; margin-bottom: 34px; }
.section-head.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section h2 { margin: 12px 0 0; font-size: clamp(2.35rem, 5vw, 4.8rem); line-height: .95; letter-spacing: -.07em; }
.section p { color: var(--muted); line-height: 1.8; font-size: 1.05rem; }

.live-grid { display: grid; grid-template-columns: 1.2fr .9fr 1.1fr; gap: 18px; }

.live-tile {
  border-radius: var(--radius);
  padding: 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.live-tile::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  right: -70px;
  bottom: -70px;
  filter: blur(4px);
  opacity: .35;
}

.live-tile.primary::after { background: var(--blue); }
.live-tile.accent::after { background: var(--red); }
.live-tile.market::after { background: var(--gold); }

.tile-label { font-family: "JetBrains Mono", monospace; color: var(--blue2); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.live-tile.accent .tile-label { color: #fca5a5; }
.live-tile.market .tile-label { color: #fcd34d; }
.live-tile h3 { margin: 22px 0 0; font-size: 34px; letter-spacing: -.05em; }
.live-tile p { margin-top: 14px; color: var(--muted); }
.live-tile a { margin-top: auto; font-weight: 900; color: white; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.feature-copy h2 { margin: 12px 0 18px; }
.feature-list { display: grid; gap: 14px; margin: 26px 0 28px; }
.feature-list div { border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 18px; padding: 18px; }
.feature-list strong { display: block; color: white; font-size: 18px; }
.feature-list span { display: block; margin-top: 5px; color: var(--muted); line-height: 1.55; }

.mock-browser { border-radius: var(--radius); overflow: hidden; }

.browser-bar {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}

.browser-bar span { width: 11px; height: 11px; border-radius: 999px; background: var(--red); }
.browser-bar span:nth-child(2) { background: var(--gold); }
.browser-bar span:nth-child(3) { background: var(--green); }
.browser-bar em { margin-left: 10px; color: var(--dim); font-family: "JetBrains Mono", monospace; font-style: normal; font-size: 12px; }

.forum-screen, .market-screen {
  padding: 24px;
  min-height: 420px;
  background: radial-gradient(circle at 80% 10%, rgba(96,165,250,.18), transparent 36%), linear-gradient(180deg, rgba(19,34,56,.78), rgba(15,27,45,.92));
}

.screen-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 22px; }
.screen-head strong { font-size: 30px; letter-spacing: -.05em; }
.screen-head small { color: var(--muted); }

.mini-post { border: 1px solid var(--line); background: rgba(255,255,255,.045); border-radius: 18px; padding: 18px; margin-bottom: 14px; }
.mini-post.active { border-color: rgba(239,68,68,.34); box-shadow: 0 0 34px rgba(239,68,68,.08); }
.mini-post b { display: block; color: var(--blue2); font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: .12em; }
.mini-post span { display: block; margin-top: 7px; color: white; font-weight: 800; }

.wave-bars { display: flex; align-items: end; gap: 8px; height: 78px; margin-top: 28px; }
.wave-bars i { display: block; flex: 1; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, var(--blue2), var(--blue)); animation: wave 1.3s ease-in-out infinite alternate; }
.wave-bars i:nth-child(1) { height: 25%; }
.wave-bars i:nth-child(2) { height: 70%; animation-delay: .1s; }
.wave-bars i:nth-child(3) { height: 42%; animation-delay: .2s; }
.wave-bars i:nth-child(4) { height: 90%; animation-delay: .3s; }
.wave-bars i:nth-child(5) { height: 50%; animation-delay: .4s; }
.wave-bars i:nth-child(6) { height: 78%; animation-delay: .5s; }
.wave-bars i:nth-child(7) { height: 35%; animation-delay: .6s; }

@keyframes wave { from { transform: scaleY(.58); opacity: .62; } to { transform: scaleY(1); opacity: 1; } }

.market-search { border: 1px solid rgba(96,165,250,.24); background: rgba(255,255,255,.06); color: var(--muted); padding: 17px; border-radius: 16px; margin-bottom: 16px; }
.market-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.market-tabs b { padding: 10px 13px; border-radius: 999px; background: rgba(245,158,11,.12); color: #fcd34d; font-size: 13px; }

.listing { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.04); padding: 15px; border-radius: 18px; margin-bottom: 13px; }
.listing div { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(245,158,11,.18); color: #fcd34d; font-family: "JetBrains Mono", monospace; font-weight: 900; }
.listing span { flex: 1; }
.listing strong { display: block; font-size: 16px; }
.listing small { display: block; color: var(--muted); margin-top: 4px; }
.listing em { font-style: normal; color: #86efac; background: rgba(16,185,129,.13); border: 1px solid rgba(16,185,129,.24); padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; }

.network-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.network-card { border-radius: 20px; padding: 22px; min-height: 180px; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.network-card:hover { transform: translateY(-4px); border-color: rgba(96,165,250,.34); }
.network-card.major { grid-column: span 2; min-height: 230px; }
.network-card.forum { background: linear-gradient(135deg, rgba(37,99,235,.24), rgba(15,27,45,.88)); }
.network-card.market { background: linear-gradient(135deg, rgba(245,158,11,.20), rgba(15,27,45,.88)); }
.network-card small { color: var(--dim); font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.network-card strong { margin-top: 14px; display: block; font-size: 27px; letter-spacing: -.05em; }
.network-card.major strong { font-size: 42px; }
.network-card span { display: block; margin-top: auto; color: var(--muted); line-height: 1.55; }

.build-section { padding-top: 30px; }

.build-card {
  text-align: center;
  border-radius: 32px;
  padding: clamp(32px, 6vw, 74px);
  background: radial-gradient(circle at 50% 0%, rgba(96,165,250,.22), transparent 42%), rgba(15,27,45,.78);
}

.build-card h2 { max-width: 950px; margin-left: auto; margin-right: auto; }
.build-card p { max-width: 820px; margin: 22px auto 0; }
.build-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 50px clamp(18px, 4vw, 54px) 70px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  color: var(--muted);
}

.footer strong { color: white; font-size: 24px; }
.footer p { max-width: 460px; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 22px; }
.footer-links a { color: var(--muted); font-weight: 800; }
.footer-links a:hover { color: white; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  .hero-layout, .split, .footer { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .command-panel { max-width: 760px; }
  .live-grid, .network-grid { grid-template-columns: 1fr 1fr; }
  .network-card.major { grid-column: span 1; }
  .nav { display: none; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .topbar { height: 66px; }
  .brand small, .nav-button { display: none; }
  .hero { padding-top: 96px; }
  .hero h1 { font-size: clamp(3.25rem, 17vw, 5.5rem); }
  .hero-actions, .hero-metrics, .live-grid, .network-grid { grid-template-columns: 1fr; }
  .hero-metrics { display: grid; }
  .ticker-strip { display: block; }
  .ticker-label { border-right: none; border-bottom: 1px solid var(--line); }
  .section { padding-top: 62px; padding-bottom: 62px; }
  .panel-footer { flex-direction: column; }
  .market-tabs { flex-wrap: wrap; }
  .listing { align-items: flex-start; }
  .listing em { display: none; }
}
