:root {
  --bg-color: #ebedf2;
  --bg-surface: #ffffff;
  --bg-dark: #1b223c;
  --text-primary: #151b2d;
  --text-secondary: #5e6b82;
  --text-muted: #9aa7bc;

  /* Brand Accent Colors */
  --accent-cyan: #3cd0f2;
  --accent-cyan-hover: #1dbedd;
  --accent-blue: #0066ff;

  --border-color: rgba(21, 27, 45, 0.08);
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-arabic: 'Cairo', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 20px 40px rgba(21, 27, 45, 0.06);
  --shadow-lg: 0 30px 60px rgba(21, 27, 45, 0.1);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.5;
}

/* Arabic font override */
[dir="rtl"] body,
[dir="rtl"] {
  font-family: var(--font-arabic);
}

/* Page Frame Grid */
.page-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  background-color: #f7f9fc;
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

/* Grid lines overlay */
.grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.grid-line {
  border-right: 1px solid var(--border-color);
  height: 100%;
}

.grid-line:last-child {
  border-right: none;
}

/* Header & Nav */
header.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 10;
}

nav {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--text-primary);
}

[dir="rtl"] .logo {
  letter-spacing: 0;
}

.logo svg {
  fill: var(--accent-cyan);
}

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

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover,
.nav-menu li.active a {
  color: var(--text-primary);
}

.nav-menu li.active a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
}

[dir="rtl"] .nav-menu li.active a::after {
  left: auto;
  right: 0;
}

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

.btn-consult {
  background: var(--accent-cyan);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-consult:hover {
  background: var(--accent-cyan-hover);
  transform: translateY(-1px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--text-primary);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(21, 27, 45, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
}

.lang-btn {
  background: none;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  transition: var(--transition);
  font-family: inherit;
  line-height: 1.2;
}

.lang-btn.active {
  background: var(--accent-cyan);
  color: #fff;
}

.lang-btn:hover:not(.active) {
  color: var(--text-primary);
}

.lang-divider {
  color: var(--border-color);
  font-size: 0.85rem;
  user-select: none;
}

/* Page content block */
.content-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Hero Section Layout */
.hero-container {
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 1.5rem;
}

.hero-badge {
  font-size: 1.1rem;
  font-weight: 700;
  color: #5d6e9f;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

[dir="rtl"] .hero-badge {
  letter-spacing: 0;
}

.hero-title {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

[dir="rtl"] .hero-title {
  font-size: 4rem;
  letter-spacing: 0;
  line-height: 1.2;
}

.hero-desc-box {
  border-left: 2px solid #5d6e9f;
  padding-left: 1.5rem;
  margin-bottom: 3rem;
  max-width: 500px;
}

[dir="rtl"] .hero-desc-box {
  border-left: none;
  border-right: 2px solid #5d6e9f;
  padding-left: 0;
  padding-right: 1.5rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

[dir="rtl"] .hero-desc {
  line-height: 1.8;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-cyan);
  color: #fff;
  border: none;
  padding: 1.1rem 2.2rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  align-self: flex-start;
  box-shadow: 0 10px 25px rgba(60, 208, 242, 0.2);
  transition: var(--transition);
  margin-bottom: 4rem;
}

[dir="rtl"] .hero-cta-btn {
  align-self: flex-start;
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-cta-btn svg {
  transform: scaleX(-1);
}

.hero-cta-btn:hover {
  background: var(--accent-cyan-hover);
  box-shadow: 0 15px 30px rgba(60, 208, 242, 0.4);
  transform: translateY(-2px);
}

/* Mobile App Feature Card */
.mobile-app-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: auto;
}

.app-scanner-mockup {
  width: 140px;
  height: 250px;
  background: var(--bg-dark);
  border: 4px solid #323d54;
  border-radius: 20px;
  padding: 0.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}

.scanner-screen {
  background: #fff;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
}

.scanner-title {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.25rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

[dir="rtl"] .scanner-title {
  text-transform: none;
  font-size: 0.65rem;
}

.scanner-gauge {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 5px solid var(--border-color);
  border-top-color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.app-card-info {
  max-width: 260px;
}

.app-card-info h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.app-card-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

[dir="rtl"] .app-card-info p {
  line-height: 1.8;
}

.app-platforms {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.app-platforms span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.app-platforms svg {
  fill: currentColor;
}

/* Hero Right: Bento Interactive Layout */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Central Worker Portrait Card */
.operator-card {
  width: 540px;
  height: 310px;
  background: var(--bg-surface);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  position: relative;
  top: -20px;
  overflow: hidden;
  z-index: 1;
}

.operator-img-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.operator-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Floating Bento Card A: Chamber Details (Top Left) */
.bento-card-a {
  position: absolute;
  top: -10px;
  left: -60px;
  width: 240px;
  background: var(--bg-surface);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

[dir="rtl"] .bento-card-a {
  left: auto;
  right: -60px;
}

.card-a-header {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-blue);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

[dir="rtl"] .card-a-header {
  letter-spacing: 0;
  font-size: 0.85rem;
}

.card-a-header::before {
  content: '';
  width: 3px;
  height: 12px;
  background: var(--accent-blue);
  border-radius: 2px;
  flex-shrink: 0;
}

.card-a-detail {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

[dir="rtl"] .card-a-detail {
  font-size: 0.8rem;
}

/* Floating Bento Card B: Active Chambers (Top Right) */
.bento-card-b {
  position: absolute;
  top: 40px;
  right: -50px;
  width: 130px;
  background: var(--bg-surface);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 5;
}

[dir="rtl"] .bento-card-b {
  right: auto;
  left: -50px;
}

.bento-card-b .card-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.2;
}

[dir="rtl"] .bento-card-b .card-label {
  font-size: 0.8rem;
  line-height: 1.5;
}

.bento-card-b .card-value {
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 0.5rem;
  color: var(--text-primary);
}

.icon-box {
  width: 36px;
  height: 36px;
  background: #f0f4ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--accent-blue);
}

/* Floating Bento Card D: Chamber Health (Bottom Center) */
.bento-card-d {
  position: absolute;
  bottom: -30px;
  left: 20px;
  width: 140px;
  background: #c3f2fd;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 5;
  color: #0b2e37;
  display: flex;
  flex-direction: column;
}

[dir="rtl"] .bento-card-d {
  left: auto;
  right: 20px;
}

.bento-card-d .card-label {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
}

[dir="rtl"] .bento-card-d .card-label {
  line-height: 1.5;
}

.bento-card-d .card-value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.bento-card-d .arrow-link {
  align-self: flex-start;
  color: #0b2e37;
  font-size: 1rem;
}

[dir="rtl"] .bento-card-d .arrow-link svg {
  transform: scaleX(-1);
}

/* Floating Bento Card E: Ping Telemetry Chart (Bottom Right) */
.bento-card-e {
  position: absolute;
  bottom: -50px;
  right: -60px;
  width: 220px;
  background: var(--bg-dark);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  color: #fff;
  z-index: 5;
}

[dir="rtl"] .bento-card-e {
  right: auto;
  left: -60px;
}

.bento-card-e .card-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.bento-card-e .card-value {
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 0.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.bento-card-e .card-trend {
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 700;
}

/* CSS Bar Chart */
.bento-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 70px;
  margin-top: 1.25rem;
}

.chart-bar {
  width: 14px;
  background: var(--accent-cyan);
  border-radius: 4px 4px 0 0;
  transition: var(--transition);
}

.chart-bar:hover {
  background: #fff;
}

/* Stats Bento Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 5rem 0;
}

.stat-bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.stat-bento-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-bento-card h3 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-bento-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

[dir="rtl"] .stat-bento-card p {
  text-transform: none;
  letter-spacing: 0;
}

/* Bento Sections Title Box */
.section-title-box {
  margin-top: 6rem;
  margin-bottom: 3rem;
  border-left: 3px solid var(--accent-cyan);
  padding-left: 1.5rem;
}

[dir="rtl"] .section-title-box {
  border-left: none;
  border-right: 3px solid var(--accent-cyan);
  padding-left: 0;
  padding-right: 1.5rem;
}

.section-title-box span {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

[dir="rtl"] .section-title-box span {
  text-transform: none;
  letter-spacing: 0;
}

.section-title-box h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-top: 0.25rem;
}

[dir="rtl"] .section-title-box h2 {
  letter-spacing: 0;
}

/* Showcase Rows */
.showcase-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  margin-bottom: 6rem;
  align-items: center;
}

.showcase-row.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.showcase-text h3 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

[dir="rtl"] .showcase-text h3 {
  letter-spacing: 0;
}

.showcase-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

[dir="rtl"] .showcase-desc {
  line-height: 1.8;
}

/* Feature bullets bento style */
.feature-list {
  list-style: none;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.feature-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e6f9fd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.feature-item-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.feature-item-text span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

[dir="rtl"] .feature-item-text span {
  line-height: 1.8;
}

/* Web Browser mockup */
.mock-browser {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  width: 100%;
}

.mock-browser:hover {
  box-shadow: var(--shadow-lg);
}

.browser-bar {
  background: rgba(21, 27, 45, 0.02);
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.browser-dot:nth-child(1) {
  background: #ff5f56;
}

.browser-dot:nth-child(2) {
  background: #ffbd2e;
}

.browser-dot:nth-child(3) {
  background: #27c93f;
}

.browser-url {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(21, 27, 45, 0.04);
  padding: 0.3rem 2rem;
  border-radius: 6px;
  border: 1px solid rgba(21, 27, 45, 0.02);
  font-family: monospace;
}

.browser-content {
  padding: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.metric-box {
  background: rgba(21, 27, 45, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.25rem;
  transition: var(--transition);
}

.metric-box:hover {
  background: rgba(21, 27, 45, 0.03);
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

[dir="rtl"] .metric-label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8rem;
}

.metric-value {
  font-size: 1.45rem;
  font-weight: 800;
  margin-top: 0.3rem;
  color: var(--text-primary);
}

/* How It Works Steps */
.how-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 6rem;
}

.how-col {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.how-col:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.how-step {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
  display: block;
}

[dir="rtl"] .how-step {
  letter-spacing: 0;
  font-size: 0.85rem;
}

.how-col h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.how-col p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

[dir="rtl"] .how-col p {
  line-height: 1.8;
}

/* Downloads Section */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
}

.download-bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.download-bento-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.download-bento-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

[dir="rtl"] .download-bento-card p {
  line-height: 1.8;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  background: #f0f3f8;
  color: var(--text-primary);
  text-decoration: none;
  padding: 1.1rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.download-btn:hover {
  background: var(--accent-cyan);
  color: #fff;
  transform: translateY(-1px);
}

.download-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.download-btn.primary {
  background: var(--accent-cyan);
  color: #fff;
}

.download-btn.primary:hover {
  background: var(--accent-cyan-hover);
}

/* FAQ Bento Grid layout */
.faq-bento-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 8rem;
}

.faq-intro h3 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

[dir="rtl"] .faq-intro h3 {
  letter-spacing: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-card:hover {
  box-shadow: var(--shadow-md);
}

.faq-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.faq-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

[dir="rtl"] .faq-card p {
  line-height: 1.8;
}

/* Footer Section */
footer {
  background: var(--bg-dark);
  color: #fff;
  margin-top: auto;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-color);
}

.footer-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

[dir="rtl"] .footer-col h4 {
  text-transform: none;
  letter-spacing: 0;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

[dir="rtl"] .footer-col p {
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.85rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

[dir="rtl"] .footer-col ul li a:hover {
  padding-left: 0;
  padding-right: 4px;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.1);
}

/* Responsive Grid Overrides */
@media (max-width: 1200px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 6rem;
  }

  .hero-right {
    margin-top: 2rem;
    padding-bottom: 4rem;
  }

  .bento-card-a {
    left: 0px;
  }

  [dir="rtl"] .bento-card-a {
    left: auto;
    right: 0px;
  }

  .bento-card-b {
    right: 0px;
  }

  [dir="rtl"] .bento-card-b {
    right: auto;
    left: 0px;
  }

  .bento-card-e {
    right: 0px;
  }

  [dir="rtl"] .bento-card-e {
    right: auto;
    left: 0px;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-row,
  .showcase-row.reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .showcase-row.reverse .showcase-text {
    order: 1;
  }

  .showcase-row.reverse .mock-browser {
    order: 2;
  }

  .faq-bento-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 992px) {
  .how-section {
    grid-template-columns: 1fr;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  footer .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  [dir="rtl"] .hero-title {
    font-size: 2.8rem;
  }

  .operator-card {
    width: 300px;
    height: 400px;
  }

  .bento-card-a,
  .bento-card-b,
  .bento-card-d,
  .bento-card-e {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 1rem auto;
    width: 100%;
    max-width: 300px;
  }

  .hero-right {
    flex-direction: column;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }
}