/* Easy Connect PC - Complete Production Design System & Theme Engine */

:root {
  /* Default Theme: Midnight Blue */
  --bg-color: #0b1120;
  --surface-color: #162032;
  --surface-card: #1c2a42;
  --surface-hover: #223452;
  --border-color: #1e3a8a;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --primary-color: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent-color: #60a5fa;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 8px 12px -6px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 28px rgba(59, 130, 246, 0.28);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Theme 2: Graphite & Teal */
[data-theme="graphite"] {
  --bg-color: #0f172a;
  --surface-color: #1e293b;
  --surface-card: #27354d;
  --surface-hover: #324360;
  --border-color: #115e59;
  --primary-color: #14b8a6;
  --primary-dark: #0f766e;
  --accent-color: #2dd4bf;
  --shadow-glow: 0 0 28px rgba(20, 184, 166, 0.28);
}

/* Theme 3: Purple Night */
[data-theme="purple"] {
  --bg-color: #12072b;
  --surface-color: #221340;
  --surface-card: #2e1a57;
  --surface-hover: #3b226e;
  --border-color: #581c87;
  --primary-color: #a855f7;
  --primary-dark: #7e22ce;
  --accent-color: #c084fc;
  --shadow-glow: 0 0 28px rgba(168, 85, 247, 0.28);
}

/* Theme 4: Emerald Night */
[data-theme="emerald"] {
  --bg-color: #061a14;
  --surface-color: #0f2e24;
  --surface-card: #164032;
  --surface-hover: #1d5240;
  --border-color: #065f46;
  --primary-color: #10b981;
  --primary-dark: #047857;
  --accent-color: #34d399;
  --shadow-glow: 0 0 28px rgba(16, 185, 129, 0.28);
}

/* Theme 5: Burgundy Night */
[data-theme="burgundy"] {
  --bg-color: #1a0711;
  --surface-color: #301021;
  --surface-card: #42162e;
  --surface-hover: #541d3b;
  --border-color: #831843;
  --primary-color: #f43f5e;
  --primary-dark: #be123c;
  --accent-color: #fb7185;
  --shadow-glow: 0 0 28px rgba(244, 63, 94, 0.28);
}

/* Theme 6: Slate & Cyan */
[data-theme="cyan"] {
  --bg-color: #0a131f;
  --surface-color: #142338;
  --surface-card: #1c304d;
  --surface-hover: #233d61;
  --border-color: #0e7490;
  --primary-color: #06b6d4;
  --primary-dark: #0891b2;
  --accent-color: #38bdf8;
  --shadow-glow: 0 0 28px rgba(6, 182, 212, 0.28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.68;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility Focus States */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

/* RTL Specific Overrides */
[dir="rtl"] body {
  font-family: "Segoe UI", Tahoma, Arial, "Noto Sans Arabic", sans-serif;
  text-align: right;
}

[dir="ltr"] body {
  text-align: left;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
  background: var(--surface-card);
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

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

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active, .lang-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Theme Switcher */
.theme-switcher-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 4px 10px;
}

.theme-pill-btn {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.theme-pill-btn:hover, .theme-pill-btn.active {
  transform: scale(1.22);
  border-color: #fff;
}

/* Hero Section */
.hero {
  padding: 70px 0 60px 0;
  text-align: center;
  position: relative;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 36px auto;
  line-height: 1.75;
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.55);
}

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

.btn-secondary:hover {
  background: var(--surface-card);
  transform: translateY(-2px);
}

/* Product Hero Mockup Preview */
.hero-preview-frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--surface-color);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
}

.hero-preview-bar {
  background: var(--surface-card);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

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

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

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

.window-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-preview-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-preview-frame:hover .hero-preview-img {
  transform: scale(1.015);
}

.hero-preview-caption {
  padding: 12px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--surface-color);
  border-top: 1px solid var(--border-subtle);
}

/* Section Common */
.section {
  padding: 75px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Features Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
}

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  color: var(--accent-color);
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Theme Showcase Section */
.theme-showcase {
  background-color: var(--surface-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.theme-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.theme-card-preview {
  background: var(--surface-card);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 18px 14px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.theme-card-preview:hover, .theme-card-preview.active {
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.palette-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.palette-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.theme-card-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Steps / Guide Section */
.steps-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: var(--transition);
}

.step-item:hover {
  border-color: var(--accent-color);
  transform: translateX(4px);
}

[dir="rtl"] .step-item:hover {
  transform: translateX(-4px);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.step-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Screenshots Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.gallery-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.gallery-card-img-wrap {
  width: 100%;
  height: 230px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.gallery-card-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.gallery-zoom-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: var(--accent-color);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: bold;
  border: 1px solid var(--border-color);
}

[dir="rtl"] .gallery-zoom-badge {
  right: auto;
  left: 8px;
}

.gallery-caption {
  padding: 18px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

/* Interactive Demonstration Theater */
.demo-theater-box {
  max-width: 920px;
  margin: 0 auto;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.demo-tabs {
  display: flex;
  background: var(--surface-card);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.demo-tab-btn {
  flex: 1;
  padding: 14px 18px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.demo-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.demo-tab-btn.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
  background: rgba(59, 130, 246, 0.08);
}

.demo-screen-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.demo-screen-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.demo-footer-info {
  padding: 16px 24px;
  background: var(--surface-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.demo-info-text {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.demo-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--success-color);
}

/* Compatibility Matrix */
.table-container {
  overflow-x: auto;
  margin-top: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--surface-color);
  box-shadow: var(--shadow-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: inherit;
  font-size: 13.5px;
}

th, td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

th {
  background-color: var(--surface-card);
  color: var(--text-primary);
  font-weight: 700;
}

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

tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.02);
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

.badge-ok {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success-color);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-info {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-color);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Troubleshooting & FAQ */
.trouble-list, .faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.trouble-card, .faq-item {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.trouble-card:hover {
  border-color: var(--accent-color);
}

.trouble-header {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  background: var(--surface-card);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.trouble-body {
  padding: 20px 22px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.trouble-highlight {
  background: rgba(59, 130, 246, 0.08);
  border-left: 3px solid var(--accent-color);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
}

[dir="rtl"] .trouble-highlight {
  border-left: none;
  border-right: 3px solid var(--accent-color);
}

.faq-question {
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

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

.faq-icon {
  font-size: 18px;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 20px 22px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
  padding-top: 14px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Video Showcase Section */
.video-showcase-box {
  max-width: 960px;
  margin: 0 auto;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.video-showcase-box:hover {
  border-color: var(--accent-color);
}

.video-player-container {
  position: relative;
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-video {
  width: 100%;
  max-height: 540px;
  display: block;
  object-fit: contain;
  background: #000;
}

.video-chapters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px;
  background: var(--surface-card);
  border-top: 1px solid var(--border-color);
}

.video-chapter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.video-chapter-pill:hover,
.video-chapter-pill.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.video-notice-box {
  margin: 20px 20px 24px 20px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.video-notice-icon {
  font-size: 22px;
  line-height: 1;
}

.video-notice-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.video-notice-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Installation Guide Section */
.install-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.install-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.install-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.install-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.install-icon {
  font-size: 28px;
}

.install-title-group h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0;
}

.install-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-color);
}

.install-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.install-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.install-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.install-step-text {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

/* Download Section */
.download-section {
  background: linear-gradient(180deg, var(--bg-color), var(--surface-color));
}

.download-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}

.download-card {
  background: var(--surface-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.download-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.download-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px auto;
  font-size: 32px;
  border-radius: 50%;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
}

.download-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.download-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.file-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.hash-pill {
  display: block;
  font-family: Consolas, monospace;
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  word-break: break-all;
  margin-bottom: 22px;
  border: 1px solid var(--border-subtle);
}

/* Updates & Support */
.updates-box {
  max-width: 860px;
  margin: 0 auto;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.version-tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success-color);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 16px;
}

.updates-box ul {
  list-style: none;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 20px;
}

.support-footer-info {
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 14px;
  color: var(--text-primary);
  font-size: 14px;
  max-width: 800px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

[dir="rtl"] .lightbox-close {
  right: auto;
  left: 28px;
}

.lightbox-close:hover {
  background: var(--danger-color);
}

/* Footer */
footer {
  padding: 45px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 13.5px;
  background: var(--surface-color);
}

footer p {
  margin-bottom: 6px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive Queries */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
  }
  .cta-group {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .step-item {
    flex-direction: column;
  }
  .demo-tabs {
    flex-wrap: wrap;
  }
  .demo-tab-btn {
    flex: 1 1 50%;
  }
}
