/* ============================================================
   Lizaro Partner Integration & Media Hub — Global Stylesheet
   Domain: lizaro-support.online
   ============================================================ */

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

:root {
  --bg-base:       #0F172A;
  --bg-surface:    #1E293B;
  --bg-elevated:   #263348;
  --bg-card:       #1A2540;
  --border:        #2E3F5C;
  --border-light:  #3B4F6B;
  --accent:        #6366F1;
  --accent-hover:  #818CF8;
  --accent-soft:   rgba(99,102,241,.12);
  --accent-glow:   rgba(99,102,241,.25);
  --text-primary:  #F1F5F9;
  --text-secondary:#94A3B8;
  --text-muted:    #64748B;
  --text-code:     #A5B4FC;
  --success:       #10B981;
  --warning:       #F59E0B;
  --info:          #38BDF8;
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --shadow-card:   0 4px 24px rgba(0,0,0,.35);
  --shadow-glow:   0 0 40px rgba(99,102,241,.15);
  --font-sans:     'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  --nav-h:         64px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--text-secondary); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a  { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }
code, kbd {
  font-family: var(--font-mono);
  font-size: .875em;
  background: rgba(99,102,241,.1);
  color: var(--text-code);
  padding: .15em .45em;
  border-radius: 4px;
  border: 1px solid var(--border);
}
pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: .875rem;
  color: var(--text-code);
  line-height: 1.6;
  margin: 1.25rem 0;
}
ul, ol { padding-left: 1.5rem; color: var(--text-secondary); }
li { margin-bottom: .35rem; }
strong { color: var(--text-primary); font-weight: 600; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: 860px; }
main { flex: 1; }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(15,23,42,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--accent) 0%, #8B5CF6 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  color: #fff;
  letter-spacing: -.03em;
  box-shadow: 0 0 16px var(--accent-glow);
}
.nav__site-name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}
.nav__site-sub {
  font-size: .7rem;
  color: var(--text-muted);
  font-weight: 400;
  display: block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__links a {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: .4rem .7rem;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a.active { color: var(--text-primary); background: var(--accent-soft); }
.nav__links a.active { color: var(--accent-hover); }
.nav__cta {
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 0 28px rgba(99,102,241,.4);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn--outline:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
}
.btn--lg {
  font-size: .9375rem;
  padding: .7rem 1.5rem;
  border-radius: var(--radius-md);
}
.btn svg { width: 15px; height: 15px; }

/* ── Mobile Nav Toggle ────────────────────────────────────── */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--text-secondary);
}
.nav__toggle svg { width: 22px; height: 22px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(99,102,241,.3);
  padding: .3rem .75rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero__eyebrow span.dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.75); }
}
.hero__title { margin-bottom: 1.25rem; }
.hero__title span { color: var(--accent); }
.hero__desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__meta {
  margin-top: 3rem;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero__stat { }
.hero__stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}
.hero__stat-label {
  font-size: .75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Section ──────────────────────────────────────────────── */
.section { padding: 4rem 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%); }
.section__header { margin-bottom: 2.5rem; }
.section__tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
  display: block;
}
.section__title { margin-bottom: .75rem; }
.section__desc { color: var(--text-secondary); max-width: 600px; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
.card__icon {
  width: 42px; height: 42px;
  background: var(--accent-soft);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
}
.card__icon svg { width: 20px; height: 20px; }
.card__title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.card__body { font-size: .875rem; color: var(--text-secondary); }

/* ── Grid ─────────────────────────────────────────────────── */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ── Table ────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
thead { background: var(--bg-elevated); }
thead th {
  padding: .85rem 1.1rem;
  text-align: left;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg-elevated); }
tbody td { padding: .85rem 1.1rem; color: var(--text-secondary); vertical-align: top; }
tbody td:first-child { color: var(--text-primary); font-weight: 500; }

/* ── Badge ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 999px;
}
.badge--green  { background: rgba(16,185,129,.12); color: #34D399; border: 1px solid rgba(16,185,129,.25); }
.badge--blue   { background: rgba(56,189,248,.12); color: #7DD3FC; border: 1px solid rgba(56,189,248,.25); }
.badge--indigo { background: var(--accent-soft);   color: var(--accent-hover); border: 1px solid rgba(99,102,241,.3); }
.badge--amber  { background: rgba(245,158,11,.12); color: #FCD34D; border: 1px solid rgba(245,158,11,.25); }
.badge--dot::before {
  content: '';
  width: 5px; height: 5px;
  background: currentColor;
  border-radius: 50%;
  display: inline-block;
}

/* ── Info Box ─────────────────────────────────────────────── */
.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  font-size: .875rem;
  color: var(--text-secondary);
  margin: 1.25rem 0;
}
.info-box strong { color: var(--text-primary); }
.info-box--success { border-left-color: var(--success); }
.info-box--warning { border-left-color: var(--warning); }
.info-box--info    { border-left-color: var(--info); }

/* ── Timeline ─────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: .5rem; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--border) 100%);
}
.timeline__item {
  position: relative;
  padding-bottom: 2.25rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -1.5rem;
  top: .35rem;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  box-shadow: 0 0 8px var(--accent-glow);
}
.timeline__meta {
  font-size: .75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: .35rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.timeline__title { font-size: .9375rem; font-weight: 700; margin-bottom: .4rem; }
.timeline__body  { font-size: .875rem; color: var(--text-secondary); }

/* ── Contact Card ─────────────────────────────────────────── */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color .25s, box-shadow .25s;
}
.contact-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}
.contact-card__dept {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-card__name { font-size: 1.1rem; font-weight: 700; }
.contact-card__email {
  font-family: var(--font-mono);
  font-size: .875rem;
  color: var(--accent-hover);
  word-break: break-all;
}
.contact-card__desc { font-size: .875rem; color: var(--text-secondary); }
.contact-card__tags { display: flex; gap: .4rem; flex-wrap: wrap; }

/* ── Terms Page ───────────────────────────────────────────── */
.terms-body h2 { font-size: 1.3rem; margin: 2rem 0 .75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.terms-body h2:first-child { border-top: none; margin-top: 0; }
.terms-body p  { font-size: .9375rem; line-height: 1.8; }
.terms-body ul { margin: .75rem 0 1rem; }
.terms-body li { font-size: .9375rem; line-height: 1.7; }
.terms-meta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  font-size: .8125rem;
}
.terms-meta__item { }
.terms-meta__label { color: var(--text-muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; }
.terms-meta__value { color: var(--text-primary); font-weight: 600; margin-top: .15rem; }

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 2rem 0;
}

/* ── Sidebar Layout ───────────────────────────────────────── */
.layout-sidebar {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.sidebar__title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .75rem;
  padding: 0 .5rem;
}
.sidebar__nav { list-style: none; padding: 0; margin: 0; }
.sidebar__nav li a {
  display: block;
  font-size: .8125rem;
  color: var(--text-secondary);
  padding: .4rem .5rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: all .2s;
}
.sidebar__nav li a:hover { color: var(--text-primary); background: var(--accent-soft); border-left-color: var(--accent); }
.sidebar__nav li a.active { color: var(--accent-hover); background: var(--accent-soft); border-left-color: var(--accent); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: auto;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer__brand-name {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer__brand-desc { font-size: .8125rem; color: var(--text-muted); line-height: 1.6; }
.footer__col-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .85rem;
}
.footer__col-links { list-style: none; padding: 0; margin: 0; }
.footer__col-links li { margin-bottom: .45rem; }
.footer__col-links a { font-size: .8125rem; color: var(--text-secondary); transition: color .2s; }
.footer__col-links a:hover { color: var(--accent-hover); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy { font-size: .75rem; color: var(--text-muted); }
.footer__domain { font-size: .75rem; color: var(--text-muted); font-family: var(--font-mono); }

/* ── Spec Block ───────────────────────────────────────────── */
.spec-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.spec-block__header {
  background: var(--bg-elevated);
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.spec-block__title { font-size: .8125rem; font-weight: 700; color: var(--text-primary); }
.spec-block__body { padding: 1.25rem; }

/* ── Media Kit Swatch ─────────────────────────────────────── */
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .75rem; }
.swatch {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.swatch__color { height: 64px; }
.swatch__info { padding: .5rem .65rem; background: var(--bg-card); }
.swatch__name { font-size: .7rem; font-weight: 700; color: var(--text-primary); }
.swatch__hex  { font-size: .65rem; font-family: var(--font-mono); color: var(--text-muted); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 768px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .nav__links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--bg-surface); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; gap: .25rem; }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero__meta { gap: 1.5rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
  .btn--lg { width: 100%; justify-content: center; }
}
