/* localtrade.online landing page — Netflix style
   Brand: midnight blue #0B1426 + cyan #00E5FF (per GWD) */

:root {
  --bg-deep:    #07090f;
  --bg-base:    #0b1426;
  --bg-card:    #131c33;
  --bg-card-2:  #0f1a35;
  --line:       rgba(255,255,255,0.07);
  --line-strong:rgba(255,255,255,0.14);
  --ink:        #e8edf7;
  --ink-dim:    #a8b2c5;
  --ink-faint:  #6c7691;
  --accent:     #00e5ff;
  --accent-dim: #00b3cc;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-deep); color: var(--ink);
  font-family: var(--font); line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* TOP BAR */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(11,20,38,0.96), rgba(11,20,38,0.85));
  border-bottom: 1px solid var(--line); backdrop-filter: blur(8px);
}
.topbar .row {
  max-width: 1400px; margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; gap: 24px;
}
.topbar .brand {
  font-weight: 800; font-size: 24px; color: #fff; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
}
.topbar .brand .accent { color: var(--accent); }
.topbar .brand .mark {
  width: 12px; height: 12px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0,229,255,0.15);
}
.topbar nav { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar nav a { color: var(--ink-dim); font-size: 14px; font-weight: 500; }
.topbar nav a:hover { color: #fff; text-decoration: none; }
.topbar .spacer { flex: 1; }
.topbar .meta { color: var(--ink-faint); font-size: 12px; }

/* HERO */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(0,229,255,0.20), transparent 70%),
    radial-gradient(ellipse 70% 70% at 0% 100%, rgba(0,229,255,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-deep), var(--bg-base));
  border-bottom: 1px solid var(--line);
  padding: 80px 0 64px;
  overflow: hidden;
}
.hero .wrap { max-width: 1400px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }
.hero .eyebrow {
  display: inline-block;
  background: rgba(0,229,255,0.12); color: var(--accent);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
  border: 1px solid rgba(0,229,255,0.25);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  margin: 0 0 18px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.02;
}
.hero h1 .accent { color: var(--accent); }
.hero p.subtitle {
  color: var(--ink-dim); font-size: 21px; max-width: 820px; margin: 0 0 14px; line-height: 1.5;
}
.hero p.hero-line {
  color: var(--ink); font-size: 18px; max-width: 820px; margin: 24px 0 0;
  border-left: 3px solid var(--accent); padding-left: 18px;
}
.hero .stats {
  margin-top: 28px;
  display: flex; gap: 36px; flex-wrap: wrap;
}
.hero .stat { display: flex; flex-direction: column; gap: 4px; }
.hero .stat .v { color: #fff; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.hero .stat .l { color: var(--ink-faint); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }

/* DECORATIVE GLYPH (top-right) */
.hero .glyph {
  position: absolute; right: -8%; top: -10%;
  width: 520px; height: 520px; opacity: 0.07; pointer-events: none;
  background:
    conic-gradient(from 0deg, var(--accent), transparent 30%, transparent 60%, var(--accent));
  border-radius: 50%;
  filter: blur(40px);
}

/* MAIN */
main { max-width: 1400px; margin: 0 auto; padding: 36px 28px 60px; }

h2.row-title {
  color: #fff; font-size: 24px; margin: 30px 0 16px;
  display: flex; align-items: center; gap: 14px; font-weight: 700;
}
h2.row-title .tag { font-size: 11px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
h2.row-title::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.16), transparent);
}

/* FEATURE CARDS — featured row */
.feature-row {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.feature {
  position: relative;
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-base) 100%);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.15s, border-color 0.15s;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(0,229,255,0.4);
}
.feature .poster {
  height: 180px;
  background: linear-gradient(135deg, #0b1426, #1c2740);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.feature .poster .glyph-char {
  font-size: 96px; font-weight: 900; color: var(--accent);
  opacity: 0.85; letter-spacing: -0.04em; line-height: 1;
}
.feature .poster .badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; padding: 4px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
  background: rgba(0,229,255,0.18); color: var(--accent);
  border: 1px solid rgba(0,229,255,0.3);
}
.feature .body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.feature .label {
  color: var(--ink-faint); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700;
}
.feature h3 { margin: 0; font-size: 18px; color: #fff; line-height: 1.3; }
.feature p { color: var(--ink-dim); font-size: 13px; margin: 0; line-height: 1.55; }
.feature .meta { display: flex; gap: 14px; color: var(--ink-faint); font-size: 11px; margin-top: 6px; }
.feature .meta b { color: var(--accent); font-weight: 600; }
.feature .open {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto; padding: 10px 16px; border-radius: 8px;
  background: var(--accent); color: var(--bg-base);
  font-weight: 700; font-size: 13px; text-align: center; justify-content: center;
}
.feature .open:hover { background: #fff; text-decoration: none; }

/* ABOUT SECTION */
.about {
  display: grid; gap: 22px;
  grid-template-columns: 1.4fr 1fr;
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 28px;
  margin: 16px 0 24px;
}
.about h2 { color: #fff; margin: 0 0 10px; font-size: 22px; }
.about p { color: var(--ink-dim); margin: 0 0 12px; font-size: 14px; line-height: 1.65; }
.about p:last-child { margin-bottom: 0; }
.about .side h3 {
  color: var(--accent); font-size: 12px; margin: 0 0 12px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.about .side ul {
  list-style: none; padding: 0; margin: 0;
}
.about .side li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.about .side li:last-child { border-bottom: 0; }
.about .side li b { color: var(--ink); }
.about .side li span { color: var(--accent); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; }

/* SOURCES TABLE */
.sources-table {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
  margin: 12px 0 0;
}
.sources-table table { width: 100%; border-collapse: collapse; }
.sources-table th, .sources-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--line); font-size: 13px;
}
.sources-table thead th {
  background: var(--bg-card-2); color: var(--accent); font-weight: 700;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
}
.sources-table tbody td.dash { color: #fff; font-weight: 600; }
.sources-table tbody td.src { color: var(--ink-dim); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; }
.sources-table tbody td.desc { color: var(--ink-dim); font-size: 13px; }
.sources-table tbody td.cites { color: var(--accent); font-weight: 600; text-align: right; }
.sources-table tbody tr:last-child td { border-bottom: 0; }

/* FOOTER */
.site-footer {
  background: var(--bg-deep); border-top: 1px solid var(--line);
  padding: 36px 0 24px; color: var(--ink-faint); font-size: 13px; margin-top: 40px;
}
.site-footer .wrap { max-width: 1400px; margin: 0 auto; padding: 0 28px; }
.site-footer .grid {
  display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 18px;
}
.site-footer h4 { color: var(--ink); font-size: 14px; margin: 0 0 10px; }
.site-footer a { color: var(--ink-dim); }
.site-footer a:hover { color: var(--accent); }
.site-footer .copy {
  border-top: 1px solid var(--line); padding-top: 14px; color: var(--ink-faint); font-size: 12px;
}

@media (max-width: 720px) {
  .topbar .row { padding: 12px 18px; gap: 14px; flex-wrap: wrap; }
  .topbar nav { gap: 12px; }
  main { padding-left: 18px; padding-right: 18px; }
  h2.row-title { font-size: 20px; }
  .about { grid-template-columns: 1fr; }
}