:root {
  --midnight: #05070a;
  --midnight-light: #0d111c;
  --steel: #8891a0;
  --electric: #2f7bff;
  --electric-light: #6fa3ff;
  --electric-dark: #16305c;

  /* ألوان جديدة للعروض والتحذيرات (Molten Steel Vibe) */
  --alert: #ff4757;
  --alert-dark: #b80f22;
  --alert-glow: rgba(255, 71, 87, 0.4);

  --font-display: 'Changa', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', sans-serif;
  --font-latin: 'IBM Plex Sans', sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--midnight);
  color: #fff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
}
.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-tight {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 96px 0;
  position: relative;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.035;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 3px 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spinSlow {
  from {
    transform: rotate(45deg);
  }
  to {
    transform: rotate(405deg);
  }
}
@keyframes spinSlowRev {
  from {
    transform: rotate(45deg);
  }
  to {
    transform: rotate(-315deg);
  }
}
.shard-spin-slow svg {
  animation: spinSlow 30s linear infinite;
  transform-origin: center;
}
.shard-spin-slow-rev svg {
  animation: spinSlowRev 40s linear infinite;
  transform-origin: center;
}
@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(47, 123, 255, 0);
  }
  50% {
    box-shadow: 0 0 45px rgba(47, 123, 255, 0.25);
  }
}
@keyframes breathe {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.nav {
  position: sticky; /* تم التعديل هنا من fixed لـ sticky */
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1152px;
  margin: 0 auto;
}
.nav-logo img {
  height: 30px;
  width: auto;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.nav-links a:hover {
  color: #fff;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}
.nav-cta {
  background: var(--electric);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}
.nav-cta:hover {
  background: var(--electric-light);
}

.hero {
  position: relative;
  min-height: calc(100vh - 50px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 48px 24px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -40px;
  right: 15%;
  width: 256px;
  height: 256px;
  border-radius: 50%;
  background: rgba(47, 123, 255, 0.14);
  filter: blur(100px);
  animation: breathe 6s ease-in-out infinite;
}
.hero-shard {
  position: absolute;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeInUp 0.8s ease forwards;
}
.hero-logo {
  height: 96px;
  width: auto;
  margin-bottom: 36px;
}
@media (min-width: 768px) {
  .hero-logo {
    height: 92px;
  }
}
.hero-title {
  font-size: 25px;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 0 40px rgba(47, 123, 255, 0.3);
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
}
.hero-tagline {
  margin-top: 16px;
  font-family: var(--font-latin);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--electric-light);
}
@media (min-width: 768px) {
  .hero-tagline {
    font-size: 19px;
  }
}
.hero-desc {
  margin-top: 22px;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
}
@media (min-width: 768px) {
  .hero-desc {
    font-size: 17px;
  }
}
.hero-buttons {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 560px) {
  .hero-buttons {
    flex-direction: row;
  }
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--electric);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background: var(--electric-light);
  box-shadow: 0 10px 30px rgba(47, 123, 255, 0.35);
  transform: translateY(-1px);
}
.btn-primary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.btn-primary:hover svg {
  transform: translateX(-4px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.warning-section {
  padding: 64px 0;
}
.warning-box {
  position: relative;
  text-align: center;
  padding: 40px 28px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(47, 123, 255, 0.06),
    rgba(255, 255, 255, 0.015)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.warning-stripe {
  height: 5px;
  background: repeating-linear-gradient(
    135deg,
    var(--electric) 0 14px,
    var(--steel) 14px 28px
  );
  opacity: 0.55;
  margin: 0 -28px;
}
.warning-stripe:first-child {
  margin-top: -40px;
  margin-bottom: 28px;
}
.warning-stripe:last-child {
  margin-top: 28px;
  margin-bottom: -40px;
}
.warning-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--electric-light);
  letter-spacing: 0.02em;
}
@media (min-width: 768px) {
  .warning-label {
    font-size: 26px;
  }
}
.warning-text {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.warning-text-alt {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.warning-welcome {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--electric-light);
}

.kicker {
  display: block;
  margin: 0 auto 22px;
  width: 20px;
  height: 20px;
  opacity: 0.6;
}
.section-heading {
  text-align: center;
}
.section-heading h2 {
  font-size: 28px;
  color: #fff;
}
@media (min-width: 768px) {
  .section-heading h2 {
    font-size: 34px;
  }
}
.section-heading p {
  max-width: 600px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
}

.pillars-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 560px) {
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pillar {
  border-top: 1px solid rgba(47, 123, 255, 0.4);
  padding-top: 18px;
}
.pillar h3 {
  font-size: 17px;
  color: #fff;
}
.pillar p {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.why-section {
  background: rgba(13, 17, 28, 0.4);
}
.features-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.feature-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 26px;
  transition: all 0.25s ease;
}
.feature-card:hover {
  border-color: rgba(47, 123, 255, 0.35);
  transform: translateY(-3px);
}
.feature-icon {
  width: 30px;
  height: 30px;
  color: var(--electric-light);
}
.feature-card h3 {
  margin-top: 18px;
  font-size: 17px;
  color: #fff;
}
.feature-card p {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.packages-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 1024px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}
.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  padding: 30px;
}
@media (min-width: 768px) {
  .package-card {
    padding: 38px;
  }
}
.package-card--featured {
  border-color: rgba(47, 123, 255, 0.45);
  background: linear-gradient(to bottom, rgba(47, 123, 255, 0.09), transparent);
  animation: pulseGlow 5s ease-in-out infinite;
}
.package-card--solo {
  border-color: rgba(136, 145, 160, 0.3);
  position: relative; /* ضروري لضبط علامة الخصم */
}
.package-badge {
  position: absolute;
  top: -12px;
  right: 30px;
  background: var(--electric);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.package-badge--solo {
  background: var(--electric);
  color: #fff;
}
.package-card h3 {
  font-size: 23px;
  color: #fff;
}
.package-subtitle {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.package-card--featured .package-subtitle {
  color: var(--electric-light);
}
.package-card--solo .package-subtitle {
  color: rgba(255, 255, 255, 0.55);
}
.package-desc {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}
.package-features {
  margin-top: 26px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
}
.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
}
.package-features svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.package-card--featured .package-features svg {
  color: var(--electric-light);
}
.package-card--solo .package-features svg {
  color: var(--electric-light);
}

.bonus-strip {
  margin-top: 24px;
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--electric);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: var(--font-display);
}
.bonus-strip-main {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.bonus-strip-plus {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.bonus-strip-bonus {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  padding: 2px 10px;
  border-radius: 6px;
}

.duration-label {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.duration-toggle {
  margin-top: 10px;
  display: inline-flex;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  width: fit-content;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.duration-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.2s ease;
}
.duration-btn.active {
  background: #fff;
  color: var(--midnight);
}

.package-price-block {
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.package-price {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-display);
}
.package-price-original {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: line-through;
  font-family: var(--font-display);
}
.package-price-note {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.package-cta {
  margin-top: 20px;
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  transition: all 0.2s ease;
}
.package-cta--primary {
  background: var(--electric);
  color: #fff;
}
.package-cta--primary:hover {
  background: var(--electric-light);
  box-shadow: 0 10px 30px rgba(47, 123, 255, 0.35);
}
.package-cta--secondary {
  background: var(--electric);
  color: #fff;
}
.package-cta--secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.comparison-wrap {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 36px;
}
.comparison-header,
.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  padding: 15px 24px;
}
.comparison-header {
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.comparison-header span:nth-child(2) {
  text-align: center;
  color: var(--electric-light);
}
.comparison-header span:nth-child(3) {
  text-align: center;
}
.comparison-row {
  font-size: 14px;
}
.comparison-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}
.comparison-row span {
  display: flex;
  justify-content: center;
}
.comparison-row span:first-child {
  justify-content: flex-start;
  color: rgba(255, 255, 255, 0.7);
}
.comparison-row svg {
  width: 16px;
  height: 16px;
}
.check-yes {
  color: var(--electric-light);
}
.check-yes.dim {
  color: rgba(255, 255, 255, 0.6);
}
.check-no {
  color: rgba(255, 255, 255, 0.2);
}

.about-ahmed {
  background: rgba(13, 17, 28, 0.4);
}
.timeline {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
@media (min-width: 640px) {
  .timeline {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }
}
.timeline-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.timeline-frame {
  width: 180px;
  height: 180px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-frame svg {
  width: 44px;
  height: 44px;
}
.timeline-frame--before {
  background: linear-gradient(
    to bottom right,
    rgba(136, 145, 160, 0.15),
    var(--midnight)
  );
  color: rgba(255, 255, 255, 0.25);
}
.timeline-frame--after {
  background: linear-gradient(
    to bottom right,
    rgba(47, 123, 255, 0.25),
    var(--midnight)
  );
  color: rgba(111, 163, 255, 0.5);
  box-shadow: 0 0 40px rgba(47, 123, 255, 0.2);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.timeline-caption {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.timeline-arrow {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: var(--electric-light);
}
@media (min-width: 640px) {
  .timeline-arrow {
    flex-direction: column;
  }
}
.timeline-arrow svg {
  width: 26px;
  height: 26px;
  transform: rotate(180deg);
}
@media (min-width: 640px) {
  .timeline-arrow svg {
    transform: rotate(270deg);
  }
}
.timeline-arrow span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}
.about-story {
  margin-top: 56px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.about-story h3 {
  font-size: 24px;
  color: #fff;
}
.about-story p {
  margin-top: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  text-align: right;
}

.faq-list {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-align: right;
}
.faq-chevron {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 22px 19px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.final-cta-glow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.final-cta-glow div {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(47, 123, 255, 0.16);
  filter: blur(120px);
  animation: breathe 6s ease-in-out infinite;
}
.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.final-cta h2 {
  font-size: 28px;
  color: #fff;
}
@media (min-width: 768px) {
  .final-cta h2 {
    font-size: 44px;
  }
}
.final-cta p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
}
.final-cta .btn-primary {
  margin-top: 28px;
  padding: 15px 36px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 36px 24px 100px;
}
.footer-inner {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
@media (min-width: 560px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-inner img {
  height: 62px;
  width: auto;
  opacity: 0.7;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-socials a:hover {
  color: #fff;
}
.footer-socials svg {
  width: 19px;
  height: 19px;
}
.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.sticky-cta.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sticky-cta .btn-primary {
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
