:root {
  --teal:    #2ecfbe;
  --blue:    #3a9fd5;
  --sky:     #5bbde4;
  --deep:    #1a7faa;
  --darkbg:  #0b1f2e;
  --darker:  #071520;
  --card:    #0f2a3d;
  --white:   #ffffff;
  --offwhite:#e8f7fc;
  --muted:   #7bbdd4;
  --error:   #ff6b8a;
  --grad:    linear-gradient(135deg, #2ecfbe 0%, #3a9fd5 50%, #2a7ec4 100%);
}

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

body {
  background-color: var(--darkbg);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.3;
}

a { color: var(--teal); }

/* ── NAV ── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.3rem 3.5rem;
  background: linear-gradient(to bottom, rgba(7,21,32,0.97) 0%, rgba(7,21,32,0.7) 60%, transparent 100%);
  backdrop-filter: blur(2px);
}
.nav-logo { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; }
.nav-logo img {
  height: 46px; width: auto;
  filter: drop-shadow(0 0 8px rgba(46,207,190,0.45));
}
.nav-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem; letter-spacing: 0.14em; line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-logo-sub {
  font-size: 0.56rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); display: block; -webkit-text-fill-color: var(--muted);
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--offwhite);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.7; transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--teal); }
.nav-links a.cta {
  opacity: 1; color: var(--teal);
  border: 1px solid rgba(46,207,190,0.45);
  padding: 0.55rem 1rem;
}
.nav-links a.cta:hover { background: rgba(46,207,190,0.1); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 1rem 2.4rem; background: var(--grad);
  color: var(--darker); text-decoration: none;
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  transition: filter 0.2s, transform 0.2s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  border: 0; cursor: pointer; font-family: inherit;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-secondary {
  display: inline-block;
  padding: 1rem 2.4rem;
  border: 1px solid rgba(46,207,190,0.45); color: var(--teal);
  text-decoration: none; font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s;
  background: transparent; cursor: pointer; font-family: inherit;
}
.btn-secondary:hover { border-color: var(--teal); background: rgba(46,207,190,0.07); }
.btn-dark {
  display: inline-block;
  padding: 1.1rem 2.8rem; background: var(--darker);
  color: var(--teal); text-decoration: none;
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  transition: background 0.2s; white-space: nowrap; flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  border: 0; cursor: pointer; font-family: inherit;
}
.btn-dark:hover { background: #0f2a3d; }

/* ── SECTION SHARED ── */
.section-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.38em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0.9rem;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1; letter-spacing: 0.03em; margin-bottom: 3.5rem;
}

/* ── FOOTER ── */
footer.site-footer {
  background: var(--darker); padding: 4.5rem 5rem 2.5rem;
  border-top: 1px solid rgba(46,207,190,0.12);
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand-logo { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.footer-brand-logo img {
  height: 52px; width: auto;
  filter: drop-shadow(0 0 8px rgba(46,207,190,0.3));
}
.footer-brand-name {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.35rem;
  letter-spacing: 0.1em; line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-brand-name small {
  display: block; font-size: 0.58rem; letter-spacing: 0.28em;
  color: var(--muted); -webkit-text-fill-color: var(--muted);
}
.footer-brand p { font-size: 0.85rem; line-height: 1.75; color: var(--muted); max-width: 290px; }
.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.05rem;
  letter-spacing: 0.18em; color: var(--white); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul li { font-size: 0.85rem; color: var(--muted); transition: color 0.2s; }
.footer-col ul li a { color: var(--muted); text-decoration: none; }
.footer-col ul li a:hover { color: var(--teal); }
.footer-col .highlight { color: var(--teal) !important; font-weight: 600; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem; font-size: 0.75rem; color: var(--muted);
  flex-wrap: wrap; gap: 1rem;
}

/* ── KEYFRAMES (shared) ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* ── RESPONSIVE NAV/FOOTER ── */
@media (max-width: 960px) {
  nav.site-nav { padding: 1.2rem 2rem; }
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.7rem; letter-spacing: 0.15em; }
  footer.site-footer { padding: 4rem 2rem 2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ───── Sign-In nav (added by consolidation 2026-05-04) ───── */
.nav-signin a {
  opacity: 0.75;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  border: 1px solid rgba(46, 207, 190, 0.35);
  padding: 0.45rem 0.95rem;
  border-radius: 4px;
  transition: opacity 120ms ease, border-color 120ms ease, background 120ms ease;
}
.nav-signin a:hover {
  opacity: 1;
  border-color: rgba(46, 207, 190, 0.85);
  background: rgba(46, 207, 190, 0.08);
}
.nav-signin.signed-in a {
  opacity: 1;
  border-color: rgba(46, 207, 190, 0.85);
  color: #2ecfbe;
}
