/**
 * Password Generator - Dark Mode Only
 * Modern, clean design with blue palette
 */

/* ===== CSS Custom Properties ===== */
:root {
  /* Core Palette */
  --navy-dark: #0D1B2A;
  --navy: #1B263B;
  --slate: #415A77;
  --slate-light: #778DA9;
  --silver: #E0E1DD;
  
  /* Accent Colors */
  --accent-primary: #3E92CC;
  --accent-secondary: #2EC4B6;
  --accent-warm: #FF6B6B;
  --accent-gold: #FFD166;
  
  /* Semantic Colors */
  --success: #06D6A0;
  --warning: #FFD166;
  --error: #EF476F;
  
  /* Strength Colors */
  --strength-0: #EF476F;
  --strength-1: #FF6B6B;
  --strength-2: #FFD166;
  --strength-3: #06D6A0;
  --strength-4: #118AB2;
  
  /* Dark Theme Colors */
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-tertiary: #334155;
  --bg-card: #1E293B;
  --bg-card-hover: #334155;
  
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-inverse: var(--navy-dark);
  
  --border-color: #334155;
  --border-color-strong: #475569;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
  
  --gradient-hero: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--slate) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;
  
  /* Borders & Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

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

svg {
  display: block;
  max-width: 100%;
  height: auto;
}

svg:not([width]):not([class]) {
  width: 24px;
  height: 24px;
}

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

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  min-height: 100vh;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-primary);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }

@media (min-width: 768px) {
  h1 { font-size: var(--font-size-5xl); }
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-secondary);
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-xl);
  }
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy-dark);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .nav-container {
    padding: var(--space-md) var(--space-xl);
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: #FFFFFF;
  font-weight: 700;
  font-size: var(--font-size-lg);
  text-decoration: none;
}

.nav-logo img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.nav-logo span {
  white-space: nowrap;
  font-size: var(--font-size-xl);
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 480px) {
  .nav-logo span {
    font-size: var(--font-size-base);
  }
}

.nav-links {
  display: none;
  gap: var(--space-xl);
  list-style: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: var(--silver);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: #FFFFFF;
}

/* ===== Hero Section ===== */
.hero {
  background: var(--gradient-hero);
  padding: calc(80px + var(--space-4xl)) var(--space-md) var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(62, 146, 204, 0.2);
  border: 1px solid rgba(62, 146, 204, 0.3);
  color: var(--accent-primary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  color: var(--silver);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: var(--font-size-xl);
  }
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--silver);
  font-size: var(--font-size-sm);
}

.hero-feature svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-secondary);
}

/* Decorative Elements */
.hero-decoration {
  position: absolute;
  pointer-events: none;
}

.hero-decoration-1 {
  top: 20%;
  left: 5%;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}

.hero-decoration-2 {
  bottom: 20%;
  right: 10%;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite reverse;
}

.hero-decoration-3 {
  top: 40%;
  right: 5%;
  width: 60px;
  height: 60px;
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  opacity: 0.2;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.2); opacity: 0.1; }
}

/* ===== Tool Section - MEHR ABSTAND ===== */
.tool-section {
  padding: var(--space-4xl) var(--space-md) var(--space-4xl);
  position: relative;
  z-index: 10;
  background: var(--bg-primary);
}

.tool-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
}

/* Tabs */
.tabs {
  display: flex;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.tab-button {
  flex: 1;
  min-width: max-content;
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  font-family: inherit;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.tab-button:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.tab-button.active {
  color: var(--accent-primary);
  background: var(--bg-card);
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 3px 3px 0 0;
}

.tab-button:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: -2px;
}

/* Password Display */
.password-display {
  padding: var(--space-xl);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.password-box {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  transition: border-color var(--transition-fast);
}

.password-box:focus-within {
  border-color: var(--accent-primary);
}

.password-text {
  flex: 1;
  font-family: var(--font-mono);
  font-size: var(--font-size-lg);
  word-break: break-all;
  color: var(--text-primary);
  user-select: all;
  min-height: 1.5em;
  letter-spacing: 0.5px;
}

@media (min-width: 640px) {
  .password-text {
    font-size: var(--font-size-xl);
  }
}

.password-actions {
  display: flex;
  gap: var(--space-xs);
  flex-shrink: 0;
}

.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.icon-button:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.icon-button:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.icon-button.copied {
  background: var(--success);
  border-color: var(--success);
  color: #FFFFFF;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Copy Feedback */
.copy-feedback {
  position: absolute;
  top: -36px;
  right: var(--space-lg);
  background: var(--navy-dark);
  color: #FFFFFF;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 500;
  opacity: 0;
  transform: translateY(4px);
  transition: all var(--transition-fast);
  pointer-events: none;
}

.copy-feedback.visible {
  opacity: 1;
  transform: translateY(0);
}

.copy-feedback.error {
  background: var(--error);
}

/* Strength Meter */
.strength-meter {
  margin-top: var(--space-lg);
}

.strength-bar-container {
  height: 8px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  width: 0;
  border-radius: var(--radius-full);
  transition: width var(--transition-base), background-color var(--transition-base);
}

.strength-meter.very-weak .strength-bar { background: var(--strength-0); }
.strength-meter.weak .strength-bar { background: var(--strength-1); }
.strength-meter.medium .strength-bar { background: var(--strength-2); }
.strength-meter.strong .strength-bar { background: var(--strength-3); }
.strength-meter.very-strong .strength-bar { background: var(--strength-4); }

.strength-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-sm);
  font-size: var(--font-size-sm);
}

.strength-label {
  font-weight: 600;
}

.strength-meter.very-weak .strength-label { color: var(--strength-0); }
.strength-meter.weak .strength-label { color: var(--strength-1); }
.strength-meter.medium .strength-label { color: var(--strength-2); }
.strength-meter.strong .strength-label { color: var(--strength-3); }
.strength-meter.very-strong .strength-label { color: var(--strength-4); }

.entropy-bits {
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Tab Panels */
.tab-panel {
  padding: var(--space-xl);
}

.tab-panel[hidden] {
  display: none;
}

/* Options */
.option-group {
  margin-bottom: var(--space-lg);
}

.option-group:last-child {
  margin-bottom: 0;
}

.option-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Slider */
.slider-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  outline: none;
  transition: background var(--transition-fast);
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: var(--gradient-accent);
  border-radius: 50%;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(62, 146, 204, 0.3);
}

.slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--gradient-accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.number-input {
  width: 70px;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  font-family: var(--font-mono);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  text-align: center;
  transition: border-color var(--transition-fast);
}

.number-input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

/* Toggle Switch */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-color);
}

.toggle-row:last-child {
  border-bottom: none;
}

.toggle-label-text {
  font-size: var(--font-size-base);
  color: var(--text-primary);
}

.toggle {
  position: relative;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-color-strong);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  bottom: 3px;
  background-color: #FFFFFF;
  border-radius: 50%;
  transition: transform var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.toggle input:checked + .toggle-slider {
  background: var(--gradient-accent);
}

.toggle input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.toggle input:focus-visible + .toggle-slider {
  box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.3);
}

/* Select Dropdown */
.select-wrapper {
  position: relative;
}

.select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  padding-right: var(--space-2xl);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  font-family: inherit;
  font-size: var(--font-size-base);
  color: var(--text-primary);
  cursor: pointer;
  appearance: none;
  transition: border-color var(--transition-fast);
}

.select:focus {
  outline: none;
  border-color: var(--accent-primary);
}

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

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--text-muted);
  pointer-events: none;
}

/* ===== Info Boxes ===== */
.info-section {
  padding: var(--space-4xl) var(--space-md);
  background: var(--bg-secondary);
}

.info-section .container {
  max-width: 1100px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.info-grid {
  display: grid;
  gap: var(--space-lg);
}

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

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.info-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.info-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.info-box:hover::before {
  opacity: 1;
}

.info-box-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--accent-primary);
}

.info-box-icon svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.info-box h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.info-box p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

/* ===== Main Content ===== */
.content-section {
  padding: var(--space-4xl) var(--space-md);
}

.content-section .container {
  max-width: 800px;
}

.content-section h2 {
  color: var(--accent-primary);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-color);
}

.content-section h3 {
  margin: var(--space-2xl) 0 var(--space-md);
  color: var(--text-primary);
}

.content-section p {
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-lg);
  line-height: 1.8;
}

/* Author Box */
.author-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-2xl) 0;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.author-avatar {
  width: 64px;
  height: 64px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-avatar svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #FFFFFF;
}

.author-info h4 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-xs);
}

.author-info p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin: 0;
}

/* ===== FAQ Section ===== */
.faq-section {
  padding: var(--space-4xl) var(--space-md);
  background: var(--bg-secondary);
}

.faq-section .container {
  max-width: 800px;
}

.faq-section .section-header {
  margin-bottom: var(--space-2xl);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--accent-primary);
}

.faq-item.open {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg);
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg-tertiary);
}

.faq-question:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: -2px;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  color: var(--accent-primary);
  transition: transform var(--transition-base);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-answer p {
  margin-bottom: 0;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-dark);
  color: var(--silver);
  padding: var(--space-3xl) var(--space-md) var(--space-xl);
  border-top: 1px solid var(--border-color);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-brand .nav-logo {
  width: fit-content;
}

.footer-brand p {
  color: var(--slate-light);
  font-size: var(--font-size-sm);
  max-width: 300px;
  margin: 0;
}

.footer-title {
  color: #FFFFFF;
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--slate-light);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

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

.footer-copyright {
  font-size: var(--font-size-sm);
  color: var(--slate-light);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--silver);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent-primary);
  color: #FFFFFF;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== Utility Classes ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Reduced Motion ===== */
@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;
  }
}
