@font-face {
  font-family: 'Almarai';
  src: url('../fonts/Almarai-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Almarai';
  src: url('../fonts/Almarai-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Almarai';
  src: url('../fonts/Almarai-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Almarai';
  src: url('../fonts/Almarai-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-deep: #060913;
  --bg-surface: #0c1222;
  --bg-card: rgba(17, 25, 44, 0.72);
  --bg-card-hover: rgba(23, 34, 60, 0.88);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-glow: rgba(20, 184, 166, 0.42);
  --brand-teal: #14b8a6;
  --brand-teal-dark: #0f766e;
  --brand-purple: #8b5cf6;
  --brand-zakhm: #723792;
  --brand-amber: #f59e0b;
  --brand-emerald: #10b981;
  --brand-rose: #f43f5e;
  --shadow-lg: 0 24px 60px -15px rgba(0, 0, 0, 0.65);
  --radius-xl: 20px;
  --radius-2xl: 28px;
}

[data-theme="light"] {
  --bg-deep: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-subtle: rgba(15, 23, 42, 0.1);
  --border-glow: rgba(13, 148, 136, 0.35);
  --shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Almarai', 'Cairo', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Ambient Mesh & Grid Background */
.ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.28;
  animation: floatOrb 16s ease-in-out infinite alternate;
}

[data-theme="light"] .ambient-orb {
  opacity: 0.14;
}

.ambient-orb--teal {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #14b8a6 0%, transparent 70%);
  top: -120px;
  right: -100px;
}

.ambient-orb--zakhm {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, #723792 0%, #4f46e5 55%, transparent 75%);
  top: 22%;
  left: -180px;
  animation-delay: -5s;
}

.ambient-orb--emerald {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, #0d9488 0%, transparent 70%);
  bottom: 8%;
  right: 10%;
  animation-delay: -9s;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 35%, transparent 100%);
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -35px) scale(1.08); }
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Navbar */
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(6, 9, 19, 0.75);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

[data-theme="light"] .site-navbar {
  background: rgba(255, 255, 255, 0.85);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.25rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 8px 20px -4px rgba(114, 55, 146, 0.5);
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: block;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-teal);
  display: block;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--brand-teal);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.35rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary {
  background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px -8px rgba(20, 184, 166, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -8px rgba(20, 184, 166, 0.75);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--brand-teal);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.02rem;
  border-radius: 14px;
}

/* Hero Section */
.hero {
  padding-top: 4.5rem;
  padding-bottom: 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.35);
  color: #2dd4bf;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

[data-theme="light"] .hero-badge {
  color: #0f766e;
  background: rgba(13, 148, 136, 0.1);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.85rem);
  font-weight: 800;
  line-height: 1.22;
  max-width: 960px;
  margin-inline: auto;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #2dd4bf 0%, #38bdf8 48%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #0f766e 0%, #0284c7 50%, #723792 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: var(--text-secondary);
  max-width: 790px;
  margin: 1.35rem auto 2.25rem;
  font-weight: 400;
}

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

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.pillar-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.pillar-pill svg {
  color: var(--brand-teal);
  flex-shrink: 0;
}

/* Browser Frame Mockup */
.hero-browser-wrap {
  position: relative;
  max-width: 1160px;
  margin-inline: auto;
  perspective: 1400px;
}

.browser-frame {
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-lg), 0 0 80px -20px rgba(20, 184, 166, 0.35);
  overflow: hidden;
  transition: transform 0.4s ease;
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  font-size: 0.78rem;
}

.browser-dots {
  display: flex;
  gap: 0.45rem;
}

.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #f43f5e; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }

.browser-url {
  background: rgba(30, 41, 59, 0.8);
  padding: 0.28rem 1.1rem;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  direction: ltr;
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.browser-screen {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

/* Floating Live Toast on Hero */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(20, 184, 166, 0.45);
  color: #f8fafc;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
  z-index: 4;
  text-align: right;
  animation: floatCard 5s ease-in-out infinite alternate;
}

.floating-badge--right {
  top: 14%;
  right: -22px;
}

.floating-badge--left {
  bottom: 12%;
  left: -22px;
  animation-delay: -2.5s;
}

@keyframes floatCard {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* Section Headers */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand-teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.25);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.9rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Interactive ZKTeco Simulator */
.sim-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .sim-grid {
    grid-template-columns: 380px 1fr;
  }
}

.sim-device-card {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(19, 78, 74, 0.35));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f8fafc;
  box-shadow: var(--shadow-lg);
}

.zk-terminal {
  background: #090d16;
  border: 2px solid #1e293b;
  border-radius: 18px;
  padding: 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 1.25rem 0;
}

.zk-screen-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #38bdf8;
  font-family: ui-monospace, monospace;
  margin-bottom: 0.85rem;
}

.zk-scanner-ring {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0.5rem auto 1rem;
  border: 2px dashed rgba(20, 184, 166, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2dd4bf;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.18), transparent 70%);
  transition: all 0.35s ease;
}

.zk-terminal.is-scanning .zk-scanner-ring {
  transform: scale(1.1);
  border-color: #10b981;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.38), transparent 70%);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.sim-feed-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.pipe-step {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

[data-theme="light"] .pipe-step {
  background: #f1f5f9;
}

.pipe-step.is-active {
  border-color: var(--brand-teal);
  background: rgba(20, 184, 166, 0.14);
  transform: translateY(-2px);
}

.pipe-step-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-teal);
  display: block;
}

.pipe-step-title {
  font-size: 0.88rem;
  font-weight: 800;
  margin-top: 0.2rem;
}

.sim-log-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.sim-log-table th {
  text-align: start;
  padding: 0.7rem 0.85rem;
  background: rgba(15, 23, 42, 0.55);
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 800;
}

[data-theme="light"] .sim-log-table th {
  background: #e2e8f0;
  color: #334155;
}

.sim-log-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sim-row-new {
  animation: highlightRow 1.8s ease;
}

@keyframes highlightRow {
  0% { background-color: rgba(16, 185, 129, 0.28); }
  100% { background-color: transparent; }
}

/* Interactive Screenshot Tabs */
.showcase-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.22s ease;
}

.tab-btn:hover {
  color: var(--text-primary);
  border-color: rgba(20, 184, 166, 0.4);
}

.tab-btn.is-active {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 25px -6px rgba(13, 148, 136, 0.55);
}

.showcase-stage {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.showcase-panel {
  display: none;
  animation: fadeSlide 0.35s ease;
}

.showcase-panel.is-active {
  display: block;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0.5rem 0;
}

.panel-title {
  font-size: 1.3rem;
  font-weight: 800;
}

.panel-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-top: 0.2rem;
}

.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-badge {
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(20, 184, 166, 0.14);
  color: #2dd4bf;
  border: 1px solid rgba(20, 184, 166, 0.3);
}

[data-theme="light"] .tag-badge {
  color: #0f766e;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.35rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.85rem;
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-lg);
}

.bento-span-7 { grid-column: span 1; }
.bento-span-5 { grid-column: span 1; }
.bento-span-4 { grid-column: span 1; }
.bento-span-6 { grid-column: span 1; }

@media (min-width: 1024px) {
  .bento-span-7 { grid-column: span 7; }
  .bento-span-5 { grid-column: span 5; }
  .bento-span-4 { grid-column: span 4; }
  .bento-span-6 { grid-column: span 6; }
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  background: rgba(20, 184, 166, 0.14);
  color: #2dd4bf;
}

[data-theme="light"] .bento-icon {
  color: #0f766e;
}

.bento-icon--purple {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
}

[data-theme="light"] .bento-icon--purple {
  color: #6d28d9;
}

.bento-icon--amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

[data-theme="light"] .bento-icon--amber {
  color: #d97706;
}

.bento-icon--rose {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
}

[data-theme="light"] .bento-icon--rose {
  color: #e11d48;
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.bento-text {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.bento-list {
  list-style: none;
  margin-top: 1.15rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.bento-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bento-list li::before {
  content: "✓";
  color: var(--brand-teal);
  font-weight: 800;
}

/* Custom Brand Live Picker Section */
.customizer-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-2xl);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .customizer-box {
    grid-template-columns: 1fr 1.15fr;
  }
}

.swatch-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.swatch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.swatch-btn.is-active {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.3);
}

.swatch-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.preview-mini-shell {
  border-radius: 18px;
  background: #f8fafc;
  color: #0f172a;
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.45);
}

.preview-mini-hero {
  border-radius: 12px;
  padding: 1.15rem 1.35rem;
  color: #ffffff;
  background: var(--preview-primary, #0f766e);
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.preview-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.preview-mini-card {
  border-radius: 10px;
  padding: 0.85rem;
  color: #fff;
  font-weight: 800;
}

/* Comparison Table */
.compare-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.compare-table th,
.compare-table td {
  padding: 1.1rem 1.35rem;
  text-align: start;
  border-bottom: 1px solid var(--border-subtle);
}

.compare-table thead th {
  font-size: 0.95rem;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.55);
}

[data-theme="light"] .compare-table thead th {
  background: #f1f5f9;
}

.compare-highlight {
  color: #2dd4bf;
  font-weight: 800;
}

[data-theme="light"] .compare-highlight {
  color: #0f766e;
}

/* FAQ Accordion */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
}

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

.faq-item summary {
  padding: 1.2rem 1.4rem;
  font-weight: 800;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 1.4rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2.5rem;
  background: rgba(6, 9, 19, 0.6);
}

[data-theme="light"] .site-footer {
  background: #f1f5f9;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 9, 19, 0.92);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.lightbox-Modal-img {
  max-width: 95vw;
  max-height: 88vh;
  border-radius: 16px;
  border: 1px solid var(--border-glow);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 0.55rem 1rem;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links,
  .floating-badge {
    display: none;
  }
  .pipeline-steps {
    grid-template-columns: 1fr;
  }
}
