/* ============================================================
   CorBit One — Landing Page Stylesheet
   RTL Arabic | Light & Dark Mode | LED Effects | Mouse Glow
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

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

/* ── CSS Variables ── */
:root {
  --primary-navy:    #1F2458;
  --secondary-teal:  #4B8980;
  --accent-orange:   #B85530;
  --accent-red:      #931C2C;
  --navy-light:      #2d3470;
  --navy-dark:       #141840;
  --teal-light:      #5fa89f;
  --teal-dark:       #357068;
  --orange-light:    #d4673c;
  --orange-dark:     #8f4025;

  --gradient-text:   linear-gradient(135deg, #4B8980 0%, #1F2458 45%, #B85530 100%);
  --gradient-btn:    linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-red) 100%);

  /* Light mode */
  --bg-primary:      #f8f9fe;
  --bg-secondary:    #eef0f8;
  --bg-card:         #ffffff;
  --text-primary:    #0f1420;
  --text-secondary:  #2d3748;
  --text-muted:      #5a6480;
  --border-color:    rgba(31, 36, 88, 0.12);
  --border-hover:    rgba(75, 137, 128, 0.45);
  --shadow-card:     0 4px 24px rgba(31, 36, 88, 0.08);
  --shadow-hover:    0 16px 48px rgba(31, 36, 88, 0.18);
  --header-bg:       rgba(248, 249, 254, 0.88);
  --led-color:       rgba(75, 137, 128, 0.28);
  --input-bg:        #f4f5fc;
  --input-border:    rgba(31, 36, 88, 0.2);
  --footer-bg:       #0e1130;
}

.dark-mode {
  --bg-primary:      #070918;
  --bg-secondary:    #0c0f22;
  --bg-card:         rgba(18, 22, 60, 0.75);
  --text-primary:    #edf0ff;
  --text-secondary:  #bec5e0;
  --text-muted:      #7a85a8;
  --border-color:    rgba(75, 137, 128, 0.14);
  --border-hover:    rgba(75, 137, 128, 0.55);
  --shadow-card:     0 4px 32px rgba(0, 0, 0, 0.45);
  --shadow-hover:    0 16px 48px rgba(75, 137, 128, 0.22);
  --header-bg:       rgba(7, 9, 24, 0.88);
  --led-color:       rgba(75, 137, 128, 0.22);
  --input-bg:        rgba(18, 22, 60, 0.65);
  --input-border:    rgba(75, 137, 128, 0.28);
  --footer-bg:       #040611;
}

/* ── Base ── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Cairo', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  direction: rtl;
  text-align: right;
  line-height: 1.75;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Mouse Glow ── */
.mouse-glow {
  position: fixed;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75,137,128,0.07) 0%, rgba(31,36,88,0.03) 50%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.3s ease;
}
.dark-mode .mouse-glow {
  background: radial-gradient(circle, rgba(75,137,128,0.11) 0%, rgba(184,85,48,0.04) 40%, transparent 70%);
}

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* ── Gradient Text ── */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── LED Card ── */
.led-card.led-card {
  --card-led-bg: var(--bg-card);
  position: relative;
  border: 1.5px solid transparent !important;
  background: 
    linear-gradient(var(--card-led-bg), var(--card-led-bg)) padding-box,
    linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
    linear-gradient(135deg, var(--secondary-teal) 0%, var(--primary-navy) 35%, var(--accent-orange) 70%, var(--secondary-teal) 100%) border-box;
  background-size: 100% 100%, 100% 100%, 300% 300%;
  background-repeat: no-repeat, no-repeat, repeat;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
  animation: moveLED 6s linear infinite;
}

.led-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--secondary-teal) 0%, var(--primary-navy) 35%, var(--accent-orange) 70%, var(--secondary-teal) 100%);
  background-size: 300% 300%;
  animation: moveLEDGlow 6s linear infinite;
  z-index: -1;
  filter: blur(12px);
  opacity: 0.12;
  pointer-events: none;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.led-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.led-card:hover::after {
  opacity: 0.38;
  filter: blur(18px);
}

/* Specific Card BG Overrides for LED Borders */
.db-stat-card.led-card {
  --card-led-bg: var(--bg-secondary);
}

.social-link.led-card {
  --card-led-bg: rgba(255,255,255,0.06);
}

.back-to-top.led-card {
  background: 
    var(--gradient-btn) padding-box,
    linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
    linear-gradient(135deg, var(--secondary-teal) 0%, var(--primary-navy) 35%, var(--accent-orange) 70%, var(--secondary-teal) 100%) border-box;
}

.feat-highlight.led-card {
  background: 
    linear-gradient(rgba(31,36,88,0.07), rgba(31,36,88,0.07)) padding-box,
    linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
    linear-gradient(135deg, var(--secondary-teal) 0%, var(--primary-navy) 35%, var(--accent-orange) 70%, var(--secondary-teal) 100%) border-box;
}

@keyframes moveLED {
  0% { background-position: 0% 0%, 0% 0%, 0% 50%; }
  50% { background-position: 0% 0%, 0% 0%, 100% 50%; }
  100% { background-position: 0% 0%, 0% 0%, 0% 50%; }
}

@keyframes moveLEDGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 20px rgba(184,85,48,0.28);
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(184,85,48,0.48), 0 0 24px rgba(184,85,48,0.25);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-hover);
}
.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--secondary-teal);
  box-shadow: 0 0 20px rgba(75,137,128,0.18);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-led { box-shadow: 0 0 16px rgba(184,85,48,0.18), 0 4px 20px rgba(184,85,48,0.22); }

/* ── Sections ── */
.section { padding: 96px 0; position: relative; }

.section-header { text-align: center; margin-bottom: 60px; }

.section-badge {
  display: inline-block;
  padding: 7px 20px;
  background: rgba(75,137,128,0.1);
  color: var(--secondary-teal);
  border: 1px solid rgba(75,137,128,0.28);
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.3;
}
.section-desc {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.9;
  font-weight: 500;
}

/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: all 0.4s ease;
}
.header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 32px rgba(0,0,0,0.1);
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo { flex-shrink: 0; }
.logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transition: opacity 0.3s ease, filter 0.3s ease;
  display: block;
}
.dark-mode .logo-img {
  filter: drop-shadow(0 0 8px rgba(75, 137, 128, 0.5)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.7));
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: auto;
}
.nav-link {
  padding: 8px 14px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.25s ease;
}
.nav-link:hover {
  color: var(--secondary-teal);
  background: rgba(75,137,128,0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.theme-toggle:hover {
  border-color: var(--secondary-teal);
  box-shadow: 0 0 16px rgba(75,137,128,0.22);
}
.theme-icon { font-size: 1.15rem; transition: all 0.4s ease; position: absolute; }
.sun-icon  { opacity: 1; transform: rotate(0deg) scale(1); }
.moon-icon { opacity: 0; transform: rotate(90deg) scale(0.5); }
.dark-mode .sun-icon  { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.dark-mode .moon-icon { opacity: 1; transform: rotate(0deg) scale(1); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.mobile-menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  font-size: 1.05rem;
  padding: 12px 16px;
  border-radius: 10px;
}
.mobile-nav .btn {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  font-size: 1rem;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding: 130px 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(75,137,128,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75,137,128,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  z-index: 0;
}
.hero-orbs { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); animation: orbFloat 8s ease-in-out infinite; }
.orb-1 { width: 520px; height: 520px; background: rgba(31,36,88,0.22); top: -160px; left: -120px; }
.orb-2 { width: 420px; height: 420px; background: rgba(75,137,128,0.14); bottom: -120px; right: -80px; animation-delay: 3s; }
.orb-3 { width: 320px; height: 320px; background: rgba(184,85,48,0.09); top: 40%; left: 30%; animation-delay: 6s; }
.dark-mode .orb-1 { background: rgba(31,36,88,0.6); }
.dark-mode .orb-2 { background: rgba(75,137,128,0.22); }
.dark-mode .orb-3 { background: rgba(184,85,48,0.14); }
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(20px,-20px) scale(1.05); }
  66%       { transform: translate(-10px,15px) scale(0.95); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  z-index: 2;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  background: rgba(75,137,128,0.1);
  border: 1px solid rgba(75,137,128,0.3);
  border-radius: 50px;
  font-size: 0.95rem;
  color: var(--secondary-teal);
  font-weight: 700;
  margin-bottom: 24px;
  width: fit-content;
}
.badge-dot {
  width: 9px; height: 9px;
  background: var(--secondary-teal);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.hero-title-sub {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  display: block;
  margin-top: 8px;
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 36px;
  max-width: 530px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-actions .btn {
  font-size: 1.02rem;
  padding: 14px 30px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.stat-item { text-align: center; }
.stat-num   { font-size: 1.6rem; font-weight: 900; display: block; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.stat-divider { width: 1px; height: 44px; background: var(--border-color); }

/* ── Dashboard Preview ── */
.hero-visual { position: relative; }
.dashboard-preview {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,0.14), 0 0 48px rgba(75,137,128,0.08);
}
.dark-mode .dashboard-preview {
  box-shadow: 0 28px 80px rgba(0,0,0,0.55), 0 0 64px rgba(75,137,128,0.14);
}
.dashboard-titlebar {
  background: var(--primary-navy);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.db-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }
.db-title { flex: 1; text-align: center; color: rgba(255,255,255,0.8); font-size: 0.82rem; font-weight: 600; }
.db-badge { display: flex; align-items: center; gap: 5px; font-size: 0.76rem; color: #28c840; font-weight: 600; }
.db-live-dot { width: 7px; height: 7px; background: #28c840; border-radius: 50%; animation: pulse 1.5s ease-in-out infinite; }

.dashboard-body { padding: 16px; }

.db-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.db-stat-card {
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.db-stat-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.icon-blue   { background: rgba(31,36,88,0.14); }
.icon-teal   { background: rgba(75,137,128,0.14); }
.icon-orange { background: rgba(184,85,48,0.14); }
.dark-mode .icon-blue   { background: rgba(31,36,88,0.55); }
.dark-mode .icon-teal   { background: rgba(75,137,128,0.3); }
.dark-mode .icon-orange { background: rgba(184,85,48,0.3); }
.db-stat-info { flex: 1; min-width: 0; }
.db-stat-val  { display: block; font-size: 1rem; font-weight: 800; color: var(--text-primary); line-height: 1.2; }
.db-stat-lbl  { font-size: 0.67rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-stat-trend { font-size: 0.67rem; font-weight: 700; color: #22c55e; flex-shrink: 0; }
.db-stat-trend.up::before { content: '↑ '; }

.db-main-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.db-chart-card, .db-list-card {
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 12px;
}
.db-chart-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.8rem; font-weight: 700; color: var(--text-secondary);
}
.db-chip { background: rgba(75,137,128,0.12); color: var(--secondary-teal); padding: 2px 8px; border-radius: 20px; font-size: 0.67rem; font-weight: 600; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 72px; }
.bar-group  { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; }
.bar { width: 100%; height: var(--h); border-radius: 4px 4px 0 0; }
.bar-1 { background: linear-gradient(180deg, var(--secondary-teal), var(--teal-dark)); }
.bar-2 { background: linear-gradient(180deg, var(--accent-orange), var(--orange-dark)); }
.bar-3 { background: linear-gradient(180deg, #3d4fa8, var(--navy-dark)); }
.bar-lbl { font-size: 0.58rem; color: var(--text-muted); }
.db-list { display: flex; flex-direction: column; gap: 8px; }
.db-list-item { display: flex; align-items: center; gap: 8px; font-size: 0.74rem; }
.list-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-teal   { background: var(--secondary-teal); }
.dot-orange { background: var(--accent-orange); }
.dot-blue   { background: #5d6ac4; }
.list-text { flex: 1; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-status { font-size: 0.64rem; font-weight: 700; padding: 2px 7px; border-radius: 20px; flex-shrink: 0; }
.status-done    { background: rgba(34,197,94,0.1); color: #22c55e; }
.status-active  { background: rgba(75,137,128,0.14); color: var(--secondary-teal); }
.status-pending { background: rgba(184,85,48,0.1); color: var(--accent-orange); }

.db-modules-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.db-module { background: var(--bg-secondary); border-radius: 10px; padding: 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.module-icon { font-size: 1.2rem; }
.module-name { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; }
.module-val  { font-size: 0.72rem; color: var(--secondary-teal); font-weight: 700; }

.float-badge {
  position: absolute;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex; align-items: center; gap: 8px;
  animation: floatBadge 4s ease-in-out infinite;
  z-index: 10;
}
.float-badge-1 { bottom: -22px; right: 20px; }
.float-badge-2 { top: 28px; left: -22px; animation-delay: 2s; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero-scroll-indicator {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 0.82rem; z-index: 2;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.scroll-arrow { width: 18px; height: 18px; border-bottom: 2px solid var(--secondary-teal); border-right: 2px solid var(--secondary-teal); transform: rotate(45deg); }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ════════════════════════════════════════
   SOLUTIONS
════════════════════════════════════════ */
.solutions-section { background: var(--bg-secondary); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution-card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 30px 26px;
  cursor: pointer;
}
.sol-icon-wrap {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(75,137,128,0.12), rgba(31,36,88,0.08));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.solution-card:hover .sol-icon-wrap {
  background: linear-gradient(135deg, rgba(75,137,128,0.24), rgba(184,85,48,0.14));
  box-shadow: 0 0 20px rgba(75,137,128,0.18);
  transform: scale(1.1) rotate(-3deg);
}
.sol-icon { font-size: 1.7rem; }
.sol-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.sol-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
  font-weight: 500;
}
.sol-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tag {
  font-size: 0.78rem;
  padding: 4px 12px;
  background: rgba(75,137,128,0.08);
  color: var(--secondary-teal);
  border: 1px solid rgba(75,137,128,0.2);
  border-radius: 20px;
  font-weight: 600;
}
.sol-arrow { color: var(--accent-orange); font-size: 1.3rem; transition: transform 0.3s ease; display: inline-block; }
.solution-card:hover .sol-arrow { transform: translateX(-6px); }

.sol-cta-card {
  background: linear-gradient(135deg, rgba(31,36,88,0.92), rgba(75,137,128,0.28));
  display: flex; align-items: center; justify-content: center;
}
.dark-mode .sol-cta-card { background: linear-gradient(135deg, rgba(31,36,88,0.96), rgba(75,137,128,0.18)); }
.sol-cta-content { text-align: center; }
.sol-cta-icon   { font-size: 2.6rem; margin-bottom: 14px; }
.sol-cta-card h3 { color: #fff; font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.sol-cta-card p  { color: rgba(255,255,255,0.7); font-size: 0.94rem; margin-bottom: 22px; line-height: 1.7; font-weight: 500; }

/* ════════════════════════════════════════
   COMING SOON / ROADMAP
════════════════════════════════════════ */
.coming-soon-section { background: var(--bg-primary); overflow: hidden; }
.coming-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(31,36,88,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,36,88,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.roadmap { position: relative; max-width: 780px; margin: 0 auto; }
.roadmap-items { display: flex; flex-direction: column; gap: 20px; }
.roadmap-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: flex-start;
}
.rm-connector { display: flex; flex-direction: column; align-items: center; padding-top: 6px; }
.rm-dot {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  border: 2px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-muted);
  transition: all 0.4s ease;
  position: relative; z-index: 2;
}
.rm-dot-active {
  background: linear-gradient(135deg, var(--secondary-teal), var(--primary-navy));
  border-color: var(--secondary-teal);
  color: #fff;
  box-shadow: 0 0 24px rgba(75,137,128,0.4);
}
.rm-dot-progress {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-red));
  border-color: var(--accent-orange);
  color: #fff;
  box-shadow: 0 0 24px rgba(184,85,48,0.4);
}
.rm-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.rm-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px 28px;
  flex: 1;
}
.rm-phase {
  font-size: 0.82rem; font-weight: 700;
  color: var(--secondary-teal);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.rm-title { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; }
.rm-desc  { font-size: 0.96rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; font-weight: 500; }
.rm-status {
  display: inline-block; font-size: 0.84rem; font-weight: 700;
  padding: 4px 16px; border-radius: 20px;
}
.rm-status-done     { background: rgba(34,197,94,0.1);  color: #22c55e;              border: 1px solid rgba(34,197,94,0.2); }
.rm-status-progress { background: rgba(184,85,48,0.1);  color: var(--accent-orange); border: 1px solid rgba(184,85,48,0.2); }
.rm-status-soon     { background: rgba(75,137,128,0.08); color: var(--secondary-teal);border: 1px solid rgba(75,137,128,0.2); }

/* ════════════════════════════════════════
   FEATURES
════════════════════════════════════════ */
.features-section { background: var(--bg-secondary); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
}
.feat-icon  { font-size: 2.2rem; margin-bottom: 16px; }
.feat-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.45;
}
.feat-desc  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; font-weight: 500; }
.feat-highlight {
  background: linear-gradient(135deg, rgba(31,36,88,0.07), rgba(75,137,128,0.07));
  border-color: rgba(75,137,128,0.24);
}
.dark-mode .feat-highlight { background: linear-gradient(135deg, rgba(31,36,88,0.55), rgba(75,137,128,0.14)); }

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact-section { background: var(--bg-primary); overflow: hidden; }
.contact-bg-orbs { position: absolute; inset: 0; pointer-events: none; }
.contact-orb { position: absolute; border-radius: 50%; filter: blur(100px); }
.contact-orb-1 { width: 420px; height: 420px; background: rgba(31,36,88,0.18); top: -120px; left: -120px; }
.contact-orb-2 { width: 320px; height: 320px; background: rgba(75,137,128,0.14); bottom: -80px; right: -80px; }
.dark-mode .contact-orb-1 { background: rgba(31,36,88,0.5); }
.dark-mode .contact-orb-2 { background: rgba(75,137,128,0.2); }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: start;
}
.contact-channels { display: flex; flex-direction: column; gap: 16px; }
.channel-btn {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px;
  background: var(--bg-card);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
}
.channel-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.channel-whatsapp .channel-icon { background: rgba(37,211,102,0.1);  color: #25d366; }
.channel-email .channel-icon    { background: rgba(75,137,128,0.12); color: var(--secondary-teal); }
.channel-consult .channel-icon  { background: rgba(184,85,48,0.1);   color: var(--accent-orange); }
.channel-info { display: flex; flex-direction: column; gap: 3px; }
.channel-name { font-weight: 800; font-size: 1.02rem; }
.channel-sub  { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; }

.contact-form-wrap { background: var(--bg-card); border-radius: 20px; padding: 32px; }
.form-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 24px; color: var(--text-primary); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group-full { margin-bottom: 20px; }
.form-group label { font-size: 0.9rem; font-weight: 700; color: var(--text-secondary); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text-primary);
  font-family: 'Cairo', sans-serif;
  font-size: 0.96rem;
  direction: rtl;
  transition: all 0.3s ease;
  outline: none;
  width: 100%;
  font-weight: 500;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary-teal);
  box-shadow: 0 0 0 3px rgba(75,137,128,0.1), 0 0 20px rgba(75,137,128,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; }
.form-group select { cursor: pointer; }

.form-success { display: none; text-align: center; padding: 44px 20px; }
.form-success.visible { display: block; }
.success-icon  { font-size: 3.5rem; margin-bottom: 18px; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 10px; font-weight: 800; }
.form-success p  { color: var(--text-muted); font-size: 1rem; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer { background: var(--footer-bg); }
.footer-top { padding: 64px 0 44px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transition: filter 0.3s ease;
  display: block;
}
.dark-mode .footer-logo {
  filter: drop-shadow(0 0 8px rgba(75, 137, 128, 0.5)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.7));
}
.footer-desc { font-size: 0.92rem; color: rgba(255,255,255,0.52); line-height: 1.85; margin-bottom: 22px; max-width: 280px; font-weight: 500; }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: all 0.3s ease;
  border-color: rgba(255,255,255,0.1) !important;
}
.social-link:hover { background: rgba(75,137,128,0.2); color: var(--secondary-teal); transform: translateY(-2px); }

.footer-group-title {
  font-size: 0.88rem; font-weight: 800;
  color: rgba(255,255,255,0.68);
  margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-link { color: rgba(255,255,255,0.48); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.25s ease; }
.footer-link:hover { color: var(--secondary-teal); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 22px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; }
.copyright { color: rgba(255,255,255,0.38); font-size: 0.88rem; font-weight: 500; }
.footer-bottom-badge { display: flex; align-items: center; gap: 8px; color: var(--secondary-teal); font-size: 0.86rem; font-weight: 700; }
.footer-dot { width: 7px; height: 7px; background: var(--secondary-teal); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }

/* ── Back to Top ── */
.back-to-top {
  position: fixed; bottom: 28px; left: 28px;
  width: 50px; height: 50px;
  background: var(--gradient-btn);
  border: none; border-radius: 12px;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px);
  transition: all 0.4s ease; z-index: 999;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(184,85,48,0.5); }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════
   RESPONSIVE — Tablet (≤1100px)
════════════════════════════════════════ */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-inner .footer-links-group:last-child { grid-column: 1 / -1; }
}

/* ════════════════════════════════════════
   RESPONSIVE — Mobile (≤768px)
════════════════════════════════════════ */
@media (max-width: 768px) {
  html { font-size: 17px; }

  .section { padding: 72px 0; }

  /* Header */
  .nav, .header-actions .btn-sm { display: none; }
  .mobile-menu-btn { display: flex; }
  .logo-img { height: 40px; }

  /* Hero */
  .hero { padding: 110px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-title { font-size: 2.1rem; }
  .hero-title-sub { font-size: 1.3rem; }
  .hero-desc { font-size: 1.02rem; }
  .hero-badge { font-size: 0.88rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; font-size: 1.05rem; padding: 16px 24px; }
  .hero-stats { justify-content: flex-start; gap: 20px; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 0.82rem; }

  /* Sections */
  .section-title { font-size: 1.75rem; }
  .section-desc  { font-size: 1rem; }
  .section-badge { font-size: 0.88rem; }

  /* Solutions */
  .solutions-grid { grid-template-columns: 1fr; gap: 16px; }
  .sol-title { font-size: 1.08rem; }
  .sol-desc  { font-size: 0.96rem; }

  /* Roadmap */
  .rm-title { font-size: 1.05rem; }
  .rm-desc  { font-size: 0.94rem; }
  .rm-card  { padding: 20px 18px; }
  .rm-dot   { width: 44px; height: 44px; font-size: 1rem; }

  /* Features */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .feature-card { padding: 22px 16px; }
  .feat-icon  { font-size: 2rem; }
  .feat-title { font-size: 0.96rem; }
  .feat-desc  { font-size: 0.88rem; }

  /* Contact */
  .contact-wrapper { grid-template-columns: 1fr; gap: 24px; }
  .channel-name { font-size: 1rem; }
  .channel-sub  { font-size: 0.86rem; }
  .contact-form-wrap { padding: 24px 18px; }
  .form-title { font-size: 1.15rem; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .form-group label { font-size: 0.92rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 1rem; padding: 14px 16px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer-link { font-size: 0.96rem; }
  .footer-group-title { font-size: 0.9rem; }

  /* Back to top */
  .back-to-top { left: 16px; bottom: 16px; width: 46px; height: 46px; }
}

/* ════════════════════════════════════════
   RESPONSIVE — Small Mobile (≤480px)
════════════════════════════════════════ */
@media (max-width: 480px) {
  html { font-size: 16px; }
  .container { padding: 0 16px; }

  .hero-title { font-size: 1.85rem; }
  .hero-title-sub { font-size: 1.15rem; }
  .hero-badge { font-size: 0.82rem; padding: 7px 14px; }

  .section-title { font-size: 1.55rem; }

  .features-grid { grid-template-columns: 1fr; }
  .feat-title { font-size: 1rem; }

  .solutions-grid { gap: 14px; }
  .solution-card { padding: 24px 20px; }

  .rm-card { padding: 18px 16px; }

  .contact-form-wrap { padding: 20px 16px; }
}
