@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

:root {
  --bg: #000000;
  --bg-card: #111111;
  --text: #f3f4f6;
  --text-dim: #9ca3af;
  --accent: #FF6600;
  /* Vibrant Orange */
  --accent-hover: #E65C00;
  --glass: rgba(17, 17, 17, 0.7);
  --border: rgba(255, 255, 255, 0.08);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Almarai', sans-serif;
  background-color: var(--bg);
  background-image: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('hero.png.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Almarai', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 100px 0;
}

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Almarai', sans-serif;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 102, 0, 0.5);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at center, rgba(255, 102, 0, 0.08) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}


.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-dim);
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(255, 102, 0, 0.3);
  transform: translateY(-5px);
}

/* Checklists & Content blocks */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1.1rem;
}

.problem-item {
  border-left: 3px solid #ef4444;
}

.success-item {
  border-left: 3px solid #10b981;
}

.cross-list li,
.check-list-simple li {
  position: relative;
  padding-right: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: var(--text-dim);
}

.cross-list li::before {
  content: '✕';
  position: absolute;
  right: 0;
  color: #ef4444;
  font-weight: bold;
}

.check-list-simple li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: #10b981;
  font-weight: bold;
}

.check-list-dark li {
  position: relative;
  padding-right: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: #555;
}

.check-list-dark li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--accent);
  font-weight: bold;
}

.check-list-styled li,
.cross-list-styled li {
  position: relative;
  padding-right: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.check-list-styled li::before {
  content: '\f058';
  /* FontAwesome circle-check */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 0;
  color: #10b981;
  font-size: 1.2rem;
}

.cross-list-styled li::before {
  content: '\f057';
  /* FontAwesome circle-xmark */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 0;
  color: #ef4444;
  font-size: 1.2rem;
}

/* Product Card */
.product-card {
  background: #ffffff;
  color: #000;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.product-badge {
  position: absolute;
  top: -15px;
  right: 3rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(255, 102, 0, 0.4);
}

/* Curriculum Timeline */
.curriculum-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.phase-card {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.phase-card:hover {
  border-color: var(--accent);
  transform: translateX(-10px);
}

.phase-number {
  background: var(--accent);
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  flex-shrink: 0;
}

.phase-content {
  padding: 2rem;
  flex-grow: 1;
}

.phase-content h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Bonus Cards */
.bonus-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.bonus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.bonus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bonus-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.bonus-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.bonus-card p {
  color: var(--text-dim);
}

/* Urgency Alert */
.urgency-alert {
  background: rgba(255, 102, 0, 0.05);
  border: 1px solid rgba(255, 102, 0, 0.2);
  padding: 2rem;
  border-radius: 12px;
  text-align: right;
}

/* Guarantee Badge */
.guarantee-badge {
  background: linear-gradient(135deg, rgba(20, 20, 20, 1) 0%, rgba(40, 40, 40, 1) 100%);
  border: 2px solid #fbbf24;
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(251, 191, 36, 0.1);
  margin: 0 auto;
}

.guarantee-icon {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  color: #fbbf24;
  background: var(--bg-card);
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.guarantee-highlight {
  display: inline-block;
  background: #fbbf24;
  color: #000;
  font-size: 1.5rem;
  font-weight: 900;
  padding: 1rem 2rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3);
}

/* Comparison Grid */
.not-for-card {
  border-top: 4px solid #ef4444;
}

.is-for-card {
  border-top: 4px solid #10b981;
}

.card-header {
  margin: -2.5rem -2.5rem 2rem -2.5rem;
  padding: 1.5rem 2.5rem;
  border-radius: 12px 12px 0 0;
}

/* Accordion */
.accordion-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Almarai', sans-serif;
  cursor: pointer;
  text-align: right;
  transition: var(--transition);
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-header.active {
  color: var(--accent);
}

.toggle-icon {
  transition: transform 0.3s ease;
  color: var(--text-dim);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: rgba(0, 0, 0, 0.2);
}

.accordion-content p {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-dim);
}

/* Testimonials */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.image-wrapper:hover img {
  transform: scale(1.02);
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  /* RTL alignment */
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  z-index: 10;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-success {
  background: rgba(16, 185, 129, 0.9);
  color: #fff;
  border-color: rgba(16, 185, 129, 1);
}

.testimonial-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.testimonial-img:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

/* Footer */
footer {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .cta-group {
    flex-direction: column;
  }

  .phase-card {
    flex-direction: column;
  }

  .phase-number {
    width: 100%;
    padding: 1rem 0;
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}