/* ==========================================================================
   Flowmotions.io - Enterprise Design System (Inspired by Ivanti.com)
   Clean, authoritative, high-contrast enterprise design with real product screenshots
   ========================================================================== */

:root {
  /* Brand Accents (Flowmotions meets Ivanti Authority) */
  --brand-red: #E63946;
  --brand-orange: #FF7A00;
  --brand-amber: #FFB703;
  --brand-emerald: #059669;
  --brand-blue: #0284C7;
  --brand-indigo: #4F46E5;
  --brand-purple: #7C3AED;

  /* Neutral Light & Enterprise Palette */
  --dark-hero: #F8FAFC;
  --dark-surface: #FFFFFF;
  --dark-card: #FFFFFF;
  --dark-border: #E2E8F0;
  --dark-text: #0F172A;
  --dark-muted: #64748B;

  /* Light Theme / Neutral Base */
  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-sand: #F4F4F6;
  --bg-card: #FFFFFF;
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;

  /* Typography Colors */
  --text-title: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Gradients */
  --grad-hero: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 50%, #FFFFFF 100%);
  --grad-accent: linear-gradient(135deg, #FF4D4D 0%, #FF7A00 100%);
  --grad-blue: linear-gradient(135deg, #0284C7 0%, #00C49F 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px -4px rgba(15, 23, 42, 0.14);
  --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.22);
  --shadow-glow: 0 0 40px rgba(255, 122, 0, 0.2);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.announcement-bar {
  background: #F8FAFC;
  color: var(--text-body);
  font-size: 0.825rem;
  padding: 10px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.announcement-bar strong {
  color: var(--brand-orange);
}

.announcement-bar a {
  color: var(--brand-orange);
  text-decoration: underline;
  margin-left: 6px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.logo-brand img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.935rem;
  font-weight: 600;
  color: var(--text-title);
  padding: 8px 0;
  position: relative;
}

.nav-link:hover {
  color: var(--brand-orange);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-orange);
  transition: width var(--transition-fast);
}

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

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

.lang-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.935rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-orange);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

.btn-primary:hover {
  background: #E86E00;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 122, 0, 0.4);
}

.btn-secondary {
  background: var(--bg-subtle);
  color: var(--text-title);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: #FFFFFF;
  border-color: var(--border-medium);
}

.btn-ghost {
  background: transparent;
  color: var(--text-title);
}

.btn-ghost:hover {
  color: var(--brand-orange);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  color: var(--text-title);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 60%, #FFFFFF 100%);
  color: var(--text-title);
  position: relative;
  overflow: hidden;
  padding: 80px 0 90px;
  border-bottom: 1px solid var(--border-light);
}

.hero-bg-glow {
  position: absolute;
  top: -15%;
  right: -8%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.09) 0%, rgba(2, 132, 199, 0.05) 45%, transparent 70%);
  pointer-events: none;
}

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

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-orange);
  margin-bottom: 16px;
}

.eyebrow-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--brand-orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand-orange);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-title);
}

.hero-title .highlight {
  color: var(--brand-orange);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-meta-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

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

/* Hero Live Telemetry Stat Grid */
.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.stat-card:hover {
  background: #FFFFFF;
  border-color: var(--brand-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.stat-icon {
  font-size: 1.25rem;
}

.stat-badge {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.badge-green { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.badge-orange { background: #FFF7ED; color: #EA580C; border: 1px solid #FED7AA; }
.badge-blue { background: #EFF6FF; color: #0284C7; border: 1px solid #BAE6FD; }
.badge-red { background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; }

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-body);
}

.stat-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   Trust / Logo Ticker (Ivanti Image Flipper Style)
   ========================================================================== */
.trust-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 36px 0;
}

.trust-heading {
  text-align: center;
  font-size: 0.825rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.trust-logos-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-client {
  font-size: 1.15rem;
  font-weight: 800;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.trust-client:hover {
  color: var(--text-title);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

/* ==========================================================================
   Interactive Screenshot Media Switcher (Ivanti AHCLayoutMediaToggle)
   ========================================================================== */
.media-toggle-section {
  padding: 90px 0;
  background: var(--bg-sand);
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.eyebrow-center {
  font-size: 0.825rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-orange);
  margin-bottom: 10px;
}

.section-main-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Tab Bar */
.media-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  background: #FFFFFF;
  padding: 8px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}

.media-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  transition: all var(--transition-fast);
}

.media-tab-btn:hover {
  color: var(--text-title);
  background: var(--bg-subtle);
}

.media-tab-btn.active {
  background: var(--brand-orange);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.35);
}

.media-tab-btn .tab-icon {
  font-size: 1.1rem;
}

/* Media Showcase Box */
.showcase-card {
  display: none;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: fadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-card.active {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

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

.showcase-narrative {
  padding: 48px;
}

.showcase-tag {
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 12px;
}

.showcase-narrative h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.25;
  margin-bottom: 16px;
}

.showcase-narrative p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 24px;
}

.showcase-highlights {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-body);
  font-weight: 500;
}

.showcase-highlights li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand-emerald);
}

/* Framed Screenshot Window */
.screenshot-frame {
  padding: 32px 32px 32px 0;
  position: relative;
}

.window-mockup {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--border-medium);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.window-mockup:hover {
  transform: scale(1.015);
  box-shadow: 0 20px 48px -6px rgba(15, 23, 42, 0.18);
}

.window-topbar {
  background: #F1F5F9;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
}

.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-url-bar {
  flex: 1;
  background: #FFFFFF;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-emerald);
}

.screenshot-container {
  position: relative;
  background: #FFFFFF;
}

.screenshot-container img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-overlay-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* ==========================================================================
   Full Product Screen Deep Dives (Always Visible Walkthrough)
   ========================================================================== */
.deepdive-section {
  padding: 100px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
}

.deepdive-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
  padding-bottom: 90px;
  border-bottom: 1px solid var(--border-light);
}

.deepdive-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.deepdive-row.reversed {
  grid-template-columns: 1.15fr 1fr;
}

.deepdive-row.reversed .deepdive-text {
  order: 2;
}

.deepdive-row.reversed .screenshot-frame {
  order: 1;
}

.deepdive-text {
  display: flex;
  flex-direction: column;
}

.deepdive-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 122, 0, 0.1);
  color: var(--brand-orange);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 122, 0, 0.2);
}

.deepdive-text h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.deepdive-text p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.deepdive-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.deepdive-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-title);
}

.deepdive-features li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand-emerald);
}

/* ==========================================================================
   Bento Grid Section (Ivanti Neurons Foundation)
   ========================================================================== */
.bento-section {
  padding: 100px 0;
  background: #FFFFFF;
}

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

.bento-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  background: #FFFFFF;
  border-color: var(--brand-orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bento-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.bento-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 12px;
}

.bento-card p {
  font-size: 0.975rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
}

.bento-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.bento-link:hover {
  gap: 10px;
}

/* ==========================================================================
   Product Screen Deep Dives (Alternating Rows)
   ========================================================================== */
.deepdive-section {
  padding: 100px 0;
  background: var(--bg-page);
  border-top: 1px solid var(--border-light);
}

.deepdive-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 90px;
}

.deepdive-row:last-child {
  margin-bottom: 0;
}

.deepdive-row.reversed {
  direction: rtl;
}

.deepdive-row.reversed > * {
  direction: ltr;
}

.deepdive-text {
  max-width: 520px;
}

.deepdive-pill {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 122, 0, 0.1);
  color: var(--brand-orange);
  margin-bottom: 14px;
}

.deepdive-text h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.2;
  margin-bottom: 18px;
}

.deepdive-text p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 24px;
}

.deepdive-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deepdive-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-title);
}

.deepdive-features li svg {
  color: var(--brand-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Comparative Grid (Why Flowmotions vs Legacy)
   ========================================================================== */
.compare-section {
  padding: 100px 0;
  background: var(--bg-sand);
}

.compare-table-wrap {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th, .compare-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.compare-table th {
  background: var(--bg-subtle);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--text-title);
  text-transform: uppercase;
}

.compare-table th.highlight-col, .compare-table td.highlight-col {
  background: rgba(255, 122, 0, 0.04);
  font-weight: 700;
  color: var(--text-title);
  border-left: 2px solid var(--brand-orange);
  border-right: 2px solid var(--brand-orange);
}

.compare-check {
  color: var(--brand-emerald);
  font-weight: 700;
}

.compare-cross {
  color: #DC2626;
  font-weight: 600;
}

/* ==========================================================================
   G2 Badges & Peer Proof (Ivanti Style)
   ========================================================================== */
.g2-section {
  padding: 90px 0;
  background: #FFFFFF;
}

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

.g2-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.g2-stars {
  color: #F59E0B;
  font-size: 1.15rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.g2-quote {
  font-size: 0.975rem;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.g2-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.g2-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--dark-hero);
  color: #FFFFFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.g2-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-title);
}

.g2-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Enterprise Security & Data Governance
   ========================================================================== */
.compliance-section {
  padding: 100px 0;
  background: #F8FAFC;
  color: var(--text-body);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.compliance-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-title);
}

.compliance-content p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 30px;
}

.compliance-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.compliance-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.compliance-box:hover {
  border-color: var(--brand-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.compliance-box-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.compliance-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 6px;
}

.compliance-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background: var(--bg-sand);
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 22px 28px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-title);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  gap: 16px;
}

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

.faq-chevron {
  font-size: 1.15rem;
  color: var(--brand-orange);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 28px 24px 28px;
  font-size: 0.965rem;
  color: var(--text-body);
  line-height: 1.7;
}

.faq-answer strong {
  color: var(--text-title);
}

/* ==========================================================================
   Comprehensive Capabilities & Features Grid
   ========================================================================== */
.capabilities-section {
  padding: 100px 0;
  background: #F8FAFC;
  color: var(--text-body);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.capability-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.capability-card:hover {
  border-color: var(--brand-orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.capability-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.capability-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.capability-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: #F1F5F9;
  color: var(--text-muted);
}

.capability-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 8px;
  line-height: 1.3;
}

.capability-card p {
  font-size: 0.865rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   Final Conversion Banner
   ========================================================================== */
.cta-banner-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #FF4D4D 0%, #FF7A00 100%);
  color: #FFFFFF;
  text-align: center;
}

.cta-banner-box h2 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-banner-box p {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 32px;
  opacity: 0.95;
  line-height: 1.6;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-white {
  background: #FFFFFF;
  color: var(--brand-orange);
  font-weight: 800;
}

.btn-white:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-dark {
  background: #0F172A;
  color: #FFFFFF;
}

.btn-dark:hover {
  background: #1E293B;
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #F8FAFC;
  color: var(--text-body);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-title);
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--brand-orange);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a,
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
  transition: all var(--transition-fast);
}

.footer-links li a:hover,
.footer-col a:hover {
  color: var(--brand-orange);
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links,
.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a,
.footer-bottom-links a {
  color: var(--text-muted);
}

.footer-legal-links a:hover,
.footer-bottom-links a:hover {
  color: var(--brand-orange);
}

/* ==========================================================================
   Screenshot Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.lightbox-content {
  position: relative;
  max-width: 1200px;
  width: 100%;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.25);
  overflow: hidden;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--brand-red);
}

/* ==========================================================================
   Book Demo Modal
   ========================================================================== */
.demo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.modal-dialog-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--text-muted);
  background: none;
}

.modal-dialog-close:hover {
  color: var(--text-title);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 6px;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-size: 0.925rem;
  font-family: inherit;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.75rem; }
  .showcase-card.active { grid-template-columns: 1fr; }
  .screenshot-frame { padding: 0 32px 32px 32px; }
  .deepdive-row { grid-template-columns: 1fr; gap: 40px; }
  .deepdive-row.reversed { direction: ltr; }
  .compliance-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .g2-grid { grid-template-columns: 1fr; }
  .directory-grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-light);
    gap: 16px;
  }
  .mobile-menu-toggle { display: block; }
  .hero-title { font-size: 2.2rem; }
  .hero-stat-grid { grid-template-columns: 1fr; }
  .media-tabs { border-radius: var(--radius-lg); }
  .media-tab-btn { width: 100%; justify-content: center; }
  .showcase-narrative { padding: 24px; }
  .screenshot-frame { padding: 0 16px 24px 16px; }
  .directory-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Language Switcher Badge
   ========================================================================== */
.lang-switch-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-title);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
  background: var(--bg-subtle);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.lang-switch-badge:hover {
  background: #FFFFFF;
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.lang-switch-badge .globe-icon {
  font-size: 0.95rem;
}

/* ==========================================================================
   Full RTL & Arabic Localization Engine
   ========================================================================== */
html[dir="rtl"],
body[dir="rtl"] {
  font-family: 'Cairo', 'Tajawal', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .announcement-bar {
  direction: rtl;
}

[dir="rtl"] .header-actions {
  flex-direction: row;
}

[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .hero-meta-strip {
  justify-content: flex-start;
}

[dir="rtl"] .eyebrow-tag::before {
  margin-right: 0;
  margin-left: 8px;
}

[dir="rtl"] .hero-meta-item svg,
[dir="rtl"] .showcase-highlights li svg,
[dir="rtl"] .deepdive-features li svg {
  transform: scaleX(-1);
}

[dir="rtl"] .showcase-card.active {
  grid-template-columns: 0.9fr 1.1fr;
}

[dir="rtl"] .screenshot-frame {
  padding: 32px 0 32px 32px;
}

[dir="rtl"] .deepdive-row {
  grid-template-columns: 1fr 1.15fr;
}

[dir="rtl"] .deepdive-row.reversed {
  grid-template-columns: 1.15fr 1fr;
}

[dir="rtl"] .window-topbar {
  flex-direction: row-reverse;
}

[dir="rtl"] .window-dots {
  flex-direction: row;
}

[dir="rtl"] .screenshot-overlay-hint {
  right: auto;
  left: 12px;
}

[dir="rtl"] .faq-chevron {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .modal-dialog-close {
  right: auto;
  left: 20px;
}

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

[dir="rtl"] .form-input,
[dir="rtl"] .form-select,
[dir="rtl"] textarea {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] .footer-col h4::after {
  left: auto;
  right: 0;
}

@media (max-width: 1024px) {
  [dir="rtl"] .showcase-card.active {
    grid-template-columns: 1fr;
  }
  [dir="rtl"] .screenshot-frame {
    padding: 0 32px 32px 32px;
  }
}

