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

:root {
  --coral: #ED5A2C;
  --midnight: #0F1B3A;
  --cream: #FCF1E4;
  --stone: #6B665E;

  --bg-color: #FCF1E4;
  --text-main: #0F1B3A;
  --text-muted: #6B665E;

  --font-ar: 'Tajawal', sans-serif;
  --font-en: 'Outfit', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 6px rgba(15, 27, 58, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 27, 58, 0.08);
  --shadow-lg: 0 20px 40px rgba(237, 90, 44, 0.15);

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  direction: rtl;
  /* RTL for Arabic */
  scroll-padding-top: 120px;
}

body {
  font-family: var(--font-ar);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

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

/* Layout Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Announcement Bar */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: linear-gradient(135deg, var(--midnight) 0%, #1a2c5a 50%, var(--midnight) 100%);
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  border-bottom: 1px solid rgba(237, 90, 44, 0.3);
  overflow: hidden;
  transition: transform 0.35s ease;
}

.announcement-bar-hidden {
  transform: translateY(-100%);
}

.announcement-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(237, 90, 44, 0.15), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.announcement-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  color: var(--cream);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: var(--transition);
  text-align: center;
}

@media (max-width: 768px) {
  .announcement-link {
    font-size: 0.75rem;
    gap: 0.4rem;
    padding: 0.55rem 0.5rem;
    white-space: nowrap;
  }

  .announcement-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .announcement-arrow {
    display: none;
  }
}

.announcement-link:hover {
  color: #fff;
}

.announcement-link:hover .announcement-arrow {
  transform: translateX(-4px);
}

.announcement-icon {
  font-size: 1.1rem;
  animation: pulse-icon 2s ease-in-out infinite;
}

.announcement-text {
  letter-spacing: 0.02em;
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.announcement-text-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.announcement-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--coral);
  font-weight: 800;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse-icon {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

/* Header & Nav */
header {
  position: fixed;
  top: 44px;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  background: rgba(252, 241, 228, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(15, 27, 58, 0.05);
  transition: var(--transition);
}

header.scrolled {
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

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

.logo svg {
  height: 40px;
  width: auto;
}

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

.nav-links a {
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-main);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--coral);
  transition: var(--transition);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--coral);
  color: var(--cream);
  box-shadow: 0 4px 15px rgba(237, 90, 44, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237, 90, 44, 0.4);
  color: #fff;
}

.btn-secondary {
  background-color: var(--midnight);
  color: var(--cream);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background-color: #1a2c5a;
  color: #fff;
}

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

.btn-outline:hover {
  background-color: var(--midnight);
  color: var(--cream);
}

/* Hero Section */
.hero {
  padding: 12rem 0 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(237, 90, 44, 0.15) 0%, rgba(252, 241, 228, 0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(15, 27, 58, 0.05) 0%, rgba(252, 241, 228, 0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--midnight);
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  color: var(--coral);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  max-width: 90%;
}

.hero-offer {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
  margin-bottom: 2rem;
}

.hero-offer-badge {
  background: var(--coral);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.hero-offer-price {
  color: var(--midnight);
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-ar);
  line-height: 1;
}

.hero-offer-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-offer-limit {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--coral);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  transition: var(--transition);
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-badge {
  position: absolute;
  top: -30px;
  right: -30px;
  background: var(--coral);
  color: var(--cream);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  transform: rotate(15deg);
  box-shadow: var(--shadow-md);
  z-index: 10;
  animation: pulse 2s infinite;
  padding: 10px;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background-color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--midnight);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-color);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid rgba(15, 27, 58, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: rgba(237, 90, 44, 0.2);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--coral);
  color: var(--cream);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

/* Features Video */
.features-video {
  margin: 3rem 0;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--midnight) 0%, #1a2c5a 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(237, 90, 44, 0.1) 0%, transparent 70%);
}

.video-placeholder:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-lg);
}

.video-placeholder:hover .video-play-btn {
  transform: scale(1.15);
}

.video-play-btn {
  width: 80px;
  height: 80px;
  background: var(--coral);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(237, 90, 44, 0.4);
  position: relative;
  z-index: 1;
}

.video-caption {
  color: rgba(252, 241, 228, 0.8);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

/* About Us Section */
.about-section {
  padding: 6rem 0;
  background-color: var(--bg-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--midnight);
  margin-bottom: 1.5rem;
}

.about-lead {
  font-size: 1.3rem;
  color: var(--midnight) !important;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 27, 58, 0.1);
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.about-stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-visual-inner {
  width: 100%;
  aspect-ratio: 1;
  max-width: 350px;
  background: var(--midnight);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Pricing Section */
.pricing {
  padding: 6rem 0;
  background-color: var(--midnight);
  color: var(--cream);
  text-align: center;
}

.pricing .section-header h2 {
  color: var(--cream);
}

.pricing .section-header p {
  color: rgba(252, 241, 228, 0.8);
}

.pricing-card {
  background: #fff;
  color: var(--midnight);
  max-width: 500px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--cream);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
}

.price {
  font-size: 4rem;
  font-weight: 800;
  margin: 1.5rem 0;
  color: var(--midnight);
  font-family: var(--font-en);
}

.price span {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-family: var(--font-ar);
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  text-align: right;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(15, 27, 58, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li svg {
  color: var(--coral);
  flex-shrink: 0;
}

/* Page Headers (for subpages) */
.page-header {
  padding: 12rem 0 4rem;
  background-color: var(--midnight);
  color: var(--cream);
  text-align: center;
}

.page-header h1 {
  font-size: 3.5rem;
  color: var(--cream);
}

.page-header p {
  color: rgba(252, 241, 228, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* Widget Container */
.widget-wrapper {
  padding: 4rem 0;
  min-height: 60vh;
  background-color: #fff;
}

.widget-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 27, 58, 0.05);
}

/* Widget Annotations */
.widget-annotated {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.field-annotation {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 10;
  animation: swing 3s ease-in-out infinite;
  transform-origin: center;
  pointer-events: none;
}

.annotation-right {
  right: 15px;
  flex-direction: row;
}

.annotation-left {
  left: 15px;
  flex-direction: row;
}

.annotation-label {
  background: var(--coral);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-ar), sans-serif;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(237, 90, 44, 0.25);
}

.annotation-arrow {
  flex-shrink: 0;
}

@keyframes swing {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(2deg);
  }

  75% {
    transform: rotate(-2deg);
  }
}

/* Stagger swing timing */
.field-annotation:nth-child(3) {
  animation-delay: 0s;
}

.field-annotation:nth-child(4) {
  animation-delay: 0.4s;
}

.field-annotation:nth-child(5) {
  animation-delay: 0.8s;
}

.field-annotation:nth-child(6) {
  animation-delay: 1.2s;
}

.field-annotation:nth-child(7) {
  animation-delay: 1.6s;
}

.field-annotation:nth-child(8) {
  animation-delay: 2s;
}

.annotations-group {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.annotation-toggle {
  display: block;
  margin: 1rem auto 0;
  padding: 0.5rem 1.25rem;
  background: var(--midnight);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-ar), sans-serif;
  cursor: pointer;
  transition: var(--transition);
  pointer-events: all;
}

.annotation-toggle:hover {
  background: var(--coral);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .widget-annotated {
    overflow: visible;
  }

  .field-annotation {
    gap: 0.15rem;
  }

  .annotation-label {
    white-space: normal;
    max-width: 65px;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    text-align: center;
    line-height: 1.3;
  }

  .annotation-arrow {
    width: 40px;
    height: 35px;
  }

  .annotation-left {
    left: -15px;
  }

  .annotation-right {
    right: -5px !important;
  }

  /* Step 1 mobile positions */
  .annotations-step-1 .field-annotation:nth-child(1) {
    top: 140px !important;
  }

  .annotations-step-1 .field-annotation:nth-child(2) {
    top: 215px !important;
  }

  .annotations-step-1 .field-annotation:nth-child(3) {
    top: 290px !important;
  }

  .annotations-step-1 .field-annotation:nth-child(4) {
    top: 365px !important;
  }

  .annotations-step-1 .field-annotation:nth-child(5) {
    top: 470px !important;
  }

  /* Step 2 mobile positions (fields stack vertically) */
  .annotations-step-2 .field-annotation:nth-child(1) {
    top: 100px !important;
  }

  .annotations-step-2 .field-annotation:nth-child(2) {
    top: 190px !important;
  }

  .annotations-step-2 .field-annotation:nth-child(3) {
    top: 350px !important;
  }

  .annotations-step-2 .field-annotation:nth-child(4) {
    top: 600px !important;
  }
}


/* Signup Form */
.signup-form {
  direction: rtl;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.signup-form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--midnight);
  margin: 0 0 0.25rem 0;
}

.signup-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--midnight);
}

.required-star {
  color: var(--coral);
}

.form-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(15, 27, 58, 0.15);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-ar), sans-serif;
  color: var(--midnight);
  background: #fff;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-group input::placeholder {
  color: #aaa;
  font-size: 0.9rem;
}

.form-group input:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(237, 90, 44, 0.1);
}

.form-group input.input-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.signup-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-ar), sans-serif;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.25rem;
}

.signup-submit-btn:hover:not(:disabled) {
  background: #d14a20;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(237, 90, 44, 0.3);
}

.signup-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-loading[hidden] {
  display: none;
}

.btn-text[hidden] {
  display: none;
}

.signup-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.form-message {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.form-message.success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@media (max-width: 576px) {
  .signup-form-row {
    grid-template-columns: 1fr;
  }
}

/* Auth / Split Layouts */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.split-content {
  padding: 8rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.split-visual {
  background-color: var(--midnight);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.split-visual::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(237, 90, 44, 0.1) 0%, rgba(15, 27, 58, 0) 60%);
  animation: rotateBg 20s linear infinite;
}

.split-visual h2 {
  font-size: 3rem;
  color: var(--cream);
  z-index: 1;
}

.split-visual p {
  color: rgba(252, 241, 228, 0.8);
  font-size: 1.25rem;
  max-width: 400px;
  z-index: 1;
}

.split-widget {
  width: 100%;
  max-width: 500px;
}

/* Footer */
footer {
  background-color: var(--midnight);
  color: var(--cream);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-about p {
  color: rgba(252, 241, 228, 0.7);
  max-width: 300px;
  margin-top: 1.5rem;
}

.footer-links h4 {
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(252, 241, 228, 0.7);
}

.footer-links a:hover {
  color: var(--coral);
}

.footer-bottom {
  border-top: 1px solid rgba(252, 241, 228, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(252, 241, 228, 0.5);
  font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--midnight);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1) rotate(15deg);
  }

  50% {
    transform: scale(1.05) rotate(15deg);
  }

  100% {
    transform: scale(1) rotate(15deg);
  }
}

@keyframes rotateBg {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Comparison Section */
.comparison-section {
  padding: 6rem 0;
  background-color: #fff;
}

.table-scroll-wrapper {
  position: relative;
}

.table-scroll-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--coral);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.table-scroll-btn:hover {
  background: var(--midnight);
}

.table-scroll-right {
  right: -8px;
}

.table-scroll-left {
  left: -8px;
}

@media (max-width: 768px) {
  .table-scroll-btn {
    display: flex;
  }
}

.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 27, 58, 0.05);
  background: var(--bg-color);
  margin-top: 3rem;
  /* Scroll snap for mobile */
  scroll-snap-type: x mandatory;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
  text-align: right;
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(15, 27, 58, 0.1);
  font-size: 1.125rem;
}

.comparison-table th {
  font-size: 1.25rem;
  color: var(--midnight);
  font-weight: 800;
  background-color: rgba(252, 241, 228, 0.5);
}

.comparison-table td:first-child,
.comparison-table th:first-child {
  width: 25%;
  font-weight: 700;
  color: var(--midnight);
}

.comparison-table .yalla-col {
  background-color: rgba(237, 90, 44, 0.05);
  border-right: 2px solid var(--coral);
  border-left: 2px solid var(--coral);
  width: 15%;
  text-align: center;
}

.comparison-table th.yalla-col {
  background-color: var(--coral);
  color: var(--cream);
  border-top: 2px solid var(--coral);
  text-align: center;
}

.comparison-table tr:last-child td.yalla-col {
  border-bottom: 2px solid var(--coral);
}

.comparison-table .other-col {
  width: 20%;
  text-align: center;
  color: var(--text-muted);
}

.comparison-table .check-icon {
  color: var(--coral);
  font-size: 1.5rem;
  font-weight: bold;
}

.comparison-table .cross-icon {
  color: #a0aec0;
  font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-content p {
    max-width: 100%;
    margin: 0 auto 2rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-offer {
    justify-content: center;
  }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-stats {
    justify-content: center;
  }

  .about-visual-inner {
    max-width: 280px;
  }

  .desktop-logo {
    display: none !important;
  }

  .mobile-logo {
    display: block !important;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .split-visual {
    display: none;
    /* Hide visual on mobile for forms to prioritize the form */
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1002;
  }

  .features-grid,
  .features-grid-half {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-offer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .about-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 1.25rem;
  }

  .faq-answer {
    padding: 0 1.25rem 1.25rem;
  }
}

/* Teachers Section */
.teachers-section {
  padding: 6rem 0;
  background: #fff;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.teacher-card {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.teacher-card:hover {
  background: rgba(15, 27, 58, 0.03);
}

.teacher-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), #f4845f);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-photo-placeholder {
  background: linear-gradient(135deg, #94a3b8, #64748b);
}

.teacher-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 0.25rem;
}

.teacher-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.teacher-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  padding: 0.3rem 0.75rem;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-ar), sans-serif;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.teacher-card:hover .teacher-cert-badge {
  opacity: 1;
  transform: translateY(0);
}

.teacher-cert-badge:hover {
  background: #dcfce7;
  color: #14532d;
}

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

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

/* How It Works Section */
.how-it-works {
  padding: 6rem 0;
  background-color: var(--bg-color);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 1rem;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  flex: 1;
  max-width: 220px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(237, 90, 44, 0.3);
}

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 2.5rem;
  opacity: 0.4;
}

@media (max-width: 768px) {
  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .step-card {
    max-width: 100%;
  }
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--coral);
  color: #fff;
  transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  background-color: var(--bg-color);
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(15, 27, 58, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(237, 90, 44, 0.15);
}

.testimonial-card-img {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

.testimonial-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  color: var(--midnight);
  font-size: 1rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(15, 27, 58, 0.15);
  background: #fff;
  color: var(--midnight);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-nav-btn:hover {
  background: var(--coral);
  color: var(--cream);
  border-color: var(--coral);
}

@media (max-width: 992px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 85%;
  }
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}

.lightbox-pdf {
  width: 90%;
  max-width: 800px;
  height: 85vh;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: #fff;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox-pdf[hidden] {
  display: none;
}

.lightbox-overlay.active .lightbox-pdf {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.testimonial-card-img {
  cursor: pointer;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
  background-color: #fff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-color);
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 27, 58, 0.05);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(237, 90, 44, 0.2);
  box-shadow: var(--shadow-sm);
}

.faq-item[open] {
  border-color: rgba(237, 90, 44, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--midnight);
  list-style: none;
  gap: 1rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  display: none;
  content: '';
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--coral);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  fill: white;
  width: 32px;
  height: 32px;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }

  100% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }
}

.whatsapp-float {
  animation: whatsapp-pulse 3s ease-in-out infinite;
}