/* 
   DJ Z-Rex | Neo-Minimalist 2026 Theme
*/

:root {
  /* Core Colors */
  --bg-primary: #050505;
  --bg-secondary: #0a0a0b;
  --bg-tertiary: #121214;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  
  /* Accents (Sophisticated Electric Indigo & Cyan) */
  --accent-main: #6366f1; /* Indigo 500 */
  --accent-light: #818cf8; /* Indigo 400 */
  --accent-glow: rgba(99, 102, 241, 0.25);
  
  --secondary-main: #06b6d4; /* Cyan 500 */
  --secondary-light: #22d3ee; /* Cyan 400 */
  
  /* UI Elements */
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(20, 20, 22, 0.6);
  --glass-border: rgba(255, 255, 255, 0.05);
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --container-max: 1200px;
  --section-padding: 8rem 0;

  /* Legacy color aliases (for consistency across pages) */
  --accent-400: #818cf8;
  --accent-500: #6366f1;
  --neon-400: #22d3ee;
  --neon-500: #06b6d4;
  --electric-400: #c084fc;
  --electric-500: #a855f7;
  --neutral-300: #d4d4d8;
  --neutral-400: #a1a1aa;
}

/* ── Reset & Base ──────────────────────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ── Typography ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3.5rem, 8vw, 6rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; margin-bottom: 1rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent-gradient {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--secondary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p.lead {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 650px;
  line-height: 1.7;
}

/* ── Layout & Containers ───────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--section-padding);
  position: relative;
  z-index: 10;
}

/* ── Navigation ────────────────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 24px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--text-primary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── UI Elements ───────────────────────────────────────────────────────────── */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  border-radius: 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -10px rgba(255, 255, 255, 0.2);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-main), var(--secondary-main));
  color: white;
}

.btn-accent:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -10px var(--accent-glow);
}

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

.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1.05rem;
}

/* Glass Cards (Neo-minimalist) */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 3rem;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(30, 30, 34, 0.6);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

/* Icon Boxes */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  transition: all 0.4s ease;
}

.glass-card:hover .icon-box {
  background: var(--text-primary);
  color: var(--bg-primary);
  transform: scale(1.1);
}

/* ── Hero Sections ─────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px; /* Offset for nav */
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--border-color);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.2);
  transition: filter 0.8s ease;
}

.hero-image-wrapper:hover img {
  filter: grayscale(0%) contrast(1);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg-primary) 0%, transparent 50%);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-main);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-main);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(0.95); opacity: 1; }
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* ── Grids & Structural Elements ───────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border-radius: 0;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
  background-size: 12px auto;
}

.form-select option {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-main);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-tertiary);
}

/* ── Miscellaneous & Utilities ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-bottom: 1rem;
  display: block;
}

/* Micro Animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 6rem 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  text-align: left !important;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top center, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 1200px) {
  .footer-grid {
    gap: 5rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand .logo-container {
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.8;
  margin: 0;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
}

.footer-social-col {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: block;
}

.footer-links {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--secondary-main);
  position: absolute;
  bottom: -2px;
  left: 0;
  transition: width 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.footer-links a:hover {
  color: var(--secondary-main);
}

.footer-links a:hover::before {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.social-links a:hover {
  background: var(--accent-main);
  color: white;
  transform: translateY(-4px);
  border-color: var(--accent-main);
  box-shadow: 0 8px 16px -4px var(--accent-glow);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-tertiary);
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom p {
  margin: 0;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 2rem;
  border: 1px solid var(--glass-border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-badge:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: var(--accent-light);
  color: var(--accent-light);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (max-width: 991px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
}
