/* ═══════════════════════════════════════════════
   BOOD SOLUTIONS · GYM SUPPLEMENTS PROPOSAL
   Premium Dark Sports/Fitness Design System (Bilingual)
   ═══════════════════════════════════════════════ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #08090C;
  --bg-dark: #0B0C10;
  --card: #12141C;
  --card-hover: #191C26;
  --white: #FFFFFF;
  
  /* Gym Supplements Vibrant Colors */
  --accent: #FF5400; /* High-intensity workout orange */
  --accent-light: #FF7733;
  --accent-glow: rgba(255, 84, 0, 0.25);
  --accent2: #FFCC00; /* Premium Energy Gold */
  --accent2-glow: rgba(255, 204, 0, 0.15);
  
  --soft-dark: #1E202B;
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 84, 0, 0.4);
  --text: #F1F5F9;
  --muted: #94A3B8;
  --success: #10B981;
  --success-glow: rgba(16, 185, 129, 0.15);
  --warn: #F59E0B;
  --danger: #EF4444;
  --danger-glow: rgba(239, 68, 68, 0.15);
  
  --glass: rgba(18, 20, 28, 0.75);
  --glass-border: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 12px 30px rgba(0,0,0,0.6);
  --shadow-lg: 0 20px 40px rgba(255, 84, 0, 0.08), 0 10px 20px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 35px rgba(255, 84, 0, 0.35);
  --shadow-gold: 0 0 35px rgba(255, 204, 0, 0.2);
  
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  background-color: var(--black);
}

body {
  font-family: 'Outfit', 'Sora', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
}

/* RTL Support Override */
[dir="rtl"] body {
  font-family: 'Tajawal', 'Outfit', sans-serif;
}

[dir="rtl"] .cover-badge,
[dir="rtl"] .cover-meta,
[dir="rtl"] .toc,
[dir="rtl"] .overview-grid,
[dir="rtl"] .comparison-container,
[dir="rtl"] .solution-details,
[dir="rtl"] .roadmap-timeline,
[dir="rtl"] .packages-grid,
[dir="rtl"] .payment-schedule,
[dir="rtl"] .del-split-grid,
[dir="rtl"] .del-grid,
[dir="rtl"] .why-grid {
  direction: rtl;
}

[dir="rtl"] .section-label {
  text-align: right;
  justify-content: flex-start;
}
[dir="rtl"] .section-label::before {
  display: none;
}
[dir="rtl"] .section-label::after {
  content: '';
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  margin-right: 0;
  margin-left: 8px;
}

[dir="rtl"] .section-title,
[dir="rtl"] .section-desc,
[dir="rtl"] .highlight-box,
[dir="rtl"] .sol-features,
[dir="rtl"] .persuade-wrapper,
[dir="rtl"] .del-section,
[dir="rtl"] .why-card {
  text-align: right;
}

[dir="rtl"] .sol-features ul {
  padding-right: 0;
  list-style: none;
}
[dir="rtl"] .sol-features li::before {
  content: '⚡';
  color: var(--accent);
  margin-left: 8px;
  margin-right: 0;
  display: inline-block;
}

[dir="rtl"] .p-card {
  text-align: right;
  flex-direction: row-reverse;
}

[dir="rtl"] .roadmap-step {
  flex-direction: row-reverse;
  text-align: right;
}
[dir="rtl"] .roadmap-tags {
  justify-content: flex-end;
}
[dir="rtl"] .roadmap-duration::before {
  display: none;
}
[dir="rtl"] .roadmap-duration::after {
  content: '';
  width: 8px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

[dir="rtl"] .pkg-card {
  text-align: right;
}
[dir="rtl"] .pkg-features {
  text-align: right;
  padding-right: 0;
}
[dir="rtl"] .pkg-features li::before {
  content: '✓';
  color: var(--success);
  margin-left: 8px;
  margin-right: 0;
  display: inline-block;
  font-weight: bold;
}

[dir="rtl"] .del-item {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] .why-card .why-badge-num {
  left: auto;
  right: 24px;
}

[dir="rtl"] .comparison-table th, 
[dir="rtl"] .comparison-table td {
  text-align: right;
}
[dir="rtl"] .comparison-table th.center-align, 
[dir="rtl"] .comparison-table td.center-align {
  text-align: center;
}

/* ── LANG TOGGLE ── */
.lang-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  background: rgba(8, 9, 12, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
[dir="rtl"] .lang-toggle {
  right: auto;
  left: 20px;
}
.lang-toggle button {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.05em;
}
.lang-toggle button.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  box-shadow: 0 4px 15px var(--accent-glow);
}
.lang-toggle button:hover:not(.active) {
  color: rgba(255, 255, 255, 0.8);
}

/* ── COVER (HERO) ── */
.cover {
  background: linear-gradient(180deg, #090A0F 0%, #0B0C11 100%);
  color: var(--white);
  padding: 120px 64px 90px;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-bottom: 1px solid var(--border);
}
.cover::before {
  content: '';
  position: absolute;
  top: -250px;
  right: -100px;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 84, 0, 0.15) 0%, rgba(255, 204, 0, 0.05) 50%, transparent 70%);
  animation: pulseGlow 8s ease-in-out infinite alternate;
}
.cover::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.08) 0%, transparent 60%);
  animation: pulseGlow 10s ease-in-out 2s infinite alternate;
}
@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 0.9; }
}

.cover-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 84, 0, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 84, 0, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  pointer-events: none;
}

.cover-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 84, 0, 0.1);
  border: 1px solid rgba(255, 84, 0, 0.2);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  animation: fadeSlideUp 0.6s ease-out;
}
.cover-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.cover h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.7s ease-out 0.1s both;
}
.cover h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cover-sub {
  font-size: 17px;
  color: var(--muted);
  font-weight: 400;
  position: relative;
  z-index: 1;
  margin-bottom: 56px;
  max-width: 720px;
  line-height: 1.75;
  animation: fadeSlideUp 0.8s ease-out 0.2s both;
}
.cover-meta {
  display: flex;
  gap: 48px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.9s ease-out 0.3s both;
}
.cover-meta-item label {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.12em;
  color: #475569;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.cover-meta-item p {
  font-size: 15px;
  color: var(--white);
  font-weight: 700;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── TOC STICKY NAV ── */
.toc {
  display: flex;
  background: rgba(11, 12, 16, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.toc::-webkit-scrollbar {
  height: 3px;
}
.toc::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}
.toc a {
  padding: 18px 24px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.toc a:hover {
  color: var(--accent-light);
  border-bottom-color: var(--accent);
}

/* ── SECTIONS ── */
.section {
  padding: 80px 64px;
  border-bottom: 1px solid var(--border);
}
.section:last-child {
  border-bottom: none;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.section-desc {
  color: var(--muted);
  font-size: 15px;
  max-width: 800px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: linear-gradient(135deg, rgba(255, 84, 0, 0.08) 0%, rgba(255, 204, 0, 0.05) 100%);
  border: 1px solid rgba(255, 84, 0, 0.2);
  border-radius: var(--radius);
  padding: 30px 36px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.highlight-box::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 84, 0, 0.04);
}
.highlight-box h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 8px;
}
.highlight-box p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.75;
}

/* ── OVERVIEW CARDS ── */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}
.ov-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ov-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: var(--transition);
}
.ov-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 84, 0, 0.25);
  background: var(--card-hover);
}
.ov-card:hover::before {
  opacity: 1;
}
.ov-card .ov-icon {
  font-size: 26px;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 84, 0, 0.08);
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 1px solid rgba(255, 84, 0, 0.12);
}
.ov-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}
.ov-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── GOAL CATEGORIES GRID ── */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.goal-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}
.goal-card:hover {
  border-color: var(--accent);
  background: rgba(255, 84, 0, 0.05);
  transform: scale(1.02);
}
.goal-icon {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
}
.goal-card h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.goal-card p {
  font-size: 11px;
  color: var(--muted);
}

/* ── BUNDLES SHOWCASE ── */
.bundles-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bundle-box {
  background: linear-gradient(145deg, #13151F, #0E0F15);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: var(--transition);
}
.bundle-box:hover {
  border-color: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 204, 0, 0.06);
}
.bundle-badge {
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--accent2);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
}
[dir="rtl"] .bundle-badge {
  left: auto;
  right: 24px;
}
.bundle-box h5 {
  font-size: 16px;
  font-weight: 800;
  margin-top: 6px;
  margin-bottom: 8px;
}
.bundle-box p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}
.bundle-items {
  list-style: none;
  font-size: 11.5px;
  color: var(--text);
}
.bundle-items li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bundle-items li::before {
  content: '⚡';
  color: var(--accent2);
  font-size: 10px;
}

/* ── COMPARISON TABLE ── */
.comparison-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 24px;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.comparison-table th {
  background: rgba(255, 255, 255, 0.02);
  padding: 20px 24px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--white);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
}
.comparison-table th.highlight,
.comparison-table td.highlight {
  background: rgba(255, 84, 0, 0.04);
  border-left: 1px solid rgba(255, 84, 0, 0.15);
  border-right: 1px solid rgba(255, 84, 0, 0.15);
}
.comparison-table td {
  padding: 18px 24px;
  font-size: 13.5px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table tr:hover td {
  background: rgba(255,255,255,0.01);
}
.comparison-table tr:hover td.highlight {
  background: rgba(255, 84, 0, 0.06);
}
.table-feature {
  font-weight: 700;
  color: var(--white);
}
.table-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.table-badge.smart {
  background: var(--success-glow);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.table-badge.custom {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border: 1px solid var(--border);
}

.recommendation-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius);
  padding: 30px 36px;
  margin-top: 36px;
}
.recommendation-box h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--success);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.recommendation-box p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* ── SOLUTIONS DETAILS ── */
.solution-details {
  display: flex;
  gap: 36px;
  align-items: stretch;
  margin-bottom: 24px;
}
.solution-details.reverse {
  flex-direction: row-reverse;
}
.sol-features {
  flex: 1.2;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.sol-features h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 24px;
}
.sol-features ul {
  list-style: none;
}
.sol-features li {
  font-size: 13.5px;
  margin-bottom: 14px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
}
.sol-features li::before {
  content: '⚡';
  color: var(--accent);
  margin-right: 8px;
  font-weight: bold;
  flex-shrink: 0;
}
.sol-features li strong {
  font-weight: 700;
  color: var(--white);
}

.pricing-badge-wrapper {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.persuade-wrapper {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 30px;
  flex: 1;
  box-shadow: var(--shadow-sm);
}
.persuade-wrapper h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.persuade-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.p-card {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--transition);
}
.p-card:hover {
  background: rgba(255, 84, 0, 0.03);
  border-color: rgba(255, 84, 0, 0.15);
}
.p-card .p-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.p-card p {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

.sol-price-box {
  background: linear-gradient(135deg, #101116 0%, #1A120E 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px 30px;
  text-align: center;
  border: 1px solid rgba(255, 84, 0, 0.12);
  box-shadow: var(--shadow-md);
}
.sol-price-lbl {
  font-size: 9.5px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.12em;
  color: #475569;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.sol-price-val {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
  background: linear-gradient(135deg, var(--white), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sol-price-val small {
  font-size: 14px;
  font-weight: 600;
  -webkit-text-fill-color: var(--muted);
  letter-spacing: 0;
  margin-left: 4px;
}

/* ── ROADMAP TIMELINE ── */
.roadmap-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 16px;
}
.roadmap-step {
  display: flex;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px dashed var(--border);
  transition: var(--transition);
}
.roadmap-step:last-child {
  border-bottom: none;
}
.roadmap-step:hover {
  padding-left: 8px;
}
[dir="rtl"] .roadmap-step:hover {
  padding-left: 0;
  padding-right: 8px;
}
.roadmap-num {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--black), #12141C);
  border: 1px solid var(--border);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.roadmap-step:hover .roadmap-num {
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}
.roadmap-content {
  flex: 1;
}
.roadmap-content h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--white);
}
.roadmap-content p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.6;
}
.roadmap-duration {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.roadmap-duration::before {
  content: '';
  width: 8px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.roadmap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.roadmap-tag {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--muted);
  transition: var(--transition);
  font-weight: 500;
}
.roadmap-tag:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ── PRICING SECTION ── */
.packages-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 36px;
}
.pkg-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.pkg-card.recommended {
  border: 2.5px solid var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
  z-index: 2;
  background: linear-gradient(180deg, #13151F 0%, #101116 100%);
}
.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,255,255,0.15);
}
.pkg-card.recommended:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.recommended-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255, 84, 0, 0.4);
}
.pkg-header {
  margin-bottom: 28px;
}
.pkg-badge {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.pkg-card.recommended .pkg-badge {
  color: var(--accent2);
}
.pkg-header h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--white);
}
.pkg-header p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.pkg-price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--white);
  margin-bottom: 28px;
}
.pkg-price small {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 4px;
}
.pkg-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}
.pkg-features li {
  font-size: 12.5px;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
}
.pkg-features li::before {
  content: '✓';
  color: var(--success);
  margin-right: 8px;
  font-weight: bold;
  flex-shrink: 0;
}
.pkg-features li strong {
  font-weight: 700;
  color: var(--white);
}

.pkg-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 13.5px;
  font-weight: 700;
  transition: var(--transition);
}
.pkg-btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}
.pkg-btn.featured {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  border: none;
  box-shadow: 0 4px 18px var(--accent-glow);
}
.pkg-btn.featured:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent2));
  color: var(--black);
  transform: scale(1.01);
  box-shadow: var(--shadow-glow);
}

/* Payment Schedule */
.payment-schedule-container {
  margin-top: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.pay-sched-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.payment-schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pay-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}
.pay-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  border-color: rgba(255, 84, 0, 0.25);
  background: rgba(255, 84, 0, 0.02);
}
.pay-item .pay-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.pay-item .pay-pct {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pay-item .pay-when {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
}

.third-party-note {
  margin-top: 24px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

/* ── DETAILED DELIVERABLES ── */
.del-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.del-section h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--accent2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.del-section h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.del-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.del-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: var(--transition);
}
.del-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 84, 0, 0.2);
  transform: translateX(4px);
}
[dir="rtl"] .del-item:hover {
  transform: translateX(-4px);
}
.del-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 84, 0, 0.08);
  border: 1px solid rgba(255, 84, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.del-item h5 {
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--white);
}
.del-item p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── WHY BOOD SOLUTIONS ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 84, 0, 0.25);
  background: var(--card-hover);
}
.why-card .why-badge-num {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 32px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(135deg, rgba(255, 84, 0, 0.15), rgba(255, 204, 0, 0.15));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.why-card h4 {
  font-size: 15px;
  font-weight: 800;
  margin-top: 36px;
  margin-bottom: 8px;
  color: var(--white);
}
.why-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── FOOTER ── */
.footer-section {
  background: linear-gradient(180deg, #0B0C10 0%, #060709 100%);
  color: var(--white);
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.footer-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 84, 0, 0.08), transparent 70%);
}
.footer-section .f-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}
.footer-section .f-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.cta-btn {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 18px 40px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.2px;
  box-shadow: 0 8px 30px var(--accent-glow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 84, 0, 0.45);
  background: linear-gradient(135deg, var(--accent-light), var(--accent2));
  color: var(--black);
}
.footer-meta {
  margin-top: 44px;
  font-size: 11.5px;
  color: #475569;
  font-family: 'JetBrains Mono', monospace;
  position: relative;
  z-index: 1;
  letter-spacing: 0.03em;
}

/* ── RESPONSIVE DESIGN ── */
@media (max-width: 1024px) {
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pkg-card.recommended {
    transform: none;
  }
  .pkg-card.recommended:hover {
    transform: translateY(-6px);
  }
  .goals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bundles-wrapper {
    grid-template-columns: 1fr;
  }
  .solution-details, .solution-details.reverse {
    flex-direction: column;
    gap: 24px;
  }
  .pricing-badge-wrapper {
    flex: none;
    width: 100%;
  }
  .del-split-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* 1. Mobile Cover/Hero Section Design */
  .cover {
    padding: 100px 20px 48px;
    min-height: auto;
  }
  .cover h1 {
    font-size: 30px;
    letter-spacing: -0.8px;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  .cover-sub {
    font-size: 13.5px;
    line-height: 1.65;
    margin-bottom: 36px;
  }
  .cover-badge {
    margin-bottom: 24px;
    padding: 6px 16px;
    font-size: 10px;
  }
  
  /* Cover Metadata Grid (2x2 Layout) */
  .cover-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
  }
  .cover-meta-item label {
    font-size: 9px;
    margin-bottom: 4px;
  }
  .cover-meta-item p {
    font-size: 13px;
  }

  /* 2. Premium TOC Horizontal App Bar Navigation */
  .toc {
    padding: 0 4px;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide standard Firefox scrollbars */
    -ms-overflow-style: none; /* Hide IE scrollbars */
  }
  .toc::-webkit-scrollbar {
    display: none; /* Hide Safari and Chrome scrollbars */
  }
  .toc a {
    padding: 14px 18px;
    font-size: 10.5px;
    font-weight: 700;
  }

  /* 3. Section Sizing */
  .section {
    padding: 48px 20px;
  }
  .section-title {
    font-size: 23px;
    letter-spacing: -0.5px;
    line-height: 1.25;
  }
  .section-desc {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 32px;
  }
  
  /* Highlight Box Sizing */
  .highlight-box {
    padding: 24px;
    margin-bottom: 32px;
  }
  .highlight-box h4 {
    font-size: 14.5px;
  }
  .highlight-box p {
    font-size: 13px;
    line-height: 1.6;
  }

  /* 4. Modular Grids to 1-Column Stacks */
  .overview-grid, .why-grid, .del-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .ov-card, .why-card {
    padding: 24px;
  }
  .ov-card .ov-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin-bottom: 16px;
  }
  .ov-card h4, .why-card h4 {
    font-size: 15px;
  }
  .why-card .why-badge-num {
    top: 20px;
    left: 20px;
    font-size: 26px;
  }
  [dir="rtl"] .why-card .why-badge-num {
    left: auto;
    right: 20px;
  }

  /* Goals Grid Sizing */
  .goals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .goal-card {
    padding: 16px 12px;
  }
  .goal-icon {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .goal-card h5 {
    font-size: 12.5px;
  }

  /* Bundles Grid Sizing */
  .bundles-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bundle-box {
    padding: 24px;
  }
  .bundle-box h5 {
    font-size: 15px;
  }

  /* 5. Complete Mobile Redesign of the Comparison Table (Table to Card Blocks) */
  .comparison-container {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-top: 16px;
  }
  
  .comparison-table, 
  .comparison-table tbody, 
  .comparison-table tr, 
  .comparison-table td {
    display: block;
    width: 100%;
  }
  
  .comparison-table thead {
    display: none; /* Hide header row columns on mobile entirely */
  }
  
  .comparison-table tr {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-sm);
  }
  
  .comparison-table td {
    padding: 0;
    border: none !important;
    background: transparent !important;
  }
  
  .table-feature {
    font-size: 15px;
    color: var(--white);
    font-weight: 800;
    border-bottom: 1.5px solid var(--border);
    padding-bottom: 8px !important;
    margin-bottom: 4px;
  }
  
  .td-val {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    padding: 14px 16px !important;
  }
  
  /* Dynamic custom headers inside comparison cards (Bilingual EN/AR) */
  tr td:nth-child(2) {
    background: rgba(16, 185, 129, 0.03) !important;
    border-color: rgba(16, 185, 129, 0.15) !important;
  }
  tr td:nth-child(2)::before {
    content: 'WordPress / WooCommerce:';
    display: block;
    font-size: 9px;
    font-weight: 800;
    color: var(--success);
    margin-bottom: 6px;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.02em;
  }
  [dir="rtl"] tr td:nth-child(2)::before {
    content: 'ووردبريس / ووكومرس:';
  }
  
  tr td:nth-child(3)::before {
    content: 'Native Custom Code:';
    display: block;
    font-size: 9px;
    font-weight: 800;
    color: var(--muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.02em;
  }
  [dir="rtl"] tr td:nth-child(3)::before {
    content: 'البرمجة الخاصة (كود خاص):';
  }
  
  .recommendation-box {
    padding: 24px;
    margin-top: 24px;
  }
  .recommendation-box h4 {
    font-size: 15px;
  }
  .recommendation-box p {
    font-size: 13px;
    line-height: 1.6;
  }

  /* 6. Mobile Solutions & Features */
  .sol-features {
    padding: 24px;
  }
  .sol-features h3 {
    font-size: 16px;
    margin-bottom: 16px;
  }
  .sol-features li {
    font-size: 12.5px;
    margin-bottom: 10px;
  }
  
  .p-card {
    padding: 10px 14px;
    gap: 10px;
  }
  .p-card p {
    font-size: 11px;
  }
  
  .sol-price-box {
    padding: 20px;
  }
  .sol-price-val {
    font-size: 28px;
  }

  /* 7. Roadmap Mobile Timelines */
  .roadmap-step {
    gap: 14px;
    padding: 20px 0;
  }
  .roadmap-num {
    width: 38px;
    height: 38px;
    font-size: 12px;
    border-radius: 10px;
  }
  .roadmap-content h4 {
    font-size: 14.5px;
  }
  .roadmap-content p {
    font-size: 12.5px;
    margin-bottom: 10px;
  }
  .roadmap-tag {
    font-size: 10px;
    padding: 2px 8px;
  }

  /* 8. Pricing Option B Breathing Glow on Mobile */
  .pkg-card {
    padding: 28px 24px;
    margin-bottom: 16px;
  }
  .pkg-price {
    font-size: 36px;
    margin-bottom: 20px;
  }
  .pkg-features {
    margin-bottom: 24px;
  }
  .pkg-features li {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .pkg-btn {
    padding: 12px 16px;
    font-size: 12.5px;
  }
  
  /* Glowing Breathing Highlight for Option B on Mobile */
  .pkg-card.recommended {
    border-width: 2px;
    box-shadow: var(--shadow-glow);
    animation: mobileBreathingGlow 3s ease-in-out infinite alternate;
  }
  @keyframes mobileBreathingGlow {
    0% {
      box-shadow: 0 0 15px rgba(255, 84, 0, 0.15);
      border-color: rgba(255, 84, 0, 0.8);
    }
    100% {
      box-shadow: 0 0 30px rgba(255, 84, 0, 0.35);
      border-color: var(--accent);
    }
  }
  .recommended-ribbon {
    top: -12px;
    font-size: 9px;
    padding: 4px 12px;
  }

  /* 9. Payment Schedule Mobile Refactor */
  .payment-schedule-container {
    padding: 24px;
    margin-top: 32px;
  }
  .pay-sched-label {
    font-size: 12.5px;
    margin-bottom: 16px;
  }
  .payment-schedule {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .pay-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    padding: 14px 18px;
  }
  [dir="rtl"] .pay-item {
    text-align: right;
  }
  .pay-item .pay-label {
    margin-bottom: 0;
    font-size: 10px;
  }
  .pay-item .pay-pct {
    font-size: 18px;
  }
  .pay-item .pay-when {
    margin-top: 0;
    font-size: 10px;
  }
  
  .third-party-note {
    margin-top: 16px;
    font-size: 10px;
  }

  /* 10. Deliverables List Sizing */
  .del-item {
    padding: 14px;
    gap: 10px;
  }
  .del-icon {
    width: 28px;
    height: 28px;
    font-size: 11px;
    border-radius: 8px;
  }
  .del-item h5 {
    font-size: 12.5px;
  }
  .del-item p {
    font-size: 11px;
    line-height: 1.45;
  }

  /* 11. Language Toggle Mobile Floating Positions */
  .lang-toggle {
    top: 10px;
    right: 10px;
  }
  [dir="rtl"] .lang-toggle {
    right: auto;
    left: 10px;
  }
  .lang-toggle button {
    padding: 6px 12px;
    font-size: 10px;
  }

  /* 12. Footer mobile spacing */
  .footer-section {
    padding: 64px 20px 48px;
  }
  .footer-section .f-title {
    font-size: 22px;
    line-height: 1.25;
  }
  .footer-section .f-sub {
    font-size: 13.5px;
    margin-bottom: 28px;
    line-height: 1.6;
  }
  .cta-btn {
    padding: 14px 28px;
    font-size: 13.5px;
    width: 100%; /* Make CTA button full-width on mobile for easy finger tapping */
    text-align: center;
  }
  .footer-meta {
    margin-top: 36px;
    font-size: 10px;
  }
}
