/* ══════════════════════════════════════════════
   base.css  —  Tokens · Reset · Typography
                Buttons · Layout · Footer
   ══════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  /* Colors */
  --navy:       #0f172a;
  --navy-800:   #1e293b;
  --navy-700:   #334155;
  --blue:       #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #3b82f6;
  --red:        #dc2626;
  --gold:       #f59e0b;
  --teal:       #0d9488;
  --white:      #ffffff;
  --off-white:  #f8fafc;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-500:   #64748b;
  --gray-600:   #475569;
  --gray-700:   #334155;

  /* Logo colors */
  --logo-blue: #1a6bbf;
  --logo-red:  #BB1616;
  --logo-gold: #f5a800;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 5rem;

  /* Layout */
  --max-w: 1280px;
  --px:    clamp(1rem, 4vw, 2.5rem);
  --sec-py: clamp(4rem, 8vw, 6rem);

  /* Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --shadow-xl: 0 25px 60px rgba(0,0,0,.25);

  /* Transitions */
  --t-fast: .15s ease;
  --t-base: .25s ease;
  --t-slow: .55s ease;

  /* Gradients */
  --grad-blue:  linear-gradient(90deg, var(--blue), #7c3aed);
  --grad-hero:  linear-gradient(-45deg, #0f172a, #1e3a5f, #1a1a2e, #162032);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 3px; }

/* ── Layout helpers ── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}

.ta-center  { text-align: center; }
.mx-auto    { margin-inline: auto; }
.mt-xl      { margin-top: var(--space-xl); }

/* ── Section wrappers ── */
.section  { padding: var(--sec-py) 0; }
.sec-light { background: var(--gray-50); }
.sec-white { background: var(--white); }
.sec-dark  { background: var(--navy); }

.sec-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sec-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.sec-title  { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.sec-title.center { text-align: center; }
.sec-title.light  { color: var(--white); }
.sec-desc   { font-size: 1rem; color: var(--gray-500); line-height: 1.7; max-width: 560px; }
.sec-desc.light   { color: rgba(255,255,255,.6); }
.sec-desc.small   { font-size: .9rem; }

.body-text { font-size: 1rem; color: var(--gray-600); line-height: 1.75; }

/* ── Glow line accent ── */
.glow-line {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-blue);
  margin-bottom: 1rem;
}

/* ── Logo colors ── */
.logo-blue { color: var(--logo-blue); }
.logo-red  { color: var(--logo-red); }
.logo-gold { color: var(--logo-gold); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: var(--r-full);
  font-size: .875rem;
  font-weight: 600;
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
}
.btn-lg { padding: .9rem 1.9rem; font-size: .95rem; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 0 22px rgba(37,99,235,.5);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.22);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
}
.btn-outline:hover { background: rgba(255,255,255,.08); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-full);
  padding: .75rem 1.6rem;
  font-size: .875rem;
  font-weight: 600;
  transition: all var(--t-base);
  cursor: pointer;
}
.btn-outline-dark:hover { background: var(--gray-50); border-color: var(--gray-400); }

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { background: var(--gray-100); box-shadow: 0 0 22px rgba(255,255,255,.2); transform: translateY(-1px); }

.btn-block { width: 100%; justify-content: center; border-radius: var(--r-lg); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 500;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--t-fast);
}
.btn-text:hover { color: var(--blue-hover); }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.rv1 { transition-delay: .05s; }
.rv2 { transition-delay: .15s; }
.rv3 { transition-delay: .25s; }
.rv4 { transition-delay: .35s; }
.rv5 { transition-delay: .45s; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(220,38,38,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(220,38,38,0); }
  100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.spin { animation: spin 1.4s linear infinite; }

/* ── Footer ── */
.footer {
  background: #000;
  border-top: 1px solid var(--navy-800);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .45;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
}
.footer-nav a {
  font-size: .85rem;
  color: var(--gray-500);
  transition: color var(--t-fast);
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #111;
  padding: 1.25rem 0;
  font-size: .75rem;
  color: #444;
  text-align: center;
}
@media (max-width: 600px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
