/* ==========================================================================
   OFOQ Technologies — Official Design System & Public Stylesheet
   Canonical Design System: Dark Tech Theme / Arabic RTL First + LTR Support
   ========================================================================== */

:root {
  --bg-base: #070b14;
  --bg-surface: #0c1220;
  --bg-card: rgba(14, 21, 37, 0.78);
  --bg-card-hover: rgba(22, 33, 58, 0.88);
  --bg-glass: rgba(255, 255, 255, 0.035);

  --orange: #fc6903;
  --orange-light: #ff7f26;
  --orange-dark: #d65300;
  --orange-glow: rgba(252, 105, 3, 0.32);
  --orange-subtle: rgba(252, 105, 3, 0.12);

  --cyan: #0ea5e9;
  --cyan-glow: rgba(14, 165, 233, 0.3);
  --blue: #2563eb;
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.25);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 50px -10px var(--orange-glow);
  --font-family: 'Tajawal', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background-color: var(--bg-base);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[dir="ltr"] {
  font-family: 'Plus Jakarta Sans', 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

button, input, select, textarea {
  font: inherit;
}

.site-shell {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dir-ltr {
  direction: ltr;
  display: inline-block;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.public-header {
  height: 70px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, border-color 0.3s;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px var(--orange-glow));
}

.brand-names {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-ar {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.2px;
}

.brand-en {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.public-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.public-nav a {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 4px;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}

.public-nav a:hover,
.public-nav a:focus-visible {
  color: #fff;
}

.public-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.public-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--line-strong);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.button-lg {
  padding: 12px 24px;
  font-size: 15px;
  border-radius: 14px;
}

.button-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 24px var(--orange-glow);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 100%);
  box-shadow: 0 12px 30px rgba(252, 105, 3, 0.45);
}

.button-portal {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #38bdf8;
}

.button-portal:hover {
  background: rgba(14, 165, 233, 0.2);
  border-color: #38bdf8;
  color: #fff;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.button-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: #fff;
  backdrop-filter: blur(8px);
}

.button-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--line-strong);
}

.button-outline-glow {
  background: transparent;
  border: 1px solid rgba(252, 105, 3, 0.4);
  color: #fff;
}

.button-outline-glow:hover {
  border-color: var(--orange);
  box-shadow: 0 0 20px var(--orange-glow);
  color: #fff;
}

.button-whatsapp-direct {
  background: #128c7e;
  border: 1px solid #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
}

.button-whatsapp-direct:hover {
  background: #075e54;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.button-light {
  background: #fff;
  color: #070b14;
}

.button-outline, .button-ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
}

.button.disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0 80px;
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.45;
  z-index: 0;
}

.glow-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
  top: -120px;
  right: -80px;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #1d4ed8 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(252, 105, 3, 0.1);
  border: 1px solid rgba(252, 105, 3, 0.25);
  color: var(--orange-light);
  font-size: 13px;
  font-weight: 800;
  width: fit-content;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-copy h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin: 0;
  font-weight: 900;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, var(--orange-light) 70%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
}

/* ==========================================================================
   Futuristic Network Topology Visual
   ========================================================================== */

.hero-visual {
  display: grid;
  place-items: center;
  position: relative;
}


/* ==========================================================================
   Refined Minimalist Corporate Hero & Command Panel
   ========================================================================== */

.hero-refined {
  min-height: calc(85vh - 76px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0 70px;
}

.hero-bg-subtle {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(245, 130, 32, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid-refined {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-parent-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 130, 32, 0.09);
  border: 1px solid rgba(245, 130, 32, 0.28);
  color: #ffaa44;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.2px;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-lead {
  font-size: 1.075rem;
  line-height: 1.85;
  color: #94a3b8;
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-highlights-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlight-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(245, 130, 32, 0.15);
  color: #f58220;
  font-weight: 800;
  font-size: 0.95rem;
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  color: #38bdf8;
}

.highlight-label {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 500;
}

.highlight-sep {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
}

/* Command Panel Replacement */
.hero-command-panel {
  display: flex;
  justify-content: center;
}

.command-card {
  width: 100%;
  max-width: 440px;
  background: rgba(14, 21, 37, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.command-card:hover {
  border-color: rgba(245, 130, 32, 0.3);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 130, 32, 0.1);
}

.command-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.command-card-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #34d399;
  font-weight: 600;
}

.command-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #64748b;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 6px;
}

.command-divisions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.command-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: all 0.22s ease;
}

.command-row:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(-3px);
}

html[dir="ltr"] .command-row:hover {
  transform: translateX(3px);
}

.command-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.command-icon-box.icon-fiber {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
}

.command-icon-box.icon-security {
  background: rgba(245, 130, 32, 0.15);
  color: #f58220;
}

.command-icon-box.icon-software {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

.command-row-text {
  flex: 1;
  min-width: 0;
}

.command-row-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 2px;
}

.command-row-sub {
  font-size: 0.775rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.command-row-arrow {
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.command-row:hover .command-row-arrow {
  color: #f8fafc;
  transform: translateX(-2px);
}

html[dir="ltr"] .command-row:hover .command-row-arrow {
  transform: translateX(2px);
}

.command-card-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.command-portal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}

.command-portal-link:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.site-section {
  padding: 90px 0;
  position: relative;
}

.section-heading {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 52px;
}

.section-heading.align-start {
  text-align: start;
  margin-inline: 0;
}

.section-kicker {
  display: inline-block;
  color: var(--orange);
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.22;
  margin: 0 0 16px;
  font-weight: 900;
  color: #fff;
}

.section-heading p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   About & Pillars
   ========================================================================== */

.about-section {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
  border-top: 1px solid var(--line);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  backdrop-filter: blur(14px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(252, 105, 3, 0.4);
  box-shadow: var(--shadow-glow);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--orange-subtle);
  border: 1px solid rgba(252, 105, 3, 0.2);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-size: 18.5px;
  color: #fff;
  margin: 0 0 10px;
  font-weight: 800;
}

.pillar-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   The Three Major Service Divisions
   ========================================================================== */

.divisions-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
}

.division-block {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 44px;
  margin-bottom: 40px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.division-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.5;
}

.division-header {
  margin-bottom: 34px;
  max-width: 780px;
}

.division-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--orange);
}

.div-num {
  background: var(--orange);
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
}

.division-header h3 {
  font-size: clamp(24px, 2.8vw, 34px);
  color: #fff;
  margin: 0 0 12px;
  font-weight: 900;
}

.division-header p {
  font-size: 16.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

.services-subgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-item-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.service-item-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(252, 105, 3, 0.35);
}

.service-item-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(252, 105, 3, 0.1);
  border: 1px solid rgba(252, 105, 3, 0.2);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.service-item-card h4 {
  font-size: 17.5px;
  color: #fff;
  margin: 0 0 8px;
  font-weight: 800;
}

.service-item-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 16px;
  flex-grow: 1;
}

.service-item-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  border: 1px solid var(--line);
}

/* ==========================================================================
   Tech Capabilities Bar
   ========================================================================== */

.tech-stack-strip {
  padding: 30px 0;
  background: #05080f;
  border-block: 1px solid var(--line);
}

.tech-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.tech-strip-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dim);
}

.tech-badges-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tech-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: #e2e8f0;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
}

/* ==========================================================================
   Internet Plans Section
   ========================================================================== */

.plans-section {
  background: var(--bg-base);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.surface-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-card);
  position: relative;
  backdrop-filter: blur(16px);
  transition: transform 0.25s, border-color 0.25s;
}

.plan-card {
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  border: 2px solid var(--orange);
  box-shadow: 0 20px 50px rgba(252, 105, 3, 0.18);
  background: linear-gradient(180deg, rgba(28, 22, 28, 0.85) 0%, rgba(14, 21, 37, 0.95) 100%);
}

.card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--orange);
  color: #fff;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 4px 12px var(--orange-glow);
}

.plan-card-head h3 {
  font-size: 22px;
  color: #fff;
  margin: 0 0 6px;
  font-weight: 800;
}

.plan-speed {
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
  color: var(--orange-light);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 24px 0 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.price-val {
  font-size: 46px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.price-unit {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.price-unit b {
  font-size: 15px;
  color: #fff;
}

.price-unit small {
  font-size: 12px;
  color: var(--text-dim);
}

.plan-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex-grow: 1;
}

.plan-features-list li {
  padding: 8px 24px 8px 0;
  position: relative;
  font-size: 14px;
  color: #e2e8f0;
}

html[dir="ltr"] .plan-features-list li {
  padding: 8px 0 8px 24px;
}

.plan-features-list li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--green);
  font-weight: 900;
}

html[dir="ltr"] .plan-features-list li::before {
  right: auto;
  left: 0;
}

.public-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  color: var(--text-muted);
}

/* ==========================================================================
   Coverage Map Preview
   ========================================================================== */

.coverage-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
}

.coverage-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.coverage-copy h2 {
  font-size: clamp(26px, 3vw, 38px);
  color: #fff;
  margin: 0 0 14px;
}

.coverage-copy p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 24px;
}

.coverage-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.legend-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-item .dot.available { background: var(--green); box-shadow: 0 0 8px var(--green); }
.legend-item .dot.partial { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }
.legend-item .dot.soon { background: #64748b; }

.coverage-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.map-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #0f172a;
}

.map-frame.mini .coverage-map {
  min-height: 380px;
}

/* ==========================================================================
   Why Choose OFOQ
   ========================================================================== */

.why-section {
  background: var(--bg-base);
  border-top: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(252, 105, 3, 0.4);
}

.why-card-num {
  font-size: 13px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 1px;
}

.why-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--orange-subtle);
  border: 1px solid rgba(252, 105, 3, 0.2);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin: 16px 0;
}

.why-card h3 {
  font-size: 18px;
  color: #fff;
  margin: 0 0 10px;
  font-weight: 800;
}

.why-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   Subscriber Portal Spotlight
   ========================================================================== */

.portal-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
}

.portal-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, rgba(14, 21, 37, 0.9) 0%, rgba(20, 32, 57, 0.9) 100%);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.portal-copy h2 {
  font-size: clamp(26px, 3vw, 38px);
  color: #fff;
  margin: 0 0 14px;
}

.portal-copy p {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 24px;
}

.portal-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}

.portal-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #e2e8f0;
}

.portal-feat svg {
  color: #38bdf8;
  flex-shrink: 0;
}

.portal-mockup-frame {
  background: #090e1a;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.mockup-header {
  height: 36px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}

.mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.mockup-dot.r { background: #ef4444; }
.mockup-dot.y { background: #f59e0b; }
.mockup-dot.g { background: #10b981; }

.mockup-url {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-dim);
  direction: ltr;
}

.mockup-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mockup-card-metric {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  position: relative;
}

.mockup-card-metric small {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
}

.mockup-card-metric b {
  font-size: 16px;
  color: #fff;
  display: block;
  margin-top: 4px;
}

.mockup-status {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
}

.mockup-status.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.mockup-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.text-green { color: #34d399; font-weight: 800; }
.text-blue { color: #38bdf8; font-weight: 800; }

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
  background: var(--bg-base);
  border-top: 1px solid var(--line);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-accordion {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-accordion[open] {
  border-color: rgba(252, 105, 3, 0.4);
}

.faq-accordion summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  font-size: 14px;
  color: var(--orange);
  transition: transform 0.2s ease;
}

.faq-accordion[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 24px 22px;
}

.faq-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ==========================================================================
   Service Request & Contact Section
   ========================================================================== */

.request-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
}

.request-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.request-intro h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  color: #fff;
  margin: 0 0 14px;
}

.request-intro p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 28px;
}

.contact-methods-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.contact-channel-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(252, 105, 3, 0.35);
  transform: translateY(-2px);
}

.whatsapp-item {
  border-color: rgba(37, 211, 102, 0.3);
  background: rgba(37, 211, 102, 0.05);
}

.whatsapp-item:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.1);
}

.whatsapp-item .channel-icon {
  color: #25d366;
  background: rgba(37, 211, 102, 0.15);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-subtle);
  color: var(--orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.channel-info {
  display: flex;
  flex-direction: column;
}

.channel-label {
  font-size: 12px;
  color: var(--text-dim);
}

.channel-val {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
}

.support-sub-item .channel-icon {
  background: rgba(14, 165, 233, 0.15);
  color: var(--cyan);
}

.support-sub-item small a {
  color: var(--orange-light);
  font-size: 12px;
  text-decoration: underline;
}

/* Request Form */
.public-form {
  background: rgba(10, 16, 29, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.form-division-tabs {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 5px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.form-tab-btn {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}

.form-tab-btn.active {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 12px var(--orange-glow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
  background: rgba(255, 255, 255, 0.08);
}

.form-grid select option {
  background: #0f172a;
  color: #fff;
}

.form-submit-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.form-privacy-note {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 14px;
}

.form-notice {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.form-notice.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.form-notice.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* ==========================================================================
   Public Footer
   ========================================================================== */

.public-footer {
  background: #04070d;
  border-top: 1px solid var(--line);
  padding: 70px 0 24px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-motto {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  max-width: 320px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.footer-social-links a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social-links a:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.footer-links-col h4,
.footer-contact-col h4 {
  font-size: 16px;
  color: #fff;
  margin: 0 0 18px;
  font-weight: 800;
}

.footer-links-col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links-col a:hover {
  color: var(--orange-light);
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot-detail-item {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 11.5px;
  color: var(--text-dim);
}

.foot-detail-item a {
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
  margin-top: 2px;
}

.foot-detail-item a:hover {
  color: var(--orange-light);
}

.copyright-bar {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 14px;
}

.brand-name-copy {
  color: var(--text-muted);
}

.legal-mini-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.legal-mini-links a {
  color: var(--text-dim);
}

.legal-mini-links a:hover {
  color: var(--orange-light);
}

/* ==========================================================================
   Compatibility & Sub-pages Support
   ========================================================================== */

/* Coverage Page */
.coverage-page {
  background: var(--bg-surface);
  min-height: calc(100vh - 80px);
  padding-bottom: 60px;
}

.coverage-page-head {
  padding: 44px 0 24px;
}

.coverage-page-head h1 {
  font-size: clamp(30px, 4vw, 48px);
  color: #fff;
  margin: 6px 0 10px;
}

.coverage-page-head p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 740px;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.coverage-tool {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}

.coverage-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.coverage-panel h2 {
  font-size: 18px;
  color: #fff;
  margin: 0 0 16px;
}

.coverage-panel label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.coverage-panel select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.coverage-result {
  border-radius: 12px;
  padding: 14px;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.coverage-result.available {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.coverage-result.partial {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.coverage-result.coming_soon {
  background: rgba(100, 116, 139, 0.12);
  border-color: rgba(100, 116, 139, 0.3);
  color: #94a3b8;
}

.map-frame.full .coverage-map {
  min-height: 620px;
}

/* Policy & Data Deletion Pages */
.policy-page {
  background: var(--bg-surface);
  min-height: calc(100vh - 80px);
  padding-bottom: 70px;
}

.policy-hero {
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 28px;
}

.policy-hero-shell {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.policy-hero-main {
  max-width: 780px;
}

.policy-hero-main h1 {
  font-size: clamp(28px, 4.2vw, 42px);
  color: #fff;
  margin: 6px 0 10px;
}

.policy-hero-subtitle {
  display: block;
  font-size: clamp(17px, 2.2vw, 23px);
  color: var(--text-dim);
  font-weight: 700;
  margin-top: 4px;
}

.policy-hero-main p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
}

.policy-meta-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.policy-badge-date {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-muted);
}

.policy-badge-meta {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.policy-badge-en {
  background: var(--orange-subtle);
  color: var(--orange-light);
  border: 1px solid rgba(252, 105, 3, 0.3);
}

.policy-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 36px;
  padding-top: 36px;
  align-items: start;
}

.policy-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.policy-toc-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.policy-toc-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.policy-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100vh - 280px);
  overflow-y: auto;
}

.policy-toc-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: 0.15s;
}

.policy-toc-list a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--orange-light);
}

.policy-toc-list a.active {
  background: var(--orange-subtle);
  color: var(--orange-light);
  font-weight: 800;
}

.policy-side-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.policy-side-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #fff;
}

.policy-side-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.policy-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.policy-card h2 {
  font-size: 21px;
  color: #fff;
  margin: 0 0 16px;
  position: relative;
  padding-right: 16px;
}

html[dir="ltr"] .policy-card h2 {
  padding-right: 0;
  padding-left: 16px;
}

.policy-card h2::before {
  content: '';
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--orange);
}

html[dir="ltr"] .policy-card h2::before {
  right: auto;
  left: 0;
}

.policy-card h3 {
  font-size: 16.5px;
  color: #e2e8f0;
  margin: 24px 0 10px;
}

.policy-card p,
.policy-card ul,
.policy-card ol {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.policy-callout {
  border-right: 4px solid var(--orange);
  background: rgba(252, 105, 3, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
}

html[dir="ltr"] .policy-callout {
  border-right: 0;
  border-left: 4px solid var(--orange);
}

.policy-callout p {
  margin: 0;
  color: #fed7aa;
}

.policy-callout.meta {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.08);
}

.policy-callout.meta p {
  color: #a7f3d0;
}

.policy-table-wrapper {
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.policy-table th {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 800;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.policy-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}

.deletion-step-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.deletion-step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  position: relative;
}

.deletion-step-num {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 24px;
  font-weight: 900;
  color: var(--orange);
  opacity: 0.5;
}

html[dir="ltr"] .deletion-step-num {
  left: auto;
  right: 16px;
}

.policy-contact-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.policy-contact-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.policy-contact-item b {
  display: block;
  color: #fff;
  margin-bottom: 6px;
}

.policy-en-section {
  direction: ltr;
  text-align: left;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1100px) {
  .pillars-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-subgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-copy {
    align-items: center;
  }
  .hero-copy p {
    margin-inline: auto;
  }
  .hero-actions,
  .hero-stats-row {
    justify-content: center;
  }
  .coverage-card,
  .portal-card,
  .faq-layout,
  .request-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .policy-layout {
    grid-template-columns: 1fr;
  }
  .policy-sidebar {
    position: static;
  }
}

@media (max-width: 780px) {
  .public-header {
    height: 70px;
  }
  .brand-parent-phrase {
    display: none !important;
  }
  .button-whatsapp-nav {
    display: none !important;
  }
  .nav-toggle {
    display: flex;
    order: 2;
  }
  .public-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    background: rgba(12, 18, 32, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    flex-direction: column;
    gap: 12px;
    z-index: 999;
  }
  .public-nav.open {
    display: flex;
  }
  .public-nav a {
    padding: 10px 14px;
    font-size: 16px;
    width: 100%;
    border-radius: 8px;
  }
  .public-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
  }
  .nav-cta {
    order: 3;
    gap: 8px;
  }
  .button-portal {
    display: none;
  }
  .division-block {
    padding: 26px 18px;
  }
  .services-subgrid {
    grid-template-columns: 1fr;
  }
  .pillars-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
  .tech-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-submit-row {
    flex-direction: column;
  }
  .form-submit-row .button {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand-col {
    align-items: center;
  }
  .footer-social-links {
    justify-content: center;
  }
  .foot-detail-item {
    align-items: center;
  }
  .copyright-bar {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-shell {
    width: calc(100% - 24px);
  }
  .hero-copy h1 {
    font-size: 30px;
  }
  .hero-copy p {
    font-size: 15.5px;
  }
  .hero-actions .button {
    width: 100%;
  }
  .network-canvas-wrap {
    transform: scale(0.85);
  }
  .coverage-card,
  .portal-card,
  .request-card {
    padding: 24px 16px;
  }
  .public-form {
    padding: 20px 14px;
  }
  .form-division-tabs {
    flex-direction: column;
  }
  .portal-features-grid {
    grid-template-columns: 1fr;
  }
  .policy-contact-box {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   Compact 3 Divisions Overview Cards (Homepage)
   ========================================================================== */

.divisions-compact-section {
  padding: 80px 0 90px;
}

.divisions-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.division-card {
  position: relative;
  background: rgba(14, 21, 37, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.division-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.card-internet:hover {
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(14, 165, 233, 0.12);
}

.card-networks:hover {
  border-color: rgba(245, 130, 32, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(245, 130, 32, 0.12);
}

.card-software:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(139, 92, 246, 0.12);
}

.division-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.division-badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
}

.division-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.icon-cyan {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
}

.icon-amber {
  background: rgba(245, 130, 32, 0.15);
  color: #f58220;
}

.icon-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

.division-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 12px;
}

.division-card-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #94a3b8;
  margin-bottom: 24px;
  flex: 1;
}

.division-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 18px;
}

.division-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.division-features-list li svg {
  color: #34d399;
  flex-shrink: 0;
}

.division-card-action {
  margin-top: auto;
}

/* ==========================================================================
   Division Pages & Subnav
   ========================================================================== */

.division-subnav-bar {
  position: sticky;
  top: 76px;
  z-index: 95;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
}

.division-subnav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.division-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.division-breadcrumb a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.division-breadcrumb a:hover {
  color: #f58220;
}

.crumb-current {
  color: #f8fafc;
  font-weight: 700;
}

.division-subnav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  white-space: nowrap;
}

.division-subnav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 6px 10px;
  border-radius: 6px;
}

.division-subnav-links a:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.05);
}

.subnav-cta-btn {
  background: rgba(245, 130, 32, 0.15) !important;
  color: #ffaa44 !important;
  border: 1px solid rgba(245, 130, 32, 0.35) !important;
}

.subnav-cta-btn:hover {
  background: #f58220 !important;
  color: #ffffff !important;
}

/* Division Hero */
.division-hero {
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-internet-theme {
  background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 60%);
}

.hero-networks-theme {
  background: radial-gradient(circle at 80% 20%, rgba(245, 130, 32, 0.1) 0%, transparent 60%);
}

.hero-software-theme {
  background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
}

.division-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.division-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #38bdf8;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.badge-amber {
  background: rgba(245, 130, 32, 0.1);
  border-color: rgba(245, 130, 32, 0.3);
  color: #ffaa44;
}

.badge-purple {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
}

.dot-amber {
  background: #f58220 !important;
  box-shadow: 0 0 10px rgba(245, 130, 32, 0.9) !important;
}

.dot-purple {
  background: #8b5cf6 !important;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.9) !important;
}

.division-hero-title {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 18px;
}

.division-hero-lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #94a3b8;
  max-width: 600px;
  margin-bottom: 28px;
}

.division-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.division-hero-feature-card {
  background: rgba(14, 21, 37, 0.85);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-border-amber {
  border-color: rgba(245, 130, 32, 0.25);
}

.card-border-purple {
  border-color: rgba(139, 92, 246, 0.25);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f8fafc;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.feature-card-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.spec-label {
  font-size: 0.8rem;
  color: #94a3b8;
}

.spec-value {
  font-size: 0.825rem;
  font-weight: 700;
  color: #f8fafc;
  text-align: left;
}

/* Detailed Services Grid */
.services-detailed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-detail-card {
  background: rgba(14, 21, 37, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-detail-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.detail-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.service-detail-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 10px;
  line-height: 1.4;
}

.service-detail-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 18px;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.detail-list li {
  font-size: 0.8rem;
  color: #cbd5e1;
  position: relative;
  padding-inline-start: 14px;
}

.detail-list li::before {
  content: "•";
  position: absolute;
  inset-inline-start: 0;
  color: #f58220;
  font-weight: bold;
}

/* Two Column Layout */
.section-two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.section-two-col.col-reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.info-highlight-box {
  background: rgba(14, 21, 37, 0.8);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 18px;
  padding: 32px;
}

.highlight-amber {
  border-color: rgba(245, 130, 32, 0.25);
}

.box-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.info-highlight-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.info-highlight-box p {
  font-size: 0.925rem;
  line-height: 1.75;
  color: #94a3b8;
  margin-bottom: 24px;
}

.feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.check-item svg {
  color: #34d399;
  flex-shrink: 0;
}

/* Support Portal Two Col */
.support-portal-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.support-card {
  background: rgba(14, 21, 37, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 32px;
}

.portal-highlight-card {
  border-color: rgba(245, 130, 32, 0.3);
  background: rgba(14, 21, 37, 0.85);
}

.support-contact-row {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Brand Text Col & Brand Elements in Header */
.brand-text-col {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}

.brand-divider {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
  font-size: 0.95rem;
}

.brand-parent-phrase {
  font-size: 0.68rem;
  color: #ffaa44;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav-link-active {
  color: #f58220 !important;
  font-weight: 700 !important;
  position: relative;
}

.nav-link-active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  inset-inline-start: 10%;
  inset-inline-end: 10%;
  height: 2px;
  background: #f58220;
  border-radius: 2px;
}

/* Footer Parent Badges */
.footer-parent-badge {
  display: inline-block;
  background: rgba(245, 130, 32, 0.12);
  border: 1px solid rgba(245, 130, 32, 0.3);
  color: #ffaa44;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 12px 0 16px;
}

.footer-parent-inline {
  color: #ffaa44;
  font-weight: 600;
}

.footer-contact-wa {
  color: #25d366 !important;
}

.footer-contact-wa:hover {
  text-decoration: underline;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 99;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.floating-tooltip {
  display: none;
}

/* Division Form Wrap */
.division-form-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.section-lead-parent {
  color: #e2e8f0;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.accent-phrase {
  color: #ffaa44;
  font-weight: 700;
}

@media (max-width: 991px) {
  .hero-grid-refined {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-command-panel {
    justify-content: flex-start;
  }
  .command-card {
    max-width: 100%;
  }
  .divisions-cards-grid {
    grid-template-columns: 1fr;
  }
  .division-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .services-detailed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-two-col, .section-two-col.col-reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .support-portal-two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .services-detailed-grid {
    grid-template-columns: 1fr;
  }
  .hero-highlights-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .highlight-sep {
    display: none;
  }
  .division-subnav-links {
    width: 100%;
    padding-bottom: 6px;
  }
}

/* Form Rows */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-actions-row .button {
    width: 100%;
  }
  .hero-parent-badge {
    white-space: normal;
    text-align: center;
    font-size: 0.775rem;
    line-height: 1.4;
  }
}


/* Mobile Navigation & Header Cascade Overrides */
@media (max-width: 780px) {
  .brand-parent-phrase {
    display: none !important;
  }
  .button-whatsapp-nav {
    display: none !important;
  }
  .nav-shell {
    gap: 12px !important;
  }
  .brand {
    max-width: 220px;
    overflow: hidden;
  }
  .brand-logo-wrap {
    gap: 8px;
  }
  .brand-symbol {
    width: 34px !important;
    height: 34px !important;
  }
  .brand-ar {
    font-size: 15px !important;
  }
  .brand-en {
    font-size: 9.5px !important;
  }
}


/* ==========================================================================
   Software Company Redesign - OFOQ Technologies
   ========================================================================== */

.hero-software {
  padding-top: 130px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-container {
  max-width: 960px;
  margin: 0 auto;
}

.hero-software .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-software .hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-top: 22px;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-software .hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.8;
  color: #94a3b8;
  max-width: 760px;
  margin: 0 auto 32px;
}

.hero-tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.tech-pill:hover {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.3);
  color: #ffffff;
}

.tech-pill svg {
  color: #f97316;
}

/* About Us Section Styles */
.about-card-wrapper {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.7) 0%, rgba(10, 15, 29, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 50px 40px;
  backdrop-filter: blur(12px);
}

.about-parent-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 999px;
  margin-top: 14px;
  color: #fed7aa;
  font-size: 0.925rem;
  flex-wrap: wrap;
  justify-content: center;
}

.about-parent-highlight .highlight-parent {
  color: #ffffff;
  font-weight: 700;
}

.about-body {
  max-width: 820px;
  margin: 28px auto 0;
  text-align: center;
}

.about-text {
  font-size: 1.075rem;
  line-height: 1.85;
  color: #94a3b8;
  margin-bottom: 16px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card {
  text-align: center;
  padding: 16px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, #fdba74 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-top: 6px;
}

/* Services Grid Styles */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 20px rgba(249, 115, 22, 0.08);
}

.service-card-wide {
  grid-column: span 2;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f97316;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.4;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.service-tags span {
  font-size: 0.775rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  color: #cbd5e1;
}

/* Product Showcase Card: OFOQ Radius */
.product-showcase-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(10, 15, 30, 0.9) 100%);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 20px;
  padding: 40px;
  margin-top: 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(249, 115, 22, 0.05);
}

.product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #fdba74;
  border-radius: 999px;
  margin-bottom: 8px;
}

.product-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-name-en {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f97316;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.product-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #94a3b8;
  margin-top: 20px;
  margin-bottom: 32px;
  max-width: 900px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.product-features-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.product-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feat-bullet {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f97316;
  flex-shrink: 0;
  margin-top: 2px;
}

.feat-text {
  font-size: 0.925rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.feat-text strong {
  color: #ffffff;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.product-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  background: rgba(15, 23, 42, 0.8);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-tab {
  flex: 1;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-align: center;
}

.gallery-tab.active {
  background: rgba(249, 115, 22, 0.2);
  color: #ffffff;
  border: 1px solid rgba(249, 115, 22, 0.4);
}

.gallery-screen-frame {
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.frame-dots {
  display: flex;
  gap: 6px;
}

.frame-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.frame-dots span:nth-child(1) { background: #ef4444; }
.frame-dots span:nth-child(2) { background: #eab308; }
.frame-dots span:nth-child(3) { background: #22c55e; }

.frame-url {
  font-size: 0.75rem;
  color: #94a3b8;
  direction: ltr;
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-slides {
  position: relative;
  background: #020617;
}

.gallery-slide {
  display: none;
}

.gallery-slide.active {
  display: block;
}

.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  background: #0b1120;
}

.gallery-caption {
  display: block;
  padding: 10px 14px;
  font-size: 0.825rem;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

/* Dedicated Product Page: /radius */
.product-details-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.module-item {
  padding: 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 18px;
}

.module-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.module-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f97316;
  background: rgba(249, 115, 22, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
}

.module-head h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.screenshots-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
}

.screenshot-box {
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.screenshot-caption {
  display: block;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card-wide {
    grid-column: span 2;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .product-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-software {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card-wide {
    grid-column: span 1;
  }
  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .product-showcase-card {
    padding: 24px 18px;
  }
  .product-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-card-wrapper {
    padding: 30px 18px;
  }
  .about-parent-highlight {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}


/* ==========================================================================
   Refined Work & Contact Sections Polish
   ========================================================================== */

.button-site-visit {
  background: #f97316 !important;
  color: #ffffff !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
  transition: all 0.2s ease;
}

.button-site-visit:hover {
  background: #ea580c !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.contact-section {
  position: relative;
}

.contact-balanced-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 36px;
}

.contact-info-panel {
  height: 100%;
}

.contact-panel-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(10, 15, 30, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 36px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.panel-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.panel-card-desc {
  font-size: 0.925rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 24px;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-channel-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-channel-row:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(249, 115, 22, 0.4);
  transform: translateY(-1px);
}

.contact-channel-wa:hover {
  border-color: rgba(34, 197, 94, 0.4);
}

.row-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-phone {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
}

.icon-whatsapp {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.icon-email {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.row-label {
  font-size: 0.775rem;
  color: #94a3b8;
  font-weight: 600;
}

.row-value {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 700;
  direction: ltr;
  text-align: right;
}

.contact-parent-box {
  margin-top: auto;
  padding: 16px;
  background: rgba(249, 115, 22, 0.06);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.parent-box-icon {
  color: #f97316;
  flex-shrink: 0;
  margin-top: 2px;
}

.parent-box-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fed7aa;
  margin-bottom: 4px;
}

.parent-box-sub {
  display: block;
  font-size: 0.775rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.contact-form-panel .form-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(10, 15, 30, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.contact-form-panel .form-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.contact-form-panel .form-sub {
  font-size: 0.925rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 24px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
}

.form-control {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

textarea.form-control {
  height: auto;
  min-height: 110px;
  padding: 14px 16px;
  resize: vertical;
}

.form-control:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.form-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* LTR Polish */
.ltr-mode .row-value {
  text-align: left;
}
.ltr-mode .contact-parent-box {
  text-align: left;
}

@media (max-width: 992px) {
  .contact-balanced-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-form-panel .form-card,
  .contact-panel-card {
    padding: 28px 20px;
  }
}


/* ==========================================================================
   Product Showcase & Gallery Mobile Overflow Fix
   ========================================================================== */

@media (max-width: 768px) {
  .product-showcase-card {
    padding: 20px 14px;
    margin-top: 24px;
    overflow: hidden;
  }
  .product-grid {
    grid-template-columns: 100%;
    gap: 20px;
    min-width: 0;
  }
  .product-features,
  .product-gallery {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .gallery-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
    background: rgba(15, 23, 42, 0.9);
  }
  .gallery-tab {
    flex: 1 1 calc(50% - 6px);
    padding: 8px 6px;
    font-size: 0.775rem;
    white-space: normal;
    text-align: center;
  }
  .gallery-tab:last-child:nth-child(odd) {
    flex: 1 1 100%;
  }
  .gallery-screen-frame {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .frame-url {
    max-width: calc(100% - 60px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .product-cta-row {
    flex-direction: column;
    gap: 10px;
  }
  .product-cta-row .button {
    width: 100%;
    justify-content: center;
  }
}
