/* ============================================================
   pngtofavicon.com — Premium Design System
   Dark Glassmorphism · Electric Violet · Emerald · Rose
   ============================================================ */

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

/* ============================================================
   1. CSS Custom Properties
   ============================================================ */
:root {
  /* Backgrounds */
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: rgba(15, 23, 42, 0.7);

  /* Accent Colors */
  --accent-primary: #8b5cf6;
  --accent-primary-hover: #7c3aed;
  --accent-secondary: #06d6a0;
  --accent-tertiary: #f472b6;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #8b5cf6, #06d6a0);
  --gradient-text: linear-gradient(135deg, #8b5cf6, #06d6a0);

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Borders */
  --border-card: rgba(139, 92, 246, 0.15);

  /* Glows */
  --glow-primary: 0 0 40px rgba(139, 92, 246, 0.2);
  --glow-emerald: 0 0 40px rgba(6, 214, 160, 0.2);

  /* Spacing Scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Nav Height */
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text-primary);
}

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

/* Section */
.section {
  padding: 5rem 0;
}

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

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin-inline: auto;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
  font-family: var(--font-heading);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 3rem;
  text-align: center;
}

/* ============================================================
   3. Glassmorphism Cards
   ============================================================ */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
}

.glass-card:hover {
  box-shadow: var(--glow-primary);
  transform: translateY(-2px);
}

.glass-card-highlight {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.glass-card-highlight:hover {
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.25);
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.5);
}

/* ============================================================
   4. Gradient Text
   ============================================================ */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============================================================
   5. Navigation
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 14, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-card);
  transition: background var(--transition-base);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-heading);
}

.nav-brand img {
  height: 36px;
  width: auto;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-hero);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.nav-links a.active {
  color: var(--accent-primary);
}

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

/* Hamburger Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
  }

  .nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
  }

  .nav-open .nav-links {
    opacity: 1;
    visibility: visible;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ============================================================
   6. Hero Section
   ============================================================ */
.hero {
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.trust-badge {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.trust-badge:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.trust-badge svg,
.trust-badge .badge-icon {
  color: var(--accent-secondary);
  flex-shrink: 0;
}

/* ============================================================
   7. Upload / Drop Zone
   ============================================================ */
.drop-zone {
  border: 2px dashed var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: var(--accent-primary);
  background: rgba(139, 92, 246, 0.05);
  box-shadow: var(--glow-primary);
}

.drop-zone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.drop-zone .icon {
  display: block;
  margin: 0 auto 1.25rem;
  color: var(--accent-primary);
  flex-shrink: 0;
  transition: transform 0.3s var(--transition-base);
}

.drop-zone:hover .icon {
  transform: translateY(-4px);
}

.drop-zone .text {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.drop-zone .browse-btn {
  color: var(--accent-primary);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.drop-zone .browse-btn:hover {
  color: var(--accent-primary-hover);
}

.drop-zone .supported-formats {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-top: 0.75rem;
}

.drop-zone.has-file {
  border-style: solid;
  border-color: var(--accent-secondary);
  background: rgba(6, 214, 160, 0.03);
}

.drop-zone .preview-img {
  max-height: 150px;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  border: 1px solid var(--border-card);
}

.drop-zone .file-info {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.drop-zone .file-info strong {
  color: var(--text-primary);
}

/* ============================================================
   8. Options Panel
   ============================================================ */
.options-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 1.5rem;
}

.option-group {
  margin-bottom: 1.5rem;
}

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

.option-group label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.option-group .option-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Checkbox Grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.checkbox-item:hover {
  color: var(--text-primary);
}

/* Custom Checkbox */
.checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-card);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  flex-shrink: 0;
}

.checkbox-item input[type="checkbox"]:checked {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.checkbox-item input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
}

.checkbox-item input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  display: inline-block;
  flex-shrink: 0;
}

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

.toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  border: 1px solid var(--border-card);
}

.toggle-switch .slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.toggle-switch input:checked + .slider {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.toggle-switch input:checked + .slider::before {
  transform: translateX(22px);
  background: white;
}

.toggle-switch input:focus-visible + .slider {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Color Picker */
.color-picker-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.color-picker-wrapper input[type="color"] {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-card);
  cursor: pointer;
  background: transparent;
  padding: 2px;
  transition: border-color var(--transition-fast);
}

.color-picker-wrapper input[type="color"]:hover {
  border-color: var(--accent-primary);
}

.color-picker-wrapper input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-picker-wrapper input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 4px;
}

.color-picker-wrapper .color-value {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================================
   9. Output / Results Section
   ============================================================ */
.output-section {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.preview-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
  position: relative;
  min-height: 200px;
}

.preview-item:hover {
  background-color: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.25);
}

.preview-icon-wrapper {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-conic-gradient(#1e293b 0% 25%, #0f172a 0% 50%) 0 0 / 12px 12px;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.25rem;
  flex-shrink: 0;
}

.preview-icon-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: none;
  border-radius: 0;
  background: transparent;
  image-rendering: auto;
}

.preview-item .size-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  font-family: var(--font-mono);
}

.preview-item .size-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
  display: block;
}

.preview-item .preview-download {
  width: 100%;
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--text-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: auto;
  font-family: var(--font-body);
}

.preview-item .preview-download:hover {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

/* ============================================================
   10. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  font-size: 1rem;
  font-family: var(--font-body);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-primary-hover);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
  transform: translateY(-1px);
}

.btn-success {
  background: var(--accent-secondary);
  color: #0a0e1a;
}

.btn-success:hover {
  box-shadow: 0 0 30px rgba(6, 214, 160, 0.4);
  transform: translateY(-1px);
  filter: brightness(1.1);
}

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

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.05);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* Button Group */
.btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ============================================================
   11. Code Snippet Block
   ============================================================ */
.code-block {
  background: #1e293b;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
  overflow-x: auto;
  border: 1px solid rgba(139, 92, 246, 0.08);
}

.code-block code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent-secondary);
  line-height: 1.6;
  white-space: pre;
}

.code-block .copy-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: transparent;
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.code-block .copy-btn:hover {
  color: var(--text-primary);
  border-color: rgba(139, 92, 246, 0.3);
}

.code-block .copy-btn.copied {
  color: var(--accent-secondary);
  border-color: var(--accent-secondary);
}

.code-block .code-lang {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   12. File Badge Grid
   ============================================================ */
.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1rem;
  transition: all var(--transition-base);
}

.file-item:hover {
  box-shadow: var(--glow-primary);
  transform: translateY(-1px);
}

.file-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  flex-shrink: 0;
}

.file-badge.ico {
  background: rgba(139, 92, 246, 0.2);
  color: var(--accent-primary);
}

.file-badge.png {
  background: rgba(6, 214, 160, 0.2);
  color: var(--accent-secondary);
}

.file-badge.json {
  background: rgba(244, 114, 182, 0.2);
  color: var(--accent-tertiary);
}

.file-badge.svg {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.file-badge.webp {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}

.file-item .file-details {
  min-width: 0;
}

.file-item strong {
  color: var(--text-primary);
  font-size: 0.875rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-item span {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ============================================================
   13. Steps / How It Works Redesign
   ============================================================ */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  z-index: 2;
  margin-top: 3rem;
}

.steps::before {
  content: '';
  position: absolute;
  top: 60px; /* Centered relative to the 80px circles (40px padding-top + 40px radius) */
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b, #06d6a0);
  opacity: 0.25;
  z-index: -1;
}

.step.glass-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 1.25rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  position: relative;
  z-index: 3;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.step.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: var(--glow-primary), 0 12px 30px rgba(0, 0, 0, 0.4);
}

.step-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 0.75rem;
  position: relative;
  transition: transform 0.3s ease;
}

.step-icon-circle svg {
  color: #ffffff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.step-icon-1 {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.35);
}

.step-icon-2 {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.35);
}

.step-icon-3 {
  background: linear-gradient(135deg, #ec4899, #f59e0b);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.35);
}

.step-icon-4 {
  background: linear-gradient(135deg, #f59e0b, #06d6a0);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.35);
}

.step-icon-5 {
  background: linear-gradient(135deg, #06d6a0, #3b82f6);
  box-shadow: 0 0 20px rgba(6, 214, 160, 0.35);
}

.step.glass-card:hover .step-icon-circle {
  transform: translateY(-3px) scale(1.05);
}

.step-number-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111827;
  border: 2px solid var(--border-card);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  margin-top: -0.25rem;
  z-index: 4;
  font-family: var(--font-heading);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.step.glass-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  line-height: 1.3;
}

.step.glass-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}

.steps-badge-container {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.steps-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 214, 160, 0.08);
  border: 1px solid rgba(6, 214, 160, 0.2);
  color: #06d6a0;
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(6, 214, 160, 0.05);
}

.steps-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #06d6a0;
  box-shadow: 0 0 10px #06d6a0;
  display: inline-block;
  animation: pulse-glow 2s infinite ease-in-out;
}

@media (max-width: 1200px) {
  .steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
  }
  .steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
/* ============================================================
   14. FAQ Accordion
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(139, 92, 246, 0.25);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-primary);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: 1rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  color: var(--accent-primary);
}

.faq-item .faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ============================================================
   15. Footer
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  padding: 4rem 0 2rem;
}

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

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--text-secondary);
  max-width: 300px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer h4 {
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.875rem;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-col a:hover {
  color: var(--accent-primary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border-card);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition-fast);
  font-size: 1.125rem;
}

.social-links a:hover {
  background: rgba(139, 92, 246, 0.2);
  color: #fff;
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
  transform: scale(1.1);
}

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

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

/* ============================================================
   16. Tool Cards Grid
   ============================================================ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tool-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-decoration: none;
  display: block;
  transition: all var(--transition-base);
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-primary);
  border-color: rgba(139, 92, 246, 0.3);
}

.tool-card .tool-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.tool-card h3 {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

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

/* ============================================================
   17. Comparison Table
   ============================================================ */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison-table thead {
  background: rgba(139, 92, 246, 0.1);
}

.comparison-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-card);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  white-space: nowrap;
}

.comparison-table td {
  padding: 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(139, 92, 246, 0.05);
  font-size: 0.9375rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(139, 92, 246, 0.03);
}

.comparison-table .check {
  color: var(--accent-secondary);
  font-weight: 700;
}

.comparison-table .cross {
  color: var(--text-muted);
}

/* ============================================================
   18. Language Selector
   ============================================================ */
.lang-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.lang-badge {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.lang-badge:hover {
  color: #fff;
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.lang-badge.active {
  background: rgba(139, 92, 246, 0.2);
  color: #fff;
  border-color: var(--accent-primary);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.15);
}

/* ============================================================
   19. Progress Bar
   ============================================================ */
.progress-bar {
  height: 4px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  width: 100%;
}

.progress-bar .fill {
  height: 100%;
  background: var(--gradient-hero);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
  position: relative;
}

.progress-bar .fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 2s infinite;
}

.progress-bar-lg {
  height: 8px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.progress-label .label {
  color: var(--text-secondary);
}

.progress-label .value {
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-weight: 500;
}

/* ============================================================
   19.5 Use Cases Section
   ============================================================ */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

@media (max-width: 640px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
}

.use-case-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-primary);
}

.use-case-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.use-case-icon.blue-icon { background: #3b82f6; box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4); }
.use-case-icon.purple-icon { background: #8b5cf6; box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4); }
.use-case-icon.green-icon { background: #10b981; box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4); }
.use-case-icon.orange-icon { background: #f59e0b; box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4); }

.use-case-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

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

/* Trusted Badge Pill */
.trusted-badge-container {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.trusted-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

.trusted-badge .dots-group {
  display: flex;
  gap: -4px;
}

.trusted-badge .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-right: -4px;
}

.trusted-badge .dot.blue-dot { background: #3b82f6; }
.trusted-badge .dot.purple-dot { background: #8b5cf6; }
.trusted-badge .dot.pink-dot { background: #ec4899; }

/* ============================================================
   19.6 Bottom CTA Section
   ============================================================ */
.bottom-cta {
  background: var(--gradient-hero);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bottom-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  opacity: 0.5;
}

.bottom-cta .container {
  position: relative;
  z-index: 1;
}

.bottom-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.bottom-cta p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.btn-cta-white {
  background: #ffffff;
  color: var(--accent-primary);
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  color: var(--accent-primary-hover);
}

/* ============================================================
   19.7 Testimonials Section
   ============================================================ */
.section-subtitle-accent {
  color: var(--accent-primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: block;
}

.testimonials-summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.rating-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rating-platform-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rating-details {
  display: flex;
  flex-direction: column;
}

.rating-score {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-stars {
  color: #fbbf24;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

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

.rating-divider {
  width: 1px;
  height: 50px;
  background: var(--border-card);
}

.testimonial-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.testimonial-tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 0.25rem;
  gap: 0.5rem;
}

.testimonial-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.testimonial-tab:hover {
  color: var(--text-primary);
}

.testimonial-tab.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-card);
}

.testimonial-tab img,
.testimonial-tab svg {
  width: 20px;
  height: 20px;
}

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

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

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .rating-divider {
    display: none;
  }
}

.review-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-hero);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.review-meta h3 {
  color: var(--text-primary);
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
}

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

.review-platform-icon {
  width: 24px;
  height: 24px;
}

.review-stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-date {
  color: var(--text-muted);
  font-size: 0.875rem;
}

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

.reviews-group {
  display: none;
  animation: fadeIn 0.5s ease;
}

.reviews-group.active {
  display: grid;
}

/* ============================================================
   20. Animations
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
  }
  100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
  }
}

@keyframes pulse-glow-emerald {
  0% {
    box-shadow: 0 0 20px rgba(6, 214, 160, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(6, 214, 160, 0.4);
  }
  100% {
    box-shadow: 0 0 20px rgba(6, 214, 160, 0.2);
  }
}

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

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeInUp 0.6s ease-out both;
}

.animate-fade-in-down {
  animation: fadeInDown 0.6s ease-out both;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease-out both;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

.animate-delay-5 {
  animation-delay: 0.5s;
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

.animate-pulse-glow-emerald {
  animation: pulse-glow-emerald 3s ease-in-out infinite;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* ============================================================
   21. Utility Classes
   ============================================================ */

/* Text Alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Text Colors */
.text-primary   { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted     { color: var(--text-muted); }
.text-accent    { color: var(--accent-primary); }
.text-emerald   { color: var(--accent-secondary); }
.text-rose      { color: var(--accent-tertiary); }

/* Font Families */
.font-heading { font-family: var(--font-heading); }
.font-body    { font-family: var(--font-body); }
.font-mono    { font-family: var(--font-mono); }

/* Font Sizes */
.text-xs  { font-size: 0.75rem; }
.text-sm  { font-size: 0.875rem; }
.text-md  { font-size: 1rem; }
.text-lg  { font-size: 1.125rem; }
.text-xl  { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 2rem; }

/* Font Weights */
.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }

/* Margins — Top */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

/* Margins — Bottom */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

/* Margins — Inline */
.mx-auto { margin-inline: auto; }

/* Padding */
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Flexbox */
.flex            { display: flex; }
.flex-col        { flex-direction: column; }
.flex-wrap       { flex-wrap: wrap; }
.items-center    { align-items: center; }
.items-start     { align-items: flex-start; }
.items-end       { align-items: flex-end; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }
.flex-1          { flex: 1; }
.flex-shrink-0   { flex-shrink: 0; }

/* Gap */
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Grid */
.grid { display: grid; }

/* Display */
.hidden     { display: none; }
.block      { display: block; }
.inline     { display: inline; }
.inline-flex { display: inline-flex; }

/* Width / Height */
.w-full { width: 100%; }
.h-full { height: 100%; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto   { overflow: auto; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky   { position: sticky; }

/* Border Radius */
.rounded-sm   { border-radius: var(--radius-sm); }
.rounded-md   { border-radius: var(--radius-md); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

/* Cursor */
.cursor-pointer { cursor: pointer; }

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

/* ============================================================
   22. Additional Patterns — Notices, Tags, Badges
   ============================================================ */

/* Status Tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-violet {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-primary);
}

.tag-emerald {
  background: rgba(6, 214, 160, 0.15);
  color: var(--accent-secondary);
}

.tag-rose {
  background: rgba(244, 114, 182, 0.15);
  color: var(--accent-tertiary);
}

/* Notice / Alert Box */
.notice {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.6;
}

.notice-info {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--text-secondary);
}

.notice-success {
  background: rgba(6, 214, 160, 0.08);
  border: 1px solid rgba(6, 214, 160, 0.2);
  color: var(--text-secondary);
}

.notice-warning {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: var(--text-secondary);
}

.notice .notice-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  margin-top: 0.1rem;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border-card);
  border: none;
  margin: 2rem 0;
}

/* ============================================================
   23. Skeleton Loaders
   ============================================================ */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(139, 92, 246, 0.05) 25%,
    rgba(139, 92, 246, 0.1) 50%,
    rgba(139, 92, 246, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
  width: 100%;
}

.skeleton-text:last-child {
  width: 60%;
}

.skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.skeleton-card {
  height: 200px;
  border-radius: var(--radius-lg);
}

/* ============================================================
   24. Modal / Overlay
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleIn 0.3s ease-out;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
  border-color: rgba(139, 92, 246, 0.3);
}

/* ============================================================
   25. Tooltip
   ============================================================ */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  pointer-events: none;
  z-index: 100;
}

[data-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

/* ============================================================
   26. Form Inputs (Select, Text Input)
   ============================================================ */
.input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.input::placeholder {
  color: var(--text-muted);
}

.select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8.825a.5.5 0 0 1-.354-.146l-4-4a.5.5 0 0 1 .708-.708L6 7.617l3.646-3.646a.5.5 0 0 1 .708.708l-4 4A.5.5 0 0 1 6 8.825z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* ============================================================
   27. Responsive Breakpoints — Global Media Queries
   ============================================================ */

/* Tablet: 640px – 1024px */
@media (max-width: 1024px) {
  .container {
    padding-inline: 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .tools-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

/* Mobile: < 640px */
@media (max-width: 640px) {
  .container {
    padding-inline: 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 2rem);
  }

  .hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero .subtitle {
    font-size: 1.0625rem;
  }

  .glass-card {
    padding: 1.25rem;
  }

  .drop-zone {
    padding: 2rem 1.25rem;
    min-height: 200px;
  }

  .drop-zone .icon {
    font-size: 2.5rem;
  }

  .preview-grid {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.75rem;
  }

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

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

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem;
    font-size: 0.8125rem;
  }

  .checkbox-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   28. Print Styles
   ============================================================ */
@media print {
  .navbar,
  .nav-toggle,
  .social-links,
  .btn {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .glass-card,
  .glass-card-highlight {
    background: white;
    border: 1px solid #ddd;
    backdrop-filter: none;
    box-shadow: none;
  }
}

/* ============================================================
   29. Scrollbar Styles
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.35);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, 0.2) var(--bg-primary);
}

/* ============================================================
   30. Focus & Accessibility
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@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;
  }
}

/* ============================================================
   31. Selection Highlight
   ============================================================ */
::selection {
  background: rgba(139, 92, 246, 0.3);
  color: var(--text-primary);
}

::-moz-selection {
  background: rgba(139, 92, 246, 0.3);
  color: var(--text-primary);
}

/* ============================================================
   What's Included / Files Grid Redesign
   ============================================================ */
.files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.file-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.file-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: var(--glow-primary), 0 10px 25px rgba(0, 0, 0, 0.4);
}

.file-card .file-badge {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* File Badge Background and Color overrides */
.file-badge-ico {
  background: rgba(139, 92, 246, 0.2) !important;
  color: var(--accent-primary) !important;
}

.file-badge-16, .file-badge-32 {
  background: rgba(6, 214, 160, 0.2) !important;
  color: var(--accent-secondary) !important;
}

.file-badge-180 {
  background: rgba(244, 114, 182, 0.2) !important;
  color: var(--accent-tertiary) !important;
}

.file-badge-192, .file-badge-512 {
  background: rgba(56, 189, 248, 0.2) !important;
  color: #38bdf8;
}

.file-badge-json {
  background: rgba(251, 191, 36, 0.2) !important;
  color: #fbbf24;
}

.file-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  word-break: break-all;
}

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

/* ============================================================
   Above the Fold / Centered Layout Redesign
   ============================================================ */
.drop-zone.has-file {
  min-height: auto;
  padding: 1.5rem;
  background: rgba(6, 214, 160, 0.02);
  border-color: var(--accent-secondary);
}

.tool-layout {
  width: 100%;
  max-width: 800px;
  margin: 1.5rem auto 0;
  transition: all 0.3s ease;
}

.tool-layout.tool-active {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  text-align: left;
}

.tool-layout.tool-active .options-panel {
  text-align: left;
}

@media (max-width: 992px) {
  .tool-layout.tool-active {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Features Grid Section
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: var(--glow-primary), 0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.feature-icon-circle svg {
  color: #ffffff;
}

.feature-icon-1 { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.feature-icon-2 { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.feature-icon-3 { background: linear-gradient(135deg, #10b981, #34d399); }
.feature-icon-4 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.feature-icon-5 { background: linear-gradient(135deg, #ec4899, #f472b6); }
.feature-icon-6 { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

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

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

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

/* ============================================================
   Tabbed FAQ Section
   ============================================================ */
.faq-tabs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.faq-tab-btn {
  background: transparent;
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  padding: 0.6rem 1.5rem;
  border-radius: 99px;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.faq-tab-btn:hover {
  color: var(--text-primary);
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(255, 255, 255, 0.02);
}

.faq-tab-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.faq-group {
  display: none;
  animation: fadeIn 0.4s ease;
}

.faq-group.active {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Accordion details/summary styles */
.faq-item {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-base);
  padding: 0;
}

.faq-item:hover {
  border-color: rgba(139, 92, 246, 0.25);
  background: rgba(15, 23, 42, 0.6);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  outline: none;
  user-select: none;
  font-size: 0.95rem;
}

/* Hide default disclosure arrow */
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.05);
}

.faq-item[open] summary {
  color: var(--accent-primary);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
  filter: drop-shadow(0 0 4px rgba(139, 92, 246, 0.5));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.faq-item .faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.9rem;
}

/* ============================================================
   20. Navbar Language Dropdown
   ============================================================ */
.lang-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 1rem;
}

.lang-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-decoration: none;
}

.lang-dropdown-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
}

.lang-dropdown-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #06d6a0; /* Green background badge */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lang-dropdown-icon svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}

.lang-dropdown-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.lang-dropdown-label span:first-child {
  font-size: 0.65rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
}

.lang-dropdown-label span:last-child {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.lang-dropdown-chevron {
  width: 10px;
  height: 10px;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.lang-dropdown.active .lang-dropdown-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 0.5rem;
  display: none;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 0.25rem;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  min-width: 280px;
}

.lang-dropdown.active .lang-dropdown-menu {
  display: grid;
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  font-weight: 500;
}

.lang-dropdown-item:hover {
  background: rgba(139, 92, 246, 0.15);
  color: #fff;
}

.lang-dropdown-item.active {
  background: rgba(139, 92, 246, 0.25);
  color: #fff;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.lang-dropdown-item .flag-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Make it responsive on Mobile devices */
@media (max-width: 768px) {
  .lang-dropdown {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }
  .lang-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
  }
  .lang-dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.02);
  }
}

.faq-item summary h3 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  display: inline;
}

.footer-contact {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-contact-link {
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast);
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible {
  color: var(--accent-primary);
  outline: none;
}

.footer-contact-link svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.footer-contact-link:hover svg {
  transform: translateY(-1px);
}
