/* ============================================
       JAZER BRAND TYPOGRAPHY SYSTEM
       Version 1.0 - Futuristic Edition
       ============================================ */

/* --- Local Font Definitions --- */

/* Nunito (Brand Impact) */
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito/nunito-v32-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito/nunito-v32-latin-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito/nunito-v32-latin-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Outfit (Headers) */
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit/outfit-v15-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit/outfit-v15-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit/outfit-v15-latin-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* DM Sans (Body) */
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans/dm-sans-v17-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans/dm-sans-v17-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans/dm-sans-v17-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand Fonts - MATCHING YOUR ACTUAL LOGO */
  --font-primary: 'Nunito', sans-serif;
  /* Logo, Hero - Matches your logo! */
  --font-secondary: 'Outfit', sans-serif;
  /* Headers, Titles - Rounded & Modern */
  --font-body: 'DM Sans', sans-serif;
  /* Body, UI - Friendly & Readable */

  /* Alternative Font Options - Fallback to system fonts or keep if you have files for them later */
  --font-alt-rounded: 'Poppins', sans-serif;
  --font-alt-geometric: 'Rubik', sans-serif;

  /* Brand Colors - VIBRANT PALETTE */
  --jazer-blue-light: #00f2fe;
  --jazer-blue-mid: #4facfe;
  --jazer-purple: #9333ea;
  --jazer-magenta: #ff00ff;
  --jazer-cyan: #00f2ea;
  --jazer-pink: #ff006e;
  --jazer-yellow: #ffbe0b;
  --jazer-orange: #ff8800;

  /* RGB variants for rgba() usage */
  --jazer-cyan-rgb: 0, 242, 234;
  --jazer-pink-rgb: 255, 0, 110;

  /* Gradients - PLAYFUL */
  --gradient-primary: linear-gradient(135deg, #00f2ea 0%, #ff006e 50%, #9333ea 100%);
  --gradient-text: linear-gradient(135deg, #00f2ea 0%, #9333ea 50%, #ff006e 100%);
  --gradient-accent: linear-gradient(135deg, #ff006e 0%, #9333ea 100%);

  /* Backgrounds */
  --bg-dark: #000000;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-bubble: rgba(255, 0, 110, 0.1);
  --text-light: #ffffff;
  --text-gray: #b0b0b0;
  --text-muted: #808080;

  /* Typography Scale - Mobile First */
  --text-xs: 0.75rem;
  /* 12px */
  --text-sm: 0.875rem;
  /* 14px */
  --text-base: 1rem;
  /* 16px */
  --text-lg: 1.125rem;
  /* 18px */
  --text-xl: 1.25rem;
  /* 20px */
  --text-2xl: 1.5rem;
  /* 24px */
  --text-3xl: 1.875rem;
  /* 30px */
  --text-4xl: 2.25rem;
  /* 36px */
  --text-5xl: 3rem;
  /* 48px */
  --text-6xl: 3.75rem;
  /* 60px */
  --text-7xl: 4.5rem;
  /* 72px */
  --text-8xl: 6rem;
  /* 96px */

  /* Line Heights - MORE BREATHING ROOM */
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;
  --leading-loose: 2;

  /* Letter Spacing - WIDER FOR FRIENDLINESS */
  --tracking-tighter: -0.025em;
  --tracking-tight: 0;
  --tracking-normal: 0.01em;
  --tracking-wide: 0.03em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
}

/* ---------- SITE-WIDE BACKGROUND GRADIENT ---------- */
:root {
  /* add the site gradient variable (layered radial + linear for vignette effect) */
  --bg-gradient: radial-gradient(ellipse at 50% 0%,
      rgba(75, 0, 130, 0.6) 0%,
      rgba(45, 0, 75, 0.8) 30%,
      rgba(20, 0, 40, 1) 70%),
    linear-gradient(180deg, rgba(30, 0, 50, 1) 0%, rgba(10, 0, 20, 1) 50%, rgba(0, 0, 0, 1) 100%);
}

/* Make main wrappers transparent so the gradient shows through */
main,
.container,
.section {
  background: transparent !important;
}

/* Footer: let the gradient show through and use a subtle border if needed */
footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 0;
}

/* Keep nav readable but allow gradient to peek through */
.site-nav {
  background: rgba(0, 0, 0, 0.55); /* slightly transparent */
  backdrop-filter: blur(6px);
}

/* Mobile tweaks: improve performance on mobile */
@media (max-width: 768px) {
  body {
    background-attachment: scroll; /* improves performance on some mobile browsers */
  }
}

/* ============================================
       BASE STYLES
       ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Replace the BASE STYLES body rule with this ===== */

html, body {
  /* let page size flow naturally but guarantee minimum viewport height */
  height: auto;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Use the brand gradient if present, otherwise fall back to the dark background */
body {
  background: var(--bg-gradient, var(--bg-dark)) center top / cover no-repeat scroll;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* ============================================
       TYPOGRAPHY CLASSES - THE JAZER SYSTEM
       ============================================ */

/* TIER 1: BRAND IMPACT (Nunito - Matches Your Logo!) */

.jazer-hero {
  font-family: var(--font-primary);
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-normal);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
}

.jazer-logo {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: var(--tracking-wide);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
}

.jazer-display {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-normal);
  text-transform: uppercase;
}

/* TIER 2: SECTION HEADERS (Outfit - Smooth, Rounded, Modern) */

.jazer-h1 {
  font-family: var(--font-secondary);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.jazer-h2 {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-normal);
}

.jazer-h3 {
  font-family: var(--font-secondary);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-normal);
}

.jazer-h4 {
  font-family: var(--font-secondary);
  font-size: clamp(1.25rem, 2vw, 1.875rem);
  font-weight: 600;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-normal);
}

.jazer-h5 {
  font-family: var(--font-secondary);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
}

.jazer-h6 {
  font-family: var(--font-secondary);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

/* TIER 3: BODY & UI (DM Sans - Friendly & Readable) */

.jazer-body-xl {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: var(--leading-relaxed);
  letter-spacing: var(--tracking-normal);
}

.jazer-body-lg {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: var(--leading-relaxed);
  letter-spacing: var(--tracking-normal);
}

.jazer-body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
}

.jazer-body-sm {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
}

.jazer-caption {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* TIER 4: SPECIALTY CLASSES */

.jazer-lead {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: var(--leading-relaxed);
  letter-spacing: var(--tracking-normal);
  color: var(--text-gray);
}

.jazer-quote {
  font-family: var(--font-secondary);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 500;
  line-height: var(--leading-relaxed);
  letter-spacing: var(--tracking-normal);
  font-style: italic;
}

.jazer-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--jazer-pink);
}

.jazer-button-text {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.jazer-nav-link {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
}

.jazer-eyebrow {
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-weight: 900;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--jazer-yellow);
}

.jazer-stat-number {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-normal);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jazer-stat-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-gray);
}

/* ============================================
       UTILITY CLASSES
       ============================================ */

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow {
  text-shadow: 0 0 20px rgba(79, 172, 254, 0.6),
    0 0 40px rgba(79, 172, 254, 0.4);
}

.text-uppercase {
  text-transform: uppercase;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* ============================================
       DEMO PAGE STYLING
       ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  margin: 0;
  padding: 2rem 3rem;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

@keyframes bubble-float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-20px, -20px) scale(1.1);
  }
}

/* Hero entrance animations */
@keyframes heroFadeInScale {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroGlowPulse {
  0%, 100% {
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.6),
                0 0 80px rgba(147, 51, 234, 0.4);
  }
  50% {
    box-shadow: 0 0 60px rgba(0, 242, 254, 0.8),
                0 0 120px rgba(147, 51, 234, 0.6);
  }
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 5px 20px rgba(147, 51, 234, 0.4),
                0 0 20px rgba(255, 190, 11, 0.3);
  }
  50% {
    box-shadow: 0 8px 30px rgba(147, 51, 234, 0.6),
                0 0 40px rgba(255, 190, 11, 0.5);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes selectedGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 242, 234, 0.8);
  }
}

@keyframes backgroundShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.section-header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #00f2ea 0%, #ff006e 50%, #9333ea 100%) 1;
  position: relative;
  z-index: 1;
}

.type-demo {
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(255, 190, 11, 0.05);
  border-radius: 20px;
  border-left: 6px solid var(--jazer-pink);
  position: relative;
  transition: all 0.3s ease;
}

.type-demo:hover {
  transform: translateX(8px);
  border-left-color: var(--jazer-yellow);
  box-shadow: -8px 0 30px rgba(147, 51, 234, 0.2);
}

.type-demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.type-name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--jazer-pink);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.type-specs {
  font-family: 'Courier New', monospace;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.usage-card {
  background: var(--bg-bubble);
  padding: 2rem;
  border-radius: 24px;
  border: 2px solid rgba(0, 242, 254, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.usage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(147, 51, 234, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.usage-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 20px 60px rgba(0, 242, 254, 0.3);
}

.usage-card:hover::before {
  opacity: 1;
}

.usage-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.usage-icon {
  font-size: 2rem;
}

.do-dont-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.do-card,
.dont-card {
  padding: 2rem;
  border-radius: 24px;
  border: 3px solid;
  position: relative;
  overflow: hidden;
}

.do-card {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.4);
}

.do-card::before {
  content: '✨';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  opacity: 0.3;
}

.dont-card {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.4);
}

.dont-card::before {
  content: '💥';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  opacity: 0.3;
}

.do-card h4,
.dont-card h4 {
  font-family: var(--font-secondary);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 1rem;
}

.do-card h4 {
  color: #22c55e;
}

.dont-card h4 {
  color: #ef4444;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
  font-weight: 600;
  color: var(--jazer-pink);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  background: rgba(147, 51, 234, 0.1);
}

code {
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  background: rgba(147, 51, 234, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  color: var(--jazer-yellow);
  border: 1px solid rgba(147, 51, 234, 0.3);
}

.code-block {
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  border-radius: 16px;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 2px solid rgba(255, 190, 11, 0.2);
}

.code-block pre {
  margin: 0;
  font-family: 'Courier New', monospace;
  font-size: var(--text-sm);
  color: var(--text-gray);
}

@media (max-width: 768px) {
  .do-dont-grid {
    grid-template-columns: 1fr;
  }

  .usage-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   RESTORED LAYOUT STYLES
   ============================================ */

/* 1. Global Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 2rem 0;
  position: relative;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* 2. Navigation */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
}

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

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-family: var(--font-secondary);
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--jazer-cyan), var(--jazer-pink));
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--jazer-cyan);
}

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

.mobile-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: 0.3s;
}

/* 3. Hero Section */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 2rem 2rem;
  position: relative;
}

/* Main Content Wrapper */
main {
  min-height: auto;
  padding-top: 80px;
  flex: 1;
}

/* Remove main padding when hero is present (hero has its own nav clearance)
   Note: :has() is supported in modern browsers (Chrome 105+, Firefox 121+, Safari 15.4+)
   Falls back gracefully - pages with hero will just have slightly more top padding */
main:has(.hero:first-child) {
  padding-top: 0;
}


.hero-content {
  max-width: 100%;
}

.hero-content p {
  animation: heroSlideUp 0.8s ease-out 0.4s both;
}

.hero-content .cta-button {
  animation: heroSlideUp 0.8s ease-out 0.6s both;
}

.hero-logo {
  width: 60vw;
  max-width: 1000px;
  margin-bottom: 2rem;
  animation: heroFadeInScale 1s ease-out,
             logoFloat 6s ease-in-out 1s infinite;
}

/* Ensure video displays correctly */
.hero-logo video,
.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 4. Components */
.card {
  background: var(--bg-card);
  border: none;
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: visible;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 242, 234, 0.1), rgba(255, 0, 110, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover,
.card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 242, 234, 0.4), 0 5px 20px rgba(255, 0, 110, 0.3);
  filter: brightness(1.05);
}

.card:hover::before,
.card:focus-within::before {
  opacity: 1;
}

.cta-button {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  animation: ctaPulse 2s ease-in-out infinite;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -200%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 3s infinite;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 0, 110, 0.5),
              0 0 30px rgba(0, 242, 254, 0.4);
  animation-play-state: paused;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-secondary);
  color: var(--text-gray);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-light);
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--jazer-cyan);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4),
              0 0 40px rgba(255, 0, 110, 0.3);
  transform: translateY(-2px);
}

/* Brand Gallery */
.brand-gallery {
  margin-top: 4rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
  position: relative;
}

.gallery-item:hover {
  transform: scale(1.15) rotate(2deg);
  filter: brightness(1.2);
}

.gallery-item.selected {
  animation: selectedGlow 2s ease-in-out infinite;
}

.gallery-item.selected::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 242, 234, 0.8);
  pointer-events: none;
}

.brand-sample {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.gallery-item.selected .brand-sample {
  border-color: var(--jazer-blue-mid);
}

/* 5. Footer */
footer {
  margin-top: 2rem;
  padding: 2rem 0;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .mobile-menu {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .section {
    padding: 1.5rem 0;
  }
  
  .hero {
    padding: 80px 1rem 1rem;
  }
  
  footer {
    margin-top: 1.5rem;
    padding: 1.5rem 0;
  }
}

/* ============================================
   SOCIAL LINKS ICON STYLING
   ============================================ */

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
  border-radius: 50%;
}

.social-links a img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.15);
  filter: brightness(1.2);
  box-shadow: 0 0 15px rgba(var(--jazer-cyan-rgb, 0, 242, 234), 0.5);
}

.social-links a:hover img {
  filter: drop-shadow(0 0 8px var(--jazer-cyan));
}

/* Hide duplicate social icons in contact page main content */
.contact-form ~ div .social-links {
  display: none;
}

/* ============================================
   COMING SOON CARD STYLING
   ============================================ */

.card.coming-soon {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.card.coming-soon p {
  font-size: 1.2rem;
  color: var(--text-gray);
}

/* Center "Stay tuned" cards in their sections */
.grid:has(.coming-soon) {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 30vh;
}

.grid:has(.coming-soon) .card.coming-soon {
  max-width: 500px;
  text-align: center;
}

/* Teaser rotation animation */
.teaser {
  transition: opacity 0.3s ease;
}

/* ============================================
   PAGE INTRO STYLING
   ============================================ */

.page-intro {
  max-width: 640px;
  margin: 0.75rem auto 0;
  text-align: center;
  color: var(--text-gray);
  font-family: var(--font-body);
  font-size: var(--text-lg);
}

.page-intro-icon {
  display: block;
  margin: 0.5rem auto 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ============================================
   PAGE CALLOUT CARD STYLING
   ============================================ */

.page-callout {
  max-width: 960px;
  margin: 3.5rem auto 0;
  padding: 3rem 3.5rem;
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(0, 242, 254, 0.16), rgba(147, 51, 234, 0.12) 40%, transparent 70%),
    radial-gradient(circle at bottom right, rgba(255, 0, 110, 0.18), transparent 65%),
    var(--bg-card);
  border: 1px solid rgba(79, 172, 254, 0.65);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 242, 254, 0.5),
    0 0 30px rgba(255, 0, 110, 0.4);
}

@media (max-width: 768px) {
  .page-callout {
    margin-top: 2.5rem;
    padding: 2.25rem 1.75rem;
  }
}

.page-callout p {
  margin: 0;
  font-size: var(--text-lg);
  color: var(--text-light);
}

.page-callout small {
  display: block;
  margin-top: 0.75rem;
  font-size: var(--text-sm);
  color: var(--text-gray);
}

/* ============================================
   GRADIENT CARD BORDERS
   ============================================ */

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: var(--gradient-primary);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.card:hover::after,
.card:focus-within::after {
  padding: 3px;
}

/* ============================================
   FOOTER SITEMAP STYLING
   ============================================ */

.footer-sitemap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.footer-sitemap a {
  color: var(--text-gray);
  text-decoration: none;
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.footer-sitemap a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.footer-sitemap a:hover {
  color: var(--jazer-cyan);
}

.footer-sitemap a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .footer-sitemap {
    gap: 0.75rem 1.25rem;
  }
}