/* css/index.css */
/* Luxury Faded Red to Obsidian Black iOS Design System */
:root {
  --primary: #8B111E;
  --primary-rgb: 139, 17, 30;
  --primary-hover: #A51424;
  --primary-dark: #630C15;
  --primary-glow: rgba(139, 17, 30, 0.22);
  --primary-glow-subtle: rgba(139, 17, 30, 0.08);
  
  --bg-deep: #050608;
  --bg-dark: #0A0304;
  --bg-surface: #120406;
  --bg-card: #180709;
  --bg-card-hover: #24090D;
  --bg-elevated: #2C0B10;
  --bg-wine: #3B0A0F;
  --bg-wine-deep: #1E0407;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-card: rgba(139, 17, 30, 0.22);
  --border-active: rgba(139, 17, 30, 0.7);
  
  --text-white: #FFFFFF;
  --text-body: #ECEAEB;
  --text-muted: #A39698;
  --text-dim: #706366;

  --font-display: 'Montserrat', -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Alexandria', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-squircle: 20px;
  --radius-pill: 9999px;
  
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 18px rgba(139, 17, 30, 0.2);
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

[hidden] {
  display: none !important;
}

body {
  background-color: #060709;
  color: var(--text-body);
  font-family: var(--font-body);
  max-width: 100%;
  /* clip (not hidden): hidden would make <body> a scroll container and break the sticky hero */
  overflow-x: clip;
  position: relative;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page glow on its own fixed layer (background-attachment: fixed repaints the whole page on every scroll) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(139, 17, 30, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(184, 23, 37, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 70%, rgba(139, 17, 30, 0.09), transparent 60%);
}

html.modal-open,
html.modal-open body {
  overflow: hidden;
}

[dir="rtl"] body {
  font-family: var(--font-arabic);
}

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

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Utilities */
.display-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

[dir="rtl"] .display-title {
  font-family: var(--font-arabic);
  font-weight: 900;
  letter-spacing: normal;
  line-height: 1.15;
}

.kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.05;
}

[dir="rtl"] .section-title {
  font-family: var(--font-arabic);
  font-weight: 900;
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 48px;
  text-align: center;
  line-height: 1.6;
}

.text-accent {
  color: var(--primary) !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(139, 17, 30, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(139, 17, 30, 0.5);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: rgba(139, 17, 30, 0.04);
}

.btn-outline:hover {
  background: rgba(139, 17, 30, 0.15);
  transform: translateY(-2px);
  color: #fff;
}

.btn-login {
  background: var(--primary);
  color: #fff;
  padding: 9px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-login:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(16px, 2.5vw, 36px);
  gap: 16px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.logo-link:hover {
  opacity: 0.9;
}

.logo-icon-squircle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #8B111E;
  background: #110305;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 !important;
}

.logo-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.logo-text {
  font-family: var(--font-display) !important;
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--text-white);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  direction: ltr !important;
  unicode-bidi: isolate;
  white-space: nowrap;
}

.logo-accent {
  color: #8B111E !important;
  margin-left: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  position: relative;
  padding: 6px 4px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

[dir="rtl"] .nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  flex-shrink: 0;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-btn:hover {
  color: var(--primary);
  border-color: rgba(139, 17, 30, 0.4);
  background: rgba(139, 17, 30, 0.08);
}

.lang-icon {
  width: 16px;
  height: 16px;
}

.admin-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  background: rgba(139, 17, 30, 0.12);
  border: 1px solid rgba(139, 17, 30, 0.32);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
  white-space: nowrap;
  flex-shrink: 0;
}

.admin-quick-btn:hover {
  background: rgba(139, 17, 30, 0.25);
  border-color: rgba(139, 17, 30, 0.6);
  box-shadow: 0 0 14px rgba(139, 17, 30, 0.35);
  transform: translateY(-1px);
}

.btn-login {
  background: var(--primary);
  color: #fff;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(139, 17, 30, 0.35);
  transition: all var(--transition-fast);
}

.btn-login:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 17, 30, 0.5);
}

.lang-icon {
  width: 18px;
  height: 18px;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
}

.hamburger-btn span {
  width: 22px;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.97);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition-normal), opacity var(--transition-normal), visibility 0s linear 0.3s;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform var(--transition-normal), opacity var(--transition-normal), visibility 0s;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}

.mobile-nav-link {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
/* Tall section + sticky stage: the scroll distance (2.4 screens) drives the frame sequence in js/app.js.
   Sticky is composited by the browser, so the hero never jitters the way JS pinning does on phones. */
.hero-section {
  position: relative;
  width: 100%;
  height: 340vh;
  height: calc(100svh + 240vh);
  background: #0A0A0A;
}

.hero-sticky-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: #000;
}

/* Brightness/contrast are baked into the WebP frames — a CSS filter here re-renders every frame */
.hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(10, 10, 10, 0.05) 0%, rgba(10, 10, 10, 0.4) 85%);
  z-index: 2;
  pointer-events: none;
}

.hero-gradient-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: linear-gradient(to top, #0A0A0A 0%, rgba(10, 10, 10, 0.92) 45%, transparent 100%);
  z-index: 2;
}

.hero-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  z-index: 20;
  transform: scaleX(0);
  transform-origin: left center;
}

[dir="rtl"] .hero-progress-bar {
  transform-origin: right center;
}

.hero-content-grid {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  width: 100%;
  padding-top: 40px;
  margin: 0 auto !important;
  gap: clamp(20px, 3vw, 48px);
}

[dir="rtl"] .hero-content-grid {
  flex-direction: row;
  justify-content: space-between;
}

.hero-text-col {
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 540px;
  width: 100%;
  flex-shrink: 1;
}

[dir="rtl"] .hero-text-col {
  align-items: flex-start;
  text-align: right;
}

.hero-text-col .kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(139, 17, 30, 0.12);
  border: 1px solid rgba(139, 17, 30, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 120, 130, 0.95);
  box-shadow: 0 4px 15px rgba(139, 17, 30, 0.15);
}

.hero-main-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

[dir="rtl"] .hero-main-heading {
  font-family: var(--font-arabic);
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.18;
}

/* Semi-transparent text effects with glassmorphic depth */
.hero-heading-line1 {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 15%, rgba(255, 255, 255, 0.42) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: block;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.5));
}

.hero-heading-line2 {
  color: var(--primary);
  display: block;
}

.hero-heading-line3 {
  color: var(--primary);
  display: block;
}

.hero-tagline {
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  line-height: 1.55;
  max-width: 480px;
  margin-bottom: 30px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-cta-group .btn {
  padding: 13px 28px;
  font-size: 0.95rem;
}

.hero-scroll-indicator {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.48);
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.hero-scroll-indicator:hover {
  color: var(--primary);
}

/* ==========================================================================
   FLOATING GLASS COACH CARD (HERO & MOBILE)
   ========================================================================== */
.hero-card-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 15;
  flex-shrink: 0;
  will-change: transform, opacity;
}

[dir="rtl"] .hero-card-col {
  justify-content: flex-start;
}

.hero-floating-glass-card {
  position: relative;
  width: 285px;
  max-width: 100%;
  border-radius: 28px;
  background: rgba(20, 20, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.8),
    inset 0 1px 1px rgba(255, 255, 255, 0.18);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-floating-glass-card:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.88),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.glass-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(14, 14, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 17, 30, 0.55);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

[dir="rtl"] .glass-card-badge {
  left: auto;
  right: 14px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8B111E;
  display: inline-block;
}

.glass-card-img-wrap {
  position: relative;
  width: 100%;
  height: 370px;
  overflow: hidden;
}

.glass-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: brightness(1.15) contrast(1.06);
}

.glass-card-fade-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 88%,
    rgba(16, 16, 20, 0.35) 100%
  );
  pointer-events: none;
}

.glass-card-info {
  position: relative;
  background: rgba(16, 16, 20, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

[dir="rtl"] .glass-card-info {
  text-align: right;
}

.glass-card-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

[dir="rtl"] .glass-card-name {
  font-family: var(--font-arabic);
  font-size: 1.05rem;
}

.glass-card-role {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.glass-card-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.glass-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.glass-stat-item .stat-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
}

.glass-stat-item .stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.glass-stat-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Coach Showcase Card Section (Appears after hero on mobile only) */
.mobile-coach-card-section {
  display: none !important;
}

/* ==========================================================================
   TRANSFORMATION HORIZONTAL CARD DESIGN (SWIPEABLE CAROUSEL)
   ========================================================================== */
.trans-horizontal-card {
  background: rgba(18, 6, 9, 0.85);
  border: 1px solid rgba(139, 17, 30, 0.35);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 20px rgba(139, 17, 30, 0.15);
  height: 100%;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.trans-horizontal-card:hover {
  border-color: rgba(184, 23, 37, 0.7);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(184, 23, 37, 0.3);
}

.trans-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.trans-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.trans-client-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.trans-tag-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ff4d5a;
  background: rgba(139, 17, 30, 0.25);
  border: 1px solid rgba(184, 23, 37, 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.trans-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px;
}

.trans-metric-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.m-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.m-val {
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.m-prev {
  color: var(--text-muted);
  font-weight: 500;
}

.m-arr {
  color: var(--primary);
  font-size: 0.7rem;
}

.m-next {
  color: var(--text-white);
  font-weight: 700;
}

.m-dur {
  color: #ff4d5a;
  font-weight: 700;
}

.trans-quote-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 10px 12px;
}

[dir="rtl"] .trans-quote-box {
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 3px solid var(--primary);
}

.trans-quote-text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-body);
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trans-photos-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.trans-photo-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 130px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trans-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trans-badge-tag {
  position: absolute;
  bottom: 6px;
  padding: 3px 8px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 5px;
  text-transform: uppercase;
}

.badge-before {
  left: 6px;
  background: rgba(14, 14, 14, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-after {
  right: 6px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(139, 17, 30, 0.5);
}

[dir="rtl"] .badge-before {
  left: auto;
  right: 6px;
}

[dir="rtl"] .badge-after {
  right: auto;
  left: 6px;
}

/* ==========================================================================
   TRANSFORMATIONS 3D CAROUSEL SECTION (SWIPEABLE & PEEKING)
   ========================================================================== */
.transformations-section {
  padding: 100px 0;
  background: #0A0A0A;
  position: relative;
  overflow: hidden;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 24px 0 36px;
  cursor: grab;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-snap-type: none;
}

.carousel-track {
  display: flex;
  gap: 20px;
  padding: 0 max(20px, calc((100% - 660px) / 2));
  align-items: stretch;
  width: max-content;
}

.carousel-slide {
  scroll-snap-align: center;
  flex: 0 0 clamp(320px, 86vw, 660px);
  width: clamp(320px, 86vw, 660px);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.carousel-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.06);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--border-card);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.carousel-dot.active {
  width: 28px;
  background: var(--primary);
}

/* ==========================================================================
   WHO IS JAKI & VIDEO BIO SECTION
   ========================================================================== */
.video-bio-section {
  padding: 100px 0;
  background: #0E0E0E;
  position: relative;
}

.video-player-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #151515;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 9;
  max-width: 1050px;
  margin: 0 auto;
}

.video-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}

.video-overlay-tint {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.5) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--primary);
  text-transform: uppercase;
}

.video-play-center {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.video-play-btn {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px var(--primary-glow);
  transition: all var(--transition-normal);
}

.video-play-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 50px var(--primary);
}

.video-play-btn svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

[dir="rtl"] .video-play-btn svg {
  margin-left: 0;
  margin-right: 4px;
  transform: rotate(180deg);
}

.video-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   JOURNEY SECTION (4-STEP TIMELINE)
   ========================================================================== */
.journey-section {
  padding: 100px 0;
  background: #0A0A0A;
  position: relative;
}

.journey-timeline {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
}

.timeline-connector {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary) 0%, rgba(139, 17, 30, 0.2) 100%);
  transform: translateX(-50%);
  z-index: 1;
}

[dir="rtl"] .timeline-connector {
  left: 50%;
  right: auto;
}

.timeline-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-step-card {
  width: calc(50% - 48px);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.timeline-step-card:hover {
  border-color: rgba(139, 17, 30, 0.4);
  box-shadow: 0 12px 35px rgba(139, 17, 30, 0.15);
}

.timeline-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.timeline-step-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
}

.timeline-step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-node {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: #111;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(139, 17, 30, 0.3);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-cta-center {
  text-align: center;
  margin-top: 48px;
}

/* ==========================================================================
   ABOUT COACH JAKI & STATS
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background: #0E0E0E;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.about-bio-col {
  display: flex;
  flex-direction: column;
}

.about-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

[dir="rtl"] .stat-card {
  border-left: 1px solid var(--border-card);
  border-right: 4px solid var(--primary);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.about-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* ==========================================================================
   PLANS & PRICING SECTION
   ========================================================================== */
.plans-section {
  padding: 100px 0;
  background: #0A0A0A;
  position: relative;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  align-items: stretch;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  position: relative;
}

.plan-card:hover {
  border-color: rgba(184, 23, 37, 0.6);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 25px rgba(184, 23, 37, 0.25);
}

.plan-card.highlighted-tier {
  border: 2px solid rgba(184, 23, 37, 0.85);
  background: linear-gradient(180deg, #22060a 0%, #150507 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(184, 23, 37, 0.35);
  transform: scale(1.02);
}

.plan-card.highlighted-tier:hover {
  transform: scale(1.03) translateY(-4px);
}

.plan-card.tier-gold {
  border: 1px solid rgba(220, 38, 38, 0.5);
  background: linear-gradient(180deg, #20080c 0%, #120305 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(220, 38, 38, 0.2);
}

.plan-badge-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #B81725 0%, #E50914 100%);
  color: #fff;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(184, 23, 37, 0.6);
  white-space: nowrap;
  z-index: 5;
}

.plan-badge-pill.vip-pill {
  background: linear-gradient(90deg, #8B111E 0%, #B81725 100%);
  box-shadow: 0 4px 16px rgba(139, 17, 30, 0.6);
}

.plan-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

.plan-name-col {
  display: flex;
  flex-direction: column;
}

.plan-name-kicker {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.plan-name-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.plan-name-sub {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ff4d5a;
  margin-top: 2px;
}

.plan-price-box {
  background: rgba(14, 14, 14, 0.85);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  text-align: right;
  flex-shrink: 0;
}

[dir="rtl"] .plan-price-box {
  text-align: left;
}

.plan-price-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.plan-price-val {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--text-white);
  white-space: nowrap;
  line-height: 1.1;
}

.plan-price-usd {
  font-size: 0.74rem;
  font-weight: 700;
  color: #ff4d5a;
  margin-top: 4px;
  white-space: nowrap;
}

.plan-target-desc {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 42px;
}

.plan-duration-selector {
  margin-bottom: 24px;
}

.duration-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.duration-select-wrap {
  position: relative;
}

.duration-select {
  width: 100%;
  background: #131313;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 11px 16px;
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.92rem;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.duration-select:focus {
  border-color: var(--primary);
}

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-dim);
}

[dir="rtl"] .select-arrow {
  right: auto;
  left: 16px;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.4;
}

.plan-feature-item.highlight-item {
  color: #fff;
  font-weight: 700;
}

.plan-feature-bullet {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  margin-top: 6px;
  flex-shrink: 0;
}

.plan-card .btn {
  width: 100%;
}

.plans-perks-container {
  max-width: 1240px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plans-installment-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(18, 6, 9, 0.8);
  border: 1px dashed rgba(184, 23, 37, 0.5);
  border-radius: var(--radius-md);
  padding: 18px 24px;
}

.installment-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.installment-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.35;
}

.installment-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.plans-cta-box {
  background: radial-gradient(ellipse at 50% 50%, rgba(139, 17, 30, 0.25) 0%, rgba(10, 10, 10, 0.9) 100%), #140507;
  border: 1px solid rgba(184, 23, 37, 0.4);
  border-radius: var(--radius-lg);
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.cta-box-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 6px;
}

.cta-box-sub {
  font-size: 0.92rem;
  color: var(--text-body);
}

.plans-cta-box .btn {
  flex-shrink: 0;
  padding: 14px 28px;
  font-size: 0.98rem;
}

/* ==========================================================================
   ONLINE COURSE SECTION
   ========================================================================== */
.courses-section {
  padding: 100px 0;
  background: #0E0E0E;
}

.course-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
}

.course-info-col {
  display: flex;
  flex-direction: column;
}

.course-badge-num {
  display: inline-block;
  border: 1px solid rgba(139, 17, 30, 0.4);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 2px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.course-title-main {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 8px;
}

.course-title-highlight {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  color: var(--primary);
  font-style: italic;
  line-height: 1;
  margin-bottom: 24px;
}

.course-desc-p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-left: 3px solid var(--primary);
  padding-left: 18px;
  margin-bottom: 32px;
}

[dir="rtl"] .course-desc-p {
  border-left: none;
  border-right: 3px solid var(--primary);
  padding-left: 0;
  padding-right: 18px;
}

.course-members-count {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-top: 16px;
}

.course-card-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.course-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.course-card-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.course-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
}

.course-curriculum-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.course-curriculum-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.curriculum-check {
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-status-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.course-status-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.course-status-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   VOICE OF THE DISCIPLES (WHATSAPP TESTIMONIALS)
   ========================================================================== */
.testimonials-section {
  padding: 100px 0;
  background: #0A0A0A;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.whatsapp-card {
  background: #111B21;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: radial-gradient(#1e2b33 1px, transparent 1px);
  background-size: 16px 16px;
  min-height: 320px;
}

.whatsapp-header-badge {
  background: rgba(11, 20, 26, 0.9);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.whatsapp-today-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #8696A0;
  background: #182229;
  padding: 3px 12px;
  border-radius: 6px;
}

.whatsapp-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.whatsapp-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.45;
  position: relative;
  word-break: break-word;
}

.whatsapp-bubble.received {
  align-self: flex-start;
  background: #202C33;
  color: #E9EDEF;
  border-top-left-radius: 0;
}

[dir="rtl"] .whatsapp-bubble.received {
  border-top-left-radius: 8px;
  border-top-right-radius: 0;
  align-self: flex-start;
}

.whatsapp-bubble.sent {
  align-self: flex-end;
  background: #005C4B;
  color: #E9EDEF;
  border-top-right-radius: 0;
}

[dir="rtl"] .whatsapp-bubble.sent {
  border-top-right-radius: 8px;
  border-top-left-radius: 0;
  align-self: flex-end;
}

.whatsapp-time {
  font-size: 0.68rem;
  color: #8696A0;
  margin-top: 4px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.whatsapp-footer {
  background: #202C33;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.whatsapp-client-id {
  font-size: 0.85rem;
  font-weight: 700;
  color: #E9EDEF;
}

.whatsapp-expand-icon {
  color: #8696A0;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.whatsapp-expand-icon:hover {
  color: var(--primary);
}

/* ==========================================================================
   PARTNERS MARQUEE
   ========================================================================== */
.partners-section {
  padding: 60px 0;
  background: #0E0E0E;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: marquee 25s linear infinite;
  width: max-content;
}

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

.partner-logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.6;
  filter: grayscale(1);
  transition: all var(--transition-fast);
}

.partner-logo-item:hover {
  opacity: 1;
  filter: grayscale(0);
}

.partner-logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--text-white);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 80px 0 30px;
  background: #080808;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  color: var(--text-white);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 24px;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background: #181818;
  border: 1px solid var(--border-card);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-circle-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-link-item a:hover {
  color: var(--primary);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   CONTACT SECTION / PAGE MODAL
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background: #0E0E0E;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
}

.contact-card-form {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.form-input, .form-textarea {
  width: 100%;
  background: #141414;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-white);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(139, 17, 30, 0.2);
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.contact-info-card:hover {
  border-color: rgba(139, 17, 30, 0.4);
  transform: translateX(4px);
}

[dir="rtl"] .contact-info-card:hover {
  transform: translateX(-4px);
}

.contact-info-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(139, 17, 30, 0.1);
  border: 1px solid rgba(139, 17, 30, 0.2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.contact-info-val {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODALS (LOGIN & SUBSCRIBE)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility 0s linear 0.3s;
}

/* The blur only exists while a modal is open — invisible overlays must not keep a full-screen backdrop filter alive */
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity var(--transition-normal), visibility 0s;
}

.modal-card {
  background: #181818;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  padding: 36px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 16px;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-brand-header {
  text-align: center;
  margin-bottom: 14px;
}

.modal-brand-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-white);
  text-transform: uppercase;
  direction: ltr;
}

.modal-brand-logo span {
  color: var(--primary);
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.6vw, 1.6rem);
  color: var(--text-white);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

[dir="rtl"] .modal-title {
  font-family: var(--font-arabic);
  font-weight: 800;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin: 8px auto 22px;
  max-width: 460px;
  line-height: 1.55;
}

/* Video modal */
.modal-video-card {
  max-width: 880px;
  padding: 0;
  background: #000;
  overflow: hidden;
  border-radius: 16px;
}

.modal-video {
  width: 100%;
  max-height: 80vh;
  display: block;
  background: #000;
}

/* Subscribe / order modal */
.modal-subscribe-card {
  max-width: 600px;
  padding: 30px 32px 0;
}

.subscribe-step {
  padding-bottom: 8px;
}

.selected-plan-banner {
  background: linear-gradient(135deg, rgba(139, 17, 30, 0.22), rgba(139, 17, 30, 0.08));
  border: 1px solid rgba(184, 23, 37, 0.45);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.plan-banner-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.plan-banner-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.plan-banner-title {
  font-weight: 800;
  color: var(--text-white);
  font-size: 1.02rem;
  line-height: 1.3;
}

.plan-banner-duration {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ff8a94;
}

.plan-banner-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  text-align: end;
}

.plan-banner-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  white-space: nowrap;
  line-height: 1.1;
}

.plan-banner-usd {
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ff8a94;
  white-space: nowrap;
}

.form-row {
  display: grid;
  gap: 14px;
}

.form-row-2 {
  grid-template-columns: 1fr 1fr;
}

.form-row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#subscribe-form .form-group {
  margin-bottom: 16px;
  min-width: 0;
}

#subscribe-form .form-input {
  padding: 12px 14px;
  font-size: 16px; /* prevents iOS zoom on focus */
}

.form-input::placeholder {
  color: #5d5557;
}

.form-input.has-error {
  border-color: #e5484d;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.18);
}

.form-error {
  font-size: 0.78rem;
  color: #ff7b82;
  margin-top: 6px;
}

.form-error:empty {
  display: none;
}

.form-error-global {
  text-align: center;
  font-weight: 600;
  margin: 0 0 12px;
}

.select-wrap {
  position: relative;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-inline-end: 40px !important;
}

.select-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  inset-inline-end: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.payment-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  min-width: 0;
}

.payment-fieldset legend {
  padding: 0;
  margin-bottom: 8px;
}

.payment-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-radio-label {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  color: var(--text-body);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
  background: #141414;
}

.payment-radio-label input {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
}

.payment-radio-label:hover {
  border-color: rgba(184, 23, 37, 0.5);
}

.payment-radio-label.selected {
  border-color: var(--primary);
  background: rgba(139, 17, 30, 0.14);
  color: #fff;
}

.payment-radio-label:focus-within {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

/* Honeypot field — visually removed but still part of the form */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Primary action stays reachable while the form scrolls */
.modal-sticky-footer {
  position: sticky;
  bottom: 0;
  margin: 0 -32px;
  padding: 14px 32px 22px;
  background: linear-gradient(to top, #181818 70%, rgba(24, 24, 24, 0));
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none !important;
}

.btn.is-loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: btn-spin 0.8s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C4A 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(18, 140, 74, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(18, 140, 74, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-body);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pending-order-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.3);
  font-size: 0.86rem;
  color: var(--text-body);
}

.pending-order-btn {
  font-weight: 800;
  color: #4ade80;
  white-space: nowrap;
}

/* Order success step */
.order-serial-box {
  text-align: center;
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed rgba(184, 23, 37, 0.6);
  background: rgba(139, 17, 30, 0.1);
  margin-bottom: 16px;
}

.order-serial-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.order-serial-row,
.order-pay-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.order-serial {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2.1rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.06em;
}

.copy-btn {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
}

.copy-btn.is-copied {
  color: #4ade80;
}

.order-summary {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 14px;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.order-summary-row strong {
  color: #fff;
  text-align: end;
}

.order-pay-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
  text-align: center;
}

.order-pay-instr {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 8px;
}

.order-pay-target {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
}

.order-pay-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  color: #ff8a94;
  text-decoration: underline;
}

.order-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.55;
  margin-bottom: 4px;
}

/* Payment details of the chosen method (order form + success step) */
.payment-options-grid {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.payment-options-grid.has-error {
  border-radius: 14px;
  box-shadow: 0 0 0 2px rgba(229, 72, 77, 0.55);
}

.pay-details {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 10px;
}

.order-pay-box.pay-details {
  margin: 0 0 12px;
  text-align: start;
}

.pay-instr {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  line-height: 1.5;
}

.pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pay-row-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.pay-row-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.pay-row-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

[dir="rtl"] .pay-row-value[dir="ltr"] {
  text-align: right;
}

.pay-row .copy-btn {
  flex-shrink: 0;
}

.pay-details .order-pay-link {
  margin-top: 0;
  justify-self: start;
}

.pay-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  white-space: pre-line;
}

/* Transfer screenshot upload */
.proof-group[hidden] {
  display: none;
}

.form-label-note {
  font-weight: 500;
  color: var(--text-muted);
}

.form-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 6px;
}

.proof-drop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  padding: 14px;
  border-radius: 14px;
  border: 1.5px dashed rgba(184, 23, 37, 0.55);
  background: rgba(139, 17, 30, 0.08);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.proof-drop:hover,
.proof-drop:focus-within {
  background: rgba(139, 17, 30, 0.16);
  border-color: var(--primary);
}

.proof-drop svg {
  flex-shrink: 0;
  color: #ff8a94;
}

.proof-drop.is-busy {
  cursor: progress;
  border-style: solid;
}

.proof-slot.has-error .proof-drop {
  border-color: #e5484d;
}

/* The file input stays focusable for keyboard users but is visually hidden */
.proof-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.proof-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.proof-preview img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: #000;
}

.proof-preview-info {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.proof-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proof-size {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.proof-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.proof-btn {
  position: relative;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.proof-remove {
  color: #ff8a94;
}

.proof-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  animation: btn-spin 0.8s linear infinite;
}

.order-proof {
  margin-bottom: 12px;
}

.order-proof-done {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #86efac;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 600px) {
  .modal-overlay {
    padding: 10px;
    align-items: flex-end;
  }

  .modal-card {
    padding: 26px 18px;
    border-radius: 20px;
    max-height: 94vh;
    max-height: 94dvh;
  }

  .modal-subscribe-card {
    padding: 22px 18px 0;
  }

  .modal-sticky-footer {
    margin: 0 -18px;
    padding: 12px 18px calc(16px + env(safe-area-inset-bottom));
  }

  .modal-brand-logo {
    font-size: 1.3rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row-3 {
    gap: 10px;
  }

  .selected-plan-banner {
    padding: 12px 14px;
  }

  .plan-banner-price {
    font-size: 1.15rem;
  }
}

@media (max-width: 380px) {
  .form-row-3 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .selected-plan-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .plan-banner-price-col {
    align-items: flex-start;
    text-align: start;
  }

  .payment-options-grid {
    grid-template-columns: 1fr;
  }
}

/* Toast Notifications */
.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 900px) {
  .site-header {
    height: 64px;
  }

  .header-container {
    height: 64px;
    padding: 0 16px;
    gap: 12px;
  }

  .header-actions .btn-login {
    display: none !important;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .logo-icon-squircle {
    width: 34px;
    height: 34px;
  }

  .hamburger-btn {
    display: flex;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 14px;
  }

  .hamburger-btn span {
    width: 18px;
  }

  .lang-btn {
    padding: 5px 10px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .hero-content-grid,
  [dir="rtl"] .hero-content-grid {
    height: 100%;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding-top: 76px !important;
    padding-bottom: 20px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    pointer-events: none;
    box-sizing: border-box;
  }

  .hero-text-col,
  [dir="rtl"] .hero-text-col {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center !important;
    text-align: center !important;
    max-width: 100%;
    width: 100%;
    transform-origin: center top;
    will-change: transform, opacity;
  }

  .hero-header-block {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0;
  }

  .hero-header-block .kicker {
    font-size: 0.65rem;
    padding: 2px 9px;
    margin-bottom: 6px;
  }

  .hero-main-heading {
    font-size: clamp(1.3rem, 4.6vw, 1.65rem);
    line-height: 1.05;
    margin-bottom: 4px;
    text-align: center;
  }

  [dir="rtl"] .hero-main-heading {
    font-size: clamp(1.25rem, 4.4vw, 1.55rem);
    line-height: 1.15;
    text-align: center;
  }

  .hero-actions-block {
    pointer-events: auto;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: none;
    padding: 0;
  }

  .hero-tagline {
    font-size: 0.72rem;
    line-height: 1.3;
    margin-bottom: 8px;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  }

  .hero-cta-group {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 280px;
    gap: 8px;
    margin-bottom: 0;
    justify-content: center;
  }

  .hero-cta-group .btn {
    flex: 1;
    width: auto;
    padding: 6px 10px;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    border-radius: 999px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .hero-card-col,
  [dir="rtl"] .hero-card-col {
    display: none !important;
  }

  /* Mobile Dedicated Coach Card Section (Revealed below hero on scroll) */
  .mobile-coach-card-section {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 56px 18px 36px;
    background: #0A0A0A;
    position: relative;
    z-index: 15;
  }

  .mobile-coach-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .hero-floating-glass-card.mobile-version {
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
    border-radius: 28px;
    background: rgba(20, 20, 24, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.18);
    animation: none;
    overflow: hidden;
  }

  .hero-floating-glass-card.mobile-version .glass-card-img-wrap {
    height: 420px;
    background: #0D0D11;
  }

  .hero-floating-glass-card.mobile-version .glass-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: brightness(1.08) contrast(1.04);
  }

  /* Not faded / Not over-fade - coach photo is crisp, clear, and complete */
  .hero-floating-glass-card.mobile-version .glass-card-fade-overlay {
    display: none !important;
  }

  .hero-floating-glass-card.mobile-version .glass-card-info {
    background: rgba(16, 16, 20, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px 18px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }

  /* minmax(0, …): a plain 1fr track never shrinks below its content, which pushed the stats off-screen */
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .about-desc {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .stat-card {
    min-width: 0;
    padding: 18px 16px;
  }

  .stat-number {
    font-size: clamp(1.8rem, 8.5vw, 2.6rem);
    white-space: nowrap;
  }

  .stat-label {
    letter-spacing: 0.04em;
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .header-actions .btn-login {
    display: none;
  }

  .header-container {
    height: 62px;
    padding: 0 16px;
  }

  .logo-text {
    font-size: 1.05rem;
  }
}

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

  .hamburger-btn {
    display: flex;
  }

  .carousel-slide {
    flex: 0 0 86vw;
    min-width: 0;
    max-width: 540px;
  }

  .trans-horizontal-card {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 16px 14px;
    gap: 12px;
  }

  .trans-photo-box {
    height: 115px;
  }

  .trans-client-name {
    font-size: 1.08rem;
  }

  .trans-tag-pill {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  .trans-metrics-grid {
    padding: 8px 10px;
    gap: 6px;
  }

  .m-label {
    font-size: 0.62rem;
  }

  .m-val {
    font-size: 0.76rem;
  }

  .trans-quote-text {
    font-size: 0.78rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .plans-installment-banner {
    flex-direction: column;
    text-align: center;
    padding: 18px;
  }

  .plans-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .timeline-connector {
    left: 24px;
  }

  [dir="rtl"] .timeline-connector {
    left: auto;
    right: 24px;
  }

  .timeline-step {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding-left: 64px;
  }

  [dir="rtl"] .timeline-step {
    padding-left: 0;
    padding-right: 64px;
  }

  .timeline-node {
    left: 24px;
    transform: none;
  }

  [dir="rtl"] .timeline-node {
    left: auto;
    right: 24px;
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr;
  }


}

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

  .hamburger-btn {
    display: flex;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

/* Arabic typography override */
html[lang="ar"],
html[dir="rtl"],
[dir="rtl"] body {
  font-family: var(--font-arabic);
  letter-spacing: normal;
}

[dir="rtl"] .section-title,
[dir="rtl"] .hero-main-heading,
[dir="rtl"] .btn,
[dir="rtl"] .nav-link,
[dir="rtl"] .admin-quick-btn {
  font-family: var(--font-arabic);
  letter-spacing: normal;
}

/* Brand logo in header always retains Latin display font and LTR flow */
.logo-text,
[dir="rtl"] .logo-text {
  font-family: var(--font-display) !important;
  letter-spacing: 0.05em;
  direction: ltr !important;
  unicode-bidi: isolate;
}

/* Realistic iOS Specular Sheen on Cards */
.transformation-card,
.plan-card,
.pricing-card,
.testimonial-card,
.contact-card-form,
.contact-info-card,
.about-stats-card,
.journey-step-card {
  position: relative;
  background: rgba(20, 6, 8, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    0 16px 36px -4px rgba(0, 0, 0, 0.75),
    0 0 25px -6px rgba(139, 17, 30, 0.2) !important;
}

.transformation-card::before,
.plan-card::before,
.pricing-card::before,
.testimonial-card::before,
.contact-card-form::before,
.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 60%, transparent 100%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.logo-accent {
  color: var(--primary) !important;
  text-shadow: 0 0 20px rgba(139, 17, 30, 0.6);
}

.text-accent {
  color: var(--primary) !important;
}


/* ==========================================================================
   SOLID DAM GHAZAL RED TYPOGRAPHY & BRAND AESTHETICS
   ========================================================================== */
.logo-accent, .hero-heading-line3, .kicker {
  color: #8B111E !important;
  text-shadow: none;
}

.hero-main-heading {
  letter-spacing: -0.01em;
}

.hero-heading-line1, .hero-heading-line2 {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   COACH HAZEM DAHSHAN BENTO GRID DESIGN SYSTEM (iOS LIQUID GLASS)
   ========================================================================== */
.about-header-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.about-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(170px, auto);
  gap: 20px;
  margin-bottom: 36px;
}

.bento-card {
  background: rgba(20, 20, 24, 0.90);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 17, 30, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 17, 30, 0.55);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.bento-card:hover::before {
  opacity: 1;
}

/* Bento Hero / Portrait Card */
.bento-hero-card {
  grid-column: span 5;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.bento-portrait-wrap {
  position: relative;
  width: 100%;
  height: 290px;
  overflow: hidden;
}

.bento-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .bento-portrait-img {
  transform: scale(1.04);
}

.bento-portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14, 14, 18, 0.95) 100%);
}

.bento-floating-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 14, 18, 0.88);
  border: 1px solid rgba(139, 17, 30, 0.5);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #FFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

[dir="rtl"] .bento-floating-tag {
  left: auto;
  right: 18px;
}

.bento-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8B111E;
}

.bento-hero-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-coach-title h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #FFF;
  margin-bottom: 4px;
}

[dir="rtl"] .bento-coach-title h3 {
  font-family: var(--font-arabic);
}

.bento-specialty {
  font-size: 0.85rem;
  color: #8B111E;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 12px;
}

.bento-p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Feature Cards */
.bento-feature-card {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 992px) {
  .bento-card:nth-child(2), .bento-card:nth-child(3) {
    grid-column: span 3.5;
  }
  .bento-card:nth-child(4) {
    grid-column: span 3.5;
  }
  .bento-card:nth-child(5) {
    grid-column: span 3.5;
  }
}

.bento-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(139, 17, 30, 0.15);
  border: 1px solid rgba(139, 17, 30, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8B111E;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.bento-icon-glow {
  background: #8B111E;
  color: #FFF;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.bento-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #FFF;
  margin-bottom: 8px;
}

[dir="rtl"] .bento-card-title {
  font-family: var(--font-arabic);
}

.bento-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.bento-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bento-pill {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ECEAEB;
  font-weight: 600;
}

.bento-pill-red {
  background: rgba(139, 17, 30, 0.18);
  border-color: rgba(139, 17, 30, 0.4);
  color: #E8B4B8;
}

.bento-card-highlight {
  background: rgba(24, 14, 18, 0.92);
  border-color: rgba(139, 17, 30, 0.45);
}

/* Stats Bento Strip */
.stats-bento-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 991px) {
  .about-bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-hero-card, .bento-feature-card {
    grid-column: span 1 !important;
  }
  .stats-bento-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .stats-bento-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CMS-DRIVEN MARKUP HELPERS (replaces former inline styles)
   ========================================================================== */
.section-header {
  text-align: center;
}

.video-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  text-align: center;
  max-width: 700px;
  color: #fff;
  text-transform: uppercase;
}

[dir="rtl"] .video-heading {
  font-family: var(--font-arabic);
  font-weight: 900;
}

.video-subheading {
  max-width: 600px;
}

.video-play-label {
  font-weight: 700;
  letter-spacing: 0.1em;
}

.about-image-card img {
  object-position: top center;
  border-radius: 20px;
}

.timeline-step-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

[dir="rtl"] .plan-name-title,
[dir="rtl"] .trans-client-name,
[dir="rtl"] .glass-card-name {
  font-family: var(--font-arabic);
  font-weight: 800;
}

.duration-static {
  background: #131313;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 11px 16px;
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.92rem;
}

.plan-card.tier-custom {
  border: 1px solid rgba(184, 23, 37, 0.45);
}

.carousel-dot {
  border: 0;
  padding: 0;
}

[dir="rtl"] .carousel-arrow svg {
  transform: scaleX(-1);
}

a.footer-contact-item:hover {
  color: var(--text-white);
}

.whatsapp-expand-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Phones: a 16:9 box is too short for badge + play button + heading + subtitle, so the card becomes
   portrait and the poster covers it; every text line stays inside the card at any phone width. */
@media (max-width: 768px) {
  .video-bio-section {
    padding: 64px 0;
  }

  .video-player-card {
    aspect-ratio: 4 / 5;
    max-height: 640px;
    width: 100%;
  }

  .video-poster-img {
    position: absolute;
    inset: 0;
  }

  .video-overlay-tint {
    padding: 20px 18px 18px;
    gap: 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.15) 70%, rgba(0, 0, 0, 0.6) 100%);
  }

  .video-badge {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .video-play-center {
    gap: 14px;
    width: 100%;
  }

  .video-heading,
  [dir="rtl"] .video-heading {
    font-size: clamp(1.3rem, 6.2vw, 1.9rem);
    line-height: 1.25;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
  }

  .video-bottom-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 6px;
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .video-subheading {
    max-width: 100%;
    color: rgba(255, 255, 255, 0.82);
  }

  .video-play-btn {
    width: 64px;
    height: 64px;
  }
}

/* Video modal: centred player on every screen (not the bottom sheet used by the order form),
   sized by the video itself and never taller than the visible viewport. */
#video-modal {
  align-items: center;
  padding: max(56px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom));
}

#video-modal .modal-video-card {
  width: 100%;
  max-width: min(960px, 100%);
  max-height: none;
  padding: 0;
  border-radius: 16px;
  overflow: visible;
  background: transparent;
  border: 0;
}

#video-modal .modal-video {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 96px);
  max-height: calc(100dvh - 96px);
  border-radius: 16px;
  object-fit: contain;
}

/* Close button sits above the player so it never covers the picture or the controls */
#video-modal .modal-close-btn {
  top: -48px;
  right: 0;
  left: auto;
  color: #fff;
}

[dir="rtl"] #video-modal .modal-close-btn {
  right: auto;
  left: 0;
}

/* 404 page */
.not-found {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}

.not-found-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
}

.not-found-code {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 18vw, 8rem);
  line-height: 1;
  color: var(--primary);
}

.not-found-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  text-transform: uppercase;
}

.not-found-text {
  font-family: var(--font-arabic);
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ==========================================================================
   TOUCH-DEVICE PERFORMANCE
   A live backdrop blur over the animating hero is re-rendered on every scroll frame and is the main
   source of dropped frames on phones. Near-opaque fills look the same on this dark design.
   ========================================================================== */
@media (hover: none), (max-width: 900px) {
  .site-header {
    background: rgba(10, 10, 10, 0.94);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hero-text-col .kicker {
    background: rgba(40, 8, 12, 0.72);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .modal-overlay.active {
    background: rgba(0, 0, 0, 0.92);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* ==========================================================================
   IN-APP BROWSERS & NOTCHES (Instagram / TikTok / Facebook webviews, iPhone landscape)
   ========================================================================== */
/* iOS (and its in-app webviews) inflate text in landscape unless told not to */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* viewport-fit=cover lets the page draw under the notch: keep content inside the safe area */
.site-header,
main,
.site-footer {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.site-footer {
  padding-bottom: calc(30px + env(safe-area-inset-bottom));
}

.footer-logo {
  font-size: clamp(1.6rem, 8vw, 2.2rem);
  overflow-wrap: anywhere;
}

/* Small phones (iPhone SE 1st gen, compact Androids): everything must fit 320px */
@media (max-width: 380px) {
  .header-container {
    gap: 8px;
    padding: 0 12px;
  }

  .logo-link {
    min-width: 0;
    gap: 8px;
  }

  .logo-text {
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .logo-icon-squircle {
    width: 30px;
    height: 30px;
  }

  .header-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .lang-btn {
    padding: 4px 8px;
  }

  .hamburger-btn {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .timeline-cta-center .btn,
  .plans-cta-box .btn {
    white-space: normal;
    max-width: 100%;
  }

  .plan-card.highlighted-tier {
    transform: none;
  }

  .footer-top-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .plans-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-header {
    flex-wrap: wrap;
  }

  .plan-header > * {
    min-width: 0;
  }
}

/* Tablets in portrait (iPad and similar): the phone hero layout, with type sized for the bigger screen */
@media (min-width: 600px) and (max-width: 900px) and (min-height: 700px) {
  .hero-content-grid,
  [dir="rtl"] .hero-content-grid {
    padding-top: 92px !important;
  }

  .hero-header-block .kicker {
    font-size: 0.85rem;
    padding: 4px 14px;
    margin-bottom: 10px;
  }

  .hero-main-heading {
    font-size: clamp(2.2rem, 5.4vw, 3rem);
  }

  [dir="rtl"] .hero-main-heading {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .hero-actions-block {
    max-width: 460px;
  }

  .hero-tagline {
    font-size: 1.05rem;
    max-width: 440px;
    margin-bottom: 16px;
  }

  .hero-cta-group {
    max-width: 420px;
    gap: 12px;
  }

  .hero-cta-group .btn {
    padding: 11px 18px;
    font-size: 0.95rem;
  }
}

/* Phones in landscape: text beside the coach instead of across his face */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .hero-content-grid,
  [dir="rtl"] .hero-content-grid {
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 64px !important;
    padding-left: max(24px, env(safe-area-inset-left)) !important;
    padding-right: max(24px, env(safe-area-inset-right)) !important;
  }

  .hero-text-col,
  [dir="rtl"] .hero-text-col {
    width: 34%;
    max-width: 300px;
    align-items: flex-start !important;
    text-align: start !important;
    transform-origin: top center;
  }

  .hero-header-block,
  .hero-actions-block {
    align-items: flex-start;
    text-align: start;
    margin: 0;
  }

  .hero-main-heading,
  [dir="rtl"] .hero-main-heading {
    text-align: start;
  }

  .hero-tagline {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .hero-cta-group {
    justify-content: flex-start;
  }
}

/* css/liquid-glass.css */
/**
 * iOS-style "Liquid Glass" for icon buttons.
 *   .lg          glass surface: translucent fill, small backdrop blur, bright top rim, inner depth,
 *                specular highlight that follows the pointer (--lg-x/--lg-y set by js/liquid-glass.js)
 *                and a springy squish on press.
 *   .lg-accent   brand-red tinted glass
 *   .lg-static   decorative glass, no hover/press motion (for elements positioned with transforms)
 *   .lg-refract  adds an SVG displacement "lens" on Chromium desktop (progressive enhancement)
 * The blur radius is intentionally small and only used on small elements, so it stays cheap while scrolling.
 */

.lg {
  --lg-x: 30%;
  --lg-y: 0%;
  --lg-tint: rgba(255, 255, 255, 0.05);
  --lg-rim: rgba(255, 255, 255, 0.5);
  --lg-shadow: 0 8px 22px -6px rgba(0, 0, 0, 0.6);
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.02) 100%),
    var(--lg-tint) !important;
  -webkit-backdrop-filter: blur(10px) saturate(180%) brightness(1.08);
  backdrop-filter: blur(10px) saturate(180%) brightness(1.08);
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    inset 0 1px 0 var(--lg-rim),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -10px 16px -12px rgba(0, 0, 0, 0.55),
    var(--lg-shadow) !important;
  transition:
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Zero specificity so absolutely positioned elements (close buttons, timeline nodes) keep their positioning */
:where(.lg) {
  position: relative;
}

/* Specular highlight — follows the finger / cursor */
.lg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(90% 75% at var(--lg-x) var(--lg-y), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 62%);
  opacity: 0.5;
  transition: opacity 0.35s ease;
}

/* Refractive edge — a thin light ring brighter on the top-left and bottom-right */
.lg::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 68%, rgba(255, 255, 255, 0.32));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.lg-accent {
  --lg-tint: rgba(139, 17, 30, 0.62);
  --lg-rim: rgba(255, 190, 196, 0.6);
  --lg-shadow: 0 10px 34px -6px rgba(139, 17, 30, 0.65);
  color: #fff !important;
}

@media (hover: hover) and (pointer: fine) {
  .lg:not(.lg-static):hover {
    --lg-tint: rgba(139, 17, 30, 0.3);
    transform: translateY(-2px) scale(1.05);
    color: #fff;
  }

  .lg-accent:not(.lg-static):hover {
    --lg-tint: rgba(165, 20, 36, 0.72);
  }

  .lg:hover::before {
    opacity: 0.95;
  }
}

/* Press: quick squish, then the transition's overshoot curve springs it back like iOS */
.lg:not(.lg-static):active,
.lg:not(.lg-static).is-pressed {
  transform: scale(0.9) !important;
  transition-duration: 0.12s;
}

.lg.is-pressed::before {
  opacity: 1;
}

/* Glass over photos: the highlight sits on top of the image like a lens */
.logo-icon-squircle.lg::before,
.logo-icon-squircle.lg::after {
  z-index: 2;
}

.logo-icon-squircle.lg {
  --lg-rim: rgba(255, 255, 255, 0.65);
  border-color: rgba(184, 23, 37, 0.8) !important;
}

.timeline-node.lg {
  --lg-tint: rgba(139, 17, 30, 0.35);
  color: #fff;
}

.installment-icon.lg {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
}

.video-play-btn.lg {
  --lg-shadow: 0 0 44px rgba(139, 17, 30, 0.55);
}

/* Chromium desktop: real refraction through an SVG displacement filter (see js/liquid-glass.js) */
.lg-refract-ok .lg.lg-refract {
  -webkit-backdrop-filter: url(#lg-refract) blur(3px) saturate(190%) brightness(1.1);
  backdrop-filter: url(#lg-refract) blur(3px) saturate(190%) brightness(1.1);
}

/* Accessibility & fallbacks */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lg {
    --lg-tint: rgba(38, 18, 22, 0.94);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .lg {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    --lg-tint: #24121a;
  }

  .lg::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lg {
    transition: none;
  }

  .lg:not(.lg-static):active,
  .lg:not(.lg-static).is-pressed,
  .lg:not(.lg-static):hover {
    transform: none !important;
  }
}

/* Touch devices: keep the glass look (fill, rim, highlight) without a live backdrop blur,
   which phones re-render on every scroll frame. */
@media (hover: none) {
  .lg {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
