/* ==========================================================================
   FxPlor AI — Minimalist & Modern Foundation Model Showcase
   Design System: Refined Obsidian Space / Minimal Pro Glass
   ========================================================================== */

:root {
  /* Color Architecture */
  --bg-canvas: #08090d;
  --bg-surface: #0e1017;
  --bg-surface-elevated: #141722;
  --bg-glass: rgba(14, 16, 23, 0.75);
  --bg-glass-active: rgba(22, 26, 38, 0.9);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(0, 240, 255, 0.35);

  --accent-cyan: #00f0ff;
  --accent-cyan-subtle: rgba(0, 240, 255, 0.12);
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8b9bb4;
  --text-dim: #5c6b84;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Plus Jakarta Sans", "Inter", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, Monaco, monospace;

  /* Layout & Geometry */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  background: 
    radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.03) 0%, transparent 55%),
    var(--bg-canvas);
}

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

::selection {
  background: rgba(0, 240, 255, 0.2);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-canvas);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.22);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header & Floating Capsule Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 1.25rem;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-inline: 1rem;
}

.nav-capsule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: 980px;
  padding: 0.5rem 1rem 0.5rem 0.85rem;
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  transition: border-color var(--transition-fast);
}

.nav-capsule:hover {
  border-color: var(--border-medium);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  height: 34px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  display: block;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--accent-cyan-subtle);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 1.15rem;
  background: linear-gradient(135deg, #00f0ff, #0088ff);
  color: #040914;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 14px rgba(0, 240, 255, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.5);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(12px);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseBeacon 2.5s infinite;
}

@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  max-width: 940px;
  margin-inline: auto;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 70%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  color: var(--text-muted);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 2.25rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.65rem;
  background: linear-gradient(135deg, #00f0ff, #0077ff);
  color: #030814;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-full);
  box-shadow: 0 0 35px -8px rgba(0, 240, 255, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 240, 255, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.65rem;
  background: var(--bg-glass);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(12px);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

/* Telemetry Grid */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  max-width: 1040px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.telemetry-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  text-align: left;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.telemetry-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.telemetry-label {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.telemetry-val {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.telemetry-sub {
  font-size: 0.76rem;
  color: var(--accent-cyan);
  margin-top: 0.15rem;
}

/* Hero Showcase Frame */
.hero-stage {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(0, 240, 255, 0.1) 40%, rgba(255, 255, 255, 0.04));
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6);
}

.stage-inner {
  background: var(--bg-surface);
  border-radius: calc(var(--radius-lg) - 1px);
  padding: 1.25rem;
  overflow: hidden;
}

.stage-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.stage-dots {
  display: flex;
  gap: 6px;
}

.stage-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.stage-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #34d399;
  font-weight: 600;
}

.stage-visual {
  position: relative;
  width: 100%;
  height: clamp(340px, 46vw, 520px);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #020306;
}

.stage-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(8, 10, 15, 0.82);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
}

.prompt-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.prompt-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   Section Common Styling
   ========================================================================== */
.section-wrapper {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin-inline: auto;
  margin-bottom: 2.75rem;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   10 Verified Works Showcase Gallery
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
  padding: 0.35rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  max-width: 780px;
  margin-inline: auto;
}

.filter-btn {
  padding: 0.45rem 1.05rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-primary);
}

.filter-btn.active {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

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

.gallery-card.hidden {
  display: none;
}

.gallery-card.card-wide {
  grid-column: span 1;
}

@media (min-width: 860px) {
  .gallery-card.card-wide {
    grid-column: span 2;
  }
}

.card-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #020306;
  overflow: hidden;
}

.gallery-card.card-wide .card-media-wrapper {
  aspect-ratio: 16 / 9;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-card:hover .card-img {
  transform: scale(1.03);
}

.card-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  background: rgba(8, 10, 16, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: #34d399;
  z-index: 2;
}

.card-details {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  flex-grow: 1;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card-prompt-preview {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.card-speed {
  color: var(--accent-emerald);
  font-weight: 600;
}

/* ==========================================================================
   Modern Modal Lightbox Dialog (<dialog> + light-dismiss-a-dialog)
   ========================================================================== */
dialog#imageLightbox {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(92vw, 980px);
  max-height: 88vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85);
  padding: 0;
  color: var(--text-primary);
  outline: none;
  overflow: hidden;
}

dialog#imageLightbox::backdrop {
  background-color: rgba(3, 4, 7, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox-layout {
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
  max-height: 88vh;
  overflow-y: auto;
}

@media (min-width: 860px) {
  .lightbox-layout {
    grid-template-columns: 1.15fr 0.85fr;
    overflow: hidden;
  }
}

.lightbox-visual-col {
  background: #020306;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  min-height: 360px;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-info-col {
  background: var(--bg-surface-elevated);
  border-left: 1px solid var(--border-subtle);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  overflow-y: auto;
}

.lightbox-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.lightbox-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.35rem;
}

.lightbox-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: background var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.lightbox-prompt-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
}

.lightbox-prompt-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.lightbox-prompt-content {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.lightbox-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.lightbox-meta-item {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
}

.lightbox-meta-title {
  font-size: 0.66rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

.lightbox-meta-val {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-top: 0.15rem;
}

.lightbox-download-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem;
  background: linear-gradient(135deg, #00f0ff, #0077ff);
  color: #030814;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.lightbox-download-link:hover {
  transform: translateY(-1px);
}

/* ==========================================================================
   Recommended Hardware Specifications Matrix (All Platforms)
   ========================================================================== */
.hardware-platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.platform-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.platform-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.85rem;
}

.platform-title-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.platform-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

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

.platform-tier-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.platform-tier {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
}

.tier-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.12rem 0.4rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.3rem;
}

.tier-entry { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.25); }
.tier-recommended { background: rgba(0, 240, 255, 0.12); color: #22d3ee; border: 1px solid rgba(0, 240, 255, 0.25); }
.tier-studio { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.25); }

.tier-specs {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.tier-perf {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  margin-top: 0.25rem;
}

/* ==========================================================================
   Real-World Ground Truth Benchmarks Table
   ========================================================================== */
.comparison-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin-bottom: 3.5rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.comparison-table th,
.comparison-table td {
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-table th {
  background: var(--bg-surface-elevated);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table th.col-highlight {
  color: var(--accent-cyan);
  border-bottom: 2px solid var(--accent-cyan);
}

.comparison-table td.col-highlight {
  background: rgba(0, 240, 255, 0.02);
  font-weight: 600;
  color: #ffffff;
}

/* ==========================================================================
   Download Section ("FxPlor AI Studio available soon")
   ========================================================================== */
.downloads-notice {
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 820px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
}

.downloads-notice::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.downloads-notice-text {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.25;
}

/* ==========================================================================
   Waitlist Form with Modern :user-valid validation
   ========================================================================== */
.waitlist-card {
  max-width: 640px;
  margin-inline: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4.5vw, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  text-align: left;
  margin-top: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-cyan);
}

.form-input:user-invalid,
.form-input.user-invalid-fallback {
  border-color: #ef4444;
  background-color: rgba(239, 68, 68, 0.04);
}

.form-input:user-valid,
.form-input.user-valid-fallback {
  border-color: var(--accent-emerald);
}

.form-group:has(.form-input:user-invalid) .field-feedback,
.form-group:has(.form-input.user-invalid-fallback) .field-feedback {
  display: block;
  color: #ef4444;
}

.form-group:has(.form-input:user-valid) .field-feedback,
.form-group:has(.form-input.user-valid-fallback) .field-feedback {
  display: none;
}

.field-feedback {
  display: none;
  font-size: 0.74rem;
  margin-top: 0.2rem;
}

.waitlist-submit-btn {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(135deg, #00f0ff, #0077ff);
  color: #030814;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
  transition: transform var(--transition-fast);
}

.waitlist-submit-btn:hover {
  transform: translateY(-1px);
}

.waitlist-success {
  display: none;
  padding: 1.25rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  color: #a7f3d0;
  text-align: center;
  margin-top: 1.25rem;
}

.waitlist-success.visible {
  display: block;
}

.waitlist-disclaimer {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.65rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: 3rem 2rem;
  margin-top: 4.5rem;
  background: rgba(6, 7, 10, 0.9);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.76rem;
  color: var(--text-dim);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-emerald);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .gallery-card.card-wide { grid-column: span 1; }
  .gallery-card.card-wide .card-media-wrapper { aspect-ratio: 1 / 1; }
}

@media (max-width: 768px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .telemetry-grid { grid-template-columns: 1fr 1fr; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .gallery-filters { border-radius: var(--radius-md); }
}

@media (max-width: 520px) {
  .telemetry-grid { grid-template-columns: 1fr; }
  .stage-overlay { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .prompt-text { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .hero-pill { font-size: 0.68rem; padding: 0.35rem 0.75rem; }
  .nav-capsule { padding: 0.45rem 0.75rem; }
  .brand-badge { display: none; }
}

@media (max-width: 380px) {
  .nav-cta { padding: 0.38rem 0.75rem; font-size: 0.74rem; }
  .brand-logo { height: 28px; }
  .filter-btn { padding: 0.4rem 0.75rem; font-size: 0.75rem; }
}
