/* ============================================
   PhysiCal Design Tokens
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;700;900&family=Mulish:wght@300;400;500;600;700&display=swap');

:root {
  /* ---- Colors ---- */
  --color-black:       #0A0A0F;
  --color-black-soft:  #121218;
  --color-surface:     #1A1A24;
  --color-surface-2:   #22222E;
  --color-border:      #2E2E3D;

  --color-blue:        #3B82FF;
  --color-blue-glow:   rgba(59, 130, 255, 0.18);
  --color-blue-mid:    #2563EB;

  --color-text-primary:   #F0F0F8;
  --color-text-secondary: #9191A8;
  --color-text-dim:       #5A5A72;

  --color-white: #FFFFFF;

  /* ---- UFC Collab Extras ---- */
  --color-red:    #E3001B;
  --color-red-glow: rgba(227, 0, 27, 0.18);
  --color-gold:   #C8A84B;
  --color-gold-light: #E8C87A;

  /* ---- Typography ---- */
  --font-display: 'Unbounded', sans-serif;
  --font-body:    'Mulish', sans-serif;

  /* ---- Spacing ---- */
  --section-pad: clamp(64px, 10vw, 120px);
  --container:   1200px;
  --gutter:      clamp(20px, 5vw, 80px);

  /* ---- Radius ---- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* ---- Transitions ---- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--color-black);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ============================================
   Utility Classes
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-pad) 0;
}

/* Eyebrow label */
.eyebrow {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-blue);
}

.eyebrow--red  { color: var(--color-red); }
.eyebrow--gold { color: var(--color-gold); }

/* Headlines — H1: 80px / H2: 60px / H3: 30px */
h1, .h-display {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 70px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
}

h2, .h-large {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  width: 100%;
}

h3, .h-medium {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.body-lg {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), opacity 0.2s;
}

.btn:hover { transform: translateY(-2px); opacity: 0.92; }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: 0 0 32px var(--color-blue-glow);
}

.btn--red {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 0 32px var(--color-red-glow);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-text-secondary);
}

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

/* Octagon accent — PhysiCal signature shape */
.octagon-accent {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-blue);
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

/* Scroll-reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--color-border);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.nav__logo span {
  color: var(--color-blue);
}

.nav--red .nav__logo span { color: var(--color-red); }

.nav__cta .btn { padding: 10px 24px; font-size: 11px; }

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: var(--color-white);
}

.footer__logo span { color: var(--color-blue); }
.footer--red .footer__logo span { color: var(--color-red); }

.footer__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer__links a {
  font-size: 13px;
  color: var(--color-text-dim);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--color-text-secondary); }

.footer__copy {
  font-size: 12px;
  color: var(--color-text-dim);
}

/* ============================================
   Responsive helpers
   ============================================ */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__links { gap: 20px; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .btn, * { transition: none !important; animation: none !important; }
}
