/* BlueWavePixel — Proposta LockTop (dark theme) */

:root {
  --bg:        #0D1B2A;
  --bg-card:   #152437;
  --bg-darker: #0a1220;
  --accent:    #AAFF00;
  --accent-dim:rgba(170,255,0,0.12);
  --ocean:     #039BE5;
  --white:     #F5F7FA;
  --gray:      #cbd2dc;
  --gray-muted:#8b96a8;
  --red:       #ff5252;
  --orange:    #ff9800;
  --green:     #4ade80;
  --border:    rgba(255,255,255,0.08);
  --radius:    8px;
  /* legacy compat */
  --dm-accent:  #AAFF00;
  --dm-dark:    #0D1B2A;
  --dm-darker:  #0a1220;
  --dm-grey:    #8b96a8;
  --dm-success: #4ade80;
  --dm-danger:  #ff5252;
  --dm-warning: #ff9800;
  --dm-border:  rgba(255,255,255,0.08);
  --dm-light:   #152437;
  --dm-white:   #1e3248;
  --dm-text:    #F5F7FA;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: .85; }

/* HEADER */
.header {
  background: rgba(10, 18, 32, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.header .brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.header nav { display: flex; gap: .5rem; flex-wrap: wrap; }
.header nav a {
  color: var(--gray);
  text-decoration: none;
  padding: .35rem .75rem;
  border-radius: var(--radius);
  font-size: .85rem;
  transition: all .2s;
}
.header nav a:hover,
.header nav a.active {
  background: var(--accent-dim);
  color: var(--accent);
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--bg-darker) 0%, #1a2d45 100%);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
  text-align: center;
}
.hero h1 { font-size: 2.4rem; font-weight: 800; color: var(--white); margin-bottom: .5rem; }
.hero .subtitle { color: var(--accent); font-size: 1.1rem; font-weight: 600; }
.hero .meta { color: var(--gray-muted); margin-top: 1rem; font-size: .9rem; }

/* CONTENT */
.content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* SECTIONS */
section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  padding-bottom: .75rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
}
section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray);
  margin: 1.5rem 0 .75rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: .8rem;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: .9rem;
  table-layout: auto;
}
th {
  background: var(--bg-darker);
  color: var(--accent);
  padding: .65rem 1rem;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid var(--border);
}
td {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--white);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
tfoot td {
  background: var(--bg-darker);
  font-weight: 700;
}
tr:hover td { background: rgba(170,255,0,0.04); }

/* BADGES */
.badge {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.badge-danger  { background: rgba(255,82,82,.15);  color: #ff5252; border: 1px solid rgba(255,82,82,.3); }
.badge-high    { background: rgba(255,82,82,.15);  color: #ff5252; border: 1px solid rgba(255,82,82,.3); }
.badge-medium  { background: rgba(255,152,0,.15);  color: #ff9800; border: 1px solid rgba(255,152,0,.3); }
.badge-warning { background: rgba(255,152,0,.15);  color: #ff9800; border: 1px solid rgba(255,152,0,.3); }
.badge-success { background: rgba(74,222,128,.15); color: #4ade80; border: 1px solid rgba(74,222,128,.3); }
.badge-low     { background: rgba(74,222,128,.15); color: #4ade80; border: 1px solid rgba(74,222,128,.3); }
.badge-info    { background: rgba(3,155,229,.15);  color: #039BE5; border: 1px solid rgba(3,155,229,.3); }

/* SCORE BARS */
.score-bar {
  display: inline-flex;
  align-items: center;
  width: 100%;
  max-width: 180px;
  height: 24px;
  background: var(--bg-darker);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.score-fill, .score-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #00C853);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: #0D1B2A;
  white-space: nowrap;
  min-width: 40px;
}

/* CALLOUT */
.callout {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  background: var(--accent-dim);
  margin: 1rem 0;
}
.callout strong { color: var(--white); display: block; margin-bottom: .25rem; }
.callout p { color: var(--gray); margin-bottom: .4rem; }
.callout p:last-child { margin-bottom: 0; }

/* ROADMAP */
.roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.roadmap-phase {
  background: var(--bg-darker);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.roadmap-phase h4 {
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .8rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.roadmap-phase ul { list-style: none; }
.roadmap-phase li {
  padding: .25rem 0;
  font-size: .85rem;
  color: var(--gray);
}
.roadmap-phase li::before { content: "› "; color: var(--accent); font-weight: 700; }

/* DOC LINKS */
.doc-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.doc-link {
  display: block;
  background: var(--bg-darker);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-decoration: none;
  color: var(--white);
  transition: all .2s;
}
.doc-link:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(170,255,0,.1);
  transform: translateY(-2px);
}
.doc-link .icon { font-size: 1.5rem; margin-bottom: .5rem; }
.doc-link .title { font-weight: 700; color: var(--white); }
.doc-link .desc { font-size: .8rem; color: var(--gray-muted); margin-top: .3rem; }

/* FOOTER */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  color: var(--gray-muted);
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
  font-size: .85rem;
}
.footer strong { color: var(--accent); }

/* UTILITIES */
.text-center { text-align: center; }
.text-small { font-size: .85rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
p { margin-bottom: .6rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: .5rem 0 .5rem 1.5rem; }
li { margin-bottom: .3rem; }
s { color: var(--gray-muted); }

/* MOBILE */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  section { padding: 1.2rem; }
  .header nav { display: none; }
  .content { padding: 1rem; }
}

/* PRINT */
@media print {
  .header { position: relative; }
  section { break-inside: avoid; }
}
