/* ============================================================
   Night Owl Trading Group — Shared Design System
   brand/notg-shared.css

   Import in all NOTG pages. Page-specific styles remain inline.
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── DESIGN TOKENS ── */
:root {
  /* Backgrounds */
  --bg:        #080e1c;
  --surface:   #0f1829;
  --surface2:  #162035;
  --surface3:  #1c2a42;

  /* Borders */
  --border:    rgba(255,255,255,.07);
  --border-h:  rgba(245,158,11,.35);

  /* Brand accent */
  --accent:    #f59e0b;
  --accent-h:  #fbbf24;
  --accent-dim:rgba(245,158,11,.12);
  --glow:      rgba(245,158,11,.18);

  /* Text */
  --text:      #f0f4ff;
  --muted:     #6b7fa3;
  --muted-h:   #94a3b8;

  /* Status */
  --success:   #22c55e;
  --error:     #ef4444;
  --info:      #3b82f6;

  /* Layout */
  --wrap:      1480px;
  --hdr-h:     68px;
}

/* ── BASE ── */
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── BACKGROUND PATTERN ── */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(ellipse 120% 70% at 50% -5%, rgba(245,158,11,.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 60%, rgba(59,130,246,.05) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 10% 80%, rgba(245,158,11,.04) 0%, transparent 50%);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 30%, transparent 80%);
}

/* ── HEADER ── */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; height: var(--hdr-h);
  background: rgba(8,14,28,.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 clamp(24px, 4vw, 64px);
  z-index: 200; gap: 24px;
}

.logo {
  font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap;
  color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.logo-owl {
  width: 34px; height: 34px;
  background: var(--accent-dim); border: 1px solid rgba(245,158,11,.25);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; flex-shrink: 0;
}
.logo em { color: var(--accent); font-style: normal; }

.hdr-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.hdr-nav a {
  font-size: .82rem; font-weight: 500; color: var(--muted);
  text-decoration: none; padding: 7px 15px; border-radius: 8px; transition: all .18s;
}
.hdr-nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.hdr-cta {
  background: var(--accent) !important; color: #000 !important; font-weight: 700 !important;
  border-radius: 9px !important; margin-left: 8px;
}
.hdr-cta:hover {
  background: var(--accent-h) !important;
  box-shadow: 0 0 24px rgba(245,158,11,.35) !important;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px;
  font-size: .9rem; font-weight: 700; cursor: pointer;
  border: none; transition: all .2s; text-decoration: none; line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #e88c00);
  color: #000; box-shadow: 0 4px 20px rgba(245,158,11,.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-2px); box-shadow: 0 8px 32px rgba(245,158,11,.45);
}
.btn-ghost {
  background: rgba(255,255,255,.05); color: var(--text);
  border: 1px solid rgba(255,255,255,.1);
}
.btn-ghost:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }

/* ── LAYOUT UTILITIES ── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(24px,4vw,64px); position: relative; z-index: 1; }
.section { padding: clamp(64px,8vw,110px) 0; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 12px;
}
.section-eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--accent); border-radius: 1px; }
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900;
  letter-spacing: -.04em; margin-bottom: 14px; line-height: 1.1;
}
.section-sub { color: var(--muted); max-width: 520px; line-height: 1.75; margin-bottom: clamp(40px,5vw,64px); font-size: 1.02rem; }

/* ── BADGE VARIANTS ── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 100px; font-size: .62rem;
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.badge-live   { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.28); color: #4ade80; }
.badge-live::before   { content:''; width:5px; height:5px; border-radius:50%; background:#4ade80; animation:pulse 2s ease infinite; }
.badge-wip    { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.28); color: var(--accent); }
.badge-wip::before    { content:''; width:5px; height:5px; border-radius:50%; background:var(--accent); animation:pulse 2s ease infinite; }
.badge-soon   { background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted); }

/* ── FOOTER ── */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: clamp(48px,6vw,80px) 0 clamp(32px,4vw,48px);
}
.footer-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 0 clamp(24px,4vw,64px);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap; margin-bottom: clamp(32px,4vw,48px);
  padding-bottom: clamp(32px,4vw,48px); border-bottom: 1px solid var(--border);
}
.footer-brand p { font-size: .88rem; color: var(--muted); line-height: 1.75; max-width: 320px; margin-top: 14px; }
.footer-links { display: flex; gap: clamp(32px,5vw,80px); flex-wrap: wrap; }
.footer-col h4 { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; font-size: .85rem; color: var(--muted); text-decoration: none; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .78rem; color: var(--muted); }
.footer-disclaimer { font-size: .72rem; color: var(--muted); opacity: .65; text-align: right; max-width: 500px; line-height: 1.5; }

/* ── KEYFRAMES ── */
@keyframes pulse   { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
@keyframes shimmer { 0%{background-position:0% center} 100%{background-position:200% center} }
@keyframes spin    { to { transform: rotate(360deg); } }

/* ── 4K RESPONSIVE ── */
@media(min-width:2000px) {
  :root { --wrap: 1760px; }
  html { font-size: 18px; }
}
@media(min-width:2560px) {
  :root { --wrap: 2200px; }
  html { font-size: 20px; }
}
