/* =============================================
   GLOBAL STYLES — Ezenwa Joseph Chibuzo Portfolio
   ============================================= */

:root {
  /* Colors */
  --clr-bg: #0a0a0f;
  --clr-surface: #111118;
  --clr-surface2: #1a1a24;
  --clr-border: rgba(255,255,255,0.08);

  --clr-accent1: #ff6b35;   /* Orange fire */
  --clr-accent2: #7c3aed;   /* Electric violet */
  --clr-accent3: #00d4ff;   /* Cyan spark */
  --clr-accent4: #ffd700;   /* Gold */
  --clr-accent5: #00e87a;   /* Neon green */

  --clr-text: #f0f0f5;
  --clr-text-muted: #8888a0;
  --clr-text-dim: #555566;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Spacing */
  --nav-h: 72px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);

  /* Radius */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* SELECTION */
::selection { background: var(--clr-accent1); color: #fff; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-accent2); border-radius: 2px; }

/* CURSOR — disabled, using normal pointer */
.cursor, .cursor-follower { display: none !important; }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: background 0.4s, backdrop-filter 0.4s, border-bottom 0.4s;
}
.nav.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--clr-text);
}
.nav-logo .dot { color: var(--clr-accent1); }
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--clr-accent1);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--clr-text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--clr-accent1);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--r-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.4);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--clr-bg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 32px; text-align: center; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--clr-text-muted);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--clr-accent1); }

/* =============================================
   CONTAINER
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--clr-accent1);
  color: #fff;
  box-shadow: 0 0 0 rgba(255,107,53,0);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255,107,53,0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--clr-text);
  border: 1.5px solid var(--clr-border);
}
.btn-ghost:hover {
  border-color: var(--clr-accent1);
  color: var(--clr-accent1);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--clr-text);
  border: 1.5px solid var(--clr-border);
  font-size: 0.875rem;
}
.btn-outline:hover {
  background: var(--clr-surface2);
  border-color: var(--clr-accent2);
  color: var(--clr-accent2);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: #0a0a0f;
  font-weight: 800;
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255,255,255,0.2);
}
.btn-arrow { transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-accent1);
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.25);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-title .highlight {
  color: var(--clr-accent1);
  position: relative;
  display: inline-block;
}
.section-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 4px;
  background: var(--clr-accent1);
  opacity: 0.3;
  border-radius: 2px;
}
.section-sub {
  color: var(--clr-text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  min-height: 320px;
  padding: calc(var(--nav-h) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.page-hero-sub {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  margin-top: 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  margin-bottom: 12px;
  display: block;
}
.footer-logo span { color: var(--clr-accent1); }
.footer-left p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-links h4,
.footer-social h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
  margin-bottom: 16px;
}
.footer-links a,
.footer-social a {
  display: block;
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover,
.footer-social a:hover {
  color: var(--clr-accent1);
  padding-left: 6px;
}
.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding: 20px 32px;
  text-align: center;
}
.footer-bottom p {
  color: var(--clr-text-dim);
  font-size: 0.8rem;
}

/* =============================================
   MARQUEE
   ============================================= */
.marquee-section {
  background: var(--clr-accent1);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.marquee-track .sep { color: rgba(255,255,255,0.5); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================
   ANIMATE IN
   ============================================= */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .container { padding: 0 20px; }
}
