/* ==========================================================================
   GLab V2.1 Dedicated Landing Page Stylesheet
   Created by Antigravity AI - 2026
   ========================================================================== */

/* --- CSS Variables & Theme definitions --- */
:root {
  /* Light Mode Default Theme */
  --font-family-title: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --color-primary: #0066FF;
  --color-primary-rgb: 0, 102, 255;
  --color-primary-hover: #0052CC;
  --color-accent: #00B2FF; /* Slightly darker cyan for contrast in light mode */
  --color-accent-rgb: 0, 178, 255;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;

  --bg-body: #F8FAFC;
  --bg-navbar: rgba(248, 250, 252, 0.85);
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-panel: rgba(241, 245, 249, 0.7);
  --bg-input: #FFFFFF;
  --bg-table-header: #E2E8F0;
  
  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 102, 255, 0.4);
  
  --text-main: #334155;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --text-heading: #0F172A;

  --gradient-main: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  --gradient-dark: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 15px rgba(0, 102, 255, 0.08);
  --shadow-glow-accent: 0 0 15px rgba(0, 210, 255, 0.1);
}

[data-theme="dark"] {
  /* Dark Mode Theme overrides */
  --bg-body: #090D16;
  --bg-navbar: rgba(9, 13, 22, 0.8);
  --bg-card: rgba(17, 24, 39, 0.65);
  --bg-panel: rgba(30, 41, 59, 0.35);
  --bg-input: rgba(15, 23, 42, 0.6);
  --bg-table-header: rgba(15, 23, 42, 0.8);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 210, 255, 0.3);

  --text-main: #E2E8F0;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-heading: #F8FAFC;

  --gradient-dark: linear-gradient(180deg, #0d1527 0%, #090d16 100%);
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 20px rgba(0, 102, 255, 0.15);
  --shadow-glow-accent: 0 0 20px rgba(0, 210, 255, 0.2);
}

/* --- Global Reset & Defaults --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-body);
  background-image: var(--gradient-dark);
  background-attachment: fixed;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-title);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: var(--color-accent);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-success { color: var(--color-success) !important; }
.text-warning { color: var(--color-warning) !important; }
.text-danger { color: var(--color-danger) !important; }
.text-muted { color: var(--text-muted) !important; }
.mb-4 { margin-bottom: 24px; }
.mt-3 { margin-top: 18px; }
.mt-4 { margin-top: 24px; }
.py-5 { padding-top: 48px; padding-bottom: 48px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-width-md { max-width: 720px; }
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Glassmorphism class */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-title);
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: 0.95rem;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: 10px;
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn-primary {
  background: var(--gradient-main);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 102, 255, 0.4);
}
.btn-secondary {
  background: var(--bg-panel);
  color: var(--text-heading) !important;
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  background: var(--border-color);
  color: var(--text-heading);
  transform: translateY(-2px);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Badges */
.badge-hero, .badge-primary, .badge-accent {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-hero {
  background: rgba(0, 102, 255, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(0, 102, 255, 0.15);
}
[data-theme="dark"] .badge-hero {
  background: rgba(0, 102, 255, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(0, 102, 255, 0.3);
}
.badge-primary {
  background: rgba(0, 102, 255, 0.1);
  color: #0066FF;
  border: 1px solid rgba(0, 102, 255, 0.2);
}
.badge-accent {
  background: rgba(0, 210, 255, 0.1);
  color: #00B2FF;
  border: 1px solid rgba(0, 210, 255, 0.2);
}

/* --- Navigation Bar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-radius: 0 0 16px 16px;
  border-top: none;
  border-left: none;
  border-right: none;
  background-color: var(--bg-navbar);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  height: 70px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  height: 48px;
  cursor: pointer;
  display: block;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}
.nav-link:hover {
  color: var(--text-heading);
  background: var(--bg-panel);
}

/* Theme Toggle Button */
.theme-btn {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.theme-btn:hover {
  background: var(--border-color);
}
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- Page Structure --- */
.main-content {
  margin-top: 100px;
  padding-bottom: 60px;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding: 40px 0 60px 0;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.08) 0%, rgba(var(--color-accent-rgb), 0.03) 50%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: 0;
}
[data-theme="dark"] .hero-bg-glow {
  background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.15) 0%, rgba(var(--color-accent-rgb), 0.05) 50%, rgba(0,0,0,0) 70%);
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 1;
}

/* Section Title */
.section-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* --- Key Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.feature-card {
  padding: 30px;
  border-radius: 16px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}
.f-card-icon {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- Product Detail Hero & Side Panel Mockup --- */
.product-detail-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.product-hero-text {
  flex: 1.2;
  min-width: 320px;
}
.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}
.feature-bullet {
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--bg-panel);
  padding: 10px 16px;
  border-radius: 8px;
  border-left: 3px solid var(--color-primary);
}

/* --- Live Simulator Mockup --- */
.simulator-wrapper {
  flex: 1;
  min-width: 380px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
[data-theme="dark"] .simulator-wrapper {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.simulator-header {
  background: #1E293B;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sim-dots {
  display: flex;
  gap: 6px;
}
.sim-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.sim-dots .dot.red { background: #EF4444; }
.sim-dots .dot.yellow { background: #F59E0B; }
.sim-dots .dot.green { background: #10B981; }
.sim-title {
  color: #94A3B8;
  font-size: 0.8rem;
  font-weight: 500;
  margin-left: 20px;
}

.simulator-body {
  display: flex;
  background: #0F172A;
  height: 520px; /* Expanded from 380px */
}

/* Left Panel: Extension Interface simulation */
.sim-panel {
  width: 35%; /* Changed from 40% to give KBNN form more space */
  border-right: 1px solid rgba(255,255,255,0.08);
  background: #1E293B;
  display: flex;
  flex-direction: column;
  padding: 16px;
}
.sim-logo-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.sim-logo {
  font-weight: 800;
  color: #00D2FF;
  font-size: 1.1rem; /* Increased font size */
}
.sim-ver {
  font-size: 0.8rem; /* Increased font size */
  color: #64748B;
}
.sim-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  text-align: center;
  gap: 16px;
  padding: 10px;
}
.sim-step p {
  font-size: 0.9rem; /* Increased font size */
  color: #94A3B8;
  line-height: 1.5;
}
.sim-preview-area {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}
.sim-file-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem; /* Increased font size */
  margin-bottom: 10px;
  color: #94A3B8;
}
.sim-table-wrap {
  flex-grow: 1;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  margin-bottom: 12px;
  background: #0F172A;
}
.sim-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem; /* Increased from 0.65rem */
}
.sim-table-wrap th, .sim-table-wrap td {
  padding: 6px 8px; /* Increased from 4px */
  border: 1px solid rgba(255,255,255,0.08);
  text-align: left;
  color: #E2E8F0;
}
.sim-table-wrap th {
  background: #1e293b;
  color: #F8FAFC;
}
.btn-accent {
  background: #00B2FF;
  color: white;
  padding: 10px 16px;
  font-size: 0.9rem;
}
.btn-accent:hover:not(:disabled) {
  background: #0088cc;
}

/* Right Panel: KBNN Web Interface simulation */
.sim-browser-page {
  width: 65%; /* Changed from 60% */
  background: #090D16;
  display: flex;
  flex-direction: column;
}
.browser-address {
  background: #1E293B;
  padding: 8px 14px;
  font-size: 0.75rem; /* Increased from 0.65rem */
  color: #64748B;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dvc-form-simulation {
  padding: 16px; /* Increased padding */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}
.dvc-form-simulation h5 {
  font-size: 0.85rem; /* Increased from 0.75rem */
  margin-bottom: 14px;
  color: #10B981;
  border-bottom: 1px dashed rgba(16, 185, 129, 0.3);
  padding-bottom: 6px;
}
.dvc-meta-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Changed to 3 columns to span nicely */
  gap: 8px;
  margin-bottom: 14px;
}
.dvc-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dvc-field label {
  font-size: 0.7rem; /* Increased from 0.6rem */
  color: #94A3B8;
}
.dvc-field input {
  font-size: 0.75rem; /* Increased from 0.65rem */
  padding: 4px 8px;
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  color: #FFFFFF;
}
.dvc-table-wrap {
  flex-grow: 1;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  background: #1E293B;
}
.dvc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem; /* Increased from 0.65rem */
}
.dvc-table th, .dvc-table td {
  padding: 6px 8px; /* Increased from 4px */
  border: 1px solid rgba(255,255,255,0.08);
  text-align: left;
  color: #E2E8F0;
}
.dvc-table th {
  background: #0F172A;
  color: #F8FAFC;
  position: sticky;
  top: 0;
}
.dvc-table tr.highlight-fill {
  background: rgba(16, 185, 129, 0.25);
  animation: flashFill 0.5s ease-out;
}
@keyframes flashFill {
  0% { background: rgba(0, 210, 255, 0.8); }
  100% { background: rgba(16, 185, 129, 0.25); }
}

/* --- Visual Browser Mockups (Installation Section) --- */
.install-steps-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}
.install-step-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
}
.step-info {
  flex: 1.2;
}
.step-badge {
  background: var(--color-primary);
  color: white;
  padding: 4px 12px;
  font-weight: 700;
  border-radius: 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 16px;
}
.step-info h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.step-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.step-info p:last-child {
  margin-bottom: 0;
}
.step-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 280px;
}

/* Graphic for Zip file extraction */
.zip-mockup {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 320px;
}
.zip-icon {
  font-size: 2.8rem;
}
.zip-details {
  display: flex;
  flex-direction: column;
}
.zip-name {
  font-weight: 600;
  font-size: 0.85rem;
}
.zip-action {
  font-size: 0.75rem;
  color: var(--color-success);
  margin-top: 2px;
}
.folder-icon {
  font-size: 2.8rem;
  animation: bounceRight 1.5s infinite alternate;
}
.folder-name {
  font-weight: 600;
  font-size: 0.85rem;
}
@keyframes bounceRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(8px); }
}

/* Chrome UI mockups */
.chrome-ui-mockup {
  width: 100%;
  max-width: 380px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1E293B;
  text-align: left;
}
[data-theme="dark"] .chrome-ui-mockup {
  background: #1E293B;
  border-color: #475569;
  color: #F8FAFC;
}
.chrome-address-bar {
  background: #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
[data-theme="dark"] .chrome-address-bar {
  background: #0F172A;
  border-bottom-color: #334155;
}
.chrome-back-next {
  font-size: 0.7rem;
  color: #94A3B8;
}
.address-input {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 20px;
  font-size: 0.65rem;
  padding: 3px 12px;
  flex-grow: 1;
  color: #64748B;
}
[data-theme="dark"] .address-input {
  background: #1E293B;
  border-color: #475569;
  color: #94A3B8;
}
.chrome-extensions-header {
  padding: 10px 14px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
[data-theme="dark"] .chrome-extensions-header {
  border-bottom-color: #334155;
}
.header-txt {
  font-size: 0.85rem;
  font-weight: 700;
}
.dev-mode-control {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dev-txt {
  font-size: 0.65rem;
  color: #64748B;
}
[data-theme="dark"] .dev-txt {
  color: #94A3B8;
}
.switch-toggle {
  width: 32px;
  height: 18px;
  background: #CBD5E1;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
}
[data-theme="dark"] .switch-toggle {
  background: #475569;
}
.switch-toggle::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.switch-toggle.active {
  background: #10B981;
}
.switch-toggle.active::before {
  transform: translateX(14px);
}

.chrome-buttons-bar {
  padding: 8px 12px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  gap: 6px;
}
[data-theme="dark"] .chrome-buttons-bar {
  background: #0F172A;
  border-bottom-color: #334155;
}
.chrome-mock-btn {
  font-size: 0.65rem;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  cursor: default;
  font-weight: 500;
  color: #64748B;
}
[data-theme="dark"] .chrome-mock-btn {
  background: #1E293B;
  border-color: #475569;
  color: #94A3B8;
}
.chrome-mock-btn.active-btn {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #1D4ED8;
  font-weight: 600;
  box-shadow: 0 0 5px rgba(59, 130, 246, 0.2);
}
[data-theme="dark"] .chrome-mock-btn.active-btn {
  background: rgba(59, 130, 246, 0.15);
  border-color: #3B82F6;
  color: #60A5FA;
}
.chrome-mock-btn.disabled-btn {
  opacity: 0.5;
}

.chrome-extension-card-mock {
  margin: 12px;
  padding: 10px;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
[data-theme="dark"] .chrome-extension-card-mock {
  border-color: #334155;
  background: #1E293B;
}
.ext-icon { font-size: 1.4rem; }
.ext-details { display: flex; flex-direction: column; }
.ext-name { font-size: 0.75rem; font-weight: 700; }
.ext-ver { font-size: 0.6rem; color: #64748B; }
[data-theme="dark"] .ext-ver { color: #94A3B8; }
.small-switch {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  scale: 0.8;
}

/* Chrome extension menu and pin icon */
.puzzle-icon-highlight {
  font-size: 0.8rem;
  background: #EFF6FF;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #3B82F6;
}
[data-theme="dark"] .puzzle-icon-highlight {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3B82F6;
}
.chrome-extension-dropdown-mock {
  margin: 6px 12px 12px 12px;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
[data-theme="dark"] .chrome-extension-dropdown-mock {
  border-color: #334155;
  background: #0F172A;
}
.dropdown-header-mock {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 6px 10px;
  border-bottom: 1px solid #E2E8F0;
  color: #64748B;
}
[data-theme="dark"] .dropdown-header-mock {
  border-bottom-color: #334155;
  color: #94A3B8;
}
.dropdown-item-mock {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  gap: 8px;
  position: relative;
}
.item-icon { font-size: 1rem; }
.item-name { font-size: 0.7rem; font-weight: 600; }
.pin-icon {
  position: absolute;
  right: 10px;
  font-size: 0.8rem;
  cursor: pointer;
  opacity: 0.4;
}
.pin-icon.active-pin {
  opacity: 1;
  filter: drop-shadow(0 0 2px #0066FF);
}

/* --- Excel Format Guide Table --- */
.excel-format-section {
  padding: 60px 24px;
}
.excel-table-wrapper {
  margin-top: 20px;
  overflow-x: auto;
  border-radius: 12px;
}
.excel-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.excel-table th, .excel-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}
.excel-table th {
  background: var(--bg-table-header);
  font-weight: 600;
  color: var(--text-heading);
}
.excel-table tr:last-child td {
  border-bottom: none;
}
.col-badge {
  background: var(--color-primary);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
}
.excel-note {
  margin-top: 24px;
  padding: 24px;
  border-left: 4px solid var(--color-primary);
}
.excel-note h4 {
  margin-bottom: 10px;
  color: var(--text-heading);
}
.excel-note ul {
  padding-left: 20px;
  color: var(--text-secondary);
}
.excel-note li {
  margin-bottom: 6px;
}

/* --- Usage Timeline --- */
.usage-section {
  padding: 60px 24px;
}
.usage-timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0 auto;
}
.usage-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 2px;
  background: var(--border-color);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 70px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.time-marker {
  position: absolute;
  top: 0;
  left: 15px;
  width: 32px;
  height: 32px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.4);
}
.timeline-content {
  padding: 24px 30px;
}
.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-heading);
}
.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.timeline-content p:last-child {
  margin-bottom: 0;
}

/* --- Donation Section --- */
.donation-section {
  padding: 60px 24px;
}
.donation-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px;
  align-items: center;
}
.donation-info {
  flex: 1;
  min-width: 300px;
}
.donation-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.donation-info p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.contact-info {
  background: var(--bg-panel);
  padding: 12px 18px;
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
  margin-bottom: 24px;
}
.donation-bank-details {
  background: rgba(0,0,0,0.03);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}
[data-theme="dark"] .donation-bank-details {
  background: rgba(0,0,0,0.15);
}
.donation-bank-details h4 {
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: var(--text-heading);
}
.bank-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.bank-row:last-child {
  margin-bottom: 0;
}
.bank-row span {
  color: var(--text-secondary);
}
.donation-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  align-self: stretch;
}
.qr-code-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 12px;
}
.qr-subtitle {
  color: #1E293B;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

/* --- Deploy Guide Details --- */
.deploy-guide-section {
  padding: 40px 24px;
}
.deploy-details {
  border-radius: 12px;
  overflow: hidden;
}
.deploy-summary {
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  background: var(--bg-table-header);
  color: var(--text-heading);
}
.deploy-summary:hover {
  background: var(--border-color);
}
.deploy-content {
  padding: 24px;
  border-top: 1px solid var(--border-color);
}
.deploy-content ol {
  padding-left: 24px;
  margin: 16px 0;
  color: var(--text-secondary);
}
.deploy-content li {
  margin-bottom: 8px;
}

/* --- Global Footer --- */
.main-footer {
  background: var(--bg-body);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 20px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .footer-logo {
  height: 44px;
  margin-bottom: 16px;
}
.footer-support h4 {
  color: var(--text-heading);
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.footer-support p {
  margin-bottom: 8px;
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .product-detail-hero { flex-direction: column; }
  .simulator-wrapper { width: 100%; min-width: auto; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .donation-container { flex-direction: column; text-align: center; }
  .donation-qr { width: 100%; max-width: 280px; align-self: center; }
  
  .install-step-item { flex-direction: column; padding: 24px; gap: 24px; }
  .step-visual { width: 100%; }
  
  .usage-timeline::before { left: 16px; }
  .timeline-item { padding-left: 45px; }
  .time-marker { left: 0; }
  
  .simulator-body { height: 500px; flex-direction: column; }
  .sim-panel { width: 100%; height: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .sim-browser-page { width: 100%; height: 50%; }
}
