/* ==========================================================================
   Rokar Product Demo Landing Page - Stylesheet
   Product: روکار (Rokar SaaS Project Management)
   No external dependencies - Pure CSS
   ========================================================================== */

/* 1. Typography: Local Yekan Bakh Font */
@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/YekanBakh-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/YekanBakh-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/YekanBakh-ExtraBlack.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* 2. Color System & Design Tokens */
:root {
  /* Brand Colors */
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-glow: rgba(16, 185, 129, 0.35);
  --primary-light: #34d399;
  
  --accent-cyan: #06b6d4;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-purple: #8b5cf6;

  /* Dark Theme (Default) */
  --bg-body: #06130e;
  --bg-surface: #0a1f18;
  --bg-surface-elevated: #0f2c22;
  --bg-card: rgba(14, 38, 30, 0.75);
  --bg-card-hover: rgba(18, 48, 38, 0.9);
  
  --border-subtle: rgba(52, 211, 153, 0.12);
  --border-medium: rgba(52, 211, 153, 0.28);
  --border-strong: rgba(52, 211, 153, 0.45);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #cbd5e1;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(16, 185, 129, 0.3);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --header-height: 74px;
  --topbar-height: 44px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #ffffff;
  
  --border-subtle: rgba(16, 185, 129, 0.15);
  --border-medium: rgba(16, 185, 129, 0.3);
  --border-strong: rgba(16, 185, 129, 0.6);

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-sub: #334155;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.2);
}

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

html {
  font-family: 'Yekan Bakh', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scroll-behavior: smooth;
  font-size: 16px;
  direction: rtl;
  text-align: right;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 4. Top Announcement Bar (Demo Alert) */
.top-bar {
  background: linear-gradient(90deg, #065f46 0%, #047857 50%, #059669 100%);
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.88rem;
  font-weight: 700;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse-ring 1.8s infinite;
  display: inline-block;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.8); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.top-demo-btn {
  background-color: #ffffff;
  color: #065f46;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.top-demo-btn:hover {
  background-color: #f0fdf4;
  transform: translateY(-1px);
  color: #047857;
}

/* 5. Main Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background-color: rgba(6, 19, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

[data-theme="light"] .main-header {
  background-color: rgba(255, 255, 255, 0.88);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--primary-light);
  font-weight: 700;
  letter-spacing: 0.5px;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-sub);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  color: var(--primary-light);
  border-color: var(--primary);
  transform: rotate(15deg);
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
}

.btn-secondary {
  background-color: var(--bg-surface-elevated);
  color: var(--text-main);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 700;
  border: 1px solid var(--border-medium);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: var(--bg-surface);
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
}

/* 6. Hero Section */
.hero-section {
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(6, 19, 14, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-glow-1 { top: -100px; right: -100px; }
.hero-glow-2 { bottom: -100px; left: -100px; background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(6, 19, 14, 0) 70%); }

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

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-medium);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-title-highlight {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust-list {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 700;
}

.hero-trust-item svg {
  color: var(--primary-light);
}

/* Hero UI Mockup Window */
.hero-mockup-wrap {
  position: relative;
}

.mockup-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  transition: transform 0.3s ease;
}

.mockup-card:hover {
  transform: translateY(-4px);
}

.mockup-header {
  height: 42px;
  background-color: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.mockup-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

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

.mockup-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-switch-badge {
  font-size: 0.75rem;
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--primary-light);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.theme-switch-badge:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.mockup-img {
  width: 100%;
  display: block;
}

.mockup-floating-badge {
  position: absolute;
  background-color: rgba(10, 31, 24, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 5;
}

[data-theme="light"] .mockup-floating-badge {
  background-color: rgba(255, 255, 255, 0.9);
}

.floating-1 {
  bottom: -20px;
  right: -20px;
}

.floating-2 {
  top: 60px;
  left: -25px;
}

.floating-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 7. Section Titles */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-subtle);
  color: var(--primary-light);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* 8. Four Product Views Section */
.views-section {
  padding: 80px 0;
  background-color: var(--bg-surface);
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.views-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.view-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.view-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.view-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.view-card:hover::before {
  opacity: 1;
}

.view-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.view-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.view-card-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.view-card-badge {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-light);
  background-color: rgba(16, 185, 129, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* 9. Interactive Screenshots Showcase */
.showcase-section {
  padding: 90px 0;
  position: relative;
}

.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-sub);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.filter-tab:hover {
  color: var(--primary-light);
  border-color: var(--border-medium);
}

.filter-tab.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.gallery-thumb-wrap {
  position: relative;
  overflow: hidden;
  background-color: #030a08;
  aspect-ratio: 16 / 10;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 19, 14, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-btn {
  background-color: var(--primary);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.gallery-info {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.gallery-category-pill {
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary-light);
  background-color: rgba(16, 185, 129, 0.12);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

.gallery-item-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

.gallery-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 10. Deep Features Section */
.features-section {
  padding: 80px 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-emerald { background-color: rgba(16, 185, 129, 0.15); color: #34d399; }
.icon-cyan { background-color: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.icon-amber { background-color: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.icon-purple { background-color: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.icon-rose { background-color: rgba(244, 63, 94, 0.15); color: #fb7185; }
.icon-teal { background-color: rgba(20, 184, 166, 0.15); color: #2dd4bf; }

.feature-box-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-box-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.feature-bullet-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.feature-bullet-item svg {
  color: var(--primary-light);
  flex-shrink: 0;
}

/* 11. Infographic Highlight Section */
.infographic-section {
  padding: 90px 0;
  position: relative;
}

.infographic-banner-card {
  background: linear-gradient(135deg, rgba(6, 44, 34, 0.9) 0%, rgba(10, 28, 23, 0.95) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 40px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

[data-theme="light"] .infographic-banner-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.infographic-preview-frame {
  max-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  position: relative;
  cursor: pointer;
}

.infographic-preview-frame img {
  width: 100%;
  transition: transform 0.3s ease;
}

.infographic-preview-frame:hover img {
  transform: translateY(-30px);
}

.infographic-expand-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(6, 19, 14, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 12. Live Demo CTA Card */
.live-demo-section {
  padding: 80px 0;
}

.demo-callout-card {
  background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.25) 0%, rgba(6, 19, 14, 0.95) 70%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(16, 185, 129, 0.2);
}

.demo-callout-title {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: #ffffff;
}

.demo-callout-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 32px;
}

.demo-callout-link-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: monospace;
  font-size: 1.05rem;
  color: var(--primary-light);
  margin-bottom: 30px;
  direction: ltr;
}

/* 13. FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--border-medium);
  background-color: var(--bg-surface-elevated);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
  gap: 14px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-light);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* 14. Footer */
.main-footer {
  background-color: #030c09;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}

/* 15. Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(3, 10, 8, 0.92);
  backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.lightbox-img-wrap {
  flex-grow: 1;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #020705;
  padding: 10px;
}

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

.lightbox-bar {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
}

.lightbox-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.lightbox-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lightbox-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.lightbox-btn:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

/* 16. Floating Action Button (FAB) */
.floating-demo-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
  transition: var(--transition);
  animation: float-pulse 3s infinite ease-in-out;
}

.floating-demo-fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.6);
}

@keyframes float-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* 17. Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-badge-pill {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust-list {
    justify-content: center;
  }
  .views-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .infographic-banner-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: calc(var(--header-height) + var(--topbar-height));
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height) - var(--topbar-height));
    background-color: var(--bg-surface);
    border-left: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.active {
    right: 0;
  }
  .menu-toggle {
    display: flex;
  }
  .views-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .demo-callout-title {
    font-size: 1.8rem;
  }
  .top-bar-right {
    display: none;
  }
  .top-bar .container {
    justify-content: center;
  }
}
