/*
Theme Name: MUMTN Theme
Theme URI: https://mumtn.com/
Author: OpenAI
Description: Custom WordPress theme for MUMTN landing page.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: mumtn-theme
*/

:root {
  --primary: #1A8FD8;
  --secondary: #10B4C6;
  --bg: #000000;
  --bg-2: #04090d;
  --bg-soft: #07111a;
  --panel: rgba(255,255,255,0.06);
  --panel-border: rgba(255,255,255,0.14);
  --text: #eef7ff;
  --muted: rgba(238,247,255,0.72);
  --muted-2: rgba(238,247,255,0.56);
  --glow-1: rgba(26, 143, 216, 0.35);
  --glow-2: rgba(16, 180, 198, 0.25);
  --gradient: linear-gradient(90deg, #1A8FD8 0%, #10B4C6 100%);
  --gradient-soft: linear-gradient(135deg, rgba(26,143,216,0.22), rgba(16,180,198,0.1));
  --shadow: 0 20px 80px rgba(0,0,0,0.45);
  --radius: 28px;
  --container: 1220px;
  --header-height: 82px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 16%, rgba(26,143,216,0.18), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(16,180,198,0.14), transparent 22%),
    linear-gradient(180deg, #02070b 0%, #000 42%, #02070b 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6; /* تباعد افتراضي مريح للنصوص */
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 78%);
  opacity: .16;
  animation: gridFloat 18s linear infinite;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(26,143,216,.12) 0%, transparent 16%),
    radial-gradient(circle, rgba(16,180,198,.1) 0%, transparent 18%);
  background-size: 24% 24%, 32% 32%;
  background-position: 10% 20%, 80% 60%;
  filter: blur(40px);
  animation: glowDrift 16s ease-in-out infinite alternate;
  opacity: .95;
  z-index: 0;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.en {
  font-family: 'Inter', sans-serif;
  direction: ltr;
  display: inline-block;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* --- العناوين المحدثة (تحسين تباعد الأسطر) --- */

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.25; /* تم تعديلها لمنع تداخل الحروف العلوية والسفلية */
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 28px;
  max-width: 920px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 22px;
  line-height: 1.35; /* تباعد أوسع لعناوين الأقسام */
  letter-spacing: -0.01em;
}

.feature-card h3,
.solution-card h3,
.metric-card h3,
.showcase-panel h3,
.dashboard-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  line-height: 1.5; /* تباعد مريح للعناوين الفرعية */
  font-weight: 700;
}

.hero p,
.section-head p,
.feature-card p,
.solution-card p,
.showcase-panel p,
.cta-band p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.85; /* تباعد أسطر واسع للفقرات لزيادة القابلية للقراءة */
  color: var(--muted);
  margin-bottom: 24px;
}

/* --- بقية التنسيقات --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-height);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, 0.42);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  min-width: fit-content;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(26,143,216,.35));
  border-radius: 14px;
}

.brand-title {
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: .04em;
  line-height: 1.1;
}

.brand-subtitle {
  color: var(--muted-2);
  font-size: .8rem;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  transition: .25s ease;
}

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

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 14px 34px rgba(16,180,198,.18), 0 10px 40px rgba(26,143,216,.18);
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: rgba(255,255,255,0.12);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 64px 0 80px;
  position: relative;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 24px;
  backdrop-filter: blur(12px);
}

.stat-card strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
}

.orbital-ring {
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  animation: spinSlow 30s linear infinite;
  background: radial-gradient(circle at center, rgba(26,143,216,.1), transparent 60%);
}

.hero-panel {
  position: relative;
  width: 100%;
  max-width: 540px;
  border-radius: 34px;
  background: rgba(4, 10, 16, 0.85);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  overflow: hidden;
}

.panel-header {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-body {
  padding: 24px;
  display: grid;
  gap: 20px;
}

.dashboard-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 20px;
}

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

.mini-tile {
  background: rgba(255,255,255,0.04);
  padding: 16px 12px;
  border-radius: 16px;
  text-align: center;
}

.energy-row {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  gap: 15px;
  align-items: center;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
}

.energy-bar {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.energy-bar::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--w);
  background: var(--gradient);
  box-shadow: 0 0 15px var(--secondary);
}

.section {
  padding: 100px 0;
}

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

.features-grid, .solutions-grid, .metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card, .solution-card, .metric-card {
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s ease;
}

.feature-card:hover, .solution-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.icon-badge {
  width: 56px;
  height: 56px;
  background: var(--gradient-soft);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.split-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.showcase-panel {
  padding: 40px;
  border-radius: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.check-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.check-item i {
  color: var(--secondary);
  font-style: normal;
  font-weight: bold;
}

.cta-band {
  background: linear-gradient(135deg, rgba(26,143,216,0.1), rgba(16,180,198,0.1));
  padding: 60px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--muted-2);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes gridFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

@keyframes glowDrift {
  0% { transform: translate(-2%, -2%); }
  100% { transform: translate(2%, 2%); }
}

@media (max-width: 1024px) {
  .hero-grid, .features-grid, .solutions-grid, .metrics-grid, .split-showcase {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; min-height: 450px; }
  .hero-panel { transform: none; margin: 0 auto; }
  .orbital-ring { width: 400px; height: 400px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .cta-band { padding: 30px; text-align: center; justify-content: center; }
  .hero h1 { font-size: 2.5rem; }
  .hero-stats { grid-template-columns: 1fr; }
}