/* ============================================================
   SpamJammer — Bold Typography Design Style
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Work+Sans:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --color-black: #0A0A0A;
  --color-dark: #1A1A1A;
  --color-gray: #4A4A4A;
  --color-mid: #888888;
  --color-light: #E0E0E0;
  --color-off-white: #F5F5F5;
  --color-white: #FFFFFF;
  --color-accent: #FF6B6B;
  --color-accent-dark: #E04545;
  --color-accent-glow: rgba(255, 107, 107, 0.15);

  --font-display: 'Anton', 'Bebas Neue', Impact, sans-serif;
  --font-headline: 'Bebas Neue', 'Anton', Impact, sans-serif;
  --font-body: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-xxl: 10rem;

  --max-width: 1400px;
  --nav-height: 80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-white);
  background-color: var(--color-black);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

img {
  max-width: 100%;
  display: block;
}

/* --- Typography Utility Classes --- */
.text-display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.text-headline {
  font-family: var(--font-headline);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: 0.03em;
}

.text-body {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.text-accent {
  color: var(--color-accent);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent), #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-outline {
  -webkit-text-stroke: 2px var(--color-white);
  -webkit-text-fill-color: transparent;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  transition: letter-spacing 0.3s ease;
}

.nav-logo:hover {
  letter-spacing: 0.2em;
}

.nav-logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-mid);
  transition: color 0.3s ease, letter-spacing 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
  letter-spacing: 0.2em;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  color: var(--color-black) !important;
  background: var(--color-accent);
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--color-white);
  transform: scale(1.05);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 1.2rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-black);
}

.btn-primary:hover {
  background: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-black);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-accent);
  padding: 0;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--color-accent);
}

.btn-ghost:hover {
  letter-spacing: 0.2em;
}

/* --- Section Spacing --- */
.section {
  padding: var(--space-xxl) 0;
  position: relative;
}

.section--tight {
  padding: var(--space-xl) 0;
}

/* --- Divider --- */
.divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0;
}

/* --- Footer --- */
.footer {
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--color-black);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .nav-logo {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--color-mid);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-light);
  margin-bottom: var(--space-sm);
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--color-mid);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-mid);
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-word.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for word reveals */
.reveal-word:nth-child(1) { transition-delay: 0.0s; }
.reveal-word:nth-child(2) { transition-delay: 0.1s; }
.reveal-word:nth-child(3) { transition-delay: 0.2s; }
.reveal-word:nth-child(4) { transition-delay: 0.3s; }
.reveal-word:nth-child(5) { transition-delay: 0.4s; }
.reveal-word:nth-child(6) { transition-delay: 0.5s; }

/* --- Page Header (for inner pages) --- */
.page-header {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-xl);
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm);
}

.page-header p {
  font-size: 1.1rem;
  color: var(--color-mid);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root {
    --space-xxl: 6rem;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xxl: 4rem;
    --space-xl: 3rem;
    --nav-height: 70px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .footer .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  :root {
    --space-xxl: 3rem;
    --space-xl: 2rem;
  }
}
