/* ============================================
   FLEETECH — Light Theme Design System
   Inspired by tryresponse.com / doss.com
   ============================================ */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS Tokens ---------- */
:root {
  /* Brand */
  --primary: #1875FF;
  --primary-light: #4A94FF;
  --primary-dark: #0D5BD9;
  --primary-bg: #EBF3FF;
  --primary-bg-subtle: #F0F5FF;
  --primary-glow: rgba(24, 117, 255, 0.12);

  /* Surfaces */
  --bg-page: #F7F8FC;
  --bg-white: #FFFFFF;
  --bg-section-alt: #F0F2F8;
  --bg-card: #FFFFFF;
  --bg-footer: #0B0F1A;

  /* Text */
  --text-primary: #0D0F14;
  --text-secondary: #5A6178;
  --text-muted: #8B91A5;
  --text-white: #FFFFFF;
  --text-on-dark: #C8CDD8;

  /* Borders */
  --border-light: #E4E7EF;
  --border-card: #E8EBF2;
  --border-subtle: #F0F1F5;

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1200px;
  --container-padding: 24px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-mockup: 0 20px 60px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-blue: 0 8px 32px rgba(24, 117, 255, 0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.35s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body[dir="rtl"], body[dir="rtl"] * {
  font-family: 'Changa', sans-serif !important;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
}

/* ---------- Scroll Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 8px 8px 8px 16px;
  height: auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), top var(--transition-base), padding var(--transition-base);
  width: max-content;
  max-width: 96%;
}

.nav.scrolled {
  box-shadow: var(--shadow-elevated);
  top: 16px;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  margin: 0;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-img {
  height: 20px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0 24px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__cta {
  margin-left: auto;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--text-white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.nav__cta:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
}

.nav__sign-in {
  padding: 12px 12px 12px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav__sign-in:hover {
  color: var(--primary);
}

/* Mobile nav */
.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
}

.nav__mobile-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle animated gradient background */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background:
    radial-gradient(ellipse 600px 400px at 25% 30%, rgba(24, 117, 255, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 75% 60%, rgba(24, 117, 255, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 50% 20%, rgba(100, 160, 255, 0.03) 0%, transparent 60%);
  animation: hero-gradient 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes hero-gradient {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(20px, -15px) scale(1.03);
  }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

.hero__logo {
  height: 36px;
  display: block;
  margin: 0 auto 32px auto;
}

.hero__title {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero__title .accent {
  color: var(--primary);
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 40px;
}

/* CTA input group */
.hero__cta-group {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--bg-white);
  border-radius: var(--radius-pill);
  padding: 5px 5px 5px 24px;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border-light);
  max-width: 480px;
  width: 100%;
  margin-bottom: 80px;
}

.hero__cta-group input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  min-width: 0;
}

.hero__cta-group input::placeholder {
  color: var(--text-muted);
}

.hero__cta-group button {
  padding: 12px 28px;
  background: var(--primary);
  color: var(--text-white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.hero__cta-group button:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-blue);
}

/* Dashboard mockup */
.hero__mockup-wrapper {
  margin-top: 80px;
  position: relative;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero__mockup {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-mockup);
  border: 1px solid var(--border-light);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ============================================
   SUPPORTED COMPANIES
   ============================================ */
.companies {
  padding: 60px 0 80px;
  text-align: center;
}

.companies__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 32px;
}

.companies__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.companies__logo-img {
  height: 44px;
  width: auto;
  opacity: 0.75;
  transition: opacity var(--transition-base);
  object-fit: contain;
}

.companies__logo-img--jahez {
  height: 32px;
}

.companies__logo-img--keeta {
  height: 54px;
}

.companies__logo-img:hover {
  opacity: 1;
}

/* ============================================
   WHY FLEETECH (FINPAY STYLE)
   ============================================ */
.fin-grid-section {
  padding: 120px 0;
  background: var(--bg-white);
  font-family: 'Inter', sans-serif;
}

.fin-header {
  margin-bottom: 64px;
}

.fin-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #588A98;
  margin-bottom: 12px;
}

.fin-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  color: #121A20;
  letter-spacing: -0.02em;
}

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

.fin-card {
  background: #F8FAFC;
  border-radius: 32px;
  padding: 48px;
  display: flex;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.fin-card-full {
  grid-column: 1 / -1;
}

.flex-col { display: flex; flex-direction: column; }
.jc-between { justify-content: space-between; }
.flex-center { align-items: center; justify-content: center; }

.fin-card-huge {
  font-size: clamp(80px, 8vw, 120px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #588A98;
  margin-bottom: 0;
}

.min-h-auto {
  min-height: auto;
}

.fin-card-title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 500;
  color: #121A20;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.fin-card-title.text-center { text-align: center; }
.mb-32 { margin-bottom: 32px; }
.mb-16 { margin-bottom: 16px; }

.fin-card-desc {
  font-size: 18px;
  line-height: 1.6;
  color: #121A20;
  font-weight: 500;
}

/* Graphic for card 2 */
.fin-flow-graphic {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.fin-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.bg-slate { background: #588A98; }
.bg-dark { background: #121A20; color: white; }

.fin-icon-box svg {
  width: 32px;
  height: 32px;
}

/* Graphic for card 3 */
.fin-card-row {
  flex-direction: row;
  align-items: center;
  padding: 48px;
  gap: 48px;
}

.fin-card-left {
  flex: 0 0 340px;
}

.fin-card-right {
  flex: 1;
  position: relative;
  height: 100%;
}

.fin-chart-panel {
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  overflow: hidden;
  position: absolute;
  top: -40px;
  bottom: -40px;
  left: 0;
  right: -48px; /* bleed right */
  display: flex;
  flex-direction: column;
}

.fin-chart-header {
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.fin-chart-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #7A939E;
  margin-bottom: 6px;
}

.fin-chart-value {
  display: block;
  font-size: 32px;
  font-weight: 600;
  color: #121A20;
  letter-spacing: -0.02em;
}

.fin-chart-dropdown {
  font-size: 13px;
  font-weight: 500;
  color: #7A939E;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.fin-chart-line {
  flex: 1;
  width: 100%;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 900px) {
  .fin-grid { grid-template-columns: 1fr; }
  .fin-card-row { flex-direction: column; padding: 40px; min-height: auto; }
  .fin-card-left { flex: none; width: 100%; text-align: center; margin-bottom: 40px; }
  .fin-card-left .fin-card-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
  .fin-card-right { width: 100%; height: 300px; }
  .fin-chart-panel { position: relative; top: 0; bottom: 0; left: 0; right: 0; height: 100%; }
}

.switch-btn {
  position: relative;
  z-index: 2;
  padding: 12px 32px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  width: 200px;
}

.switch-btn.active { color: var(--text-primary); }

.switcher-content-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
  position: relative;
  min-height: 250px;
}

.switch-state {
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.switch-state.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.switcher-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.switcher-list-red li { border-left: 3px solid #DC2626; padding-left: 16px; }
.switcher-list-green li { border-left: 3px solid #059669; padding-left: 16px; }

.switcher-footer {
  background: var(--bg-section-alt);
  padding: 32px;
  border-radius: var(--radius-lg);
}

.switcher-impact-list {
  padding-left: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.switcher-impact-list li { margin-bottom: 8px; }
/* ============================================
   FEATURES — 3-Column Cards
   ============================================ */
.features {
  padding: var(--section-padding) 0;
}

.features__header {
  text-align: center;
  margin-bottom: 64px;
}

.features__header .section-subtitle {
  margin: 16px auto 0;
}

.features__tabs {
  display: flex;
  width: 100%;
  gap: 0;
  margin-bottom: 48px;
  overflow-x: auto;
  scrollbar-width: none;
}

.features__tabs::-webkit-scrollbar {
  display: none;
}

.features__tab {
  flex: 1;
  text-align: left;
  padding: 24px 16px 0 0;
  position: relative;
  min-width: 160px;
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.features__tab:hover {
  opacity: 0.8;
}

.features__tab.active {
  opacity: 1;
}

.features__tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-light);
}

.features__tab::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.features__tab.active::after {
  transform: scaleX(1);
}

.features__tab-title {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.features__tab-subtitle {
  display: block;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.features__info {
  margin-bottom: 32px;
  text-align: center;
}

.features__desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.features__image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-mockup);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
}

.features__image {
  width: 100%;
  display: block;
  transition: opacity 0.4s var(--ease-out);
}

/* ============================================
   HOW IT WORKS — tryresponse Split Layout
   ============================================ */
.how-it-works {
  padding: var(--section-padding) 0;
  background: var(--bg-white);
}

.how-it-works__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.how-it-works__mockups {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-it-works__mockup-group {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.how-it-works__mockup-group.active {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

.how-it-works__mockup-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-mockup);
  border: 1px solid var(--border-light);
  overflow: hidden;
  background: var(--bg-white);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.how-it-works__mockup-card.full {
  width: 100%;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.how-it-works__mockup-card.modal-left {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  max-width: 340px;
  z-index: 2;
}

.how-it-works__mockup-card.modal-right {
  position: absolute;
  right: 0;
  top: 55%;
  transform: translateY(-50%);
  width: 60%;
  max-width: 340px;
  z-index: 3;
}

.how-it-works__mockup-card img {
  width: 100%;
  display: block;
}

.how-it-works__steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.how-it-works__step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.how-it-works__step.active {
  opacity: 1;
}

.how-it-works__step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: border-color var(--transition-base), color var(--transition-base), background var(--transition-base);
}

.how-it-works__step.active .how-it-works__step-number {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
}

.how-it-works__step-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.how-it-works__step-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 380px;
}

/* ============================================
   PRODUCT SHOWCASE (tabs)
   ============================================ */
.showcase {
  padding: var(--section-padding) 0;
}

.showcase__header {
  text-align: center;
  margin-bottom: 48px;
}

.showcase__header .section-subtitle {
  margin: 16px auto 0;
}

.showcase__tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.showcase__tab {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  background: transparent;
  border: 1px solid transparent;
}

.showcase__tab:hover {
  color: var(--text-primary);
  background: var(--bg-white);
}

.showcase__tab.active {
  color: var(--primary);
  background: var(--primary-bg);
  border-color: rgba(24, 117, 255, 0.15);
  font-weight: 600;
}

.showcase__content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.showcase__image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-mockup);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  width: 100%;
}

.showcase__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s var(--ease-out);
  transform-origin: center center;
  will-change: transform;
}

.showcase__cursor {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  will-change: transform;
}

/* Animations for zooming and panning */
.anim-pattern-1 .showcase__image {
  animation: bgPan1 10s infinite alternate ease-in-out;
}

.anim-pattern-1 .showcase__cursor {
  opacity: 1;
  animation: cursorPos1 10s infinite alternate ease-in-out;
}

@keyframes bgPan1 {
  0% {
    transform: scale(1) translate(0, 0);
  }

  25% {
    transform: scale(1.5) translate(12%, 8%);
  }

  50% {
    transform: scale(1.5) translate(-10%, 15%);
  }

  75% {
    transform: scale(1.8) translate(-15%, -5%);
  }

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

@keyframes cursorPos1 {
  0% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(150px, 90px);
  }

  25% {
    transform: translate(150px, 90px) scale(0.8);
  }

  30% {
    transform: translate(150px, 90px);
  }

  45% {
    transform: translate(-100px, 180px);
  }

  50% {
    transform: translate(-100px, 180px) scale(0.8);
  }

  55% {
    transform: translate(-100px, 180px);
  }

  70% {
    transform: translate(-150px, -60px);
  }

  75% {
    transform: translate(-150px, -60px) scale(0.8);
  }

  80% {
    transform: translate(-150px, -60px);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* Pattern 2 */
.anim-pattern-2 .showcase__image {
  animation: bgPan2 9s infinite alternate ease-in-out;
}

.anim-pattern-2 .showcase__cursor {
  opacity: 1;
  animation: cursorPos2 9s infinite alternate ease-in-out;
}

@keyframes bgPan2 {
  0% {
    transform: scale(1) translate(0, 0);
  }

  33% {
    transform: scale(1.4) translate(-15%, -10%);
  }

  66% {
    transform: scale(1.6) translate(10%, -20%);
  }

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

@keyframes cursorPos2 {
  0% {
    transform: translate(40px, 40px);
  }

  28% {
    transform: translate(-180px, -120px);
  }

  33% {
    transform: translate(-180px, -120px) scale(0.8);
  }

  38% {
    transform: translate(-180px, -120px);
  }

  61% {
    transform: translate(120px, -240px);
  }

  66% {
    transform: translate(120px, -240px) scale(0.8);
  }

  71% {
    transform: translate(120px, -240px);
  }

  100% {
    transform: translate(40px, 40px);
  }
}

/* Pattern 3 */
.anim-pattern-3 .showcase__image {
  animation: bgPan3 11s infinite alternate ease-in-out;
}

.anim-pattern-3 .showcase__cursor {
  opacity: 1;
  animation: cursorPos3 11s infinite alternate ease-in-out;
}

@keyframes bgPan3 {
  0% {
    transform: scale(1) translate(0, 0);
  }

  30% {
    transform: scale(1.5) translate(20%, -15%);
  }

  60% {
    transform: scale(1.3) translate(0, 20%);
  }

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

@keyframes cursorPos3 {
  0% {
    transform: translate(-50px, 100px);
  }

  25% {
    transform: translate(240px, -180px);
  }

  30% {
    transform: translate(240px, -180px) scale(0.8);
  }

  35% {
    transform: translate(240px, -180px);
  }

  55% {
    transform: translate(0, 240px);
  }

  60% {
    transform: translate(0, 240px) scale(0.8);
  }

  65% {
    transform: translate(0, 240px);
  }

  100% {
    transform: translate(-50px, 100px);
  }
}

.showcase__info {
  padding: 20px 0;
}

.showcase__info h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.showcase__info p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.showcase__info-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  counter-reset: showcase-feature;
}

.showcase__info-features li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}

.showcase__info-features li::before {
  counter-increment: showcase-feature;
  content: counter(showcase-feature);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--bg-subtle, #f1f3f5);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  flex-shrink: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: var(--section-padding) 0;
  background: var(--bg-white);
}

.testimonials__header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials__header .section-subtitle {
  margin: 16px auto 0;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-3px);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}

.testimonial-card__stars svg {
  width: 16px;
  height: 16px;
  fill: #FBBF24;
}

.testimonial-card__quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
}

.testimonial-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-card__role {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================
   TIME SAVER
   ============================================ */
.time-saver {
  padding: 0;
  background: linear-gradient(180deg, #3a7bd5 0%, #1a3a6e 30%, #0d1f45 60%, #080e24 100%);
  color: var(--text-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.time-saver::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(58, 123, 213, 0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.time-saver::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.time-saver__inner {
  display: grid;
  grid-template-columns: 1fr 460px 1fr;
  align-items: center;
  justify-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.time-saver__text {
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.time-saver__text.left {
  justify-self: end;
  text-align: right;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.time-saver__text.right {
  justify-self: start;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
}

.time-saver__text .accent {
  color: #fff;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding: 2px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  margin: 0 4px;
}

/* Sliding Typography */
.ts-slider {
  display: inline-flex;
  flex-direction: column;
  height: 2em;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
}

.ts-slider-inner {
  display: grid;
  align-items: center;
  justify-items: center;
}

.ts-slider-inner>span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  white-space: normal;
  text-align: center;
}

.ts-slider-inner>span.active {
  opacity: 1;
  transform: translateY(0);
}

.ts-role {
  min-width: 160px;
}

.ts-role .ts-slider-inner {
  justify-items: end;
}

.ts-role .ts-slider-inner>span {
  text-align: right;
}

.ts-percent {
  min-width: 80px;
}

.ts-percent .ts-slider-inner {
  justify-items: center;
}

.ts-percent .ts-slider-inner>span {
  text-align: center;
}

.ts-activity {
  min-width: 320px;
}

.ts-activity .ts-slider-inner {
  justify-items: start;
}

.ts-activity .ts-slider-inner>span {
  text-align: left;
  white-space: nowrap;
}

.ts-text {
  display: inline-block;
  margin: 0 6px;
}

.time-saver__visual {
  position: relative;
  width: 460px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.time-saver__visual canvas {
  display: block;
}

.time-saver__action {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.time-saver__cta {
  display: inline-block;
  padding: 16px 40px;
  background: #DCF22C;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  box-shadow: 0 4px 12px rgba(220, 242, 44, 0.2);
}

.time-saver__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 242, 44, 0.4);
  background: #E8FF33;
}

@media (max-width: 1024px) {
  .time-saver__inner {
    flex-direction: column;
    text-align: center;
  }

  .time-saver__text.left,
  .time-saver__text.right {
    justify-content: center;
    text-align: center;
    max-width: 100%;
    flex-wrap: wrap;
    white-space: normal;
  }

  .time-saver__visual {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .time-saver__text {
    font-size: 20px;
  }

  .ts-role,
  .ts-percent,
  .ts-activity {
    min-width: unset;
  }
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  padding: var(--section-padding) 0;
  background: var(--bg-page);
  position: relative;
  text-align: center;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 820px;
  margin: 48px auto 0;
}

.pricing__card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-align: left;
}

.pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pricing__card--starter {
  border: 2px solid #22C55E;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.1);
}

.pricing__card--featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #fafcff 0%, #fff 100%);
  box-shadow: 0 8px 32px rgba(24, 117, 255, 0.12);
  position: relative;
  padding-top: 52px;
}

.pricing__card--featured::before {
  content: 'Recommended';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 0;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 14px 14px 0 0;
}

.pricing__card-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(24, 117, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.pricing__card-header {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

.pricing__badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pricing__badge--pro {
  background: rgba(24, 117, 255, 0.1);
  color: var(--primary);
}

.pricing__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.pricing__currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pricing__amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing__period {
  font-size: 15px;
  color: var(--text-tertiary);
  margin-left: 4px;
}

.pricing__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pricing__features li svg {
  flex-shrink: 0;
}

.pricing__cta {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  margin-top: auto;
}

.pricing__cta--outline {
  border: 2px solid var(--border-light);
  color: var(--text-primary);
  background: transparent;
}

.pricing__cta--outline:hover {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: #fff;
}

.pricing__cta--primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}

.pricing__cta--primary:hover {
  background: #0d6efd;
  border-color: #0d6efd;
  box-shadow: 0 8px 24px rgba(24, 117, 255, 0.3);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing__card {
    padding: 32px 28px;
  }
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: var(--section-padding) 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--bg-page) 50%, #F0EEFF 100%);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 117, 255, 0.08), transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta .section-title {
  margin-bottom: 16px;
}

.final-cta .section-subtitle {
  margin: 0 auto 40px;
}

.final-cta__form {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--bg-white);
  border-radius: var(--radius-pill);
  padding: 5px 5px 5px 24px;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border-light);
  max-width: 480px;
  width: 100%;
}

.final-cta__form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  min-width: 0;
}

.final-cta__form input::placeholder {
  color: var(--text-muted);
}

.final-cta__form button {
  padding: 12px 28px;
  background: var(--primary);
  color: var(--text-white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.final-cta__form button:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-blue);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-footer);
  padding: 80px 0 40px;
  color: var(--text-on-dark);
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.footer__brand-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-on-dark);
  opacity: 0.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-white);
  margin-bottom: 20px;
}

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

.footer__links a {
  font-size: 14px;
  color: var(--text-on-dark);
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.footer__links a:hover {
  opacity: 1;
}

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

.footer__copy {
  font-size: 13px;
  opacity: 0.5;
}

.footer__socials {
  display: flex;
  gap: 20px;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transition: opacity var(--transition-fast);
}

.footer__socials a:hover {
  opacity: 1;
}

.footer__socials svg {
  width: 18px;
  height: 18px;
  fill: var(--text-white);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo svg {
  width: 28px;
  height: 28px;
}

.footer__logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

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

  .how-it-works__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .how-it-works__mockups {
    min-height: 300px;
  }

  .showcase__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
    --container-padding: 20px;
  }

  .nav {
    padding: 0 20px;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-elevated);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__cta-group {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 16px;
    gap: 12px;
  }

  .hero__cta-group input {
    width: 100%;
    text-align: center;
    padding: 8px;
  }

  .hero__cta-group button {
    width: 100%;
  }

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

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

  .companies__row {
    gap: 32px;
  }

  .how-it-works__mockup-card:nth-child(2) {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    margin-top: -40px;
    margin-left: 40px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .final-cta__form {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 16px;
    gap: 12px;
  }

  .final-cta__form input {
    width: 100%;
    text-align: center;
    padding: 8px;
  }

  .final-cta__form button {
    width: 100%;
  }
}

/* ============================================
   INTERACTIVE HERO SANDBOX (LIGHT PREMIUM)
   ============================================ */
.hero__sandbox {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1000px;
  height: 600px;
  margin: 80px auto 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 24px 80px rgba(0, 0, 0, 0.08),
    0 0 40px rgba(67, 56, 202, 0.15);
  /* subtle glow */
  background: #FFFFFF;
  text-align: left;
}

.mac-window-header {
  height: 32px;
  background: #f1f3f5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  flex-shrink: 0;
}

.mac-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mac-dot.close {
  background: #ff5f56;
}

.mac-dot.minimize {
  background: #ffbd2e;
}

.mac-dot.expand {
  background: #27c93f;
}

.sandbox-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  background: #F9FAFC;
}

/* Sidebar */
.sandbox-sidebar {
  width: 240px;
  background: #FFFFFF;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  z-index: 10;
}

.sandbox-sidebar__header {
  padding: 0 24px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sandbox-logo {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 6px;
}

.sandbox-title {
  font-weight: 700;
  font-size: 16px;
  color: #111827;
}

.sandbox-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 12px;
  flex: 1;
}

.sandbox-nav__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #6B7280;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.sb-icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.sandbox-nav__item:hover {
  background: rgba(0, 0, 0, 0.03);
  color: #111827;
}

.sandbox-nav__item.active {
  background: var(--primary-bg);
  color: var(--primary);
  font-weight: 600;
}

.sandbox-nav__item.active .sb-icon {
  opacity: 1;
}

/* Live Widget in Sidebar */
.sandbox-widget {
  margin: 0 24px;
  padding: 16px;
  background: #F3F4F6;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.sb-widget-title {
  display: block;
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 8px;
  font-weight: 500;
}

.sb-pulse-number {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: #111827;
}

.sb-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Main Content Area */
.sandbox-content {
  flex: 1;
  position: relative;
  overflow: hidden;
  padding: 40px;
}

.sb-view {
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sb-view.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Common UI Elements */
.sb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.sb-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}

.sb-date {
  font-size: 14px;
  color: #6B7280;
  font-weight: 500;
}

.sb-btn {
  padding: 8px 16px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
}

.sb-btn.primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Grids & Cards */
.sb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sb-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sb-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.sb-card.p-0 {
  padding: 0;
}

.sb-card.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sb-label {
  display: block;
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 8px;
  font-weight: 500;
}

.sb-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

/* Colors */
.text-green {
  color: #10B981;
}

.text-red {
  color: #EF4444;
}

.bg-green {
  background: #10B981;
}

.bg-red {
  background: #EF4444;
}

.bg-primary {
  background: var(--primary);
}

/* Helpers */
.mt-2 {
  margin-top: 8px;
}

.mt-4 {
  margin-top: 24px;
}

.overflow-hidden {
  overflow: hidden;
}

/* Charts & Progress */
.sb-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.sb-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 160px;
  padding: 20px 20px 0;
}

.sb-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 40px;
  height: 100%;
  justify-content: flex-end;
}

.sb-bar {
  width: 24px;
  border-radius: 4px 4px 0 0;
  opacity: 0.8;
  transform-origin: bottom;
  animation: growBar 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sb-bar.h-80 {
  height: 80%;
}

.sb-bar.h-60 {
  height: 60%;
}

.sb-bar.h-95 {
  height: 95%;
}

.sb-bar.h-40 {
  height: 40%;
}

.sb-bar.h-100 {
  height: 100%;
}

.sb-bar-label {
  font-size: 12px;
  color: #9CA3AF;
}

@keyframes growBar {
  0% {
    transform: scaleY(0);
  }

  100% {
    transform: scaleY(1);
  }
}

.sb-progress {
  display: block;
  height: 8px;
  background: #F3F4F6;
  border-radius: 4px;
  overflow: hidden;
}

.sb-progress span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--primary);
  transform-origin: left;
  animation: growWidth 1s ease-out;
}

@keyframes growWidth {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

/* Elements: List & Table */
.sb-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sb-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #F3F4F6;
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}

.sb-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sb-list .sb-progress {
  width: 100px;
}

.sb-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.sb-table th {
  padding: 12px 20px;
  background: #F9FAFC;
  font-size: 12px;
  color: #6B7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #F3F4F6;
}

.sb-table td {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  border-bottom: 1px solid #F3F4F6;
}

.sb-table tr:last-child td {
  border-bottom: none;
}

.sb-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

/* Donut Chart Mock */
.sb-donut {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0% 65%, #F3F4F6 65% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sb-donut-inner {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Skeleton Loading Patterns */
.sb-search {
  width: 200px;
  height: 36px;
  background: #F3F4F6;
  border-radius: 6px;
}

.sb-skeleton-row {
  height: 64px;
  background: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.sb-skeleton-row::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

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

  100% {
    transform: translateX(100%);
  }
}

.sb-skeleton-row::before {
  content: '';
  display: block;
  height: 16px;
  border-radius: 4px;
  background: #F3F4F6;
}

.pattern-3::before {
  width: 50%;
}

/* Modal Styles */
.sb-modal {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 24, 39, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sb-modal.active {
  opacity: 1;
  visibility: visible;
}

.sb-modal-content {
  background: #fff;
  width: 100%;
  max-width: 380px;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sb-modal.active .sb-modal-content {
  transform: translateY(0);
}

.sb-close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  color: #9CA3AF;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.sb-close-btn:hover {
  background: #F3F4F6;
  color: #111827;
}

.sb-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.sb-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Toast Settings */
.sb-toast {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: #111827;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 110;
}

.sb-toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.sb-toast-icon {
  background: #10B981;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* Cursor Settings */
.sb-cursor {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transform: translate(0, 0) scale(1);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.sb-cursor.clicking {
  transform: scale(0.85) !important;
  transition: transform 0.2s ease !important;
}

@media (max-width: 768px) {
  .hero__sandbox {
    flex-direction: column;
    height: auto;
    min-height: 600px;
  }

  .sandbox-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
  }

  .sandbox-nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 0 16px;
    -webkit-overflow-scrolling: touch;
  }

  .sandbox-nav__item {
    min-width: max-content;
  }

  .sandbox-content {
    padding: 24px;
  }

  .sb-view {
    top: 24px;
    left: 24px;
    right: 24px;
  }

  .sb-grid-3,
  .sb-grid-2 {
    grid-template-columns: 1fr;
  }

  /* Transformation Journey responsive */
  .transform-journey {
    padding: 60px 0 60px;
  }

  .transform-journey__row {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px;
    padding: 32px 0;
  }

  .tj-row__pain {
    padding-right: 0;
  }

  .tj-row__arrow {
    min-width: unset;
    padding: 0;
    justify-content: flex-start;
    gap: 12px;
  }

  .tj-row__arrow-line {
    position: static;
    width: 40px;
    height: 2px;
    transform: none !important;
  }

  .transform-journey__row.visible .tj-row__arrow-line {
    transform: none !important;
  }

  .tj-row__arrow-head {
    width: 32px;
    height: 32px;
    margin-left: 0;
  }

  .tj-row__solution {
    padding-left: 0;
  }

  .tj-row__impact {
    margin-top: 16px;
  }

  .transform-journey__closing p {
    font-size: 17px;
  }
}
/* ============================================
   AWARD-WINNING BENTO SECTION
   ============================================ */
.narrative {
  padding: 120px 0;
  background: #F8FAFC;
  position: relative;
  overflow: hidden;
}

.narrative__header {
  margin-bottom: 64px;
  text-align: center;
}

.narrative__header .section-subtitle {
  margin-top: 16px;
}

.bento-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.02);
}

.solution-card {
  flex-direction: row;
  align-items: center;
  gap: 64px;
}

.bento-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 900px) {
  .solution-card {
    flex-direction: column;
    gap: 40px;
  }
  .bento-split {
    grid-template-columns: 1fr;
  }
}

.bento-card__title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: #0F172A;
}

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

.bento-card__desc {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 32px;
  font-weight: 500;
  line-height: 1.5;
}

.bento-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bento-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 16px;
  line-height: 1.6;
}

.bento-bullet {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #0F172A;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.solid-blue {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(24, 117, 255, 0.25);
}

.bento-list p strong {
  color: #0F172A;
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: 700;
}

.bento-list p span {
  color: #64748b;
  font-size: 15px;
  font-weight: 500;
}

.solution-list {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}
.solution-list li {
  flex: 1;
  min-width: 280px;
}

/* ============================================
   BENTO GRAPHICS
   ============================================ */
.bento-card__content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.bento-card__graphic {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-graphic {
  flex: 1;
  min-height: 300px;
  width: 100%;
}

.pain-graphic, .matters-graphic {
  height: 220px;
  width: 100%;
  margin-bottom: 40px;
  border-radius: 16px;
  background: #F8FAFC;
  overflow: hidden;
}

/* --- THE HUB GRAPHIC (Solution) --- */
.graphic-hub {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-center {
  background: linear-gradient(135deg, #ffffff 0%, #f0f5ff 100%);
  width: 140px;
  height: 140px;
  border-radius: 28px;
  box-shadow: 0 15px 35px -5px rgba(24, 117, 255, 0.15), inset 0 0 0 1px rgba(255,255,255,0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  position: relative;
}

.hub-icon-wrapper {
  background: #FFFFFF;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.hub-icon {
  width: 32px;
  height: 32px;
}

.hub-label {
  font-weight: 700;
  color: #0F172A;
  font-size: 14px;
  text-align: center;
  line-height: 1.2;
}

.hub-pulses {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(24, 117, 255, 0.3);
  border-radius: 50%;
  animation: pulse-ring 3s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.pr-1 { width: 140px; height: 140px; animation-delay: 0s; }
.pr-2 { width: 140px; height: 140px; animation-delay: 1s; }
.pr-3 { width: 140px; height: 140px; animation-delay: 2s; }

@keyframes pulse-ring {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

.hub-nodes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
}

.orbital-node {
  position: absolute;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.02);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float-node 4s ease-in-out infinite alternate;
}
.orbital-node img { width: 24px; height: 24px; object-fit: contain; }

.node-1 { top: -20px; left: 10%; animation-delay: 0s; }
.node-2 { top: 50%; left: -20px; transform: translateY(-50%); animation-delay: -1.5s; }
.node-3 { bottom: -20px; left: 20%; animation-delay: -3s; }

@keyframes float-node {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

.hub-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.4;
  color: var(--primary);
}
.connection-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  stroke-dasharray: 200;
  animation: dash-flow 3s linear infinite;
}
.line-1 { left: 0%; top: -10%; }
.line-2 { left: 0%; top: 0%; }
.line-3 { left: 0%; top: 10%; }

@keyframes dash-flow {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

/* --- THE PAIN GRAPHIC --- */
.pain-graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-item {
  position: absolute;
  background: #FFF;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float-random 5s ease-in-out infinite alternate;
}

.fi-icon {
  width: 20px;
  height: 6px;
  border-radius: 3px;
}
.fi-red { background: #EF4444; }
.fi-gray { background: #E2E8F0; }
.fi-yellow { background: #F59E0B; }

.fi-1 { width: 40px; height: 40px; top: 30px; left: 20%; animation-delay: 0s; }
.fi-2 { width: 50px; height: 30px; bottom: 40px; right: 20%; animation-delay: -2s; border-radius: 4px; }
.fi-3 { width: 30px; height: 30px; top: 60px; right: 25%; animation-delay: -4s; border-radius: 50%; }

.fi-main {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.1), 0 0 0 1px rgba(239, 68, 68, 0.1);
  animation: float-random 4s ease-in-out infinite alternate-reverse;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.pain-icon-main {
  width: 32px;
  height: 32px;
  color: #EF4444;
}

@keyframes float-random {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(10px, -15px) rotate(5deg); }
}

/* --- THE MATTERS GRAPHIC --- */
.shield-container {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float-random 3s ease-in-out infinite alternate;
}

.shield-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #F59E0B;
  border-radius: 50%;
  filter: blur(25px);
  opacity: 0.3;
  z-index: 0;
}

.shield-body {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #fff 0%, #fffbeb 100%);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15), inset 0 0 0 1px rgba(255,255,255,1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F59E0B;
}

.shield-body svg {
  width: 32px;
  height: 32px;
}

.warning-particle {
  position: absolute;
  background: #F59E0B;
  border-radius: 50%;
  animation: pulse-ring 2s linear infinite;
  box-shadow: 0 0 10px #F59E0B;
}

.wp-1 { width: 8px; height: 8px; top: -10px; left: -10px; }
.wp-2 { width: 6px; height: 6px; bottom: -10px; right: -10px; animation-delay: -1s; }

/* RTL Dashboard Support */
[dir="rtl"] { direction: rtl; }
[dir="rtl"] .sandbox-sidebar { border-right: none; border-left: 1px solid var(--border-light); }
[dir="rtl"] .sb-icon { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .sb-date, [dir="rtl"] .sb-btn { margin-left: 0; }
[dir="rtl"] .sb-header { flex-direction: row; }
[dir="rtl"] .sandbox-nav__item { text-align: right; }
[dir="rtl"] .mac-window-header { flex-direction: row-reverse; }
[dir="rtl"] .mac-dot { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .mac-dot:last-child { margin-left: 0; }
[dir="rtl"] .sb-close-btn { margin-left: 0; margin-right: auto; }
.nav__lang-toggle:hover { background: var(--bg-section-alt) !important; }

/* Language Switcher - Fixed Corner */
.nav__lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-section-alt);
  border-radius: var(--radius-pill);
  padding: 4px;
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 1001;
  border: 1px solid var(--border-light);
}

.nav__lang-switcher .lang-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--bg-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.nav__lang-switcher.is-ar .lang-slider {
  transform: translateX(100%);
}

[dir="rtl"] .nav__lang-switcher {
  right: auto;
  left: 32px;
}

[dir="rtl"] .nav__lang-switcher .lang-slider {
  left: auto;
  right: 4px;
  transform: translateX(0);
}

[dir="rtl"] .nav__lang-switcher.is-ar .lang-slider {
  transform: translateX(-100%);
}

.nav__lang-switcher .lang-btn {
  position: relative;
  z-index: 2;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.3s;
}

.nav__lang-switcher .lang-btn.active {
  color: var(--primary);
}

/* ---------- RTL Layout Fixes ---------- */
body[dir="rtl"] .hero__cta-group,
body[dir="rtl"] .final-cta__form {
  direction: rtl;
  padding: 5px 24px 5px 5px;
}

body[dir="rtl"] .hero__cta-group input,
body[dir="rtl"] .final-cta__form input {
  direction: rtl;
  text-align: right;
}

body[dir="rtl"] .features__tab {
  text-align: right;
  padding: 24px 0 0 16px;
}

body[dir="rtl"] .features__tab::after {
  transform-origin: right;
}

body[dir="rtl"] .how-it-works__step-content {
  text-align: right;
}

body[dir="rtl"] .bento-list li {
  direction: rtl;
}

body[dir="rtl"] .pricing__features li {
  direction: rtl;
}

body[dir="rtl"] .footer__brand-text,
body[dir="rtl"] .footer__col-title,
body[dir="rtl"] .footer__links,
body[dir="rtl"] .footer__copy {
  text-align: right;
}

body[dir="rtl"] .testimonial-card__quote {
  direction: rtl;
}

body[dir="rtl"] .section-title,
body[dir="rtl"] .section-subtitle {
  direction: rtl;
}
