/* ========== FONTS ========== */
@font-face {
  font-family: 'Mada';
  src: url('assets/fonts/Mada-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: 'UthmanTaha';
  src: url('assets/fonts/UthmanTN1-Ver10.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

/* ========== RESET & TOKENS ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-cream: #FFFAF5;
  --bg-dark: #0a0a0a;
  --bg-card-dark: #111111;
  --emerald: #00A85A;
  --emerald-hover: #00C96D;
  --emerald-dark: #003D1F;
  --coral: #E74C3C;
  --coral-hover: #c0392b;
  --white: #FFFFFF;
  --white-70: rgba(255,255,255,0.7);
  --white-40: rgba(255,255,255,0.4);
  --white-10: rgba(255,255,255,0.1);
  --white-05: rgba(255,255,255,0.05);
  --text-dark: #1a1a1a;
  --text-muted: #666;
  --font-headline: 'Mada', 'General Sans', system-ui, sans-serif;
  --font-body: 'UthmanTaha', 'General Sans', system-ui, sans-serif;
  --font-english: 'General Sans', system-ui, -apple-system, sans-serif;
  --font-display-en: 'Fraunces', 'Mada', 'Times New Roman', serif;
  --font-feature-en: "ss01", "ss02", "cv11";
  --font-feature-num: "tnum", "lnum";
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.15);
  --glass-blur: 20px;
  --emerald-glow: rgba(0,168,90,0.25);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt";
}

:lang(en), [lang="en"], .en-text {
  font-family: var(--font-english);
  font-feature-settings: "kern", "liga", "calt", "ss01", "cv11";
  letter-spacing: -0.005em;
}

.display-en, .en-display {
  font-family: var(--font-display-en);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 96, "SOFT" 50;
  font-feature-settings: "kern", "liga", "dlig", "ss01";
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 500;
}

.num-tabular, time, .price, .counter {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum", "lnum";
}

/* English variant: editorial typography via Fraunces + General Sans */
.lang-en body,
body.lang-en {
  font-family: var(--font-english);
  line-height: 1.65;
  letter-spacing: -0.005em;
}
body.lang-en .hero-headline,
body.lang-en .section-title,
body.lang-en h1,
body.lang-en h2 {
  font-family: var(--font-display-en);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 120, "SOFT" 50;
  font-feature-settings: "kern", "liga", "dlig", "ss01";
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
body.lang-en h3,
body.lang-en h4,
body.lang-en .card-title,
body.lang-en .course-title,
body.lang-en .feature-title {
  font-family: var(--font-display-en);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 48, "SOFT" 50;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.15;
}
body.lang-en .btn-primary,
body.lang-en .btn-waitlist,
body.lang-en .btn-secondary,
body.lang-en .nav-link,
body.lang-en .eyebrow,
body.lang-en .label,
body.lang-en button {
  font-family: var(--font-english);
  font-weight: 500;
  letter-spacing: -0.005em;
  font-feature-settings: "ss01", "cv11";
}
body.lang-en .hero-subtitle,
body.lang-en .section-subtitle,
body.lang-en p {
  font-family: var(--font-english);
  font-weight: 400;
  letter-spacing: -0.003em;
  line-height: 1.6;
}
body.lang-en .hero-tagline,
body.lang-en .tagline,
body.lang-en blockquote,
body.lang-en .pull-quote {
  font-family: var(--font-display-en);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-feature-settings: "kern", "liga", "dlig", "ss01";
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--emerald); }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: 760px;
  background: rgba(30, 30, 30, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 60px;
  padding: 12px 24px;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.97);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logos {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-akhbar {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 22px;
  color: var(--white);
  background: var(--emerald);
  padding: 4px 14px;
  border-radius: 8px;
  letter-spacing: -0.5px;
}
.logo-fews {
  font-family: var(--font-english);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  padding: 6px 12px;
  border-radius: 8px;
  letter-spacing: -0.02em;
  font-feature-settings: "ss01", "cv11";
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-link {
  font-family: var(--font-headline);
  font-size: 14px;
  color: var(--white-70);
  transition: var(--transition);
  font-weight: 500;
}
.nav-link:hover { color: var(--white); }
.btn-waitlist {
  font-family: var(--font-english);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 20px;
  border-radius: 30px;
  transition: var(--transition);
}
.btn-waitlist:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 0 12px;
}
.mobile-menu.open { display: flex; }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-cream);
  overflow: hidden;
  padding: 120px 24px 40px;
}
.hero-marquee-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
}
.marquee-line {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  direction: ltr;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  animation: marquee-scroll 40s linear infinite;
  will-change: transform;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 56px;
  color: var(--text-dark);
}
.marquee-track.marquee-reverse {
  animation: marquee-scroll-reverse 35s linear infinite;
  will-change: transform;
}
.marquee-logo {
  height: 52px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  flex-shrink: 0;
}
.marquee-logo-wide {
  height: 40px;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-scroll-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}
.hero-photo-wrapper {
  width: 240px;
  height: 240px;
  margin: 0 auto 10px;
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 5;
  overflow: visible;
}
@media (min-width: 769px) and (max-height: 800px) {
  .hero { padding-top: 100px; padding-bottom: 24px; }
  .hero-photo-wrapper { width: 180px; height: 180px; margin-bottom: 8px; }
  .hero-headline { margin-bottom: 8px; }
  .hero-sub { margin-bottom: 12px; }
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 8px 40px rgba(0,0,0,0.08));
}
.hero-photo-face {
  opacity: 1;
  z-index: 2;
}
.hero-photo-robot {
  opacity: 0;
  z-index: 3;
}
.hero-photo-wrapper:hover .hero-photo-face {
  opacity: 0;
  transform: scale(0.95);
}
.hero-photo-wrapper:hover .hero-photo-robot {
  opacity: 1;
  transform: scale(1.03);
}
.hero-pre {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--emerald);
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-weight: 600;
}
.hero-headline {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -1px;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 8px;
}
.hero-buttons > .animated-button + .slide-form + .animated-button {
  margin-top: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 60px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 17px;
  transition: all var(--spring);
  min-width: 280px;
  justify-content: center;
}
.btn:hover {
  transform: translateY(-3px) scale(1.03);
}
.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-hover));
  color: var(--white);
  box-shadow: 0 8px 30px rgba(0, 168, 90, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 14px 40px rgba(0, 168, 90, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
  box-shadow: none;
}
.btn-secondary:hover {
  background: var(--text-dark);
  color: var(--white);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}
.btn-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.btn-large {
  padding: 20px 48px;
  font-size: 20px;
}
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 4px;
  object-fit: contain;
}
.badge-icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}
.badge-icon-svg svg {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
.hero-micro {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ========== SECTIONS COMMON ========== */
.section {
  padding: 100px 0;
  position: relative;
}
.section-dark {
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  margin-bottom: 12px;
}
.section-subtitle {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--white-70);
}

/* ========== PROGRAM GRID ========== */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.program-card {
  background: var(--bg-card-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--white-10);
  transition: all var(--spring);
  animation-delay: var(--delay, 0s);
}
.program-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.program-card-image {
  height: 220px;
  overflow: hidden;
}
.program-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.program-card:hover .program-card-image img {
  transform: scale(1.05);
}
.program-card-content {
  padding: 24px;
}
.program-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.program-card-content h3 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--white);
}
.program-card-content p {
  font-size: 15px;
  color: var(--white-70);
  line-height: 1.7;
}
.program-quote {
  padding: 24px;
  border-top: 1px solid var(--white-10);
}
.program-quote p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--white-70);
  font-style: italic;
  margin-bottom: 8px;
}
.program-quote cite {
  font-family: var(--font-headline);
  font-size: 13px;
  color: var(--white-40);
  font-style: normal;
}

/* ========== STORY SECTION ========== */
.section-story {
  background: var(--bg-cream);
  padding: 100px 0;
}
.story-grid {
  display: grid;
  grid-template-columns: 250px 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.story-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stat-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stat-avatars {
  display: flex;
}
.stat-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  border: 3px solid var(--bg-cream);
  margin-inline-start: -12px;
}
.stat-avatar:first-child { margin-inline-start: 0; }
.stat-text {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
}
.stat-number {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-dark);
}
.stat-badge {
  background: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  color: var(--text-dark);
}
.stat-highlight {
  color: var(--emerald);
  font-weight: 900;
}
.story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.story-main-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.story-content {
  padding-inline-start: 20px;
}
.story-tag {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--emerald);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.story-headline {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.story-body {
  font-size: 16px;
  color: #444;
  margin-bottom: 32px;
  line-height: 1.8;
}
.story-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-muted);
  margin-top: 6px;
  flex-shrink: 0;
  opacity: 0.3;
}
.timeline-dot.active {
  background: var(--emerald);
  opacity: 1;
  box-shadow: 0 0 12px rgba(0, 168, 90, 0.4);
}
.timeline-item p {
  font-family: var(--font-headline);
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
}

/* ========== CREDENTIALS ========== */
.section-creds {
  background: var(--bg-cream);
  padding: 80px 0 100px;
}
.creds-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.cred-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all var(--spring);
  animation-delay: var(--delay, 0s);
}
.cred-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.cred-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.cred-label {
  display: block;
  padding: 16px 20px;
  font-family: var(--font-english);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}
.cred-accent {
  font-weight: 800;
  font-size: 18px;
}
.creds-headline {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 60px;
  color: var(--text-dark);
  opacity: 1 !important;
  transform: none !important;
}
.creds-skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.skill-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all var(--spring);
  animation-delay: var(--delay, 0s);
  text-align: center;
}
.skill-card:hover {
  transform: translateY(-6px) rotate(1deg);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.skill-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.skill-label {
  display: block;
  padding: 16px 20px;
  font-family: var(--font-english);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
}
.skill-accent {
  font-weight: 800;
  font-size: 18px;
}

/* ========== CTA SECTION ========== */
.section-cta {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  background: var(--bg-dark);
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(0, 168, 90, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 0%, rgba(0, 168, 90, 0.08) 0%, transparent 50%);
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-headline {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 64px);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  margin-bottom: 16px;
}
.cta-micro {
  font-size: 14px;
  color: var(--white-40);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-dark);
  padding: 40px 0;
  border-top: 1px solid var(--white-10);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-family: var(--font-headline);
  font-size: 16px;
  color: var(--white-70);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social {
  color: var(--white-40);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white-05);
  border: 1px solid var(--white-10);
}
.footer-social:hover {
  color: var(--white);
  background: var(--white-10);
  transform: translateY(-2px);
}
.footer-newsletter {
  display: flex;
  border: 1px solid var(--white-10);
  border-radius: 30px;
  overflow: hidden;
}
.footer-email-input {
  background: transparent;
  border: none;
  padding: 10px 16px;
  color: var(--white);
  font-size: 14px;
  width: 180px;
  outline: none;
  direction: rtl;
}
.footer-email-input::placeholder { color: var(--white-40); }
.footer-subscribe-btn {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  background: var(--white-10);
  color: var(--white);
  border-inline-start: 1px solid var(--white-10);
  transition: var(--transition);
}
.footer-subscribe-btn:hover { background: var(--white-05); }
.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: var(--white-40);
  margin-top: 16px;
  font-family: var(--font-english);
}

/* ========== MODALS ========== */
/* Old modal styles removed — forms are now inline slide-down */
@keyframes field-appear {
  to { opacity: 1; transform: translateY(0); }
}

/* ========== SLIDE-DOWN INLINE FORMS ========== */
.slide-form {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.slide-form.open {
  max-height: 600px;
  opacity: 1;
}
.slide-form-inner {
  padding: 20px 0 8px;
}
.slide-form-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.slide-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.slide-form-fields input:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.slide-form input {
  flex: 1;
  min-width: 140px;
  padding: 13px 16px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  background: var(--white);
  color: var(--text-dark);
  font-size: 16px;
  outline: none;
  direction: rtl;
  transition: border-color 0.2s ease;
  font-family: var(--font-body);
}
/* Phone input with flag+code */
.phone-input-wrap {
  display: flex;
  direction: ltr;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s ease;
  grid-column: 1 / -1;
  align-items: center;
}
.phone-input-wrap:focus-within {
  border-color: var(--emerald);
}
.phone-code-area {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  border-right: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  position: relative;
  min-width: 85px;
  height: 100%;
}
.phone-flag {
  font-size: 20px;
  line-height: 1;
}
.phone-code-text {
  font-family: var(--font-english);
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
}
.phone-code-arrow {
  font-size: 10px;
  color: #999;
  margin-left: 2px;
}
.phone-country-select {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  height: 100%;
}
.phone-number-input {
  flex: 1;
  padding: 13px 16px;
  border: none;
  background: transparent;
  font-size: 15px;
  outline: none;
  direction: ltr;
  font-family: var(--font-english);
  color: var(--text-dark);
  min-width: 0;
}
.phone-number-input::placeholder {
  color: rgba(0,0,0,0.35);
  direction: rtl;
  font-family: var(--font-body);
}
/* Dark form variant */
.slide-form-dark .phone-input-wrap {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
}
.slide-form-dark .phone-country-select {
  color: var(--white);
  border-right-color: rgba(255,255,255,0.1);
}
.slide-form-dark .phone-number-input {
  color: var(--white);
}
.slide-form-dark .phone-number-input::placeholder {
  color: rgba(255,255,255,0.35);
}
.slide-form-dark .phone-code-text {
  color: var(--white);
}
.slide-form-dark .phone-code-arrow {
  color: rgba(255,255,255,0.5);
}
.slide-form-dark .phone-code-area {
  border-right-color: rgba(255,255,255,0.1);
}
.slide-form input::placeholder {
  color: rgba(0,0,0,0.35);
}
.slide-form input:focus {
  border-color: var(--emerald);
}
.slide-submit {
  padding: 13px 28px;
  border: none;
  border-radius: 12px;
  background: var(--text-dark);
  color: var(--white);
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.slide-submit:hover {
  background: #000;
}
.slide-submit:active {
  transform: scale(0.97);
}
.slide-submit-full {
  width: 100%;
  padding: 14px;
  font-size: 17px;
}
.form-error {
  color: #e53935;
  font-size: 12px;
  font-weight: 600;
  margin: 4px 0 6px;
  text-align: right;
  direction: rtl;
}
.input-error {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 2px rgba(229,57,53,0.15) !important;
}
.slide-note {
  font-size: 14px;
  color: rgba(0,0,0,0.4);
  margin-top: 10px;
  text-align: center;
}
.slide-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: rgba(0, 168, 90, 0.08);
  border-radius: 12px;
  color: var(--emerald);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-headline);
  animation: field-appear 0.4s ease forwards;
}
.slide-success.show {
  display: flex;
}

/* Dark variant for CTA section */
.slide-form-dark input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
  color: var(--white);
}
.slide-form-dark input::placeholder {
  color: rgba(255,255,255,0.35);
}
.slide-form-dark input:focus {
  border-color: var(--emerald);
  background: rgba(255,255,255,0.1);
}
.slide-form-dark .slide-submit {
  background: var(--emerald);
  color: var(--white);
}
.slide-form-dark .slide-submit:hover {
  background: var(--emerald-hover);
}
.slide-form-dark .slide-note {
  color: rgba(255,255,255,0.35);
}
.slide-form-dark .slide-success {
  background: rgba(0, 168, 90, 0.15);
}

/* ========== OTP STEP ========== */
.otp-step {
  animation: field-appear 0.4s ease forwards;
  padding: 4px 0;
}
.otp-header {
  text-align: center;
  margin-bottom: 24px;
}
.otp-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 168, 90, 0.1);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.otp-title {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.otp-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.otp-sub strong {
  color: var(--ink);
  font-weight: 600;
}
.otp-input-wrap {
  margin-bottom: 16px;
}
.otp-input {
  width: 100%;
  padding: 18px 16px;
  border: 2px solid var(--border);
  border-radius: 14px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 12px;
  font-family: 'Courier New', monospace;
  color: var(--ink);
  background: var(--surface, #fafafa);
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
  direction: ltr;
}
.otp-input::placeholder {
  color: #d4d4d4;
  letter-spacing: 12px;
}
.otp-input:focus {
  outline: none;
  border-color: var(--emerald);
  background: #fff;
}
.otp-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.otp-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.otp-actions button {
  background: none;
  border: none;
  color: var(--emerald);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.15s;
}
.otp-actions button:hover:not(:disabled) {
  background: rgba(0, 168, 90, 0.08);
}
.otp-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.otp-sep {
  color: var(--muted);
  opacity: 0.4;
}
.otp-error {
  color: #ef4444;
  font-family: var(--font-body);
  font-size: 14px;
  text-align: center;
  margin: 12px 0 0;
  line-height: 1.5;
}

/* Dark variant (CTA section) */
.slide-form-dark .otp-icon-circle {
  background: rgba(0, 168, 90, 0.15);
}
.slide-form-dark .otp-title {
  color: var(--white);
}
.slide-form-dark .otp-sub {
  color: rgba(255,255,255,0.6);
}
.slide-form-dark .otp-sub strong {
  color: var(--white);
}
.slide-form-dark .otp-input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
  color: var(--white);
}
.slide-form-dark .otp-input:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--emerald);
}

/* ========== ENGLISH LEVEL GATE ========== */
.eng-gate {
  text-align: center;
}
.eng-gate-label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.eng-gate-options {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.eng-option {
  padding: 10px 18px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.eng-option:hover {
  border-color: rgba(0,0,0,0.2);
  background: var(--bg-cream);
}
.eng-option-ok {
  border-color: rgba(0, 168, 90, 0.2);
}
.eng-option-ok:hover {
  border-color: var(--emerald);
  background: rgba(0, 168, 90, 0.05);
}
.eng-option-best {
  border-color: rgba(0, 168, 90, 0.3);
  background: rgba(0, 168, 90, 0.04);
}
.eng-option-best:hover {
  border-color: var(--emerald);
  background: rgba(0, 168, 90, 0.08);
}
.eng-option.selected {
  border-color: var(--emerald);
  background: var(--emerald);
  color: var(--white);
}
.eng-gate-result {
  margin-top: 12px;
  font-size: 13px;
  font-family: var(--font-headline);
  font-weight: 600;
  min-height: 20px;
}
.eng-gate-result.pass {
  color: var(--emerald);
}
.eng-gate-result.fail {
  color: #c0392b;
}

/* Dark variant */
.eng-gate-dark .eng-gate-label {
  color: rgba(255,255,255,0.8);
}
.eng-gate-dark .eng-option {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}
.eng-gate-dark .eng-option:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.eng-gate-dark .eng-option-ok:hover,
.eng-gate-dark .eng-option-best:hover {
  border-color: var(--emerald);
  background: rgba(0, 168, 90, 0.1);
}
.eng-gate-dark .eng-option-best {
  background: rgba(0, 168, 90, 0.08);
  border-color: rgba(0, 168, 90, 0.2);
}
.eng-gate-dark .eng-option.selected {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
}

/* Form wrap animation */
.akhbar-form-wrap {
  animation: field-appear 0.4s ease forwards;
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) !important;
}
/* Hero elements should be visible on load */
.hero .reveal {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero .reveal:nth-child(1) { animation-delay: 0s; }
.hero .reveal:nth-child(2) { animation-delay: 0.05s; }
.hero .reveal:nth-child(3) { animation-delay: 0.1s; }
.hero .reveal:nth-child(4) { animation-delay: 0.1s; }
.hero .reveal:nth-child(5) { animation-delay: 0.15s; }
.hero .reveal:nth-child(6) { animation-delay: 0.15s; }
.hero .reveal:nth-child(7) { animation-delay: 0.2s; }
.hero .reveal:nth-child(8) { animation-delay: 0.2s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== ANIMATED BUTTON ========== */
.animated-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  border: 4px solid transparent;
  font-size: 18px;
  font-family: var(--font-headline);
  font-weight: 600;
  background-color: var(--emerald);
  border-radius: 100px;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(0,168,90,0.35);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.animated-button svg {
  position: absolute;
  width: 24px;
  fill: var(--white);
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.animated-button .arr-1 { left: 16px; }
.animated-button .arr-2 { right: -25%; }
.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: var(--white);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}
.animated-button svg { pointer-events: none; }
.animated-button .text { pointer-events: none; }
.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: var(--emerald);
}
.animated-button:hover .arr-1 { left: -25%; }
.animated-button:hover .arr-2 { right: 16px; }
.animated-button:hover .text { transform: translateX(-12px); }
.animated-button:hover svg { fill: var(--emerald); }
.animated-button:active { scale: 0.95; box-shadow: 0 0 0 4px var(--emerald); }
.animated-button:hover .circle,
.animated-button:active .circle { width: 600px; height: 600px; opacity: 1; }

/* Animated button variants */
.animated-button.btn-dark {
  background-color: transparent;
  color: var(--bg-dark);
  box-shadow: 0 0 0 2px var(--bg-dark), 0 4px 16px rgba(0,0,0,0.1);
}
.animated-button.btn-dark svg { fill: var(--bg-dark); }
.animated-button.btn-dark .circle { background-color: var(--bg-dark); }
.animated-button.btn-dark:hover { color: var(--white); }
.animated-button.btn-dark:hover svg { fill: var(--white); }
.animated-button.btn-dark:active { box-shadow: 0 0 0 4px var(--bg-dark); }

.animated-button.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========== GLASS CARD ========== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}
.glass-card:hover {
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
/* Glass card on light bg */
.glass-card-light {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}
.glass-card-light:hover {
  background: rgba(255,255,255,0.8);
  border-color: var(--emerald);
  box-shadow: 0 8px 32px rgba(0,168,90,0.1);
}
.glass-badge {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
}

/* ========== STEPPER ========== */
.stepper-box { padding: 8px 0; max-width: 700px; margin: 0 auto; }
.stepper-step { display: flex; margin-bottom: 0; position: relative; padding: 16px 0; }
.stepper-line {
  position: absolute;
  right: 19px;
  top: 56px;
  bottom: -16px;
  width: 2px;
  background: rgba(0,168,90,0.2);
  z-index: 1;
}
.stepper-step:last-child .stepper-line { display: none; }
.stepper-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  z-index: 2;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.stepper-completed .stepper-circle {
  background-color: var(--emerald);
  color: var(--white);
}
.stepper-active .stepper-circle {
  border: 2px solid var(--emerald);
  color: var(--emerald);
  animation: pulse-ring 2s ease infinite;
}
.stepper-pending .stepper-circle {
  border: 2px solid rgba(255,255,255,0.2);
  color: var(--white-40);
}
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,168,90,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(0,168,90,0); }
}
.stepper-content { flex: 1; }
.stepper-title {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--white);
}
.stepper-completed .stepper-title { color: var(--white); }
.stepper-pending .stepper-title { color: var(--white-40); }
.stepper-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white-70);
  line-height: 1.6;
}
.stepper-status {
  font-size: 12px;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  margin-top: 4px;
  font-family: var(--font-english);
}
.stepper-completed .stepper-status { background: rgba(0,168,90,0.15); color: var(--emerald); }
.stepper-active .stepper-status { background: rgba(0,168,90,0.1); color: var(--emerald-hover); }
.stepper-pending .stepper-status { background: var(--white-05); color: var(--white-40); }
/* Light bg stepper variant */
.stepper-light .stepper-title { color: #1a1a1a; }
.stepper-light .stepper-completed .stepper-title { color: #1a1a1a; }
.stepper-light .stepper-pending .stepper-title { color: #555; }
.stepper-light .stepper-desc { color: #444; }
.stepper-light .stepper-line { background: rgba(0,168,90,0.15); }
.stepper-light .stepper-pending .stepper-circle { border-color: #e2e8f0; color: #94a3b8; }

/* ========== NEO-BRUTALIST PRICING CARD ========== */
.neo-pricing-card {
  background: var(--emerald);
  padding: 28px 24px;
  border-radius: 16px;
  border: 3px solid var(--bg-dark);
  box-shadow: 6px 6px 0 var(--bg-dark);
  color: var(--bg-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.neo-pricing-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--bg-dark);
}
.neo-pricing-card:active {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--bg-dark);
}
.neo-pricing-card .pricing-plan {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.neo-pricing-card .pricing-number {
  font-family: var(--font-headline);
  font-size: 48px;
  font-weight: 900;
}
.neo-pricing-card .check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  list-style: none;
}
.neo-pricing-card .check-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.neo-pricing-card .check-list-item svg { fill: var(--bg-dark); width: 16px; height: 16px; flex-shrink: 0; }
/* Secondary pricing card (non-primary) */
.neo-pricing-card-secondary {
  background: var(--white);
  padding: 28px 24px;
  border-radius: 16px;
  border: 3px solid var(--bg-dark);
  box-shadow: 4px 4px 0 var(--bg-dark);
  color: var(--bg-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.neo-pricing-card-secondary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--bg-dark);
}

/* ========== HOURGLASS ANIMATION ========== */
.hourglassBackground {
  position: relative;
  background-color: rgba(0,168,90,0.12);
  height: 100px;
  width: 100px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hourglassContainer {
  position: absolute;
  top: 22px;
  left: 30px;
  width: 40px;
  height: 56px;
  animation: hourglassRotate 2s ease-in 0s infinite;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.hourglassContainer div, .hourglassContainer div:before, .hourglassContainer div:after { transform-style: preserve-3d; }
@keyframes hourglassRotate {
  0% { transform: rotateX(0deg); }
  50% { transform: rotateX(180deg); }
  100% { transform: rotateX(180deg); }
}
.hourglassGlassTop {
  transform: rotateX(90deg);
  position: absolute;
  top: -12px;
  left: 2px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  background-color: rgba(0,168,90,0.3);
}
.hourglassGlass {
  perspective: 100px;
  position: absolute;
  top: 26px;
  left: 16px;
  width: 8px;
  height: 5px;
  background-color: rgba(0,168,90,0.3);
  opacity: 0.5;
}
.hourglassGlass:before, .hourglassGlass:after {
  content: '';
  display: block;
  position: absolute;
  background-color: rgba(0,168,90,0.3);
  left: -14px;
  width: 36px;
  height: 22px;
}
.hourglassGlass:before { top: -22px; border-radius: 0 0 20px 20px; }
.hourglassGlass:after { bottom: -22px; border-radius: 20px 20px 0 0; }
.hourglassCurves:before, .hourglassCurves:after {
  content: '';
  display: block;
  position: absolute;
  top: 26px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--emerald);
  animation: hideCurves 2s ease-in 0s infinite;
}
.hourglassCurves:before { left: 12px; }
.hourglassCurves:after { left: 23px; }
@keyframes hideCurves {
  0% { opacity: 1; }
  25% { opacity: 0; }
  30% { opacity: 0; }
  40% { opacity: 1; }
  100% { opacity: 1; }
}
.hourglassSandStream:before {
  content: '';
  display: block;
  position: absolute;
  left: 19px;
  width: 2.5px;
  background-color: var(--emerald);
  animation: sandStream1 2s ease-in 0s infinite;
}
.hourglassSandStream:after {
  content: '';
  display: block;
  position: absolute;
  top: 29px;
  left: 15px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid var(--emerald);
  animation: sandStream2 2s ease-in 0s infinite;
}
@keyframes sandStream1 {
  0% { height: 0; top: 28px; }
  50% { height: 0; top: 36px; }
  60% { height: 28px; top: 6px; }
  85% { height: 28px; top: 6px; }
  100% { height: 0; top: 6px; }
}
@keyframes sandStream2 {
  0% { opacity: 0; } 50% { opacity: 0; } 51% { opacity: 1; } 90% { opacity: 1; } 91% { opacity: 0; } 100% { opacity: 0; }
}
.hourglassSand:before, .hourglassSand:after {
  content: '';
  display: block;
  position: absolute;
  left: 5px;
  background-color: var(--emerald);
  perspective: 500px;
}
.hourglassSand:before {
  top: 6px;
  width: 30px;
  border-radius: 3px 3px 24px 24px;
  animation: sandFillup 2s ease-in 0s infinite;
}
.hourglassSand:after {
  border-radius: 24px 24px 3px 3px;
  animation: sandDeplete 2s ease-in 0s infinite;
}
@keyframes sandFillup {
  0% { opacity: 0; height: 0; }
  60% { opacity: 1; height: 0; }
  100% { opacity: 1; height: 14px; }
}
@keyframes sandDeplete {
  0% { opacity: 0; top: 36px; height: 14px; width: 30px; left: 5px; }
  1% { opacity: 1; top: 36px; height: 14px; width: 30px; left: 5px; }
  24% { opacity: 1; top: 36px; height: 14px; width: 30px; left: 5px; }
  25% { opacity: 1; top: 33px; height: 14px; width: 30px; left: 5px; }
  50% { opacity: 1; top: 33px; height: 14px; width: 30px; left: 5px; }
  90% { opacity: 1; top: 33px; height: 0; width: 8px; left: 16px; }
}
.urgency-hourglass {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

/* ========== CODE-EDITOR CARD ========== */
.code-card {
  max-width: 100%;
  background-color: var(--bg-card-dark);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  border-radius: var(--radius-md);
  border: 1px solid var(--white-10);
  overflow: hidden;
}
.code-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--white-10);
}
.code-card-title {
  font-family: var(--font-english);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--white-70);
}
.code-card-dots {
  display: flex;
  gap: 6px;
}
.code-card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.code-card-dots span:nth-child(1) { background: #ff5f57; }
.code-card-dots span:nth-child(2) { background: #ffbd2e; }
.code-card-dots span:nth-child(3) { background: #28ca42; }
.code-card-body { padding: 16px 20px; }
.code-card-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-family: var(--font-body);
  font-size: 17px;
}
.code-card-line:last-child { border-bottom: none; }
.code-line-num {
  font-family: var(--font-english);
  font-size: 12px;
  color: var(--white-40);
  width: 24px;
  text-align: center;
  margin-left: 12px;
  flex-shrink: 0;
}
.code-line-text { color: var(--white-70); flex: 1; }
.code-line-value {
  font-family: var(--font-english);
  font-weight: 600;
  color: var(--emerald);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.code-card-line.code-total {
  background: rgba(0,168,90,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  margin-top: 8px;
}
.code-total .code-line-text { color: var(--white); font-weight: 600; }
.code-total .code-line-value { font-size: 20px; color: var(--emerald); }

/* ========== SVG ICON UTILITY ========== */
.icon-svg {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.icon-svg svg {
  width: 32px;
  height: 32px;
  stroke: var(--emerald);
  stroke-width: 1.5;
  fill: none;
}
.icon-svg-dark svg { stroke: var(--white-70); }
.icon-svg-sm { width: 24px; height: 24px; margin-bottom: 0; }
.icon-svg-sm svg { width: 18px; height: 18px; }

/* ========== FOCUS & ACCESSIBILITY ========== */
*:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none !important; }
  .hourglassContainer { animation: none !important; }
  .hero-photo-wrapper { transform: none !important; }
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1024px) {
  .program-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .program-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .program-card-image { height: 100%; min-height: 200px; }
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .story-stats {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .creds-images, .creds-skills {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .navbar { padding: 10px 20px; border-radius: 50px; }

  .hero { padding: 110px 16px 20px; min-height: auto; }
  .hero-photo-wrapper {
    width: 210px;
    height: 210px;
    margin-top: 12px;
    margin-bottom: 8px;
  }
  .hero-pre { font-size: 14px; margin-bottom: 4px; }
  .hero-headline { font-size: 28px; margin-bottom: 6px; line-height: 1.15; }
  .hero-sub { font-size: 16px; margin-bottom: 12px; line-height: 1.4; }
  .hero-buttons { gap: 10px; margin-bottom: 8px; }
  .hero-buttons .animated-button { padding: 12px 20px; }
  .btn { min-width: 100%; font-size: 15px; padding: 14px 28px; }
  .marquee-track { font-size: 32px; gap: 24px; }
  .marquee-logo { height: 36px; }

  .section { padding: 60px 0; }
  .section-dark { border-radius: var(--radius-md) var(--radius-md) 0 0; }

  .program-card {
    display: flex;
    flex-direction: column;
  }
  .program-card-image { height: 180px; }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .story-stats { flex-direction: column; }
  .story-main-img { height: 250px; }
  .story-content { padding-inline-start: 0; }

  .creds-images, .creds-skills {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cred-card img, .skill-card img {
    height: 180px;
  }
  .creds-headline { font-size: 26px; }

  .section-cta { padding: 80px 0; }
  .cta-headline { font-size: 32px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer-right { flex-direction: column; }
  .footer-newsletter { width: 100%; }
  .footer-email-input { flex: 1; width: auto; }

  /* Slide forms stack on mobile */
  .slide-form-row {
    flex-direction: column;
  }
  .slide-form-fields {
    grid-template-columns: 1fr;
  }
  .slide-form input {
    min-width: 100%;
  }

  /* New components mobile */
  .urgency-hourglass { flex-direction: column; align-items: center; gap: 24px; text-align: center; }
  .stepper-box { padding: 0; }
  .animated-button { width: 100%; justify-content: center; }
  .pricing-cards { flex-direction: column; }
  .neo-pricing-card, .neo-pricing-card-secondary { width: 100%; }
}

/* Small Mobile */
@media (max-width: 420px) {
  .hero-photo-wrapper {
    width: 220px;
    height: 220px;
  }
  .hero-headline { font-size: 24px; }
  .hero-badges .badge-icon { width: 36px; height: 36px; }
}

/* ========== NEW SECTIONS STYLES ========== */

/* Hero additions */
.hero-social-proof {
  font-family: var(--font-body);
  font-size: 20px;
  color: rgba(0,0,0,0.5);
  margin-top: 6px;
  text-align: center;
}
.hero-social-proof .counter {
  color: var(--emerald);
  font-weight: 700;
  font-size: 26px;
}
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}
.trust-badge {
  font-family: var(--font-body);
  font-size: 15px;
  color: #1a1a1a;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0,168,90,0.18);
  box-shadow: 0 2px 8px rgba(0,168,90,0.08), inset 0 1px 0 rgba(255,255,255,0.5);
  padding: 8px 14px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.trust-badge:hover {
  background: rgba(255,255,255,0.85);
  box-shadow: 0 4px 12px rgba(0,168,90,0.15), inset 0 1px 0 rgba(255,255,255,0.6);
  transform: translateY(-1px);
}
.trust-badge svg {
  stroke: var(--emerald);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* ========== SECTION: PAIN ========== */
.section-pain {
  background: var(--bg-cream);
  padding: 100px 0;
}
.section-pain .section-title {
  color: var(--text-dark);
  font-size: 40px;
  max-width: 700px;
  margin: 0 auto 16px;
}
.section-pain .section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
}
.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.pain-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  animation-delay: var(--delay, 0s);
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.pain-card-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.pain-card h3 {
  font-family: var(--font-headline);
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.pain-card p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}
.pain-closing {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-dark);
  line-height: 1.8;
}
.pain-closing p { margin-bottom: 8px; }
.pain-closing .text-accent {
  color: var(--emerald);
  font-size: 26px;
}

/* ========== SECTION: ABOUT MO ========== */
.section-about {
  padding: 100px 0;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.about-grid > * {
  min-width: 0;
}
.about-image {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}
.about-main-img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  max-height: 500px;
}
.about-secondary-img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  max-height: 300px;
  display: block;
}
.about-content .section-title {
  font-size: 40px;
  margin-bottom: 24px;
}
.about-content p {
  font-family: var(--font-body);
  font-size: 19px;
  color: var(--white-70);
  line-height: 1.8;
  margin-bottom: 12px;
}
/* ---- Credentials Slider ---- */
.cred-slider-wrap {
  margin-top: 32px;
  position: relative;
  max-width: 100%;
  min-width: 0;
}
.cred-slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 20px 0 24px;
  justify-content: center;
}
.cred-slider::-webkit-scrollbar { display: none; }

.cred-glass {
  flex: 0 0 108px;
  min-height: 148px;
  height: auto;
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  scroll-snap-align: center;
  cursor: default;
  /* Stacked start state */
  opacity: 0;
  transform: scale(0.85) translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.23,1,0.32,1),
              transform 0.5s cubic-bezier(0.23,1,0.32,1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}
/* Staggered slide-in */
.cred-slider-wrap.revealed .cred-glass {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.cred-slider-wrap.revealed .cred-glass:nth-child(1) { transition-delay: 0s; }
.cred-slider-wrap.revealed .cred-glass:nth-child(2) { transition-delay: 0.07s; }
.cred-slider-wrap.revealed .cred-glass:nth-child(3) { transition-delay: 0.14s; }
.cred-slider-wrap.revealed .cred-glass:nth-child(4) { transition-delay: 0.21s; }
.cred-slider-wrap.revealed .cred-glass:nth-child(5) { transition-delay: 0.28s; }
.cred-slider-wrap.revealed .cred-glass:nth-child(6) { transition-delay: 0.35s; }
.cred-slider-wrap.revealed .cred-glass:nth-child(7) { transition-delay: 0.42s; }
.cred-slider-wrap.revealed .cred-glass:nth-child(8) { transition-delay: 0.49s; }

.cred-glass:hover {
  border-color: rgba(0,168,90,0.35);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 20px rgba(0,168,90,0.12);
}

.cred-glass-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.cred-glass-svg {
  width: 40px;
  height: 40px;
  stroke: #fff;
}
.cred-glass-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}
.cred-glass-img-round {
  border-radius: 50%;
}
.cred-glass-fews-logo {
  font-family: var(--font-english);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}
.cred-glass-badge {
  width: calc(100% - 16px);
  max-width: 120px;
  height: auto;
  object-fit: contain;
  margin-top: 6px;
  border-radius: 6px;
  box-sizing: border-box;
}
.cred-glass-name {
  font-family: var(--font-english);
  font-size: 13px;
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: 0.3px;
  text-align: center;
}
.cred-glass-sub {
  font-family: var(--font-english);
  font-size: 10px;
  color: var(--white-70);
  text-align: center;
  padding: 0 10px;
  line-height: 1.4;
}

/* Scroll hint dots + swipe label */
.cred-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 0 4px;
}
.cred-hint-text {
  font-family: var(--font-english);
  font-size: 11px;
  color: var(--white-40);
  letter-spacing: 0.3px;
}
.cred-hint-arrow {
  display: inline-block;
  font-size: 14px;
  color: var(--white-40);
  animation: swipeHint 1.5s ease-in-out infinite;
}
@keyframes swipeHint {
  0%, 100% { transform: translateX(0); opacity: 0.4; }
  50% { transform: translateX(-6px); opacity: 1; }
}
.cred-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  padding-bottom: 8px;
}
.cred-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: background 0.3s;
}
.cred-dot.active { background: var(--emerald); }

@media (max-width: 768px) {
  .cred-slider-wrap {
    width: 100vw;
    max-width: 100vw;
    margin-left: -24px;
    margin-right: -24px;
  }
  .cred-slider {
    justify-content: flex-start;
    padding: 16px 16px 20px;
    gap: 10px;
    scroll-padding-inline: 16px;
  }
  .cred-glass {
    flex: 0 0 calc((100vw - 16px*2 - 20px) / 2.3);
    height: 160px;
  }
  .cred-dots { display: flex; }
  .cred-hint { display: flex; }
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid var(--white-10);
}
.about-stat-number {
  font-family: var(--font-headline);
  font-size: 56px;
  font-weight: 900;
  color: var(--emerald);
  display: block;
}
.about-stat-label {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--white-70);
  display: block;
  margin-top: 4px;
}

/* ========== SECTION: COURSES TIMELINE ========== */
.section-courses {
  background: var(--bg-cream);
  padding: 100px 0;
}
.section-courses .section-title {
  color: var(--text-dark);
}
.section-courses .section-subtitle {
  color: var(--text-muted);
}
.courses-accordion {
  max-width: 800px;
  margin: 48px auto 0;
}
.phase-block {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow var(--transition);
  animation-delay: var(--delay, 0s);
}
.phase-block:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.phase-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}
.phase-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.phase-block-ai .phase-number {
  background: linear-gradient(135deg, var(--emerald), #00C96D);
  font-size: 22px;
}
.phase-info {
  flex: 1;
}
.phase-info h3 {
  font-family: var(--font-headline);
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.phase-count {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
}
.phase-arrow {
  transition: transform var(--transition);
  color: var(--text-muted);
  flex-shrink: 0;
}
.phase-open .phase-arrow {
  transform: rotate(180deg);
}
.phase-courses {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 24px;
}
.phase-open .phase-courses {
  max-height: 600px;
  padding: 0 24px 24px;
}
.course-item {
  padding: 16px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.course-tag {
  font-family: var(--font-english);
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald);
  background: rgba(0,168,90,0.08);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 6px;
}
.course-item h4 {
  font-family: var(--font-headline);
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.course-item p {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}
.courses-note {
  text-align: center;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--emerald);
  margin-top: 32px;
  font-weight: 600;
}

/* ========== SECTION: FEATURES ========== */
.section-features {
  padding: 100px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-block {
  background: var(--bg-card-dark);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform var(--transition), border-color var(--transition);
  animation-delay: var(--delay, 0s);
}
.feature-block:hover {
  transform: translateY(-4px);
  border-color: var(--emerald);
}
.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.feature-block h3 {
  font-family: var(--font-headline);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-block p {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--white-70);
  line-height: 1.7;
}

/* ========== SECTION: LEVELS ========== */
.section-levels {
  background: var(--bg-cream);
  padding: 100px 0;
}
.section-levels .section-title {
  color: var(--text-dark);
}
.levels-staircase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin: 48px auto;
  max-width: 900px;
  min-height: 320px;
}
.level-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: var(--white);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  padding: 16px 8px;
  border: 1px solid rgba(0,0,0,0.06);
  border-bottom: 3px solid var(--emerald);
  min-height: calc(var(--step) * 40px + 60px);
  transition: transform var(--transition);
  position: relative;
}
.level-step:hover {
  transform: translateY(-4px);
}
.level-step-legend {
  border-bottom-color: #FFD700;
  background: linear-gradient(180deg, #FFFDF0, var(--white));
}
.level-crown {
  font-size: 28px;
  position: absolute;
  top: -20px;
}
.level-num {
  font-family: var(--font-headline);
  font-size: 28px;
  font-weight: 900;
  color: var(--emerald);
}
.level-step-legend .level-num { color: #D4A017; }
.level-title {
  font-family: var(--font-headline);
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 700;
  margin-top: 4px;
}
.level-xp {
  font-family: var(--font-english);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.level-badge {
  font-family: var(--font-body);
  font-size: 10px;
  background: rgba(212,160,23,0.15);
  color: #D4A017;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 6px;
}
.levels-info {
  text-align: center;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}
.levels-info p { margin-bottom: 4px; }

/* ========== SECTION: VALUE STACK ========== */
.section-value {
  padding: 100px 0;
}
.value-table {
  max-width: 700px;
  margin: 48px auto;
}
.value-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--white-10);
  gap: 16px;
}
.value-item {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--white-70);
  flex: 1;
}
.value-price {
  font-family: var(--font-headline);
  font-size: 16px;
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}
.value-total {
  border-bottom: none;
  border-top: 2px solid var(--emerald);
  margin-top: 8px;
  padding-top: 20px;
}
.value-total .value-item,
.value-total .value-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--emerald);
}
.value-reveal {
  text-align: center;
  margin-top: 40px;
}
.value-strike {
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--white-70);
  margin-bottom: 12px;
}
.value-strike-big {
  font-size: 34px;
  color: var(--white);
  letter-spacing: 0.5px;
}
.strikethrough {
  text-decoration: line-through;
  color: var(--coral);
  opacity: 0.7;
}

/* ========== SECTION: PRICING ========== */
.section-pricing {
  background: var(--bg-cream);
  padding: 100px 0;
}
.section-pricing .section-title {
  color: var(--text-dark);
}
.pricing-country-toggle {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 32px auto;
}
.country-btn {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--emerald);
  background: transparent;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition);
}
.country-btn.active {
  background: var(--emerald);
  color: var(--white);
}
.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 32px auto;
  max-width: 900px;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  flex: 1;
  min-width: 240px;
  max-width: 280px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  animation-delay: var(--delay, 0s);
}
.pricing-card:first-child {
  border: 2px solid var(--emerald);
  box-shadow: 0 8px 32px rgba(0,168,90,0.15);
}
.pricing-card:hover {
  transform: translateY(-4px);
}
.pricing-badge {
  font-family: var(--font-body);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.pricing-badge-hot {
  background: var(--emerald);
  color: var(--white);
}
.pricing-card h3 {
  font-family: var(--font-headline);
  font-size: 22px;
  color: var(--text-dark);
  margin: 12px 0;
}
.pricing-amount {
  margin: 16px 0;
}
.pricing-currency {
  font-family: var(--font-english);
  font-size: 14px;
  color: var(--text-muted);
  display: block;
}
.pricing-number {
  font-family: var(--font-headline);
  font-size: 42px;
  font-weight: 900;
  color: var(--emerald);
}
.pricing-desc {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.pricing-note {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(0,0,0,0.45);
  text-align: center;
  margin-top: 16px;
}
.pricing-note {
  text-align: center;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 16px;
}
.pricing-cta {
  text-align: center;
  margin-top: 32px;
}

/* ========== SECTION: PAYMENT METHODS ========== */
.section-payments {
  padding: 80px 0;
}
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 28px;
  margin: 48px auto;
  max-width: 900px;
}
.payment-method {
  background: transparent;
  padding: 14px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--spring), box-shadow var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}
.payment-method:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(212,168,83,0.15);
  border-color: rgba(212,168,83,0.3);
}
.payment-method.pm-white {
  background: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.2);
}
.payment-logo {
  height: 40px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: none;
  opacity: 0.9;
  transition: opacity var(--transition);
}
.payment-method:hover .payment-logo {
  opacity: 1;
}
.pm-invert {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.payments-note {
  text-align: center;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--white-70);
  margin-top: 8px;
}

/* ========== SECTION: TRUST ========== */
.section-trust {
  background: var(--bg-cream);
  padding: 100px 0;
}
.section-trust .section-title {
  color: var(--text-dark);
}
.trust-content {
  max-width: 700px;
  margin: 40px auto;
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-dark);
  line-height: 1.8;
  text-align: center;
}
.trust-content p { margin-bottom: 16px; }
.trust-list {
  list-style: none;
  text-align: right;
  padding: 0;
  margin: 16px 0;
}
.trust-list li {
  padding: 8px 0;
  position: relative;
  padding-right: 24px;
}
.trust-list li::before {
  content: '•';
  position: absolute;
  right: 0;
  color: var(--emerald);
  font-weight: bold;
}
.trust-quote {
  max-width: 600px;
  margin: 40px auto 0;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  border-right: 4px solid var(--emerald);
  text-align: center;
}
.trust-quote p {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ========== SECTION: URGENCY ========== */
.section-urgency {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark), #1a0a0a);
}
.urgency-content {
  max-width: 700px;
  margin: 40px auto 0;
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--white-70);
  line-height: 1.8;
  text-align: center;
}
.urgency-content p {
  margin-bottom: 20px;
}
.urgency-content strong {
  color: var(--white);
}

/* ========== SECTION: STUDENT JOURNEY ========== */
.section-journey {
  background: var(--bg-cream);
  padding: 100px 0;
}
.section-journey .section-title {
  color: var(--text-dark);
}
.journey-timeline {
  max-width: 600px;
  margin: 48px auto 0;
  position: relative;
}
.journey-timeline::before {
  content: '';
  position: absolute;
  right: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--emerald), rgba(0,168,90,0.2));
}
.journey-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  position: relative;
  animation-delay: var(--delay, 0s);
}
.journey-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.journey-emoji {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 8px;
}
.journey-step p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.6;
  padding-top: 10px;
  flex: 1;
}

/* ========== CTA SECTION UPDATES ========== */
.cta-sub {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--white-70);
  margin-bottom: 16px;
  text-align: center;
}
.cta-social-proof {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--white-70);
  margin-top: 20px;
  text-align: center;
}
.cta-social-proof .counter {
  color: var(--emerald);
  font-weight: 700;
}
.cta-safe {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white-40);
  text-align: center;
  margin-top: 8px;
}

/* ========== SECTION: CLOSING ========== */
.section-closing {
  padding: 80px 0;
  border-radius: 0;
}
.closing-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--white-70);
  background: var(--bg-card-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  line-height: 1.8;
}
.closing-content p { margin-bottom: 16px; }
.closing-content .text-accent {
  font-size: 28px;
}
.closing-signature {
  margin-top: 32px;
  border-top: 1px solid var(--white-10);
  padding-top: 24px;
}
.closing-signature p {
  font-family: var(--font-headline);
  font-size: 16px;
  color: var(--white-40);
  margin-bottom: 4px;
}
.closing-signature p:first-child {
  font-size: 20px;
  color: var(--white);
  font-weight: 700;
}

/* ========== STICKY CTA BAR ========== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(135deg, var(--emerald), #00C96D);
  padding: 14px 20px;
  text-align: center;
  transform: translateY(100%);
  transition: transform var(--transition);
  box-shadow: 0 -4px 20px rgba(0,168,90,0.3);
}
.sticky-cta.visible {
  transform: translateY(0);
}
.sticky-cta button {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  width: 100%;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.sticky-cta button:hover {
  opacity: 0.9;
}

/* ========== FORM SELECT STYLING ========== */
.slide-form select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--white-10);
  background: var(--white-05);
  color: var(--white);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  min-width: 140px;
}
.slide-form select option {
  background: #1a1a1a;
  color: var(--white);
}
.slide-form-dark select {
  border-color: var(--white-10);
  background-color: var(--white-05);
}

/* ========== NEW SECTIONS RESPONSIVE ========== */
@media (max-width: 768px) {
  .pain-cards {
    grid-template-columns: 1fr;
  }
  .section-about {
    padding: 48px 0;
    overflow: visible;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-secondary-img {
    display: none;
  }
  .about-image {
    position: static;
  }
  .about-main-img {
    border-radius: 16px;
    max-height: 320px;
  }
  .about-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-stat-number { font-size: 40px; }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .levels-staircase {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }
  .level-step {
    flex-direction: row;
    min-height: auto;
    border-radius: var(--radius-sm);
    border-bottom: none;
    border-right: 3px solid var(--emerald);
    padding: 12px 16px;
    gap: 12px;
  }
  .level-step-legend {
    border-right-color: #FFD700;
  }
  .level-crown {
    position: static;
  }
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  .pricing-card {
    max-width: 100%;
    width: 100%;
  }
  .journey-timeline::before {
    right: 22px;
  }
  .trust-quote p { font-size: 20px; }
  .value-strike { font-size: 18px; }
  .value-strike-big { font-size: 28px; }
  .section-pain .section-title,
  .section-courses .section-title,
  .about-content .section-title {
    font-size: 30px;
  }
  .section-mid-cta {
    padding: 48px 0;
    margin-top: -20px;
  }
  .mid-cta-headline {
    font-size: 26px;
  }
}

/* Extra Small Mobile */
@media (max-width: 430px) {
  .animated-button { padding: 14px 28px; font-size: 16px; width: 100%; justify-content: center; }
  .neo-pricing-card .pricing-number { font-size: 40px; }
  .hourglassBackground { height: 80px; width: 80px; }
  .hourglassContainer { top: 18px; left: 24px; width: 32px; height: 44px; }
  .urgency-hourglass { flex-direction: column; align-items: center; gap: 20px; }
  .stepper-circle { width: 36px; height: 36px; font-size: 13px; }
  .stepper-step { padding: 12px 0; }
}
@media (max-width: 375px) {
  .animated-button { padding: 12px 20px; font-size: 15px; }
  .neo-pricing-card { padding: 20px 16px; }
  .neo-pricing-card .pricing-number { font-size: 36px; }
  .code-card-line { font-size: 15px; }
  .stepper-circle { width: 32px; height: 32px; font-size: 12px; }
  .stepper-title { font-size: 16px; }
}

/* ========== MID-PAGE CTA ========== */
.section-mid-cta {
  background: linear-gradient(135deg, var(--emerald), #00C96D);
  padding: 64px 0;
  text-align: center;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.mid-cta-text {
  font-family: var(--font-body);
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}
.mid-cta-headline {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.3;
}
.section-mid-cta .animated-button {
  background-color: var(--white);
  color: var(--emerald);
}
.section-mid-cta .animated-button svg {
  fill: var(--emerald);
}
.section-mid-cta .animated-button .circle {
  background-color: var(--emerald);
}
.section-mid-cta .animated-button:hover {
  color: var(--white);
}
.section-mid-cta .animated-button:hover svg {
  fill: var(--white);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  left: 24px;
  z-index: 998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: whatsapp-pulse 2s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 16px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.1); }
}
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 72px;
    left: 16px;
    width: 52px;
    height: 52px;
  }
}

/* ========== SECTION TRANSITIONS ========== */
.section-dark + .section:not(.section-dark) {
  position: relative;
}
.section-dark + .section:not(.section-dark)::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, var(--bg-dark), transparent);
  pointer-events: none;
  z-index: 1;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* ========== FEATURE GLOW ========== */
.feature-block::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(circle at 50% 50%, rgba(0,168,90,0.08), transparent 70%);
  pointer-events: none;
}
.feature-block {
  position: relative;
}
.feature-block:hover::after {
  opacity: 1;
}

/* ========== PAIN CARD STAGGER ========== */
.pain-card.visible {
  animation: cardSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pain-card:nth-child(1).visible { animation-delay: 0s; }
.pain-card:nth-child(2).visible { animation-delay: 0.12s; }
.pain-card:nth-child(3).visible { animation-delay: 0.24s; }
@keyframes cardSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 997;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white-10);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--emerald);
  box-shadow: 0 6px 20px rgba(0,168,90,0.3);
}
@media (max-width: 768px) {
  .back-to-top {
    bottom: 72px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ========== LANGUAGE TOGGLE ========== */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  line-height: 1;
}
/* Navbar-level lang toggle (mobile): hidden by default, shown on mobile */
.lang-toggle-navbar { display: none; }
.nav-mobile-controls { display: flex; align-items: center; gap: 10px; }
.lang-toggle:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
}
.lang-toggle-en {
  font-family: var(--font-english);
  font-weight: 600;
  color: var(--white-40);
  transition: color 0.2s;
}
.lang-toggle-ar {
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--white);
  transition: color 0.2s;
}
.lang-toggle-sep {
  color: rgba(255,255,255,0.2);
  font-weight: 300;
}
.lang-active-en .lang-toggle-en {
  color: var(--white);
}
.lang-active-en .lang-toggle-ar {
  color: var(--white-40);
}
.lang-toggle-mobile {
  margin-bottom: 4px;
}

/* ========== LTR / ENGLISH MODE ========== */
body.lang-en {
  font-family: var(--font-english);
  direction: ltr;
}
body.lang-en .hero-pre,
body.lang-en .hero-sub,
body.lang-en .hero-micro,
body.lang-en .hero-social-proof,
body.lang-en .section-subtitle,
body.lang-en .pain-card p,
body.lang-en .pain-closing p,
body.lang-en .about-content p,
body.lang-en .about-stat-label,
body.lang-en .phase-count,
body.lang-en .course-item p,
body.lang-en .courses-note,
body.lang-en .feature-block p,
body.lang-en .levels-info p,
body.lang-en .code-line-text,
body.lang-en .value-strike,
body.lang-en .pricing-desc,
body.lang-en .pricing-note,
body.lang-en .trust-content p,
body.lang-en .trust-quote p,
body.lang-en .urgency-content p,
body.lang-en .stepper-title,
body.lang-en .cta-sub,
body.lang-en .cta-social-proof,
body.lang-en .cta-safe,
body.lang-en .closing-content p,
body.lang-en .slide-note,
body.lang-en .slide-success,
body.lang-en .eng-gate-label,
body.lang-en .eng-gate-result,
body.lang-en .footer-copy,
body.lang-en .payment-note-red,
body.lang-en .mid-cta-text {
  font-family: var(--font-english);
}
/* Editorial display (Fraunces) — headlines & section titles */
body.lang-en .hero-headline,
body.lang-en .section-title,
body.lang-en .pain-card h3,
body.lang-en .about-content .section-title,
body.lang-en .phase-info h3,
body.lang-en .course-item h4,
body.lang-en .feature-block h3,
body.lang-en .level-title,
body.lang-en .cta-headline,
body.lang-en .mid-cta-headline {
  font-family: var(--font-display-en);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 120, "SOFT" 50;
  font-feature-settings: "kern", "liga", "dlig", "ss01";
  font-weight: 500;
  letter-spacing: -0.025em;
}
body.lang-en .hero-headline { line-height: 1.02; }
body.lang-en .section-title,
body.lang-en .cta-headline,
body.lang-en .mid-cta-headline { line-height: 1.08; }
body.lang-en .pain-card h3,
body.lang-en .phase-info h3,
body.lang-en .course-item h4,
body.lang-en .feature-block h3,
body.lang-en .level-title {
  font-variation-settings: "opsz" 48, "SOFT" 50;
  letter-spacing: -0.018em;
  line-height: 1.15;
}

/* Numeric display — tabular figures in Fraunces */
body.lang-en .about-stat-number {
  font-family: var(--font-display-en);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-feature-settings: "tnum", "lnum", "ss01";
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* UI sans (General Sans) — buttons, nav, small labels */
body.lang-en .closing-signature p,
body.lang-en .nav-link,
body.lang-en .slide-submit,
body.lang-en .eng-option,
body.lang-en .pricing-badge,
body.lang-en .footer-links a {
  font-family: var(--font-english);
  font-feature-settings: "ss01", "cv11";
  letter-spacing: -0.005em;
}
/* Form inputs LTR */
body.lang-en .slide-form input {
  direction: ltr;
  text-align: left;
}
body.lang-en .phone-number-input::placeholder {
  direction: ltr;
  font-family: var(--font-english);
}
body.lang-en .slide-form input::placeholder {
  direction: ltr;
  font-family: var(--font-english);
}
/* Form error LTR */
body.lang-en .form-error {
  text-align: left;
  direction: ltr;
}
/* Stepper line flip */
body.lang-en .stepper-line {
  right: auto;
  left: 19px;
}
body.lang-en .stepper-circle {
  margin-left: 0;
  margin-right: 16px;
}
/* Footer email input */
body.lang-en .footer-email-input {
  direction: ltr;
}
/* Inline start/end adjustments */
body.lang-en .story-content {
  padding-inline-start: 0;
  padding-inline-end: 20px;
}
/* Code card line num */
body.lang-en .code-line-num {
  margin-left: 0;
  margin-right: 12px;
}
/* Phone code border */
body.lang-en .phone-code-area {
  border-right: none;
  border-left: 1px solid rgba(0,0,0,0.08);
}
body.lang-en .slide-form-dark .phone-code-area {
  border-right: none;
  border-left-color: rgba(255,255,255,0.1);
}
/* Animated button arrow fix for LTR */
body.lang-en .animated-button .arr-1 {
  left: auto;
  right: 16px;
}
body.lang-en .animated-button .arr-2 {
  right: auto;
  left: -25%;
}
body.lang-en .animated-button .text {
  transform: translateX(-12px);
}
body.lang-en .animated-button:hover .arr-1 {
  left: auto;
  right: -25%;
}
body.lang-en .animated-button:hover .arr-2 {
  right: auto;
  left: 16px;
}
body.lang-en .animated-button:hover .text {
  transform: translateX(12px);
}
/* Footer subscribe button border */
body.lang-en .footer-subscribe-btn {
  border-inline-start: none;
  border-inline-end: 1px solid var(--white-10);
}
/* Phase arrow and cred hint in LTR */
body.lang-en .cred-hint-arrow {
  transform: scaleX(-1);
}
/* Trust badge keep ltr alignment */
body.lang-en .trust-badge {
  font-family: var(--font-english);
}

/* Mobile toggle visibility */
@media (max-width: 768px) {
  .nav-links .lang-toggle {
    display: none;
  }
  .nav-mobile-controls {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .lang-toggle-navbar {
    display: inline-flex;
    padding: 6px 12px;
    font-size: 12px;
  }
  .lang-toggle-mobile {
    display: inline-flex;
  }
}
@media (min-width: 769px) {
  .lang-toggle-mobile {
    display: none;
  }
}
