/* ==========================================================================
   EXIFIO DESIGN SYSTEM: BASE & FOUNDATIONS
   Harmonized 60-30-10 Color System (Obsidian, Titanium, Radiant Gold)
   ========================================================================== */

:root {
  color-scheme: dark;
  /* 60% Dominant Ground: Deep Obsidian & Void Black */
  --bg-void: #05070a;
  --bg-surface: #0a0d14;
  --bg-card: rgba(13, 17, 26, 0.75);
  --bg-card-hover: rgba(20, 26, 38, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(245, 158, 11, 0.35);
  
  /* 10% Hero Accent: Pure Radiant Amber-Gold */
  --gold-light: #fef08a;
  --gold-bright: #facc15;
  --gold-primary: #f59e0b;
  --gold-dark: #d97706;
  --gold-glow: rgba(245, 158, 11, 0.2);
  --gold-glass: rgba(245, 158, 11, 0.08);
  --gold-glass-border: rgba(245, 158, 11, 0.22);
  
  /* 30% Supportive Structural Typography */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Header Heights */
  --header-h-desktop: 72px;
  --header-h-mobile: 64px;
}

*, *::before, *::after {
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  -webkit-tap-highlight-color: transparent;
}

html { 
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-void);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  min-height: 100vh;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Prevent accidental text selection only on interactive UI buttons & badges */
.brand, .btn, .deck-circ-btn, .mobile-menu-btn, .badge-dot, .floating-kw-tag, .pricing-badge, .glass-status-badge {
  user-select: none;
  -webkit-user-select: none;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

button:focus-visible, a:focus-visible, [data-href]:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

/* Translation-safe: long translated words wrap instead of overflowing */
p, span, li, a, button, td, th, label, .btn, .nav-link {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Ambient Background Lights & Grid */
.ambient-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
  opacity: 0.07;
  z-index: 0;
}
.glow-amber {
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--gold-primary), transparent 60%);
}

.bg-grid {
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black, transparent 85%);
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Luxury Glassmorphic Buttons with Specular Highlights */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: rgba(13, 17, 26, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 
    0 12px 30px -5px rgba(245, 158, 11, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(245, 158, 11, 0.2),
    inset 0 0 18px 2px rgba(245, 158, 11, 0.15);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  position: relative;
  overflow: hidden;
  text-shadow: 
    0 0 5px rgba(255, 255, 255, 0.5),
    0 2px 10px rgba(245, 158, 11, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.btn-primary svg {
  color: var(--gold-bright);
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: rgba(20, 26, 38, 0.88);
  border-color: var(--gold-bright);
  box-shadow: 
    0 16px 36px -5px rgba(245, 158, 11, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 25px rgba(245, 158, 11, 0.35);
  color: #ffffff;
  text-shadow: 
    0 0 7px rgba(255, 255, 255, 0.75),
    0 2px 14px rgba(245, 158, 11, 0.6);
}

.btn-primary:active {
  transform: translateY(0);
  background: rgba(10, 14, 22, 0.9);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.4),
    inset 0 0 10px rgba(245, 158, 11, 0.2);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 10px 25px -5px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 14px 30px -5px rgba(0, 0, 0, 0.7);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.section { 
  padding: 90px 0; 
  position: relative; 
}
.section-header { 
  text-align: center; 
  max-width: 680px; 
  margin: 0 auto 50px auto; 
}
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  margin-bottom: 12px;
}
.section-title { 
  font-size: clamp(2rem, 3.5vw, 2.8rem); 
  font-weight: 800; 
  margin-bottom: 16px; 
  line-height: 1.2; 
}
.section-desc { 
  color: var(--text-muted); 
  font-size: 1.05rem; 
}

/* Accessible Animations */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 8px #10b981;
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 16px #10b981, 0 0 24px rgba(16, 185, 129, 0.45);
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }
  .section-header {
    margin-bottom: 36px;
  }
}
