/* AIDA64 Unified Theme - Professional System Diagnostics Style */

:root {
  /* Light theme — soft neutrals + clear blue accent */
  --aida-bg-deep: #f8fafc;
  --aida-bg-dark: #f1f5f9;
  --aida-bg-card: #ffffff;
  --aida-bg-elevated: #e2e8f0;
  --aida-border: #e2e8f0;
  --aida-border-light: #cbd5e1;
  --aida-primary: #2563eb;
  --aida-primary-glow: #1d4ed8;
  --aida-primary-dim: #1e40af;
  --aida-accent-cyan: #0891b2;
  --aida-accent-green: #059669;
  --aida-text-primary: #0f172a;
  --aida-text-secondary: #475569;
  --aida-text-muted: #64748b;
  --aida-gradient-start: #f1f5f9;
  --aida-gradient-end: #e2e8f0;
}

/* Base Reset & Typography */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--aida-bg-deep);
  color: var(--aida-text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Styling */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--aida-bg-dark); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--aida-primary); }

/* ========== NAVIGATION ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #0f172a 0%, #0b1120 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.site-nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.site-header .nav-link {
  color: #cbd5e1;
}

.site-header .nav-link:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
}

.site-header .nav-link.text-primary-400,
.site-header .nav-link[aria-current="page"] {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.18);
}

.site-header .nav-link.text-primary-400:hover,
.site-header .nav-link[aria-current="page"]:hover {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.26);
}

/* Language dropdown (navbar) — built by build.py LANG_SWITCHER */
.site-header .lang-dropdown {
  position: relative;
}

.site-header .lang-dropdown > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.28);
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-header .lang-dropdown > summary::-webkit-details-marker {
  display: none;
}

.site-header .lang-dropdown > summary:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(148, 163, 184, 0.45);
}

.site-header .lang-dropdown__chev {
  flex-shrink: 0;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.site-header .lang-dropdown[open] > summary {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(148, 163, 184, 0.5);
}

.site-header .lang-dropdown[open] .lang-dropdown__chev {
  transform: rotate(180deg);
}

.site-header .lang-dropdown__panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  inset-inline-end: 0;
  min-width: 11.75rem;
  padding: 0.35rem 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 200;
}

.site-header .lang-dropdown__link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-header .lang-dropdown__link:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.site-header .lang-dropdown__link[aria-current="page"] {
  color: #1d4ed8;
  background: #eff6ff;
}

/* ========== HERO SECTION ========== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--aida-bg-deep) 0%, var(--aida-gradient-end) 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 0%, rgba(37, 99, 235, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 9999px;
  color: var(--aida-primary-glow);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.hero-title {
  font-size: clamp(1.875rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--aida-text-primary);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--aida-text-secondary);
  max-width: 36rem;
  line-height: 1.7;
}

/* CTA Buttons — flat, enterprise-style */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--aida-primary-glow);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--aida-primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--aida-text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 0.625rem;
  border: 1px solid var(--aida-border-light);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--aida-primary);
  color: var(--aida-primary-glow);
  background: rgba(37, 99, 235, 0.06);
}

/* Hero Gallery */
.hero-gallery {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--aida-border);
  background: var(--aida-bg-card);
  box-shadow: 0 12px 40px -12px rgba(15, 23, 42, 0.12);
}

.hero-gallery::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
  pointer-events: none;
}

/* ========== HERO V2 (clean product landing) ========== */
.hero-section.hero-v2 {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, var(--aida-bg-dark) 0%, var(--aida-bg-deep) 100%);
  border-bottom: 1px solid var(--aida-border);
}

.hero-section.hero-v2::before {
  display: none;
}

.hero-v2-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 0%, black 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 0%, black 15%, transparent 70%);
  pointer-events: none;
  opacity: 0.55;
}

.hero-v2-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.28;
  pointer-events: none;
  animation: aida-orb-drift 22s ease-in-out infinite;
}

.hero-v2-orb--a {
  width: min(40vw, 24rem);
  height: min(40vw, 24rem);
  top: -12%;
  right: -8%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45) 0%, transparent 72%);
}

.hero-v2-orb--b {
  width: min(34vw, 20rem);
  height: min(34vw, 20rem);
  bottom: 0;
  left: -10%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.28) 0%, transparent 72%);
  animation-delay: -9s;
}

@keyframes aida-orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.24; }
  50% { transform: translate(-2%, 2%) scale(1.04); opacity: 0.32; }
}

.hero-v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem 0.35rem 0.6rem;
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aida-text-muted);
  background: var(--aida-bg-elevated);
  border: 1px solid var(--aida-border);
}

.hero-v2-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aida-primary-glow);
  flex-shrink: 0;
}

.hero-v2-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  line-height: 1.12;
}

.hero-v2-title-block {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-v2-title-gradient {
  font-weight: 700;
  letter-spacing: -0.02em;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #475569;
}

.hero-v2-lead {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.hero-v2-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-v2-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 4.5rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--aida-border);
}

@media (min-width: 1024px) {
  .hero-v2-metric { align-items: flex-start; }
}

.hero-v2-metric:first-child {
  padding-left: 0;
  border-left: none;
}

.hero-v2-metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--aida-text-primary);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hero-v2-metric-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--aida-text-muted);
}

.hero-v2-btn-primary {
  padding: 0.8125rem 1.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.hero-v2-btn-secondary {
  border-radius: 0.5rem;
  border-color: var(--aida-border);
  background: var(--aida-bg-card);
}

.hero-v2-visual {
  perspective: 1200px;
}

.hero-v2-device {
  position: relative;
  transform: rotateX(2deg) rotateY(-3deg);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .hero-v2-visual:hover .hero-v2-device {
    transform: rotateX(0deg) rotateY(0deg) translateY(-4px);
  }
}

.hero-v2-device-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem 0.5rem 0 0;
  background: var(--aida-bg-elevated);
  border: 1px solid var(--aida-border);
  border-bottom: none;
}

.hero-v2-device-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #94a3b8;
  box-shadow: none;
}

.hero-v2-device-dot--r,
.hero-v2-device-dot--y,
.hero-v2-device-dot--g {
  background: #94a3b8;
  box-shadow: none;
}

.hero-v2-device-title {
  margin-left: auto;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aida-text-muted);
}

.hero-v2-device-screen {
  padding: 0.65rem;
  border-radius: 0 0 0.5rem 0.5rem;
  background: var(--aida-bg-card);
  border: 1px solid var(--aida-border);
  border-top: 1px solid var(--aida-border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.hero-v2-gallery {
  border-radius: 0.375rem;
  overflow: hidden;
  border: 1px solid var(--aida-border);
}

.hero-v2-gallery .hero-dot.bg-primary-500 {
  width: 1.25rem;
  border-radius: 9999px;
  box-shadow: none;
}

.hero-v2-reflection {
  display: none;
}

@media (max-width: 1023px) {
  .hero-v2-device {
    transform: none;
  }
  .hero-v2-visual:hover .hero-v2-device {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-v2-orb {
    animation: none;
    opacity: 0.15;
  }
  .hero-v2-device {
    transition: none;
  }
  .hero-section.hero-v2 .site-nav .grid > div:first-child > *,
  .hero-section.hero-v2 .hero-v2-visual,
  #products .grid > .product-card {
    animation: none !important;
    opacity: 1 !important;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero & product strip — entrance motion */
.hero-section.hero-v2 .site-nav .grid > div:first-child > * {
  opacity: 0;
  animation: fadeInUp 0.68s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-section.hero-v2 .site-nav .grid > div:first-child > *:nth-child(1) { animation-delay: 0.06s; }
.hero-section.hero-v2 .site-nav .grid > div:first-child > *:nth-child(2) { animation-delay: 0.12s; }
.hero-section.hero-v2 .site-nav .grid > div:first-child > *:nth-child(3) { animation-delay: 0.18s; }
.hero-section.hero-v2 .site-nav .grid > div:first-child > *:nth-child(4) { animation-delay: 0.24s; }
.hero-section.hero-v2 .site-nav .grid > div:first-child > *:nth-child(5) { animation-delay: 0.3s; }
.hero-section.hero-v2 .site-nav .grid > div:first-child > *:nth-child(6) { animation-delay: 0.36s; }
.hero-section.hero-v2 .site-nav .grid > div:first-child > *:nth-child(7) { animation-delay: 0.42s; }

.hero-section.hero-v2 .hero-v2-visual {
  opacity: 0;
  animation: fadeInRight 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

#products .grid > .product-card {
  opacity: 0;
  animation: fadeInUp 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#products .grid > .product-card:nth-child(1) { animation-delay: 0.05s; }
#products .grid > .product-card:nth-child(2) { animation-delay: 0.1s; }
#products .grid > .product-card:nth-child(3) { animation-delay: 0.15s; }
#products .grid > .product-card:nth-child(4) { animation-delay: 0.2s; }

/* ========== SECTIONS ========== */
.section {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .section { padding: 6rem 0; }
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--aida-text-muted);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--aida-text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1rem;
  color: var(--aida-text-secondary);
  max-width: 42rem;
  line-height: 1.7;
}

/* Section Divider */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aida-border), transparent);
  margin: 0;
  border: none;
}

/* ========== CARDS ========== */
.card {
  background: var(--aida-bg-card);
  border: 1px solid var(--aida-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.06), transparent);
}

.card:hover {
  border-color: var(--aida-border-light);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

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

.card-text {
  font-size: 0.875rem;
  color: var(--aida-text-secondary);
  line-height: 1.65;
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--aida-bg-card);
  border: 1px solid var(--aida-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.06), transparent);
}

.product-card:hover {
  border-color: var(--aida-border-light);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  transform: translateY(-3px);
}

.product-card .product-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.5rem;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

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

.product-card .product-desc {
  font-size: 0.8125rem;
  color: var(--aida-text-secondary);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.product-card .product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--aida-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.product-card .product-link:hover {
  gap: 0.5rem;
  color: var(--aida-primary-dim);
}

/* ========== TABLES ========== */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--aida-border);
}

.data-table thead {
  background: var(--aida-bg-elevated);
}

.data-table th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--aida-text-primary);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--aida-border);
}

.data-table td {
  padding: 0.875rem 1rem;
  color: var(--aida-text-secondary);
  border-bottom: 1px solid var(--aida-border);
}

.data-table tbody tr {
  background: var(--aida-bg-card);
  transition: background 0.15s ease;
}

.data-table tbody tr:nth-child(even) {
  background: var(--aida-bg-dark);
}

.data-table tbody tr:hover {
  background: var(--aida-bg-elevated);
}

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

/* Check/X marks in tables */
.check-yes {
  color: var(--aida-accent-green);
  font-weight: 700;
}

.check-no {
  color: var(--aida-text-muted);
}

/* ========== FEATURE LIST (33 items) ========== */
.feature-list {
  counter-reset: feature;
}

.feature-item {
  display: flex;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--aida-border);
  align-items: flex-start;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-number {
  flex-shrink: 0;
  width: 1.75rem;
  text-align: right;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--aida-primary);
  padding-top: 0.125rem;
}

.feature-title {
  font-weight: 600;
  color: var(--aida-text-primary);
  font-size: 0.875rem;
}

.feature-desc {
  font-size: 0.8125rem;
  color: var(--aida-text-muted);
  margin-top: 0.125rem;
  line-height: 1.5;
}

/* ========== ZIGZAG LIST (22 reasons) ========== */
.zigzag-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--aida-border);
}

.zigzag-item:last-child {
  border-bottom: none;
}

.zigzag-number {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.zigzag-number.primary {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.05));
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: var(--aida-primary-glow);
}

.zigzag-number.secondary {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.2), rgba(148, 163, 184, 0.08));
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--aida-text-secondary);
}

.zigzag-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--aida-text-primary);
  margin-bottom: 0.25rem;
}

.zigzag-desc {
  font-size: 0.875rem;
  color: var(--aida-text-secondary);
  line-height: 1.6;
}

/* ========== QUOTE / TESTIMONIAL ========== */
.quote-block {
  background: var(--aida-bg-card);
  border: 1px solid var(--aida-border);
  border-radius: 0.875rem;
  padding: 1.5rem;
  position: relative;
}

.quote-block::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 3rem;
  line-height: 1;
  color: var(--aida-primary);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.quote-text {
  font-size: 0.9375rem;
  color: var(--aida-text-secondary);
  line-height: 1.7;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.quote-author {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--aida-text-muted);
  font-weight: 500;
}

/* ========== USE CASE CARD ========== */
.usecase-card {
  background: var(--aida-bg-card);
  border: 1px solid var(--aida-border);
  border-radius: 0.875rem;
  padding: 1.5rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.usecase-card:hover {
  border-color: var(--aida-border-light);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.usecase-tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 0.375rem;
  color: #1d4ed8;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== INFO BOX ========== */
.info-box {
  background: var(--aida-bg-card);
  border: 1px solid var(--aida-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.info-box h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--aida-text-primary);
  margin-bottom: 0.75rem;
}

.info-box p {
  font-size: 0.875rem;
  color: var(--aida-text-secondary);
  line-height: 1.7;
}

/* ========== DOWNLOAD HUB ========== */
.download-page-hero {
  position: relative;
  isolation: isolate;
  padding: 0.85rem 0 1rem;
  border-bottom: 1px solid var(--aida-border);
  background: linear-gradient(180deg, var(--aida-bg-dark) 0%, var(--aida-bg-deep) 100%);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .download-page-hero {
    padding: 1rem 0 1.15rem;
  }
}

.download-page-breadcrumb {
  margin-bottom: 0.5rem;
}

.download-page-eyebrow {
  margin-bottom: 0.35rem;
}

.download-page-hero-inner .download-page-hero-title {
  margin-bottom: 0.35rem;
}

.download-page-hero-sub {
  margin-top: 0;
  margin-bottom: 0;
}

.download-page-section-head .section-title {
  margin-bottom: 0.35rem;
}

.download-page-section-head .section-desc {
  margin-bottom: 0;
}

.download-page-main .download-page-section-head.section-header {
  margin-bottom: 1.25rem;
}

.download-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(37, 99, 235, 0.06), transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 100%, rgba(100, 116, 139, 0.06), transparent 50%);
  pointer-events: none;
}

.download-page-hero .download-page-hero-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--aida-text-primary);
}

.download-page-hero .download-page-hero-title--compact {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.download-page-hero .download-page-hero-title span {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.download-page-hero .download-page-hero-title > span:last-of-type {
  color: var(--aida-text-muted);
}

.product-card.dl-edition-xe .product-icon {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.22);
  color: #1d4ed8;
}

.product-card.dl-edition-ee .product-icon {
  background: rgba(91, 33, 182, 0.1);
  border-color: rgba(91, 33, 182, 0.22);
  color: #5b21b6;
}

.product-card.dl-edition-be .product-icon {
  background: rgba(8, 145, 178, 0.1);
  border-color: rgba(8, 145, 178, 0.22);
  color: #0e7490;
}

.product-card.dl-edition-ae .product-icon {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.22);
  color: #047857;
}

.product-card.dl-edition-active {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12), 0 12px 28px rgba(15, 23, 42, 0.1);
}

.dl-edition-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 0.875rem 0.875rem 0 0;
  pointer-events: none;
}

.dl-edition-xe .dl-edition-topbar {
  background: linear-gradient(90deg, #3b82f6, #38bdf8);
}

.dl-edition-ee .dl-edition-topbar {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.dl-edition-be .dl-edition-topbar {
  background: linear-gradient(90deg, #06b6d4, #22d3ee);
}

.dl-edition-ae .dl-edition-topbar {
  background: linear-gradient(90deg, #10b981, #34d399);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--aida-bg-deep);
  border-top: 1px solid var(--aida-border);
  padding: 3rem 0;
}

.footer-link {
  color: var(--aida-text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--aida-text-primary);
}

/* ========== GLOW EFFECTS ========== */
.glow-blue {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.glow-border {
  position: relative;
}

.glow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), transparent, rgba(6, 182, 212, 0.2));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glow-border:hover::after {
  opacity: 1;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .zigzag-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .data-table {
    font-size: 0.8125rem;
  }
  
  .data-table th,
  .data-table td {
    padding: 0.625rem 0.75rem;
  }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Stagger delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
