/* ==========================================================================
   GeneVision Keeper — Stylesheet
   Theme: Slate / Emerald / Gold (Matches BallPythonz Design System)
   ========================================================================== */

/* --- Custom Variables & Overrides --- */
:root {
  --gv-bg-subtle: #0b1120;
  --gv-bg-card: #1e293b;
  --gv-bg-card-hover: #243247;
  --gv-border: #334155;
  --gv-border-highlight: rgba(16, 185, 129, 0.4);
  --gv-glow-emerald: rgba(16, 185, 129, 0.25);
  --gv-glow-gold: rgba(251, 191, 36, 0.2);
  --gv-window-chrome: #162235;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.gv-hero {
  position: relative;
  padding: 70px 0 90px;
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(251, 191, 36, 0.07) 0%, transparent 40%),
    radial-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  border-bottom: 1px solid var(--gv-border);
  overflow: hidden;
}

.gv-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-dark), transparent);
  pointer-events: none;
}

.gv-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 50px;
  align-items: center;
}

/* Hero Content */
.gv-hero-content {
  position: relative;
  z-index: 2;
}

.gv-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.gv-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  animation: gvPulse 2s infinite ease-in-out;
}

@keyframes gvPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.gv-hero-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.gv-app-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.gv-hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 0;
  letter-spacing: -0.5px;
}

.gv-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 24px;
  max-width: 560px;
}

/* Feature Checkmarks */
.gv-hero-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  margin-bottom: 30px;
}

.gv-hero-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 500;
}

.gv-check-icon {
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Hero Actions */
.gv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary-dark {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--gv-border);
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-secondary-dark:hover {
  background: var(--gv-border);
  border-color: var(--accent-primary);
  color: #fff;
  transform: translateY(-2px);
}

.gv-hero-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.gv-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hero Visual / Mockup */
.gv-hero-visual {
  position: relative;
  z-index: 1;
}

.gv-mockup-glow {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(15, 23, 42, 0) 70%);
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
}

/* Reusable Window Frame */
.gv-window-frame {
  background: #0f172a;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(16, 185, 129, 0.12);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gv-window-header {
  height: 38px;
  background: var(--gv-window-chrome);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gv-window-controls {
  display: flex;
  gap: 7px;
  align-items: center;
}

.gv-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.gv-dot-red { background-color: #ef4444; }
.gv-dot-yellow { background-color: #f59e0b; }
.gv-dot-green { background-color: #10b981; }

.gv-window-title {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
  font-family: var(--font-body);
}

.gv-window-tag {
  font-size: 0.72rem;
  color: var(--accent-primary);
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gv-hero-preview {
  position: relative;
  cursor: pointer;
  background: #090e17;
  display: block;
}

.gv-hero-preview img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gv-hero-preview:hover img {
  transform: scale(1.02);
}

.gv-preview-zoom-hint {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(3px);
}

.gv-hero-preview:hover .gv-preview-zoom-hint {
  opacity: 1;
}

/* Floating Micro Cards */
.gv-float-badge {
  position: absolute;
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.gv-float-badge-top {
  top: -14px;
  right: 24px;
  border-color: rgba(16, 185, 129, 0.3);
}

.gv-float-badge-bottom {
  bottom: -16px;
  left: 20px;
  border-color: rgba(251, 191, 36, 0.3);
}

/* ==========================================================================
   Metrics & Stats Ribbon
   ========================================================================== */
.gv-stats-ribbon {
  background: var(--gv-bg-subtle);
  border-bottom: 1px solid var(--gv-border);
  padding: 30px 0;
}

.gv-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gv-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 15px;
}

.gv-stat-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gv-stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 2px;
}

.gv-stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-heading);
}

/* ==========================================================================
   Feature Cards Grid ("Everything in One Keeper")
   ========================================================================== */
.gv-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.gv-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--gv-border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.gv-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gv-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
  box-shadow: 0 16px 36px -12px rgba(16, 185, 129, 0.2);
  background: var(--gv-bg-card-hover);
}

.gv-feature-card:hover::before {
  opacity: 1;
}

.gv-card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.gv-feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.gv-feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.gv-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

.gv-card-tag {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--gv-border);
  color: #cbd5e1;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ==========================================================================
   Screenshots & Gallery Showcase ("See GeneVision in Action")
   ========================================================================== */
.gv-gallery-section {
  background-color: var(--gv-bg-subtle);
  border-top: 1px solid var(--gv-border);
  border-bottom: 1px solid var(--gv-border);
}

/* Gallery Filter Pills */
.gv-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.gv-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--gv-border);
  color: var(--text-secondary);
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gv-filter-btn:hover {
  color: #fff;
  border-color: var(--accent-primary);
  background: rgba(16, 185, 129, 0.08);
}

.gv-filter-btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

/* Gallery Grid */
.gv-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.gv-gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--gv-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gv-gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(16, 185, 129, 0.2);
}

/* Image Mockup Window */
.gv-gallery-mockup {
  position: relative;
  background: #080e18;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  overflow: hidden;
}

.gv-gallery-img-wrap {
  width: 100%;
  height: 290px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080e18;
  overflow: hidden;
}

.gv-gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
  display: block;
}

/* Treat square dialogs appropriately */
.gv-gallery-card[data-category="ai"] .gv-gallery-img-wrap.contain-img img,
.gv-gallery-img-wrap.contain-img img {
  object-fit: contain;
  padding: 10px;
  background: #0d1522;
}

.gv-gallery-card:hover .gv-gallery-img-wrap img {
  transform: scale(1.04);
}

/* Hover Zoom Indicator */
.gv-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.gv-zoom-badge {
  background: var(--accent-primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.gv-gallery-mockup:hover .gv-zoom-overlay {
  opacity: 1;
}

/* Card Body */
.gv-gallery-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gv-gallery-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.gv-category-pill {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.gv-gallery-card-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.gv-gallery-card-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.gv-gallery-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  margin-top: auto;
}

.gv-gallery-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gv-chip {
  font-size: 0.75rem;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.5);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gv-btn-view-large {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.gv-btn-view-large:hover {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}

/* ==========================================================================
   Breeder Workflow Steps ("From Pairing to Pip")
   ========================================================================== */
.gv-workflow-section {
  padding: 80px 0;
}

.gv-workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  margin-top: 30px;
}

.gv-workflow-card {
  background: var(--bg-card);
  border: 1px solid var(--gv-border);
  border-radius: 14px;
  padding: 32px 26px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.gv-workflow-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.gv-step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(251, 191, 36, 0.25);
  line-height: 1;
  margin-bottom: 14px;
}

.gv-workflow-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #fff;
}

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

/* ==========================================================================
   Release & Download Center
   ========================================================================== */
.gv-download-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--gv-bg-subtle) 100%);
  padding: 90px 0;
  border-top: 1px solid var(--gv-border);
}

.gv-download-card {
  background: var(--bg-card);
  border: 1px solid var(--gv-border);
  border-radius: 18px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  position: relative;
}

.gv-download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-gold));
}

.gv-download-header {
  padding: 36px 40px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.gv-download-header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.gv-download-header-left h2 {
  font-size: 2rem;
  margin-bottom: 4px;
}

.gv-version-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-primary);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.gv-download-body {
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 40px;
}

.gv-release-notes-box h3 {
  font-size: 1.25rem;
  margin-bottom: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gv-release-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gv-release-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.gv-release-bullet-icon {
  color: var(--accent-primary);
  font-size: 1.1rem;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Download Action Box (Right Column) */
.gv-action-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--gv-border);
  border-radius: 14px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gv-cta-big-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--accent-primary);
  color: #fff;
  padding: 16px 28px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transition: all 0.3s ease;
  text-align: center;
  margin-bottom: 16px;
}

.gv-cta-big-btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45);
}

.gv-sys-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 18px;
}

.gv-sys-specs span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Checksum Box */
.gv-hash-box {
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px;
}

.gv-hash-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gv-copy-btn {
  background: transparent;
  color: var(--accent-primary);
  border: none;
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  padding: 2px 6px;
}

.gv-copy-btn:hover {
  text-decoration: underline;
}

.gv-hash-code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  color: #94a3b8;
  word-break: break-all;
  user-select: all;
  line-height: 1.4;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.gv-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.gv-faq-card {
  background: var(--bg-card);
  border: 1px solid var(--gv-border);
  border-radius: 12px;
  padding: 24px 28px;
}

.gv-faq-card h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

/* ==========================================================================
   Full Screen Lightbox Modal
   ========================================================================== */
.gv-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(5, 10, 20, 0.92);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gv-lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.gv-lightbox-dialog {
  max-width: 1400px;
  width: 96%;
  max-height: 94vh;
  background: #0f172a;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: gvModalScale 0.3s ease;
}

@keyframes gvModalScale {
  from {
    transform: scale(0.96);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.gv-lightbox-header {
  height: 52px;
  background: var(--gv-window-chrome);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gv-lightbox-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gv-lightbox-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
  font-family: var(--font-heading);
}

.gv-lightbox-counter {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
}

.gv-lightbox-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gv-lightbox-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
}

/* Lightbox Body */
.gv-lightbox-viewport {
  position: relative;
  flex: 1;
  min-height: 350px;
  max-height: calc(94vh - 140px);
  background: #080d16;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.gv-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s ease;
}

/* Lightbox Nav Buttons */
.gv-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  z-index: 10;
}

.gv-lightbox-nav:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-50%) scale(1.08);
}

.gv-lightbox-prev { left: 16px; }
.gv-lightbox-next { right: 16px; }

/* Lightbox Caption */
.gv-lightbox-footer {
  background: var(--gv-window-chrome);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.gv-lightbox-caption {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.gv-lightbox-caption strong {
  color: #fff;
}

.gv-lightbox-open-external {
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.gv-lightbox-open-external:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .gv-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gv-hero-visual {
    max-width: 720px;
    margin: 0 auto;
  }

  .gv-hero h1 {
    font-size: 2.8rem;
  }

  .gv-gallery-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
  }

  .gv-download-body {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gv-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gv-workflow-grid {
    grid-template-columns: 1fr;
  }

  .gv-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .gv-hero {
    padding: 50px 0 70px;
  }

  .gv-hero h1 {
    font-size: 2.3rem;
  }

  .gv-lead {
    font-size: 1.05rem;
  }

  .gv-hero-checklist {
    grid-template-columns: 1fr;
  }

  .gv-stats-grid {
    grid-template-columns: 1fr;
  }

  .gv-gallery-img-wrap {
    height: 220px;
  }

  .gv-download-header {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .gv-download-body {
    padding: 24px;
  }

  .gv-float-badge {
    display: none;
  }
}
