/*
  Digital Horizon Software LLC – Modern Professional Theme v2
  - Refined color palette with better contrast
  - Modern glassmorphism effects
  - Smooth animations and micro-interactions
  - Professional typography scale
  - Fully responsive with improved mobile UX
*/

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Core Colors - Refined Dark Theme */
  --bg: #0f172a;
  --bg-elev: #1e293b;
  --bg-elev-2: #334155;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --muted: #64748b;
  
  /* Accent Colors - Vibrant but Professional */
  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --primary-glow: rgba(59, 130, 246, 0.4);
  --accent: #22d3ee;
  --accent-glow: rgba(34, 211, 238, 0.3);
  --success: #10b981;
  --warning: #f59e0b;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-accent: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  
  /* UI Elements */
  --card-bg: rgba(30, 41, 59, 0.7);
  --card-border: rgba(148, 163, 184, 0.1);
  --card-hover-border: rgba(59, 130, 246, 0.3);
  --glass: rgba(15, 23, 42, 0.8);
  --glass-border: rgba(255, 255, 255, 0.1);
  
  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px var(--primary-glow);
  
  /* Sizing */
  --brand-h: 72px;
  --header-height: 80px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  
  /* Animation */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* Light Theme */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8fafc;
    --bg-elev: #ffffff;
    --bg-elev-2: #f1f5f9;
    --text: #0f172a;
    --text-secondary: #475569;
    --muted: #64748b;
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(0, 0, 0, 0.08);
    --card-hover-border: rgba(59, 130, 246, 0.4);
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
    --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,1) 0%, rgba(241,245,249,1) 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
}

/* Responsive Brand Sizing */
@media (min-width: 768px) {
  :root { --brand-h: 80px; --header-height: 88px; }
}
@media (min-width: 1024px) {
  :root { --brand-h: 96px; --header-height: 96px; }
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image: var(--gradient-hero);
  background-attachment: fixed;
}

/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-hover); }

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

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: white;
  border-radius: var(--border-radius);
  font-weight: 600;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: var(--glass);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  height: var(--brand-h);
  transition: transform var(--transition-fast);
}

.brand:hover { transform: scale(1.02); }

.brand-logo {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* Navigation */
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(59, 130, 246, 0.1);
}

/* Nav Toggle (Mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-toggle:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-toggle-bar + .nav-toggle-bar { margin-top: 5px; }

/* Mobile Nav */
@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  
  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--glass);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 99;
  }
  
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .site-nav ul {
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
  }
  
  .site-nav a {
    width: 100%;
    justify-content: center;
    padding: 1rem;
  }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md), 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 30px var(--primary-glow);
  color: white;
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-elev);
  border-color: var(--primary);
  color: var(--text);
}

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

.btn-ghost:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary);
  color: var(--text);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* === HERO === */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100%;
  background: radial-gradient(ellipse 60% 80% at 50% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 1.5rem;
  max-width: 800px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  margin: 0;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

/* Animated gradient orbs for hero */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -20px) scale(1.05); }
  50% { transform: translate(-10px, 20px) scale(0.95); }
  75% { transform: translate(-20px, -10px) scale(1.02); }
}

/* === SECTIONS === */
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%);
}

.section-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.125rem;
}

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

/* === CARDS === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--card-hover-border);
  box-shadow: var(--shadow-xl);
}

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

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  border-radius: 12px;
  font-size: 1.5rem;
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-secondary);
}

.card li { margin-bottom: 0.375rem; }

/* Feature Card - Larger variant */
.card-feature {
  padding: 2.5rem;
}

.card-feature h3 {
  font-size: 1.5rem;
}

/* Link Card - Clickable */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.card-link:hover { color: inherit; }

.card-link .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  transition: gap var(--transition-fast);
}

.card-link:hover .card-arrow { gap: 0.75rem; }

/* === EXPLORE GRID === */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .explore-grid { grid-template-columns: 1fr; }
}

.explore-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: all var(--transition-base);
}

.explore-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.explore-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  color: inherit;
}

.explore-card:hover::before { opacity: 0.1; }

.explore-card-content {
  position: relative;
  z-index: 1;
}

.explore-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.explore-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.explore-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.explore-card-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.25rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.explore-card:hover .explore-card-arrow {
  color: var(--primary);
  transform: translateX(4px);
}

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.about-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
}

.about-content p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.about-content p:last-child { margin-bottom: 0; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* === SUPPORT CTA === */
.cta-section {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
}

.cta-section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

.cta-section p {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
}

/* === PRODUCT SHOWCASE === */
.product-section {
  margin-top: 4rem;
}

.product-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.product-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
}

.product-info h2 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.product-info p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.product-screenshots {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.product-screenshots::-webkit-scrollbar {
  height: 8px;
}

.product-screenshots::-webkit-scrollbar-track {
  background: var(--bg-elev);
  border-radius: 4px;
}

.product-screenshots::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.product-screenshot {
  flex-shrink: 0;
  height: 400px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  scroll-snap-align: start;
  transition: transform var(--transition-base);
}

.product-screenshot:hover {
  transform: scale(1.02);
}

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

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
}

.product-feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  font-size: 0.75rem;
}

.product-feature span {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.product-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--border-radius);
  color: var(--success);
  font-weight: 500;
  font-size: 0.9375rem;
}

/* === PLACEHOLDER ITEMS === */
.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) { .placeholder-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .placeholder-grid { grid-template-columns: 1fr; } }

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 2rem;
  background: repeating-linear-gradient(
    -45deg,
    var(--bg-elev),
    var(--bg-elev) 10px,
    var(--bg-elev-2) 10px,
    var(--bg-elev-2) 20px
  );
  border: 2px dashed var(--card-border);
  border-radius: var(--border-radius);
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-base);
}

.placeholder:hover {
  border-color: var(--primary);
  color: var(--text-secondary);
}

/* === SUPPORT PAGE === */
.support-content {
  max-width: 600px;
  margin: 0 auto;
}

.support-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  text-align: center;
}

.support-email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--border-radius);
  font-size: 1.125rem;
  font-weight: 500;
}

.support-list {
  text-align: left;
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.support-list li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.support-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-elev);
  border-radius: var(--border-radius);
  color: var(--muted);
  font-size: 0.875rem;
}

/* === PRIVACY PAGE === */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
}

.privacy-content .last-updated {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--bg-elev);
  border-radius: var(--border-radius);
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}

.privacy-content h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
}

.privacy-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.privacy-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.privacy-content a {
  color: var(--primary);
  font-weight: 500;
}

.privacy-content a:hover {
  text-decoration: underline;
}

/* === FOOTER === */
.site-footer {
  margin-top: auto;
  padding: 2rem 0;
  background: var(--bg-elev);
  border-top: 1px solid var(--card-border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-inner > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.site-footer nav a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.site-footer nav a:hover {
  color: var(--text);
  background: rgba(59, 130, 246, 0.1);
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .site-footer nav ul {
    justify-content: center;
  }
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* === FOCUS & ACCESSIBILITY === */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* === BADGE === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: var(--bg-elev);
  border: 1px solid var(--card-border);
  border-radius: 9999px;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
}

.badge-primary {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--primary);
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--success);
}
