/* ============================================================
   SYVIC — shared styles
   Brand: deep navy field, red / white / blue accents
   ============================================================ */

:root {
  --navy-900: #05070f;
  --navy-800: #0a0f1e;
  --navy-700: #101832;
  --navy-600: #17203f;
  --blue:     #2b6dff;
  --blue-600: #1d5cff;
  --blue-300: #7aa5ff;
  --red:      #e2313f;
  --red-600:  #c81f2c;
  --white:    #f6f8fc;
  --grey-300: #b6c0d6;
  --grey-400: #8b96af;
  --line:     rgba(255, 255, 255, 0.08);

  --maxw: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Anton", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 700px at 78% 8%, rgba(43, 109, 255, 0.16), transparent 60%),
    radial-gradient(900px 600px at 12% 90%, rgba(226, 49, 63, 0.10), transparent 60%),
    var(--navy-800);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(5, 7, 15, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: 1px;
}
.brand .y { color: var(--red); }
.brand .dot-b { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 600; letter-spacing: 0.3px;
  color: var(--grey-300); transition: color 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 0.6px; text-transform: uppercase;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(90deg, var(--blue-600), var(--red));
  color: #fff !important;
}
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; color: var(--white);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 15px 26px; border-radius: 10px;
  cursor: pointer; border: 0;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--blue-600) 0%, var(--red) 100%);
  box-shadow: 0 12px 30px -10px rgba(43,109,255,0.6);
}
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(226,49,63,0.55); }
.btn-ghost {
  color: #fff; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero (landing) ---------- */
.hero { position: relative; padding: 40px 0 70px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 30px; align-items: center; min-height: 62vh;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--blue-300);
  margin-bottom: 22px;
}
.eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(226,49,63,0.7); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(226,49,63,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(226,49,63,0); }
  100% { box-shadow: 0 0 0 0 rgba(226,49,63,0); }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400; line-height: 0.94; letter-spacing: 1px;
  font-size: clamp(48px, 8vw, 108px);
  margin: 0 0 6px; text-transform: uppercase;
}
.hero h1 .ai {
  background: linear-gradient(90deg, #fff, var(--blue-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rwb-divider {
  display: flex; align-items: center; gap: 6px; margin: 22px 0 26px;
}
.rwb-divider .seg { height: 4px; width: 42px; border-radius: 2px; }
.rwb-divider .seg.r { background: var(--red); }
.rwb-divider .seg.w { background: #fff; }
.rwb-divider .seg.b { background: var(--blue); }
.rwb-divider .star { color: #fff; font-size: 12px; }

.slogan { margin: 0 0 30px; }
.slogan .line {
  display: inline-block;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(34px, 5.4vw, 62px); letter-spacing: 1px;
  text-transform: uppercase; color: #fff; line-height: 1.02;
  padding: 4px 16px; margin-bottom: 8px;
}
.slogan .line.blue { background: linear-gradient(90deg, var(--blue-600), #1246c9); }
.slogan .line.red  { background: linear-gradient(90deg, var(--red), var(--red-600)); }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { color: var(--grey-400); font-size: 13px; margin-top: 18px; }

/* ---------- Hero art ---------- */
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5)); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 4.4vw, 52px); letter-spacing: 1px;
  text-transform: uppercase; line-height: 1.02; margin: 0 0 16px;
}
.section .lead { color: var(--grey-300); font-size: 18px; max-width: 620px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 46px;
}
.pillar {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(43,109,255,0.4); }
.pillar .ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(43,109,255,0.25), rgba(226,49,63,0.25));
}
.pillar .ico svg { width: 24px; height: 24px; color: var(--white); }
.pillar h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: 0.3px; }
.pillar p { color: var(--grey-400); margin: 0; font-size: 15px; }

/* ---------- Banner CTA strip ---------- */
.cta-strip {
  margin: 20px auto; text-align: center;
  background:
    radial-gradient(600px 200px at 30% 0%, rgba(43,109,255,0.25), transparent 70%),
    radial-gradient(600px 200px at 70% 100%, rgba(226,49,63,0.22), transparent 70%),
    var(--navy-700);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 60px 28px;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 64px 0 20px; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 6.5vw, 82px); letter-spacing: 1px;
  text-transform: uppercase; line-height: 0.96; margin: 0 0 18px;
}
.page-hero p.lead { color: var(--grey-300); font-size: 19px; max-width: 640px; }

/* ---------- Steps (join) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.step {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; background: var(--navy-700);
}
.step .num {
  font-family: var(--font-display); font-size: 40px; line-height: 1;
  background: linear-gradient(90deg, var(--blue-300), var(--red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--grey-400); font-size: 15px; }

/* ---------- Forms ---------- */
.form-card {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line); border-radius: 18px;
  padding: 34px; max-width: 620px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.4px;
  text-transform: uppercase; color: var(--grey-300); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  background: var(--navy-900); color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
  font-family: inherit; font-size: 15px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43,109,255,0.2);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status { margin-top: 16px; font-size: 14px; min-height: 20px; }
.form-status.ok { color: #57d98a; }
.form-status.err { color: var(--red); }
.form-hint { color: var(--grey-400); font-size: 13px; margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); margin-top: 40px;
  padding: 46px 0 40px; color: var(--grey-400);
}
.footer-grid {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.footer-grid .brand { font-size: 22px; margin-bottom: 10px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--grey-300); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px;
}
.footer-bottom a { color: var(--grey-300); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(5,7,15,0.98); border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin-top: 12px; }
  .nav-toggle { display: grid; place-items: center; }

  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto 10px; }
  .pillars, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Cinematic hero (banner recreation)
   ============================================================ */
.hero-cinema {
  position: relative;
  width: 100%;
  min-height: clamp(560px, 82vh, 880px);
  overflow: hidden;
  background: #04060e;
  border-bottom: 1px solid var(--line);
}
.hero-cinema .scene { position: absolute; inset: 0; }
.hero-cinema .scene img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 72% center;
  display: block;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg,
    rgba(4,6,14,0.97) 0%,
    rgba(4,6,14,0.88) 24%,
    rgba(4,6,14,0.45) 42%,
    rgba(4,6,14,0) 58%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center;
}
.hero-copy { max-width: 500px; }

.hl-could {
  display: block;
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 1px; text-transform: uppercase; color: #fff;
  line-height: 1;
}
.hl-ai {
  display: block;
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(74px, 11vw, 130px);
  line-height: 0.8; letter-spacing: -1px; color: #fff;
  text-transform: uppercase;
}
.hl-be {
  display: block;
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.0; letter-spacing: 0; color: #fff;
  text-transform: uppercase;
}
.hero-copy .rwb-divider { margin: 20px 0 24px; }

.slogan-blocks {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 6px; margin: 0 0 30px;
}
.blk {
  display: inline-block;
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(30px, 4.8vw, 50px);
  text-transform: uppercase; color: #fff;
  padding: 6px 16px; line-height: 1.05; letter-spacing: 0.5px;
}
.blk-blue { background: linear-gradient(90deg, #1f5cf0, #1246c9); }
.blk-red  { background: linear-gradient(90deg, #e2313f, #b3121f); }

.join-btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: 1.5px; text-transform: uppercase; color: #fff;
  padding: 15px 28px; border-radius: 11px;
  border: 1.6px solid transparent;
  background:
    linear-gradient(rgba(6,10,20,0.55), rgba(6,10,20,0.55)) padding-box,
    linear-gradient(90deg, #2b6dff, #e2313f) border-box;
  transition: transform 0.18s var(--ease), background 0.25s var(--ease);
}
.join-btn:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(rgba(43,109,255,0.22), rgba(226,49,63,0.22)) padding-box,
    linear-gradient(90deg, #2b6dff, #e2313f) border-box;
}
.join-btn .arrow { transition: transform 0.2s var(--ease); }
.join-btn:hover .arrow { transform: translateX(4px); }

@media (max-width: 720px) {
  .hero-cinema { min-height: 88vh; }
  .hero-cinema .scene img { object-position: 68% 22%; }
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(4,6,14,0.55) 0%, rgba(4,6,14,0.80) 55%, rgba(4,6,14,0.94) 100%);
  }
  .hero-overlay { align-items: flex-end; padding-bottom: 8vh; }
  .hero-copy { max-width: 100%; }
}

/* ---------- Social links ---------- */
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: var(--grey-300);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
              background 0.2s var(--ease), transform 0.2s var(--ease);
}
.socials a:hover {
  color: #fff;
  border-color: rgba(43,109,255,0.55);
  background: rgba(43,109,255,0.14);
  transform: translateY(-2px);
}
.socials svg { width: 19px; height: 19px; }

/* ---------- Exact banner hero (image) ---------- */
.hero-banner {
  width: 100%;
  background: #05070f;
  display: flex; justify-content: center;
}
.hero-banner-inner {
  position: relative;
  width: 100%; max-width: 1440px;
  line-height: 0;
}
.hero-banner-img { width: 100%; height: auto; display: block; }
/* invisible clickable region over the baked-in "Join the Movement" button */
.hero-join-hit {
  position: absolute;
  left: 3.15%; top: 76.3%;
  width: 31.7%; height: 7.8%;
  cursor: pointer;
  border-radius: 8px;
}
.hero-join-hit:focus-visible { outline: 2px solid #7aa5ff; outline-offset: 2px; }
