/* ============================================
   AI-Mind.top - Global Stylesheet v3
   Dark Theme · Mobile First · BEM Naming
   Complete implementation per V3 Design Doc
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Colors - Tech/Cyber Theme */
  --bg-primary: #070b17;
  --bg-secondary: #0f1629;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --accent: #00d4ff;
  --accent-hover: #00e5ff;
  --accent-secondary: #8b5cf6;
  --accent-light: rgba(0, 212, 255, 0.1);
  --accent-glow: rgba(0, 212, 255, 0.35);
  /* Tool comparison colors - completely different for easy distinction */
  --tool1-color: #00d4ff;
  --tool1-color-secondary: #0099cc;
  --tool1-gradient: linear-gradient(90deg, #00d4ff, #0066aa);
  --tool2-color: #ff6b6b;
  --tool2-color-secondary: #ee4444;
  --tool2-gradient: linear-gradient(90deg, #ff6b6b, #cc3333);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #1e293b;
  --border-light: #334155;
  --danger: #ef4444;
  --danger-light: rgba(239, 68, 68, 0.15);
  --warning: #f59e0b;
  --warning-light: rgba(245, 158, 11, 0.15);
  --success: #22c55e;
  --success-light: rgba(34, 197, 94, 0.15);
  --star: #fbbf24;
  --star-light: rgba(251, 191, 36, 0.15);
  --info: #3b82f6;
  --info-light: rgba(59, 130, 246, 0.15);
  
  /* Typography */
  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  
  /* Spacing */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow: 0 4px 6px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.4);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.4);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition: 0.2s ease;
  --transition-slow: 0.3s ease;
  
  /* Layout */
  --max-width: 1280px;
  --header-height: 96px;
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

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

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-card);
  padding: 0.2em 0.4em;
  border-radius: var(--radius-sm);
}

pre {
  font-family: var(--font-mono);
  background: var(--bg-card);
  padding: 1rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin-bottom: 1rem;
}

pre code {
  background: none;
  padding: 0;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-success { color: var(--success); }

.bg-primary { background-color: var(--bg-primary); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-card { background-color: var(--bg-card); }

/* ---------- Site Header & Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 11, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  height: var(--header-height);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
}

.logo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 35px rgba(139, 92, 246, 0.4);
  animation: logoPulse 3s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@keyframes logoPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 35px rgba(139, 92, 246, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.7), 0 0 50px rgba(139, 92, 246, 0.5);
    transform: scale(1.02);
  }
}

.logo-icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 35px rgba(0, 212, 255, 0.8), 0 0 60px rgba(139, 92, 246, 0.6);
}

.logo-icon::before {
  content: '';
  position: absolute;
  width: 44px;
  height: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cdefs%3E%3ClinearGradient id='aiG1' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%2300d4ff'/%3E%3Cstop offset='100%25' stop-color='%238b5cf6'/%3E%3C/linearGradient%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 28 28' to='360 28 28' dur='20s' repeatCount='indefinite'/%3E%3C/defs%3E%3Ccircle cx='28' cy='28' r='22' fill='none' stroke='url(%23aiG1)' stroke-width='2'/%3E%3Ccircle cx='28' cy='28' r='14' fill='none' stroke='%2300d4ff' stroke-width='1.5' stroke-dasharray='3 2'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 28 28' to='-360 28 28' dur='15s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='14' cy='14' r='3.5' fill='%2300d4ff'%3E%3Canimate attributeName='opacity' values='1;0.5;1' dur='2s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='42' cy='14' r='3.5' fill='%238b5cf6'%3E%3Canimate attributeName='opacity' values='0.5;1;0.5' dur='2s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='42' cy='42' r='3.5' fill='%2300d4ff'%3E%3Canimate attributeName='opacity' values='1;0.5;1' dur='2s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='14' cy='42' r='3.5' fill='%238b5cf6'%3E%3Canimate attributeName='opacity' values='0.5;1;0.5' dur='2s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='28' cy='28' r='5' fill='url(%23aiG1)'%3E%3Canimate attributeName='r' values='5;7;5' dur='3s' repeatCount='indefinite'/%3E%3C/circle%3E%3Cline x1='28' y1='13' x2='14' y2='14' stroke='%2300d4ff' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='28' y1='13' x2='42' y2='14' stroke='%238b5cf6' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='28' y1='43' x2='14' y2='42' stroke='%238b5cf6' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='28' y1='43' x2='42' y2='42' stroke='%2300d4ff' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='13' y1='28' x2='14' y2='14' stroke='%2300d4ff' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='13' y1='28' x2='14' y2='42' stroke='%238b5cf6' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='43' y1='28' x2='42' y2='14' stroke='%238b5cf6' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='43' y1='28' x2='42' y2='42' stroke='%2300d4ff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
  animation: iconRotate 20s linear infinite;
}

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

.logo-icon:hover::before {
  animation: iconRotate 5s linear infinite;
}

.nav-links {
  display: none;
  gap: 0.5rem;
  align-items: center;
}

.nav-link {
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.nav-link.active {
  color: var(--accent);
  background: var(--accent-light);
}

.nav-link.nav-shop {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  color: var(--bg-primary);
}

.nav-link.nav-shop:hover {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  transform: translateY(-1px);
}

.nav-link.nav-signin {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(0, 212, 255, 0.35);
  color: #67e8f9;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-link.nav-signin:hover {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(139, 92, 246, 0.25));
  border-color: rgba(0, 212, 255, 0.6);
  color: #a5f3fc;
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.25);
}

.mobile-nav-link.mobile-nav-signin {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius);
  color: #67e8f9;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}
.mobile-nav-link.mobile-nav-signin:hover {
  background: rgba(0, 212, 255, 0.2);
  color: #a5f3fc;
}

.nav-actions {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
  visibility: visible !important;
  opacity: 1 !important;
  flex-shrink: 0;
}

.my-kit-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
}

.my-kit-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.my-kit-btn .kit-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  margin-bottom: 0.5rem;
}

.mobile-nav-link {
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.mobile-nav-link:hover {
  background: var(--bg-card);
  color: var(--accent);
}

/* Desktop Navigation */
/* Force nav links to show on desktop as primary navigation */
@media (min-width: 768px) {
  .nav-links {
    display: flex !important;
    gap: 0.75rem;
    align-items: center;
  }
  
  .nav-actions {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .mobile-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  :root { --header-height: 56px; }
  html { font-size: 15px; }
  body { padding-top: var(--header-height); }
  .site-header { backdrop-filter: blur(10px); }
  .logo { font-size: 1.05rem; gap: 0.35rem; }
  .logo-icon { width: 32px; height: 32px; border-radius: 7px; }
  .logo-icon svg { width: 20px; height: 20px; }
  .logo-icon::before { width: 26px; height: 26px; }
  .nav-link { padding: 0.35rem 0.6rem; font-size: 0.8rem; }
  .my-kit-btn { font-size: 0.8rem; padding: 0.45rem 0.6rem; gap: 0.3rem; }
   .my-kit-btn .kit-count { min-width: 16px; height: 16px; font-size: 0.65rem; }
   .nav-signin { font-size: 0.75rem !important; padding: 0.35rem 0.8rem !important; }
   .nav-actions { gap: 0.4rem; }
  .site-footer { padding: 1.5rem 1rem 1rem; min-height: auto; }
  .footer-content { gap: 1.25rem; }
  .footer-brand .logo-icon { width: 30px; height: 30px; border-radius: 7px; }
  .footer-brand .logo-icon svg { width: 18px; height: 18px; }
  .footer-brand .logo span { font-size: 1rem; }
  .footer-brand p { font-size: 0.78rem; }
  .footer-col h5 { font-size: 0.8rem; }
  .footer-col a { font-size: 0.78rem; }
  .footer-bottom { font-size: 0.75rem; }
  .main-nav { padding: 0 0.75rem; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }
}

/* ---------- Main Content ---------- */
main {
  padding-top: 3rem;
}

/* Ensure page containers have proper spacing */
.page-container,
.explore-page,
.compare-page,
.choose-page,
.learn-page,
.pricing-page,
.updates-page,
.shop-page {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 2rem;
  min-height: 60vh;
  contain: layout style;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- Hero Section ---------- */
.hero {
  padding: 2rem 1rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, #0a1128 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 50%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.hero-tagline {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ---------- Search Box ---------- */
.search-box {
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3.5rem;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition);
}

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

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
  background: rgba(17, 24, 39, 0.95);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.25rem;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 0.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 100;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition);
}

.search-box:focus-within .search-suggestions {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.suggestion {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  border-bottom: 1px solid var(--border);
}

.suggestion:last-child {
  border-bottom: none;
}

.suggestion:hover {
  background: var(--bg-card-hover);
  color: var(--accent);
}

.suggestion-icon {
  font-size: 1.25rem;
}

/* ---------- Content Mode Toggle ---------- */
.content-mode-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.mode-btn {
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.mode-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.mode-btn.active {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

/* ---------- Gateway Panel ---------- */
.gateway-panel {
  padding: 3rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.gateway-panel h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

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

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

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

.gateway-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-slow);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.gateway-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), 0 0 40px rgba(0, 212, 255, 0.1);
}

.gateway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-secondary), transparent);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

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

.gateway-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.gateway-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.gateway-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.gateway-card .gateway-link {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Beginner Section ---------- */
.beginner-section {
  padding: 4rem 1rem;
  background: var(--bg-secondary);
}

.beginner-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
}

.beginner-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  padding: 0 1rem;
  position: relative;
}

.beginner-quote::before,
.beginner-quote::after {
  content: '"';
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
}

.beginner-quote::before {
  top: -1rem;
  left: 0;
}

.beginner-quote::after {
  bottom: -2rem;
  right: 0;
}

.beginner-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .beginner-steps {
    flex-direction: row;
    justify-content: center;
  }
}

.beginner-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.step-number {
  font-size: 2rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.step-content span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.beginner-time {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}

.beginner-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--bg-primary);
  box-shadow: 0 4px 14px rgba(0, 201, 167, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--bg-primary);
}

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

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

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

/* ---------- Trending Comparisons ---------- */
.trending-section {
  padding: 3rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.section-link {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.comparison-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.comparison-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.15), var(--shadow-lg);
  transform: translateY(-3px);
}

.comparison-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.tool-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.vs-badge {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.comparison-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
}

.comparison-card p {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Chinese AI Spotlight ---------- */
.chinese-section {
  padding: 3rem 1rem;
  background: var(--bg-secondary);
  text-align: center;
}

.chinese-section h2 {
  margin-bottom: 0.75rem;
}

.chinese-tagline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.chinese-tools-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.chinese-tool-tag {
  padding: 0.6rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-weight: 500;
  transition: all var(--transition);
}

.chinese-tool-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ---------- Voting Section ---------- */
.voting-section {
  padding: 3rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.voting-section h2 {
  margin-bottom: 0.5rem;
}

.voting-description {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.voting-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.voting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.voting-item:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.vote-tool-name {
  font-weight: 600;
  color: var(--text-primary);
}

.vote-count {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 1rem;
  flex: 1;
  text-align: center;
}

.btn-vote {
  padding: 0.5rem 1rem;
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.btn-vote:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

/* ---------- Shop Section ---------- */
.shop-section {
  padding: 3rem 1rem;
  background: var(--bg-secondary);
  text-align: center;
}

.shop-section h2 {
  margin-bottom: 0.5rem;
}

.shop-description {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
}

.product-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

/* ---------- Site Footer ---------- */
.site-footer {
  background: #080c1a;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  padding: 3rem 1rem 1.5rem;
  margin-top: 4rem;
  min-height: 280px;
  contain: layout style;
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto 2rem;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand { grid-column: auto; }
}

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

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  animation: none;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
  transform: none !important;
}

.footer-brand .logo-icon:hover {
  transform: none !important;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}

.footer-brand .logo-icon::before {
  display: none;
}

.footer-brand .logo-icon svg {
  width: 22px;
  height: 22px;
}

.footer-brand .logo span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-col h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  padding-left: 0.6rem;
  border-left: 2px solid var(--accent);
  letter-spacing: 0.02em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-left: 0.6rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
  display: inline-block;
  padding: 0.15rem 0;
}

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

.footer-stats {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-stats span {
  color: var(--accent);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 0.5rem 0;
  border-top: 1px solid rgba(0, 212, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- AI Term Tooltip ---------- */
.ai-term {
  border-bottom: 1px dotted var(--accent);
  cursor: help;
  position: relative;
  transition: all var(--transition);
}

.ai-term:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.term-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  width: 280px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all var(--transition);
  z-index: 1000;
  text-align: left;
  pointer-events: none;
}

.ai-term:hover .term-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Rating Breakdown ---------- */
.rating-breakdown {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rating-item {
  background: rgba(15, 22, 41, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all var(--transition);
}

.rating-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(15, 22, 41, 0.95);
  transform: translateX(4px);
}

.rating-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.rating-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.05rem;
}

.rating-score {
  font-weight: 700;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rating-bar {
  height: 10px;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.75rem;
}

.rating-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  border-radius: 999px;
  transition: width 0.8s ease-out;
  position: relative;
}

.rating-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;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.rating-reason {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Comparison Rating ---------- */
.comparison-rating-section {
  margin: 2rem 0;
}

.comparison-rating-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .comparison-rating-grid {
    grid-template-columns: 150px 1fr 1fr;
    gap: 1.5rem;
  }
}

.comparison-rating-row {
  display: contents;
}

.comparison-rating-label {
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.75rem 0;
}

.comparison-rating-value {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(15, 22, 41, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.comparison-rating-number {
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 45px;
}

.comparison-rating-bar {
  flex: 1;
  height: 8px;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 999px;
  overflow: hidden;
}

.comparison-rating-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  border-radius: 999px;
  transition: width 0.6s ease-out;
}

.comparison-rating-bar-fill.tool-b {
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent));
}

.comparison-rating-header {
  display: contents;
}

.comparison-rating-header h4 {
  font-weight: 700;
  color: var(--accent);
  padding: 0.5rem 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tooltip-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tooltip-icon {
  font-size: 1.25rem;
}

.tooltip-title {
  font-weight: 600;
  font-size: 1rem;
}

.tooltip-content {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.tooltip-link {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

/* ---------- Tool Detail Page ---------- */
.page-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  min-height: 60vh;
  contain: layout style;
}

.tool-detail-header {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: space-between;
}

.tool-detail-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.visit-website-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9999px;
  transition: all var(--transition);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.35);
  font-size: 0.95rem;
}

.visit-website-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
  filter: brightness(1.05);
}

@media (max-width: 640px) {
  .tool-detail-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .tool-detail-actions {
    width: 100%;
    justify-content: flex-start;
  }
  
  .visit-website-btn {
    width: 100%;
    justify-content: center;
  }
}

.tool-logo-large {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.35);
}

.tool-detail-info {
  flex: 1;
  min-width: 280px;
}

.tool-detail-info h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.tool-detail-info .tool-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tool-detail-info .rating-stars {
  color: var(--star);
  font-size: 1.3rem;
  text-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

.tool-detail-info .rating-score {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
}

.tool-detail-info .tool-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.tool-detail-info .tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tool-detail-info .tool-tag {
  padding: 0.5rem 1.25rem;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 9999px;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}

.tool-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.tool-meta-item {
  padding: 1.25rem;
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 16px;
  text-align: center;
}

.tool-meta-item h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tool-meta-item p {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 600;
  margin: 0;
}

.content-section {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 20px;
  padding: 2.25rem;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.content-section:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

.content-section h2 {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
}

.content-section h2::before {
  content: '';
  width: 5px;
  height: 28px;
  background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
  border-radius: 3px;
}

.content-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.1rem;
}

.content-section ul {
  list-style: none;
  padding: 0;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-list li {
  padding: 1rem 1.25rem;
  background: rgba(0, 212, 255, 0.07);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-list li::before {
  content: '✨';
  font-size: 1.2rem;
  flex-shrink: 0;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.pros-list,
.cons-list {
  padding: 1.75rem;
  border-radius: 16px;
}

.pros-list {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.pros-list h3 {
  color: var(--success);
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pros-list h3::before {
  content: '👍';
  font-size: 1.5rem;
}

.pros-list li {
  color: var(--text-secondary);
  padding: 0.75rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 1.05rem;
}

.pros-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
  font-size: 1.2rem;
}

.cons-list {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.cons-list h3 {
  color: var(--danger);
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cons-list h3::before {
  content: '👎';
  font-size: 1.5rem;
}

.cons-list li {
  color: var(--text-secondary);
  padding: 0.75rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 1.05rem;
}

.cons-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 900;
  font-size: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  border-radius: 16px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #fff;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 45px rgba(0, 212, 255, 0.6);
}

.content-section .tool-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  align-items: center;
  transition: all var(--transition);
}

.content-section .tool-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.content-section .tool-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.content-section .tool-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0;
}

/* Comparison links styling */
.content-section ul li a {
  color: var(--accent);
  text-decoration: none;
  font-size: 1.05rem;
  padding: 0.75rem 1rem;
  display: inline-block;
  background: rgba(0, 212, 255, 0.08);
  border-radius: 12px;
  margin: 0.375rem 0;
  transition: all var(--transition);
}

.content-section ul li a:hover {
  background: rgba(0, 212, 255, 0.15);
  transform: translateX(5px);
}

/* Use cases styling */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.use-case-card {
  padding: 1.25rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 16px;
  text-align: center;
  transition: all var(--transition);
}

.use-case-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-secondary);
}

.use-case-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.use-case-card span {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
}

/* ---------- Comparison Page ---------- */
.comparison-page {
  padding: 2rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.comparison-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.comparison-title .tool-name {
  font-size: 2rem;
}

.comparison-title .vs {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
}

.comparison-ratings {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 1rem;
}

.rating-item {
  text-align: center;
}

.rating-item .score {
  font-size: 1.5rem;
  font-weight: 700;
}

.rating-item .label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2rem;
}

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

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--bg-card-hover);
  font-weight: 600;
  font-size: 0.9rem;
}

.comparison-table td {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.comparison-table .winner {
  color: var(--success);
  font-weight: 600;
}

/* Comparison Section */
.comparison-section {
  margin-bottom: 3rem;
}

.comparison-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Comparison Detail Card */
.comparison-detail-card {
  background: rgba(15, 22, 41, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.comparison-detail-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

.comparison-detail-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.tool-detail {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.tool-detail h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 600;
}

.tool-detail p {
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Pros and Cons Comparison */
.pros-cons-comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pros-cons-comparison {
    grid-template-columns: 1fr 1fr;
  }
}

.pros-cons-column {
  background: rgba(15, 22, 41, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.pros-cons-column h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-primary);
}

.pros-cons-column .pros-list,
.pros-cons-column .cons-list {
  margin-bottom: 1.5rem;
}

.pros-cons-column h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pros-cons-column .pros-list h4 {
  color: var(--success);
}

.pros-cons-column .cons-list h4 {
  color: var(--danger);
}

.pros-cons-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros-cons-column li {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border-left: 3px solid;
  line-height: 1.6;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.pros-cons-column li:hover {
  transform: translateX(4px);
}

.pros-cons-column .pros-list li {
  border-color: var(--success);
  background: rgba(34, 197, 94, 0.08);
}

.pros-cons-column .cons-list li {
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.08);
}

/* Use Cases Grid */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.use-case-card {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.4);
}

.use-case-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.winner-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.use-case-card .reason {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Pricing Comparison */
.pricing-comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.pricing-column {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.pricing-column:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

.pricing-column h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.pricing-value {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.pricing-column p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Comparison CTA */
.comparison-cta {
  margin-top: 4rem;
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

.comparison-cta h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all var(--transition);
}

.cta-buttons .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.cta-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.cta-buttons .btn-secondary {
  background: rgba(15, 22, 41, 0.8);
  color: var(--text-primary);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.cta-buttons .btn-secondary:hover {
  background: rgba(15, 22, 41, 0.9);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Comparison Header Enhancements */
.comparison-page {
  padding: 3rem 1.5rem 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.comparison-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

.comparison-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.comparison-title .tool-link {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition);
}

.comparison-title .tool-link:hover {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.comparison-title .vs {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  background-color: rgba(0, 212, 255, 0.1);
}

.comparison-ratings {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.rating-item {
  text-align: center;
  padding: 1.5rem 2rem;
  background: rgba(15, 22, 41, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.rating-item .score {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.rating-item .label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.comparison-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* Comparison Table Enhancements */
.comparison-table {
  width: 100%;
  background: rgba(15, 22, 41, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 3rem;
  backdrop-filter: blur(10px);
}

.comparison-table th {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(139, 92, 246, 0.1));
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  padding: 1.25rem;
  border-bottom: 2px solid rgba(0, 212, 255, 0.2);
}

.comparison-table td {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 1.25rem;
  transition: background var(--transition);
}

.comparison-table tr:hover td {
  background: rgba(0, 212, 255, 0.05);
}

/* ---------- Explore Page ---------- */
.explore-page {
  /* Padding is already handled by the general page container rule */
}

.explore-header {
  margin-bottom: 2rem;
}

.explore-header h1 {
  margin-bottom: 0.5rem;
}

.explore-description {
  color: var(--text-secondary);
}

/* Search Section */
.explore-search {
  margin-bottom: 2rem;
}

.search-input-large {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: all var(--transition);
}

.search-input-large:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
}

/* Category Filters */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.5rem 0;
  margin-bottom: 2rem;
  max-width: calc(10 * (80px + 1rem));
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

@media (max-width: 640px) {
  .category-filters {
    gap: 0.4rem;
  }
  .filter-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.78rem;
  }
  .explore-header h1 {
    font-size: 1.3rem;
  }
  .search-input-large {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }
  .tool-card {
    padding: 0.75rem;
  }
  .tool-card-info h3 {
    font-size: 0.9rem;
  }
  .tool-card-description {
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
  }
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

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

.tool-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.tool-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.15);
  transform: translateY(-3px);
}

.tool-card-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.tool-card-info {
  flex: 1;
  min-width: 0;
}

.tool-card-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.tool-card-rating {
  color: var(--star);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.tool-card-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pricing-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--success-light);
  color: var(--success);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ---------- Explore Pagination ---------- */
.results-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.results-bar-bottom {
  border-bottom: none;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
  margin-bottom: 0;
  padding-top: 1rem;
}
.results-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}
.page-btn {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--accent);
  color: var(--accent);
}
.page-btn.active {
  background: linear-gradient(135deg, #00d4ff, #10b981);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}
.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- Glossary Page ---------- */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.glossary-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  text-align: center;
}

.glossary-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
  transform: translateY(-2px);
}

/* Glossary Term Page Styles */
.term-header {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  text-align: center;
}

.term-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.term-full-form {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.term-category {
  font-size: 0.95rem;
  color: var(--text-muted);
  background: rgba(0, 212, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  display: inline-block;
}

.definition-section,
.key-points-section,
.why-it-matters-section,
.related-terms-section,
.related-tools-section {
  margin-bottom: 2rem;
  padding: 1.75rem;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 16px;
}

.definition-section h2,
.key-points-section h2,
.why-it-matters-section h2,
.related-terms-section h2,
.related-tools-section h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.definition-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.key-points-section ul {
  list-style: none;
  padding: 0;
}

.key-points-section li {
  padding: 0.875rem 1rem;
  margin-bottom: 0.75rem;
  background: rgba(0, 212, 255, 0.07);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.key-points-section li:last-child {
  margin-bottom: 0;
}

.why-it-matters-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.related-terms-list,
.related-tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.related-term-link,
.related-tool-link {
  padding: 0.6rem 1.25rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 9999px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}

.related-term-link:hover,
.related-tool-link:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Glossary Sidebar */
.glossary-nav-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .glossary-nav-sidebar {
    display: block;
    position: fixed;
    right: 2rem;
    top: calc(var(--header-height) + 4rem);
    width: 220px;
    padding: 1.5rem;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
  }

  .glossary-nav-sidebar h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
  }

  .alpha-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1.5rem;
  }

  .alpha-link {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
  }

  .alpha-link:hover {
    background: var(--accent);
    color: var(--bg-primary);
  }

  .category-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .category-link {
    padding: 0.5rem 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition);
  }

  .category-link:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent);
  }
}

/* ---------- 404 Page ---------- */
.error-page {
  padding: 8rem 1rem 4rem;
  text-align: center;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.error-code {
  font-size: 8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: var(--shadow-glow);
}

.error-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.error-message {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 400px;
}

/* ---------- Glossary Page ---------- */
.glossary-page {
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

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

.glossary-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.glossary-item {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.glossary-term {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.glossary-definitions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.definition-level {
  padding: 1rem;
  background: var(--bg-card-hover);
  border-radius: var(--radius);
}

.definition-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.definition-content {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px var(--accent-light);
  }
  50% {
    box-shadow: 0 0 20px var(--accent-glow);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease forwards;
}

.slide-in {
  animation: slideIn 0.3s ease forwards;
}

.pulse {
  animation: pulse 2s ease infinite;
}

.glow {
  animation: glow 2s ease infinite;
}

/* ---------- Print Styles ---------- */
@media print {
  .site-header,
  .my-kit,
  .mobile-nav,
  .nav-actions,
  .btn {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .container {
    max-width: 100%;
  }
}

/* ---------- Responsive Utilities ---------- */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}

/* ---------- Token Calculator ---------- */
.token-calculator {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.token-calculator__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.token-calculator__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 50%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.token-calculator__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.token-calculator__card {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.token-calculator__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .token-calculator__form {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.token-calculator__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.token-calculator__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.token-calculator__input,
.token-calculator__select {
  padding: 1rem;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition);
}

.token-calculator__input:focus,
.token-calculator__select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.token-calculator__select {
  cursor: pointer;
}

.token-calculator__btn {
  grid-column: 1 / -1;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.token-calculator__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
}

.token-calculator__results-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.token-calculator__results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

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

.token-calculator__result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: rgba(15, 22, 41, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 16px;
  transition: all var(--transition);
  text-align: center;
}

.token-calculator__result-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.15);
}

.token-calculator__result-card--cheapest {
  border-color: var(--success);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
}

.token-calculator__result-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.token-calculator__result-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.token-calculator__result-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.token-calculator__result-card--cheapest .token-calculator__result-price {
  color: var(--success);
}

.token-calculator__result-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.token-calculator__savings {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 16px;
  text-align: center;
}

.token-calculator__savings-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 0.25rem;
}

.token-calculator__savings-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--success);
}

.token-calculator__info-section {
  padding: 2rem;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 20px;
}

.token-calculator__info-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.token-calculator__info-title::before {
  content: '';
  width: 5px;
  height: 28px;
  background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
  border-radius: 3px;
}

.token-calculator__info-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Loading States ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ---------- Toast Notifications ---------- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 10000;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  font-size: 1.25rem;
}

.toast-message {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.toast.success {
  border-color: var(--success);
}

.toast.success .toast-icon {
  color: var(--success);
}

.toast.error {
  border-color: var(--danger);
}

.toast.error .toast-icon {
  color: var(--danger);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1rem;
  display: none;
  z-index: 9999;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
}

/* ---------- Compare Landing Page ---------- */
.compare-page {
  padding: 2rem 1.5rem 4rem;
}

.hero-section {
  text-align: center;
  margin-bottom: 3rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.08));
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(0, 212, 255, 0.15);
  backdrop-filter: blur(10px);
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.selector-section {
  margin-bottom: 4rem;
}

.selector-container {
  background: rgba(15, 22, 41, 0.85);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.selector-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.tool-selector-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tool-selector-item {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

.tool-selector-item label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tool-select {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  background: #0f1629;
  border: 2px solid rgba(0, 212, 255, 0.25);
  border-radius: var(--radius-xl);
  color: #ffffff;
  cursor: pointer;
  transition: all var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  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='%2300d4ff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 12px;
  padding-right: 3rem;
}

.tool-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  margin: 4px;
}

.tool-select option:checked {
  background: var(--accent);
  color: var(--bg-primary);
}

.tool-select option:hover {
  background: var(--bg-card-hover);
  color: var(--accent);
}

.tool-select:focus {
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.15);
}

.tool-select::-webkit-scrollbar {
  width: 8px;
}

.tool-select::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

.tool-select::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.tool-select::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

.vs-divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  margin-bottom: 0;
}

.compare-button-wrapper {
  text-align: center;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.popular-comparisons-section,
.all-comparisons-section {
  margin-bottom: 4rem;
}

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

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.comparison-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: rgba(15, 22, 41, 0.85);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-2xl);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(10px);
}

.comparison-card:hover {
  background: rgba(15, 22, 41, 0.95);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
  transform: translateY(-5px);
}

.comparison-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.tool-mini {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.tool-mini-1 {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.tool-mini-2 {
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent));
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.comparison-card .vs {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
}

.comparison-card-content {
  text-align: center;
  flex: 1;
}

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

.comparison-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.comparison-card-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  text-align: center;
}

.view-count {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
}

/* Responsive for Compare Page */
@media (max-width: 768px) {
  .compare-page {
    padding: 1.5rem 1rem 3rem;
  }

  .hero-section {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .selector-container {
    padding: 1.5rem;
  }

  .tool-selector-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .tool-selector-item {
    max-width: 100%;
  }

  .vs-divider-icon {
    width: 50px;
    height: 50px;
    font-size: 0.75rem;
    margin: 0 auto;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

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

/* ---------- Comparison Page ---------- */
.comparison-page {
  padding: 3rem 1.5rem 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.comparison-hero {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 24px;
  margin-bottom: 3rem;
  backdrop-filter: blur(10px);
}

.comparison-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tool-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.tool-logo-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--tool1-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.tool-side:first-of-type .tool-logo-badge {
  background: var(--tool1-gradient);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.tool-side:last-of-type .tool-logo-badge {
  background: var(--tool2-gradient);
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.tool-link {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
}

.tool-link:hover {
  color: var(--accent);
}

.compare-tools-selector {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tool-select-wrapper {
  flex: 1;
  min-width: 220px;
  max-width: 350px;
}

.tool-select-wrapper label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vs-badge {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  background-color: rgba(0, 212, 255, 0.1);
  flex-shrink: 0;
  margin-bottom: 0;
}

.comparison-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.score-overview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.score-card {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  background: rgba(15, 22, 41, 0.8);
  border: 2px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.score-card.tool1 {
  border-color: rgba(0, 212, 255, 0.3);
}

.score-card.tool2 {
  border-color: rgba(255, 107, 107, 0.3);
}

.score-card:hover {
  transform: translateY(-5px);
}

.score-card.tool1:hover {
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
  border-color: var(--tool1-color);
}

.score-card.tool2:hover {
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.2);
  border-color: var(--tool2-color);
}

.score-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--tool1-gradient);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.score-card.tool1 .score-circle {
  background: var(--tool1-gradient);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.score-card.tool2 .score-circle {
  background: var(--tool2-gradient);
  box-shadow: 0 0 30px rgba(255, 107, 107, 0.3);
}

.score-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.score-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.score-card h3 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text-primary);
}

.vs-divider {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-muted);
  padding: 1rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-muted);
  margin: 0;
}

.comparison-rating-section {
  margin-bottom: 3rem;
}

.comparison-rating-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.rating-comparison-card {
  background: rgba(15, 22, 41, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.rating-comparison-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.rating-category {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.rating-bar-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rating-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rating-bar-fill {
  height: 32px;
  background: var(--tool1-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 1rem;
  transition: width 0.6s ease-out;
  position: relative;
  overflow: hidden;
}

.rating-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;
}

.rating-bar-fill.tool1 {
  background: var(--tool1-gradient);
}

.rating-bar-fill.tool2 {
  background: var(--tool2-gradient);
}

.bar-score {
  font-weight: 700;
  color: white;
  font-size: 0.9rem;
  z-index: 1;
}

.legend {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.legend-item {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-item::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.legend-item.tool1::before {
  background: var(--tool1-gradient);
}

.legend-item.tool2::before {
  background: var(--tool2-gradient);
}

.comparison-section {
  margin-bottom: 3rem;
}

.feature-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: rgba(15, 22, 41, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.feature-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.feature-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.feature-value.winner {
  background: rgba(34, 197, 94, 0.1);
  border-color: var(--success);
}

.value-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.value-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
  flex: 1;
  text-align: center;
}

.winner-icon {
  font-size: 1.25rem;
  margin-left: 0.5rem;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.pros-cons-card {
  background: rgba(15, 22, 41, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.pros-cons-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.card-header .tool-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.card-header h3 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--text-primary);
}

.pros-section,
.cons-section {
  margin-bottom: 1.5rem;
}

.pros-section h4,
.cons-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pros-section h4 {
  color: var(--success);
}

.cons-section h4 {
  color: var(--danger);
}

.pros-list,
.cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pros-list li,
.cons-list li {
  padding: 0.875rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  padding-left: 2rem;
}

.pros-list li {
  background: rgba(34, 197, 94, 0.08);
  border-left: 3px solid var(--success);
}

.cons-list li {
  background: rgba(239, 68, 68, 0.08);
  border-left: 3px solid var(--danger);
}

.pros-list li::before {
  content: '✓';
  position: absolute;
  left: 0.75rem;
  color: var(--success);
  font-weight: 700;
}

.cons-list li::before {
  content: '✗';
  position: absolute;
  left: 0.75rem;
  color: var(--danger);
  font-weight: 700;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.use-case-card {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.4);
}

.case-header {
  margin-bottom: 1rem;
}

.case-header h3 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text-primary);
}

.winner-display {
  margin-bottom: 1rem;
}

.winner-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
}

.use-case-card .reason {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: rgba(15, 22, 41, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.price-display {
  margin-bottom: 1rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-detail {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.comparison-cta {
  margin-top: 4rem;
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

.comparison-cta h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.comparison-cta p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.see-more-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.see-more-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Responsive Comparison Page */
@media (max-width: 768px) {
  .comparison-page {
    padding: 2rem 1rem 3rem;
  }
  
  .comparison-hero {
    padding: 2rem 1.5rem;
  }
  
  .comparison-title {
    gap: 1rem;
  }
  
  .tool-link {
    font-size: 1.25rem;
  }
  
  .tool-logo-badge {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  
  .score-overview {
    flex-direction: column;
  }
  
  .score-card {
    width: 100%;
    max-width: 100%;
  }
  
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-comparison-grid,
  .use-cases-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom Light Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: linear-gradient(135deg, #1a2332, #0f1629);
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 16px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.modal-message {
  font-size: 1rem;
  color: #f1f5f9;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-btn {
  background: linear-gradient(90deg, #00d4ff, #8b5cf6);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
}

.modal-btn:hover {
  opacity: 0.9;
}

/* ---------- History Timeline ---------- */
.history-timeline {
  position: relative;
  padding: 1rem 0;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.4), rgba(139, 92, 246, 0.4));
}

@media (max-width: 640px) {
  .history-timeline::before {
    left: 16px;
  }
}

.history-item {
  position: relative;
  display: flex;
  gap: 2rem;
  padding-bottom: 2rem;
}

.history-item:last-child {
  padding-bottom: 0;
}

.history-item::before {
  content: '';
  position: absolute;
  left: 116px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
  z-index: 1;
}

.history-item:last-child::before {
  background: var(--accent-secondary);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

@media (max-width: 640px) {
  .history-item::before {
    left: 12px;
  }
}

.history-date {
  width: 100px;
  flex-shrink: 0;
  text-align: right;
  padding-top: 4px;
}

@media (max-width: 640px) {
  .history-date {
    width: auto;
    min-width: 70px;
    text-align: left;
    padding-top: 0;
  }
}

.history-date-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.history-version {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 9999px;
  color: var(--accent);
  margin-top: 0.25rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .history-date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .history-version {
    margin-top: 0.1rem;
  }
}

.history-content {
  flex: 1;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-left: 1rem;
  transition: all var(--transition);
}

.history-content:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateX(4px);
}

.history-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

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

@media (max-width: 640px) {
  .history-item {
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 2rem;
  }
  .history-content {
    margin-left: 0;
  }
}

/* ---------- Choose/Wizard Page ---------- */
.choose-page {
  padding: 2rem 1.5rem 5rem;
  max-width: 900px;
  margin: 0 auto;
}

.choose-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

.choose-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.choose-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Progress Bar */
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  gap: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  background: rgba(17, 24, 39, 0.8);
  border: 2px solid rgba(0, 212, 255, 0.2);
  color: var(--text-muted);
  transition: all var(--transition);
}

.progress-step.active .step-number {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.progress-step.completed .step-number {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.progress-step.completed .step-number::after {
  content: '✓';
  font-size: 1.1rem;
}

.progress-step.completed .step-number span {
  display: none;
}

.step-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
}

.progress-step.active .step-label {
  color: var(--accent);
  font-weight: 600;
}

.progress-step.completed .step-label {
  color: var(--success);
}

.progress-line {
  width: 80px;
  height: 2px;
  background: rgba(0, 212, 255, 0.15);
  margin: 0 0.5rem;
  margin-bottom: 1.75rem;
  transition: background var(--transition);
}

.progress-step.active + .progress-line,
.progress-step.completed + .progress-line {
  background: linear-gradient(90deg, var(--accent), rgba(0, 212, 255, 0.3));
}

/* Wizard Container */
.wizard-container {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}

.wizard-step h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-hint {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.optional-hint {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* Category & Pricing Grids */
.category-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
  .pricing-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

.wizard-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 16px;
  cursor: pointer;
  transition: all var(--transition);
}

.wizard-option-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.wizard-option-card.selected {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.option-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.option-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.option-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Refine Tags */
.refine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.refine-tag-btn {
  padding: 0.6rem 1.25rem;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 9999px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.refine-tag-btn:hover {
  border-color: rgba(0, 212, 255, 0.4);
  color: var(--text-primary);
}

.refine-tag-btn.selected {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.25);
}

.no-tags-hint {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 1rem 0;
}

/* Wizard Navigation */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
}

/* Results */
.wizard-results {
  display: none;
}

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

.wizard-results .results-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.results-summary {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 640px) {
  .choose-page {
    padding: 1.5rem 1rem 3rem;
  }

  .choose-hero {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }

  .choose-hero h1 {
    font-size: 1.8rem;
  }

  .wizard-progress {
    margin-bottom: 2rem;
  }

  .progress-line {
    width: 40px;
  }

  .wizard-container {
    padding: 1.5rem;
  }

  .category-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .wizard-option-card {
    padding: 1rem 0.75rem;
  }

  .option-icon {
    font-size: 1.8rem;
  }

  .wizard-step h2 {
    font-size: 1.35rem;
  }

  .wizard-nav {
    flex-direction: row;
  }
}

/* ---------- Term/Learn Page Styles ---------- */
/* 针对术语详情页面的样式 */

/* 面包屑导航 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--text-muted);
}

/* 术语头部 */
.term-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.term-badge {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.term-name {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  line-height: 1.1;
}

.term-category {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
}

.term-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* 定义卡片 */
.definition-card {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all var(--transition);
}

.definition-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.1);
}

.definition-header {
  margin-bottom: 1rem;
}

.definition-type {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.definition-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

/* 内容区块样式 */
.examples-section,
.concepts-section,
.history-section,
.related-tools-section,
.related-terms-section,
.reading-section {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 16px;
  padding: 2rem;
  transition: all var(--transition);
}

.examples-section:hover,
.concepts-section:hover,
.history-section:hover,
.related-tools-section:hover,
.related-terms-section:hover,
.reading-section:hover {
  border-color: rgba(0, 212, 255, 0.25);
  transform: translateY(-2px);
}

.examples-section h2,
.concepts-section h2,
.history-section h2,
.related-tools-section h2,
.related-terms-section h2,
.reading-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* 示例列表 */
.examples-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.examples-list li {
  padding: 1rem 1.25rem;
  background: rgba(0, 212, 255, 0.06);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  transition: all var(--transition);
}

.examples-list li:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateX(4px);
}

/* 概念列表 */
.concepts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.concepts-list li {
  padding: 1.25rem;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  transition: all var(--transition);
}

.concepts-list li:hover {
  border-color: var(--accent-secondary);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(139, 92, 246, 0.15);
}

.concepts-list li strong {
  display: block;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.history-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

/* 相关工具网格 */
.related-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.related-tool-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  transition: all var(--transition);
}

.related-tool-card:hover {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
  transform: translateY(-2px);
}

.related-tool-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.related-tool-info {
  flex: 1;
  min-width: 0;
}

.related-tool-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-tool-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 相关术语 */
.related-terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.related-term-card {
  padding: 0.875rem 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: all var(--transition);
}

.related-term-card:hover {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-2px);
}

.term-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

/* 阅读列表 */
.reading-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.reading-list li {
  padding: 0.875rem 1.25rem;
  background: rgba(0, 212, 255, 0.05);
  border-radius: 10px;
  transition: all var(--transition);
}

.reading-list li:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateX(4px);
}

.reading-list li a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: color var(--transition);
}

.reading-list li a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.glossary-nav-sidebar {
  display: none;
}

/* 响应式：移动端 */
@media (max-width: 768px) {
  .term-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .term-badge {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .term-name {
    font-size: 1.8rem;
  }
  
  .definition-card,
  .examples-section,
  .concepts-section,
  .history-section,
  .related-tools-section,
  .related-terms-section,
  .reading-section {
    padding: 1.25rem;
  }
  
  .concepts-list {
    grid-template-columns: 1fr;
  }
  
  .related-tools-grid {
    grid-template-columns: 1fr;
  }
  
  .related-terms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- About & Contact Page Styles ---------- */

.page-container {
  min-height: 100vh;
  background: var(--bg-primary);
  contain: layout style;
}

/* Hero Banner */
.hero-banner {
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(139, 92, 246, 0.08));
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 9999px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.025em;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

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

/* Section Header */
.section-header {
  margin-bottom: 3rem;
}

.section-header.centered {
  text-align: center;
}

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

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

/* Story Section */
.story-section {
  padding: 5rem 1.5rem;
}

.content-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.story-text p:last-child {
  margin-bottom: 0;
}

.story-card {
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 24px;
  text-align: center;
}

.story-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.story-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

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

/* Disclosure Section */
.disclosure-section {
  padding: 0 1.5rem 5rem;
}

.disclosure-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 1.25rem;
  padding: 2rem;
  background: rgba(255, 159, 67, 0.08);
  border: 1px solid rgba(255, 159, 67, 0.25);
  border-radius: 20px;
  align-items: flex-start;
}

.disclosure-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.disclosure-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.disclosure-text strong {
  color: var(--text-primary);
}

/* Mission Section */
.mission-section {
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.mission-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mission-text {
  font-size: 1.375rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

/* Values Section */
.values-section {
  padding: 5rem 1.5rem;
}

.values-section .section-header {
  margin-bottom: 3.5rem;
}

.values-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.value-card {
  padding: 2.25rem 2rem;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
  border-color: var(--accent);
  background: rgba(17, 24, 39, 0.85);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(0, 212, 255, 0.25);
}

.value-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(139, 92, 246, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.value-icon {
  font-size: 2rem;
}

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

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

/* Team Section */
.team-section {
  padding: 5rem 1.5rem;
  background: var(--bg-secondary);
}

.team-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.team-grid {
  display: flex;
  justify-content: center;
}

.team-member {
  text-align: center;
  padding: 3rem 2.5rem;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 24px;
  max-width: 400px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(0, 212, 255, 0.2);
}

.member-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
}

.avatar-text {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}

.member-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.member-role {
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

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

/* CTA Section */
.cta-section {
  padding: 5rem 1.5rem;
}

.cta-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 3.5rem 2.5rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 24px;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

/* Contact Cards Section */
.contact-cards-section {
  padding: 5rem 1.5rem;
}

.contact-cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.contact-card {
  padding: 2.5rem 2rem;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
  border-color: var(--accent);
  background: rgba(17, 24, 39, 0.85);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(0, 212, 255, 0.25);
}

.contact-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(139, 92, 246, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.contact-icon {
  font-size: 2.25rem;
}

.contact-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.contact-card-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.contact-link {
  display: inline-block;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Info Section */
.info-section {
  padding: 0 1.5rem 5rem;
}

.info-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.info-card {
  padding: 2.25rem 2rem;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 20px;
}

.info-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.info-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.info-card a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Feedback Section */
.feedback-section {
  padding: 0 1.5rem 5rem;
}

.feedback-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(0, 212, 255, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 20px;
  align-items: flex-start;
}

.feedback-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.feedback-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

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

/* Privacy Policy Styles */
.policy-section {
  padding: 5rem 1.5rem;
}

.policy-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.policy-meta {
  text-align: center;
  margin-bottom: 3rem;
}

.policy-date {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 9999px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
}

.policy-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.policy-section-item {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.policy-section-item:hover {
  border-color: rgba(0, 212, 255, 0.2);
}

.policy-section-item.highlighted {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.06));
  border-color: rgba(0, 212, 255, 0.2);
}

.section-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.section-content {
  flex: 1;
}

.section-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

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

.section-content a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.section-content a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.policy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.policy-list li {
  padding: 0.875rem 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-left: 2.5rem;
  position: relative;
}

.policy-list li::before {
  content: '✓';
  position: absolute;
  left: 1rem;
  color: var(--accent);
  font-weight: 700;
}

/* Loading Spinner */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  font-size: 1.25rem;
  color: var(--text-secondary);
}

/* Content Section Styles */
.content-section {
  padding: 5rem 1.5rem;
}

.content-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.story-card {
  padding: 2.5rem;
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 16px;
}

.story-card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.story-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.disclosure-card {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.06));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 16px;
}

.disclosure-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.disclosure-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Mission Section */
.mission-section {
  padding: 5rem 1.5rem;
  background: rgba(0, 212, 255, 0.03);
}

.mission-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mission-wrapper h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.mission-wrapper p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Values Section */
.values-section {
  padding: 5rem 1.5rem;
}

.values-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.values-wrapper h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 3rem;
}

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

.value-card {
  padding: 2rem;
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
  text-align: center;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

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

/* Team Section */
.team-section {
  padding: 5rem 1.5rem;
}

.team-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.team-wrapper h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 3rem;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.team-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Contact Intro */
.contact-intro {
  padding: 2rem 1.5rem;
  text-align: center;
}

.contact-intro p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

/* Contact Section */
.contact-section {
  padding: 3rem 1.5rem;
}

.contact-cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-card {
  padding: 2rem;
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

.contact-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.contact-email {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-email:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Info Section */
.info-section {
  padding: 3rem 1.5rem;
}

.info-cards {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.info-card {
  padding: 2rem;
  background: rgba(17, 24, 39, 0.3);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 16px;
}

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

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

.info-card a {
  color: var(--accent);
  text-decoration: none;
}

.info-card a:hover {
  text-decoration: underline;
}

/* Legal Navigation Section */
.legal-nav-section {
  padding: 3rem 1.5rem;
  background: rgba(17, 24, 39, 0.3);
  border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.legal-nav-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.legal-nav-wrapper h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.legal-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.legal-nav-link {
  padding: 0.75rem 1.5rem;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 9999px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.legal-nav-link:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--text-primary);
}

.legal-nav-link.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-color: transparent;
  color: #fff;
}

.legal-nav-link.active:hover {
  opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .legal-nav-links {
    gap: 0.5rem;
  }
  
  .legal-nav-link {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    padding: 4rem 1rem 3rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-description {
    font-size: 1.05rem;
  }
  
  .story-section,
  .mission-section,
  .values-section,
  .team-section,
  .cta-section,
  .contact-cards-section {
    padding: 3.5rem 1rem;
  }
  
  .disclosure-section,
  .info-section,
  .feedback-section {
    padding: 0 1rem 3.5rem;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .disclosure-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .feedback-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* ---------- Models Grid ---------- */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.model-card {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all var(--transition);
}

.model-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.12);
}

.model-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.model-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.model-oss-tag, .model-closed-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.model-oss-tag {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--success);
}

.model-closed-tag {
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: var(--accent);
}

.model-status-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--warning);
}

.model-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.model-specs {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.model-spec {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.model-spec strong {
  color: var(--text-secondary);
}

.model-modalities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.modality-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 9999px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.model-strengths {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.strength-tag {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.2);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.model-pricing {
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 0;
}

.pricing-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-value {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.model-api-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 212, 255, 0.08);
  flex-wrap: wrap;
}

.api-available-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
}

.api-providers {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Model Mini Cards (Tool Detail Page) ===== */
.model-mini-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.model-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  background: #22d3ee;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}

.model-mini-btn:hover {
  background: #06b6d4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3);
}

/* ===== Model Detail Page ===== */
.model-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.model-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.model-breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--text-muted);
}

.breadcrumb-current {
  color: var(--text-secondary);
  font-weight: 600;
}

.model-detail-header {
  padding: 1.5rem 0 2rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  margin-bottom: 1.5rem;
}

.model-detail-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.model-detail-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.model-detail-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.model-detail-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  max-width: 750px;
}

.model-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.model-spec-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
}

.model-spec-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.model-spec-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.model-spec-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.model-spec-value {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 700;
}

.model-pricing-detail {
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  max-width: 450px;
}

.model-api-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.model-related {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.model-related h2 {
  margin-bottom: 0;
}

.model-related .btn-outline {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.model-related .btn-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.text-muted {
  color: var(--text-muted);
  font-style: italic;
}

.md-tool-context {
  margin-bottom: 1.5rem;
}

.md-tool-context-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.15rem;
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.md-tool-context-link:hover {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.05);
}

.md-tool-flag {
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.md-tool-context-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.md-tool-context-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.md-tool-context-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.md-tool-context-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  flex-shrink: 0;
}

.md-tool-rating {
  font-size: 0.85rem;
  font-weight: 700;
}

.md-tool-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.15rem 0.55rem;
  background: rgba(0, 212, 255, 0.08);
  border-radius: 6px;
  text-transform: capitalize;
}

.md-tool-pricing {
  font-size: 0.75rem;
  color: #22c55e;
  padding: 0.15rem 0.55rem;
  background: rgba(34, 197, 94, 0.08);
  border-radius: 6px;
}

.md-main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.md-main-left {
  min-width: 0;
}

.md-main-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.md-modalities-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.md-half {
  min-width: 0;
}

.md-half:only-child {
  grid-column: 1 / -1;
}

.md-strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
}

.strength-card {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.12);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

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

.api-providers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.api-provider-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.model-other-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.model-other-list .model-mini-btn {
  width: 100%;
  text-align: center;
}

.md-back-section {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.mod-icon {
  margin-right: 0.25rem;
}

.md-error {
  text-align: center;
  padding: 4rem 1rem;
}

.md-error h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.md-error p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.md-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #00D4FF;
  color: #0f172a;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== Updates Page ===== */
.updates-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.updates-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.update-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.15rem 1.35rem;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.update-card:hover {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.06);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.1);
}

.update-date {
  flex-shrink: 0;
  min-width: 110px;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  line-height: 1.4;
}

.update-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.update-tool-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.update-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.update-version {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(0, 212, 255, 0.08);
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  align-self: flex-start;
}

.update-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 0.15rem;
}

@media (max-width: 768px) {
  .md-tool-context-link {
    flex-wrap: wrap;
  }

  .md-tool-context-meta {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
  }

  .md-main-grid {
    grid-template-columns: 1fr;
  }

  .md-modalities-row {
    grid-template-columns: 1fr;
  }

  .md-strengths-grid {
    grid-template-columns: 1fr;
  }

  .model-mini-grid {
    gap: 0.6rem;
  }

  .model-mini-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  .model-detail-hero h1 {
    font-size: 1.5rem;
  }

  .model-detail-description {
    font-size: 0.95rem;
  }

  .model-specs-grid {
    grid-template-columns: 1fr;
  }

  .model-pricing-detail {
    max-width: 100%;
  }
}

/* API Tutorial Section */
.api-tutorial-section {
  margin-top: 1rem;
}

.tutorial-header {
  margin-bottom: 2rem;
}

.tutorial-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.tutorial-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tutorial-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tutorial-step {
  background: rgba(15, 22, 41, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition);
}

.tutorial-step:hover {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.08);
}

.tutorial-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(0, 212, 255, 0.06);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  flex-wrap: wrap;
}

.tutorial-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tutorial-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}

.tutorial-step-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.tutorial-step-content {
  padding: 1.5rem;
}

.tutorial-step-content pre {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 10px;
  padding: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-secondary);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--font-mono);
  margin: 0;
}

.tutorial-cost {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.06));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 16px;
}

.tutorial-cost h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cost-row {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(0, 212, 255, 0.06);
}

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

.cost-row strong {
  color: var(--accent);
  min-width: 100px;
}

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

  .tutorial-step-header {
    padding: 0.75rem 1rem;
  }

  .tutorial-step-content {
    padding: 1rem;
  }

  .tutorial-step-content pre {
    font-size: 0.78rem;
    padding: 0.75rem;
  }
}
