/* ==========================================================================
   AMDIGITAL MINING — Official Stylesheet
   Identity: Dark Navy (#061A2E) • Deep Black (#080B0F) • Orange (#FF8A00) • Gold (#D9A928) • White (#FFFFFF)
   ========================================================================== */

:root {
  /* Brand Colors */
  --bg-primary: #080B0F;
  --bg-navy: #061A2E;
  --bg-navy-deep: #030F1C;
  --bg-navy-card: #0A243F;
  --bg-navy-light: #0E3359;
  --bg-card: rgba(10, 36, 63, 0.65);
  --bg-card-hover: rgba(14, 51, 89, 0.85);
  --bg-surface-glass: rgba(6, 26, 46, 0.75);
  --bg-white-section: #F8FAFC;
  --bg-white-card: #FFFFFF;
  
  --primary-orange: #FF8A00;
  --primary-orange-hover: #FFA02E;
  --primary-orange-active: #E07500;
  --primary-orange-glow: rgba(255, 138, 0, 0.22);
  --primary-orange-subtle: rgba(255, 138, 0, 0.08);

  --accent-gold: #D9A928;
  --accent-gold-light: #F3C348;
  --accent-gold-glow: rgba(217, 169, 40, 0.25);

  --text-white: #FFFFFF;
  --text-primary: #F4F7FA;
  --text-gray: #AAB4C0;
  --text-muted: #7A899B;
  --text-dark: #080B0F;
  --text-dark-muted: #4B5563;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 138, 0, 0.16);
  --border-card-hover: rgba(255, 138, 0, 0.55);
  --border-light: rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-arabic: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-latin: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-orange: 0 8px 25px rgba(255, 138, 0, 0.28);
  --shadow-card-hover: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 138, 0, 0.15);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1320px;
  --header-height: 86px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Utilities */
.highlight {
  color: var(--primary-orange);
}

.highlight-gold {
  color: var(--accent-gold);
}

.latin-num {
  font-family: var(--font-latin);
  direction: ltr;
  display: inline-block;
}

/* Badges */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 138, 0, 0.1);
  border: 1px solid rgba(255, 138, 0, 0.28);
  border-radius: var(--radius-full);
  color: var(--primary-orange);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.badge-tag.gold {
  background: rgba(217, 169, 40, 0.12);
  border-color: rgba(217, 169, 40, 0.35);
  color: var(--accent-gold);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.08rem;
  line-height: 1.8;
}

.section-header.light-theme h2 {
  color: var(--bg-navy);
}

.section-header.light-theme p {
  color: var(--text-dark-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #FF9914 0%, #FF8A00 60%, #E67600 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FFA733 0%, #FF951A 60%, #F57C00 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 138, 0, 0.42);
  color: #FFFFFF;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  transform: translateY(-2px);
}

.btn-outline-orange {
  background: transparent;
  color: var(--primary-orange);
  border: 1px solid var(--primary-orange);
}

.btn-outline-orange:hover {
  background: var(--primary-orange);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-play {
  background: rgba(6, 26, 46, 0.85);
  color: var(--text-white);
  border: 1px solid rgba(217, 169, 40, 0.35);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
}

.btn-play svg {
  color: var(--primary-orange);
  transition: transform var(--transition-normal);
}

.btn-play:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.btn-play:hover svg {
  transform: scale(1.18);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 94px;
  z-index: 1000;
  background: rgba(6, 26, 46, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  height: 78px;
  background: rgba(4, 17, 31, 0.96);
  border-bottom-color: rgba(255, 138, 0, 0.2);
  box-shadow: var(--shadow-md);
}

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

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

.brand-logo img,
.brand-logo svg {
  height: 56px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.brand-logo:hover img,
.brand-logo:hover svg {
  transform: scale(1.03);
  filter: drop-shadow(0 0 12px rgba(255, 138, 0, 0.45));
}

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

.nav-link {
  color: var(--text-gray);
  font-size: 0.96rem;
  font-weight: 600;
  padding: 8px 6px;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-orange);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

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

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

/* ==========================================================================
   CUSTOM GLOBE ICON LANGUAGE SWITCHER & GOOGLE BANNER SUPPRESSION
   ========================================================================== */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-spinner-pos {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
}

body {
  top: 0px !important;
  position: static !important;
}

#google_translate_element {
  display: none !important;
  visibility: hidden !important;
}

.lang-selector-dropdown {
  position: relative;
  display: inline-block;
}

.lang-globe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(10, 36, 63, 0.85);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  color: var(--text-white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-globe-btn svg {
  color: var(--primary-orange);
  transition: transform var(--transition-fast);
}

.lang-globe-btn:hover {
  border-color: var(--primary-orange);
  background: var(--bg-card-hover);
  box-shadow: 0 0 18px rgba(255, 138, 0, 0.3);
  transform: translateY(-1px);
}

.lang-globe-btn:hover svg:first-child {
  transform: rotate(20deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 145px;
  background: rgba(4, 17, 31, 0.98);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(16px);
  display: none;
  flex-direction: column;
  gap: 3px;
  z-index: 1300;
}

body[dir="ltr"] .lang-menu {
  right: auto;
  left: 0;
}

.lang-menu.show {
  display: flex;
  animation: fadeInDown 0.22s ease-out forwards;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-gray);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: right;
  transition: all var(--transition-fast);
}

body[dir="ltr"] .lang-option {
  text-align: left;
}

.lang-option:hover,
.lang-option.active {
  background: rgba(255, 138, 0, 0.18);
  color: var(--text-white);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  background-color: var(--bg-navy-deep);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.28;
  filter: saturate(1.1) brightness(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(6, 26, 46, 0.4) 0%, rgba(3, 15, 28, 0.92) 75%, var(--bg-primary) 100%),
              linear-gradient(to bottom, rgba(6, 26, 46, 0.7) 0%, transparent 40%, var(--bg-primary) 100%);
}

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

.hero-content {
  max-width: 680px;
}

.hero-brand-subtitle {
  font-family: var(--font-latin);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.22;
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 1.18rem;
  color: var(--text-gray);
  line-height: 1.85;
  margin-bottom: 26px;
}

.hero-features-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  background: rgba(6, 26, 46, 0.6);
  border: 1px solid rgba(255, 138, 0, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 34px;
  backdrop-filter: blur(8px);
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-white);
}

.ribbon-item svg {
  color: var(--primary-orange);
}

.ribbon-sep {
  color: var(--accent-gold);
  opacity: 0.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 24px;
  background: rgba(10, 36, 63, 0.65);
  border: 1px solid rgba(255, 138, 0, 0.25);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(6, 26, 46, 0.8);
}

.hero-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.visual-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #00E676;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #00E676;
  border-radius: 50%;
  box-shadow: 0 0 8px #00E676;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.visual-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 16px;
  position: relative;
}

.visual-img-wrap img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-visual-card:hover .visual-img-wrap img {
  transform: scale(1.04);
}

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

.metric-box {
  background: rgba(6, 26, 46, 0.8);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.metric-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.metric-value {
  font-family: var(--font-latin);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-white);
}

/* ==========================================================================
   STATISTICS BAR (DEMO COUNTERS)
   ========================================================================== */
.stats-section {
  margin-top: -45px;
  margin-bottom: 30px;
  position: relative;
  z-index: 20;
}

.stats-card-wrapper {
  background: rgba(9, 30, 53, 0.95);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

/* ==========================================================================
   PLATFORM FEATURES HIGHLIGHTS (5 ITEMS FROM USER IMAGE)
   ========================================================================== */
.platform-features-section {
  padding: 10px 0 70px;
  background: var(--bg-navy-deep);
  position: relative;
  z-index: 15;
}

.platform-features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.p-feature-card {
  background: rgba(10, 36, 63, 0.7);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
}

.p-feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-orange);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(255, 138, 0, 0.25);
}

.p-feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p-feature-text {
  display: flex;
  flex-direction: column;
}

.p-feature-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 2px;
  font-family: var(--font-arabic);
}

.p-feature-subtitle {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-orange);
}

@media (max-width: 1200px) {
  .platform-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .platform-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .platform-features-grid {
    grid-template-columns: 1fr;
  }
}

.stats-disclaimer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: #FFAE33;
  background: rgba(255, 138, 0, 0.08);
  border: 1px solid rgba(255, 138, 0, 0.22);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  margin-bottom: 22px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 138, 0, 0.12);
  border: 1px solid rgba(255, 138, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  margin-bottom: 12px;
}

.stat-number {
  font-family: var(--font-latin);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 4px;
  direction: ltr;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-gray);
}

/* ==========================================================================
   ABOUT SECTION ("من نحن")
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
  position: relative;
}

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

.about-content h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-p1 {
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-p2 {
  font-size: 1.04rem;
  color: var(--text-gray);
  margin-bottom: 32px;
  line-height: 1.8;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition-normal);
}

.about-feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 138, 0, 0.12);
  border: 1px solid rgba(255, 138, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  margin-bottom: 12px;
}

.about-feature-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.about-feature-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.65;
}

.about-visual {
  position: relative;
}

.about-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 138, 0, 0.25);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-visual:hover .about-image-frame img {
  transform: scale(1.03);
}

.about-floating-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-navy);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.badge-icon {
  width: 40px;
  height: 40px;
  background: rgba(217, 169, 40, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
}

.badge-text-title {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.badge-text-val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-white);
}

/* ==========================================================================
   MINING HARDWARE SECTION ("أجهزة التعدين")
   ========================================================================== */
.mining-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-navy-deep) 0%, var(--bg-navy) 50%, var(--bg-navy-deep) 100%);
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.hardware-card {
  background: rgba(8, 27, 48, 0.85);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-md);
}

.hardware-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-card-hover);
}

.hardware-badge-status {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  background: rgba(0, 230, 118, 0.15);
  color: #00E676;
  border: 1px solid rgba(0, 230, 118, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.hardware-img-wrap {
  width: 100%;
  height: 220px;
  background: #041221;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
}

.hardware-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hardware-card:hover .hardware-img-wrap img {
  transform: scale(1.06);
}

.hardware-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hardware-header-info {
  margin-bottom: 16px;
}

.hardware-cat {
  font-size: 0.82rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.hardware-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  font-family: var(--font-latin);
}

.hardware-specs-list {
  background: rgba(4, 17, 31, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
}

.spec-title {
  color: var(--text-muted);
}

.spec-val {
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-latin);
  direction: ltr;
}

.spec-val.editable-tag {
  color: var(--accent-gold);
  font-family: var(--font-arabic);
  font-size: 0.8rem;
}

.hardware-action {
  margin-top: auto;
}

.hardware-action .btn {
  width: 100%;
}

/* ==========================================================================
   MINING DEMO CALCULATOR
   ========================================================================== */
.calculator-box {
  background: rgba(6, 22, 38, 0.9);
  border: 1px solid rgba(255, 138, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-top: 40px;
  box-shadow: var(--shadow-lg);
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.calc-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
}

.calc-disclaimer-pill {
  font-size: 0.8rem;
  background: rgba(255, 138, 0, 0.12);
  color: var(--primary-orange);
  border: 1px solid rgba(255, 138, 0, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-field-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.calc-field-group select,
.calc-field-group input {
  width: 100%;
  padding: 12px 16px;
  background: #030F1C;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  outline: none;
  transition: border-color var(--transition-fast);
}

.calc-field-group select:focus,
.calc-field-group input:focus {
  border-color: var(--primary-orange);
}

.calc-outputs {
  background: rgba(3, 15, 28, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-out-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.calc-out-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.calc-out-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.calc-out-val {
  font-family: var(--font-latin);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-orange);
  direction: ltr;
}

/* ==========================================================================
   MINING POOLS SECTION ("أحواض التعدين العالمية")
   ========================================================================== */
.pools-section {
  padding: 100px 0;
  background: var(--bg-navy-deep);
  color: var(--text-primary);
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pools-disclaimer-note {
  max-width: 820px;
  margin: -30px auto 40px;
  background: rgba(6, 24, 43, 0.85);
  border: 1px solid rgba(217, 169, 40, 0.35);
  border-right: 4px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 0.88rem;
  color: var(--text-gray);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.pools-disclaimer-note strong {
  color: var(--accent-gold);
}

.pools-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}

.pool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.pool-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-card-hover);
}

.pool-logo-wrap {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.pool-logo-wrap img,
.pool-logo-wrap svg {
  max-height: 44px;
  width: auto;
}

.pool-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
  font-family: var(--font-latin);
}

.pool-tag {
  display: inline-block;
  background: rgba(255, 138, 0, 0.12);
  color: var(--primary-orange);
  border: 1px solid rgba(255, 138, 0, 0.25);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.pool-card p {
  font-size: 0.82rem;
  color: var(--text-gray);
  line-height: 1.55;
}

.pools-cta-wrap {
  text-align: center;
}

/* ==========================================================================
   BLOCKCHAIN SECTION ("تقنية البلوكشين")
   ========================================================================== */
.blockchain-section {
  padding: 100px 0;
  background-color: var(--bg-navy-deep);
  position: relative;
  overflow: hidden;
}

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

.blockchain-cards-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blockchain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all var(--transition-normal);
}

.blockchain-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-orange);
  transform: translateX(-6px);
}

.blockchain-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 138, 0, 0.12);
  border: 1px solid rgba(255, 138, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  flex-shrink: 0;
}

.blockchain-card-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}

.blockchain-card-content p {
  font-size: 0.94rem;
  color: var(--text-gray);
  line-height: 1.7;
}

.blockchain-visual-col {
  position: relative;
}

.blockchain-visual-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(217, 169, 40, 0.3);
  box-shadow: var(--shadow-lg);
}

.blockchain-visual-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blockchain-visual-col:hover .blockchain-visual-frame img {
  transform: scale(1.04);
}

/* ==========================================================================
   CRYPTOCURRENCY SECTION ("عالم العملات الرقمية")
   ========================================================================== */
.crypto-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
  position: relative;
}

.crypto-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.crypto-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.crypto-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.crypto-icon-wrap {
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.crypto-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 2px;
}

.crypto-symbol {
  font-family: var(--font-latin);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.crypto-desc {
  font-size: 0.84rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.crypto-algo-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-orange);
  background: rgba(255, 138, 0, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 138, 0, 0.2);
}

/* ==========================================================================
   INVESTMENT SECTION ("خطط استثمار تجريبية")
   ========================================================================== */
.investment-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-navy) 0%, var(--bg-navy-deep) 100%);
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.invest-disclaimer-banner {
  max-width: 900px;
  margin: -20px auto 48px;
  background: rgba(255, 138, 0, 0.08);
  border: 1px solid rgba(255, 138, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #FFAE33;
  font-size: 0.94rem;
  font-weight: 600;
  text-align: center;
  justify-content: center;
}

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

.invest-card {
  background: rgba(6, 24, 43, 0.8);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

.invest-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-card-hover);
}

.invest-card.featured {
  background: linear-gradient(180deg, rgba(14, 44, 76, 0.95) 0%, rgba(6, 26, 46, 0.95) 100%);
  border: 2px solid var(--primary-orange);
  box-shadow: 0 12px 35px rgba(255, 138, 0, 0.22);
  transform: scale(1.04);
}

.invest-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-orange);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(255, 138, 0, 0.4);
}

.invest-plan-name {
  font-family: var(--font-latin);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.invest-price {
  font-family: var(--font-latin);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 24px;
}

.invest-price span {
  font-size: 1.4rem;
  color: var(--accent-gold);
}

.invest-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
}

.invest-feature-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}

.invest-f-label {
  color: var(--text-muted);
}

.invest-f-val {
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-latin);
  direction: ltr;
}

.invest-action {
  margin-top: auto;
}

.invest-action .btn {
  width: 100%;
}

/* ==========================================================================
   WHY CHOOSE US SECTION ("لماذا AMDIGITAL MINING؟")
   ========================================================================== */
.why-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
  position: relative;
}

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

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: all var(--transition-normal);
}

.why-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.why-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 138, 0, 0.12);
  border: 1px solid rgba(255, 138, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  margin-bottom: 18px;
}

.why-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.94rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ==========================================================================
   CALL TO ACTION (CTA BANNER)
   ========================================================================== */
.cta-section {
  padding: 80px 0;
  position: relative;
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(14, 44, 76, 0.95) 0%, rgba(6, 26, 46, 0.98) 100%);
  border: 1px solid rgba(255, 138, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 45px rgba(255, 138, 0, 0.12);
}

.cta-glow-circle {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.18) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.15rem;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.cta-disclaimer {
  font-size: 0.82rem;
  color: var(--accent-gold);
  margin-top: 20px;
  opacity: 0.9;
}

/* ==========================================================================
   FAQ ACCORDION & CONTACT SECTION ("تواصل معنا")
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background-color: var(--bg-navy-deep);
  position: relative;
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
}

/* FAQ Accordion */
.faq-wrap h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-orange);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 1.04rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: right;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background: rgba(3, 15, 28, 0.5);
}

.faq-answer-inner {
  padding: 0 22px 20px;
  color: var(--text-gray);
  font-size: 0.94rem;
  line-height: 1.75;
}

/* Contact Form */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-lg);
}

.contact-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(3, 15, 28, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-orange);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.social-links-wrap {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.social-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.social-grid {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--primary-orange);
  color: #FFFFFF;
  border-color: var(--primary-orange);
  transform: translateY(-3px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #03080E;
  color: var(--text-gray);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 138, 0, 0.15);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-col img {
  height: 46px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--font-latin);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 18px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 24px;
  height: 2px;
  background: var(--primary-orange);
  border-radius: 2px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 0.92rem;
  color: var(--text-gray);
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--primary-orange);
  padding-right: 4px;
}

.footer-disclaimer-box {
  background: rgba(6, 26, 46, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 34px;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--text-muted);
  text-align: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODALS (Hardware Inquiry & Video Tour)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 11, 20, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-navy-deep);
  border: 1px solid rgba(255, 138, 0, 0.35);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(255, 138, 0, 0.15);
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--primary-orange);
  color: #FFFFFF;
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 0.94rem;
  color: var(--text-gray);
  margin-bottom: 20px;
}

/* Toast Notifications */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-navy-deep);
  border: 1px solid var(--primary-orange);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  color: var(--text-white);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS & ULTRA-PROFESSIONAL MOBILE ENGINE
   ========================================================================== */
@media (max-width: 1200px) {
  .hardware-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pools-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .crypto-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .invest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .blockchain-grid,
  .contact-faq-grid,
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Mobile Drawer Navigation */
  .nav-menu {
    position: fixed;
    top: 0;
    width: 290px;
    height: 100vh;
    height: 100dvh;
    background: rgba(6, 24, 43, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-left: 1px solid var(--border-card);
    border-right: 1px solid var(--border-card);
    flex-direction: column;
    padding: 76px 20px 30px;
    gap: 12px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.7);
    overflow-y: auto;
  }

  /* RTL / LTR Drawer Alignment */
  html[dir="rtl"] .nav-menu {
    right: -320px;
    left: auto;
  }
  html[dir="rtl"] .nav-menu.open {
    right: 0;
  }

  html[dir="ltr"] .nav-menu {
    left: -320px;
    right: auto;
  }
  html[dir="ltr"] .nav-menu.open {
    left: 0;
  }

  .nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
  }

  .nav-link.active,
  .nav-link:hover {
    background: rgba(255, 138, 0, 0.12);
    border-color: rgba(255, 138, 0, 0.3);
    color: var(--primary-orange);
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(10, 36, 63, 0.85);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    color: var(--text-white);
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Header Mobile Compact */
  .site-header {
    padding: 10px 0;
  }
  .header-container {
    padding: 0 16px;
  }
  .brand-logo img {
    height: 38px !important;
    width: auto !important;
  }
  #headerCtaBtn {
    padding: 6px 12px !important;
    font-size: 0.82rem !important;
    height: 36px !important;
  }

  /* Hero Section Mobile Polish */
  .hero-section {
    padding: 100px 0 40px;
    text-align: center;
  }
  .hero-badge-tag {
    margin: 0 auto 16px;
    font-size: 0.78rem;
    padding: 5px 12px;
    max-width: 100%;
  }
  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.38 !important;
    margin-bottom: 14px !important;
  }
  .hero-desc {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    margin: 0 auto 20px !important;
  }
  .hero-ribbon-badges {
    justify-content: center !important;
    gap: 8px !important;
  }
  .ribbon-badge {
    font-size: 0.76rem !important;
    padding: 5px 12px !important;
  }
  .hero-actions {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    height: 48px !important;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
  }

  /* Visual Metrics on Mobile Datacenter Card */
  .visual-metrics {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 12px !important;
  }
  .metric-box {
    padding: 8px 12px !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .metric-label {
    font-size: 0.8rem !important;
    margin-bottom: 0 !important;
  }
  .metric-value {
    font-size: 0.9rem !important;
  }

  /* Dashboard Stats Grid 2x2 on Mobile */
  .stats-card-wrapper {
    padding: 16px 14px !important;
    border-radius: 16px !important;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .stat-item {
    padding: 12px 8px !important;
  }
  .stat-item::after {
    display: none !important;
  }
  .stat-number {
    font-size: 1.5rem !important;
  }
  .stat-label {
    font-size: 0.8rem !important;
  }

  /* Section Headers Mobile */
  .section-header h2 {
    font-size: 1.65rem !important;
    line-height: 1.35 !important;
  }
  .section-header p {
    font-size: 0.92rem !important;
  }

  /* Hardware Grid Mobile */
  .hardware-grid {
    grid-template-columns: 1fr !important;
    max-width: 440px;
    margin: 0 auto;
    gap: 20px !important;
  }
  .hardware-card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }
  .hardware-img-wrap {
    height: 170px !important;
  }

  /* Mining Pools Grid 2-Column App View */
  .pools-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .pool-card {
    padding: 16px 10px !important;
    border-radius: 14px !important;
  }
  .pool-logo-wrap {
    height: 40px !important;
    margin-bottom: 8px !important;
  }
  .pool-card h4 {
    font-size: 0.92rem !important;
  }
  .pool-card p {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
  }

  /* Cryptocurrencies 2-Column App Grid */
  .crypto-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .crypto-card {
    padding: 14px 10px !important;
    border-radius: 14px !important;
  }
  .crypto-card h4 {
    font-size: 0.92rem !important;
  }
  .crypto-desc {
    font-size: 0.76rem !important;
  }

  /* Investment Cards Mobile */
  .invest-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .invest-card {
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }
  .invest-card.featured {
    transform: none !important;
  }

  /* Why Us & Features Grids */
  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .about-features-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Footer Mobile Alignment */
  .site-footer {
    padding: 50px 0 24px !important;
  }
  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center !important;
  }
  .footer-brand-col {
    align-items: center !important;
    display: flex;
    flex-direction: column;
  }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center !important;
  }

  /* Modals Mobile Polish */
  .modal-overlay {
    padding: 12px !important;
  }
  .modal-container {
    max-width: 95% !important;
    max-height: 88vh !important;
    padding: 22px 16px !important;
    border-radius: 18px !important;
  }
  .modal-close-btn {
    top: 14px !important;
    left: 14px !important;
    width: 32px !important;
    height: 32px !important;
  }
  .modal-header h3 {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem !important;
  }
  .hardware-img-wrap {
    height: 150px !important;
  }
  .pools-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .crypto-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON ("تحدث معنا")
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  font-family: var(--font-arabic);
  font-weight: 800;
  font-size: 0.98rem;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: waPulse 2.8s infinite;
}

.whatsapp-float-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.65);
  color: #FFFFFF !important;
}

.whatsapp-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  position: relative;
}

/* Green Online Lamp Indicator Dot */
.online-lamp-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background-color: #00FF66;
  border: 2px solid #0E2F52;
  border-radius: 50%;
  box-shadow: 0 0 10px #00FF66, 0 0 15px #00FF66;
  animation: onlineLampPulse 1.8s infinite ease-in-out;
  z-index: 5;
}

@keyframes onlineLampPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.85);
  }
  70% {
    transform: scale(1.2);
    box-shadow: 0 0 0 9px rgba(0, 255, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 102, 0);
  }
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: 20px;
    left: 20px;
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}
