/* ============================================================
   TRACKY CAR PRO — Polaris Design System + Roboto
   ============================================================ */

/* ===== POLARIS TOKENS ===== */
:root {
  /* Colors */
  --p-color-bg:                #F6F6F7;
  --p-color-bg-surface:        #FFFFFF;
  --p-color-bg-surface-hover:  #F1F1F1;
  --p-color-bg-surface-active: #E3E3E3;
  --p-color-bg-inverse:        #1A1A1A;
  --p-color-bg-primary:        #0061BB;
  --p-color-bg-primary-hover:  #0052A0;
  --p-color-bg-primary-active: #004488;
  --p-color-bg-primary-subdued:#E6F0FA;
  --p-color-bg-success:        #DCFCE7;
  --p-color-bg-warning:        #FEF3C7;

  --p-color-text:              #1A1A1A;
  --p-color-text-secondary:    #616161;
  --p-color-text-disabled:     #ABABAB;
  --p-color-text-inverse:      #FFFFFF;
  --p-color-text-primary:      #0061BB;
  --p-color-text-success:      #16A34A;

  --p-color-border:            #E3E3E3;
  --p-color-border-hover:      #ABABAB;
  --p-color-border-primary:    #0061BB;

  /* Typography */
  --p-font-family-sans: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --p-font-family-arabic: 'Cairo', 'Roboto', sans-serif;

  --p-font-size-75:  0.75rem;   /* 12px */
  --p-font-size-100: 0.875rem;  /* 14px */
  --p-font-size-200: 1rem;      /* 16px */
  --p-font-size-300: 1.125rem;  /* 18px */
  --p-font-size-400: 1.25rem;   /* 20px */
  --p-font-size-500: 1.5rem;    /* 24px */
  --p-font-size-600: 1.875rem;  /* 30px */
  --p-font-size-700: 2.25rem;   /* 36px */
  --p-font-size-800: 3rem;      /* 48px */

  --p-font-weight-regular: 400;
  --p-font-weight-medium:  500;
  --p-font-weight-bold:    700;

  --p-line-height-1: 1;
  --p-line-height-2: 1.25;
  --p-line-height-3: 1.5;
  --p-line-height-4: 1.75;

  /* Spacing (4px base) */
  --p-space-1:  4px;
  --p-space-2:  8px;
  --p-space-3:  12px;
  --p-space-4:  16px;
  --p-space-5:  20px;
  --p-space-6:  24px;
  --p-space-8:  32px;
  --p-space-10: 40px;
  --p-space-12: 48px;
  --p-space-16: 64px;
  --p-space-20: 80px;
  --p-space-24: 96px;
  --p-space-32: 128px;

  /* Border radius */
  --p-border-radius-1:    4px;
  --p-border-radius-2:    8px;
  --p-border-radius-3:    12px;
  --p-border-radius-4:    16px;
  --p-border-radius-full: 9999px;

  /* Shadows */
  --p-shadow-0: none;
  --p-shadow-100: 0 1px 0 rgba(0,0,0,0.05);
  --p-shadow-200: 0 1px 4px rgba(0,0,0,0.08), 0 1px 0 rgba(0,0,0,0.04);
  --p-shadow-300: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.06);
  --p-shadow-400: 0 8px 24px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  --p-shadow-500: 0 20px 48px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08);

  /* Primary shorthand */
  --primary:       #0061BB;
  --primary-dark:  #0052A0;
  --primary-light: #E6F0FA;
  --primary-rgb:   0,97,187;
  --green: #22C55E;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--p-font-family-sans);
  font-size: var(--p-font-size-200);
  font-weight: var(--p-font-weight-regular);
  line-height: var(--p-line-height-3);
  color: var(--p-color-text);
  background: var(--p-color-bg-surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== RTL ===== */
body[data-lang="ar"] {
  font-family: var(--p-font-family-arabic);
  direction: rtl;
  text-align: right;
}
body[data-lang="ar"] .nav-links { margin-left: 0; margin-right: auto; }
body[data-lang="ar"] .step-arrow { transform: scaleX(-1); }
body[data-lang="ar"] .hero-cta svg,
body[data-lang="ar"] .cta-section .btn svg { transform: scaleX(-1); }
body[data-lang="ar"] .mock-badge { margin-left: 0; margin-right: auto; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--p-space-6);
}

.accent { color: var(--p-color-text-primary); }
.blue   { color: var(--p-color-bg-primary); }
.green-text { color: var(--p-color-text-success); }

/* ===== POLARIS BUTTON ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--p-space-2);
  padding: 10px var(--p-space-6);
  border-radius: var(--p-border-radius-2);
  font-family: var(--p-font-family-sans);
  font-size: var(--p-font-size-200);
  font-weight: var(--p-font-weight-medium);
  line-height: var(--p-line-height-2);
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.15s, box-shadow 0.15s, border-color 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--p-color-bg-primary);
  color: var(--p-color-text-inverse);
  border-color: var(--p-color-bg-primary);
  box-shadow: var(--p-shadow-100), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  background: var(--p-color-bg-primary-hover);
  border-color: var(--p-color-bg-primary-hover);
  box-shadow: var(--p-shadow-200);
  transform: translateY(-1px);
}
.btn-primary:active {
  background: var(--p-color-bg-primary-active);
  transform: translateY(0);
  box-shadow: var(--p-shadow-100);
}
.btn-ghost {
  background: var(--p-color-bg-surface);
  color: var(--p-color-text);
  border-color: var(--p-color-border);
  box-shadow: var(--p-shadow-100);
}
.btn-ghost:hover {
  background: var(--p-color-bg-surface-hover);
  border-color: var(--p-color-border-hover);
  transform: translateY(-1px);
}
.btn-white {
  background: var(--p-color-bg-surface);
  color: var(--p-color-text-primary);
  border-color: var(--p-color-bg-surface);
  box-shadow: var(--p-shadow-200);
}
.btn-white:hover {
  background: var(--p-color-bg-primary-subdued);
  transform: translateY(-1px);
}
.btn-lg { padding: 14px var(--p-space-8); font-size: var(--p-font-size-300); border-radius: var(--p-border-radius-2); }
.btn-sm { padding: 6px var(--p-space-4); font-size: var(--p-font-size-100); }
.btn-full { width: 100%; border-radius: var(--p-border-radius-2); }

/* ===== POLARIS BADGE ===== */
.badge-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--p-space-2);
  padding: var(--p-space-1) var(--p-space-3);
  border-radius: var(--p-border-radius-full);
  font-size: var(--p-font-size-75);
  font-weight: var(--p-font-weight-medium);
  background: var(--p-color-bg-primary-subdued);
  color: var(--p-color-text-primary);
  margin-bottom: var(--p-space-4);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  letter-spacing: 0.01em;
}
.badge-pill.dark {
  background: var(--p-color-bg);
  color: var(--p-color-text-secondary);
  border-color: var(--p-color-border);
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: var(--p-space-16); }
.section-header h2 {
  font-size: clamp(var(--p-font-size-600), 3.5vw, var(--p-font-size-700));
  font-weight: var(--p-font-weight-bold);
  line-height: var(--p-line-height-2);
  color: var(--p-color-text);
  margin-bottom: var(--p-space-3);
  letter-spacing: -0.02em;
}
body[data-lang="ar"] .section-header h2 { font-family: var(--p-font-family-arabic); }
.section-header p {
  color: var(--p-color-text-secondary);
  font-size: var(--p-font-size-300);
  max-width: 560px;
  margin: 0 auto;
  line-height: var(--p-line-height-4);
}

/* ===== LANG SWITCH ===== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--p-space-2);
  padding: 6px var(--p-space-3);
  border-radius: var(--p-border-radius-full);
  border: 1.5px solid var(--p-color-border);
  background: var(--p-color-bg-surface);
  cursor: pointer;
  font-size: var(--p-font-size-100);
  font-weight: var(--p-font-weight-medium);
  color: var(--p-color-text-secondary);
  transition: all 0.15s;
  font-family: var(--p-font-family-arabic);
  box-shadow: var(--p-shadow-100);
}
.lang-switch:hover {
  border-color: var(--p-color-border-primary);
  color: var(--p-color-text-primary);
  background: var(--p-color-bg-primary-subdued);
}
.lang-flag { font-size: 1rem; }
.mobile-lang { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--p-color-border);
  transition: box-shadow 0.2s;
}
.navbar.scrolled { box-shadow: var(--p-shadow-200); }
.nav-inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: var(--p-space-8);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--p-space-2);
  text-decoration: none;
  color: var(--p-color-text);
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-logo-img { height: 36px; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: var(--p-space-6); margin-left: auto; }
.nav-links a {
  color: var(--p-color-text-secondary);
  text-decoration: none;
  font-size: var(--p-font-size-100);
  font-weight: var(--p-font-weight-medium);
  transition: color 0.15s;
  padding: var(--p-space-1) 0;
}
.nav-links a:hover { color: var(--p-color-text); }
.nav-actions { display: flex; align-items: center; gap: var(--p-space-3); }
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--p-color-text);
  margin-left: auto;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--p-space-3);
  padding: var(--p-space-4) var(--p-space-6) var(--p-space-5);
  border-top: 1px solid var(--p-color-border);
  background: var(--p-color-bg-surface);
}
.mobile-menu a {
  text-decoration: none;
  color: var(--p-color-text-secondary);
  font-weight: var(--p-font-weight-medium);
  font-size: var(--p-font-size-200);
  padding: var(--p-space-2) 0;
  border-bottom: 1px solid var(--p-color-border);
}
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding: 100px 0 var(--p-space-20);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--p-color-bg-surface);
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.08;
}
.shape-1 { width: 640px; height: 640px; background: var(--primary); top: -200px; right: -120px; }
.shape-2 { width: 440px; height: 440px; background: #8B5CF6; bottom: -120px; left: -120px; }
.shape-3 { width: 320px; height: 320px; background: var(--green); top: 50%; left: 50%; transform: translate(-50%,-50%); }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--p-space-16);
  row-gap: 0;
  align-items: start;
}
.hero-inner > .badge-pill { grid-column: 1; grid-row: 1; margin-bottom: var(--p-space-4); }
.hero-inner > .hero-title { grid-column: 1; grid-row: 2; margin-bottom: var(--p-space-5); }
.hero-text { grid-column: 1; grid-row: 3; }
.hero-visual { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.hero-title {
  font-size: clamp(var(--p-font-size-600), 4vw, var(--p-font-size-800));
  font-weight: var(--p-font-weight-bold);
  line-height: var(--p-line-height-2);
  letter-spacing: -0.03em;
  margin-bottom: var(--p-space-5);
  color: var(--p-color-text);
}
body[data-lang="ar"] .hero-title { font-family: var(--p-font-family-arabic); }
.hero-sub {
  color: var(--p-color-text-secondary);
  font-size: var(--p-font-size-300);
  margin-bottom: var(--p-space-8);
  line-height: var(--p-line-height-4);
}
.hero-cta {
  display: flex;
  gap: var(--p-space-3);
  flex-wrap: wrap;
  margin-bottom: var(--p-space-10);
}
.hero-stats { display: flex; align-items: center; gap: var(--p-space-6); }
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: var(--p-font-size-500);
  font-weight: var(--p-font-weight-bold);
  color: var(--p-color-text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  font-size: var(--p-font-size-75);
  color: var(--p-color-text-secondary);
  margin-top: var(--p-space-1);
  font-weight: var(--p-font-weight-medium);
}
.stat-div { width: 1px; height: 36px; background: var(--p-color-border); }

/* ===== PHONE MOCKUP ===== */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-mockup {
  width: 256px;
  background: #D1D5DB;
  border-radius: 32px;
  padding: 8px 6px;
  box-shadow: var(--p-shadow-500), 0 0 0 4px #D1D5DB;
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: var(--p-color-bg-surface);
  border-radius: 28px;
  padding: var(--p-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--p-space-3);
  direction: ltr;
  text-align: left;
}
.mock-header { display: flex; align-items: center; gap: var(--p-space-2); }
.mock-avatar {
  width: 34px; height: 34px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
  font-family: var(--p-font-family-sans);
}
.mock-name { font-size: 0.8rem; font-weight: 700; }
.mock-sub { font-size: 0.68rem; color: var(--p-color-text-secondary); }
.mock-badge {
  margin-left: auto;
  padding: 2px var(--p-space-2);
  border-radius: var(--p-border-radius-full);
  font-size: 0.68rem;
  font-weight: 600;
}
.mock-badge.active { background: var(--p-color-bg-success); color: var(--p-color-text-success); }
.mock-car {
  background: var(--p-color-bg);
  padding: var(--p-space-2) var(--p-space-3);
  border-radius: var(--p-border-radius-2);
}
.mock-car-name { font-size: 0.78rem; font-weight: 700; }
.mock-period { font-size: 0.68rem; color: var(--p-color-text-secondary); margin-top: 2px; }
.mock-payment {
  background: var(--p-color-bg-primary-subdued);
  padding: var(--p-space-2) var(--p-space-3);
  border-radius: var(--p-border-radius-2);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
}
.mock-pay-label { font-size: 0.65rem; color: var(--p-color-text-secondary); }
.mock-pay-val { font-size: 0.85rem; font-weight: 700; }
.mock-paid { font-size: 0.68rem; color: var(--p-color-text-success); }
.mock-btn {
  text-align: center;
  padding: var(--p-space-2);
  border-radius: var(--p-border-radius-2);
  font-size: 0.72rem;
  font-weight: 600;
  color: white;
}
.mock-btn.blue-btn { background: var(--primary); }

/* ===== APP SCREEN MOCKUP ===== */
.app-screen {
  background: #F5F5F5;
  border-radius: 26px;
  padding: 0;
  overflow: hidden;
  gap: 0;
  display: flex;
  flex-direction: column;
}
.app-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #111;
  padding: 10px 12px;
  direction: ltr;
}
.app-logo-badge {
  width: 28px; height: 28px;
  background: #22C55E;
  border-radius: 6px;
  font-size: 0.65rem; font-weight: 800;
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.app-agency {
  font-size: 0.75rem; font-weight: 700;
  color: white; flex: 1;
}
.app-topbar-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.app-notif-wrap { position: relative; color: #9CA3AF; }
.app-notif-dot {
  position: absolute; top: -4px; right: -4px;
  background: #EF4444; color: white;
  font-size: 0.5rem; font-weight: 700;
  width: 14px; height: 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.app-user-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #6366F1;
}

.app-date-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 6px;
  background: white;
  direction: ltr;
}
.app-date { font-size: 0.85rem; font-weight: 700; color: #111; }
.app-events { font-size: 0.65rem; color: #6B7280; }
.app-chevron {
  width: 28px; height: 28px;
  background: #111;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
}

.app-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px 8px;
  background: white;
}
.app-stat-card {
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dark-stat { background: #111; }
.green-stat { background: #F0FDF4; border: 1px solid #BBF7D0; }
.blue-stat  { background: #EFF6FF; border: 1px solid #BFDBFE; }
.gray-stat  { background: #F3F4F6; border: 1px solid #E5E7EB; }

.app-stat-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #9CA3AF;
  margin-bottom: 4px;
}
.green-stat-icon { background: #DCFCE7; color: #16A34A; }
.blue-stat-icon  { background: #DBEAFE; color: var(--primary); }
.gray-stat-icon  { background: #E5E7EB; color: #6B7280; }

.app-stat-label { font-size: 0.65rem; color: #6B7280; }
.dark-stat .app-stat-label { color: #9CA3AF; }
.app-stat-val { font-size: 0.82rem; font-weight: 700; color: #111; }
.dark-stat .app-stat-val { color: white; }
.app-stat-val span { font-size: 0.6rem; font-weight: 400; color: #6B7280; }
.dark-stat .app-stat-val span { color: #9CA3AF; }

.app-section-title {
  font-size: 0.72rem; font-weight: 700;
  color: #111; padding: 8px 12px 4px;
  background: white; border-top: 1px solid #F3F4F6;
  direction: ltr;
}
.app-commercial {
  background: white;
  padding: 8px 12px;
  border-top: 1px solid #F3F4F6;
  display: flex; flex-direction: column; gap: 4px;
  direction: ltr;
}
.app-com-header { display: flex; align-items: center; justify-content: space-between; }
.app-com-name { font-size: 0.72rem; font-weight: 700; color: #111; }
.app-com-badge {
  background: #F3F4F6; color: #374151;
  font-size: 0.6rem; font-weight: 600;
  padding: 2px 6px; border-radius: 50px;
}
.app-com-contrib { font-size: 0.62rem; color: #6B7280; }
.app-progress-bar {
  height: 6px; border-radius: 3px;
  background: #F3F4F6;
  display: flex; overflow: hidden;
}
.app-progress-fill { background: #22C55E; height: 100%; }
.app-progress-rest { background: #F97316; height: 100%; }
.app-com-amounts { display: flex; gap: 8px; flex-wrap: wrap; }
.app-com-amounts span { font-size: 0.58rem; color: #6B7280; }
.paid-dot { color: #16A34A !important; }
.rest-dot { color: #EA580C !important; }

/* Floating cards */
.floating-card {
  position: absolute;
  background: var(--p-color-bg-surface);
  border-radius: var(--p-border-radius-3);
  padding: var(--p-space-3) var(--p-space-4);
  box-shadow: var(--p-shadow-400);
  border: 1px solid var(--p-color-border);
  display: flex;
  align-items: center;
  gap: var(--p-space-2);
  z-index: 3;
  animation: float 3s ease-in-out infinite;
  direction: ltr; text-align: left;
}
.floating-card:nth-child(2) { animation-delay: 0.5s; }
.floating-card:nth-child(3) { animation-delay: 1s; }
.floating-card:nth-child(4) { animation-delay: 1.5s; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.card-scan { top: 16px; left: -80px; }
.card-notif { top: 140px; right: -90px; }
.card-revenue { bottom: 60px; left: -70px; }
.fc-icon {
  width: 36px; height: 36px;
  background: var(--p-color-bg-primary-subdued);
  border-radius: var(--p-border-radius-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.fc-icon.green-icon {
  background: #DCFCE7;
  color: #16A34A;
}
.fc-title { font-size: 0.78rem; font-weight: 700; color: var(--p-color-text); }
.fc-sub { font-size: 0.68rem; color: var(--p-color-text-secondary); }
.fc-sub.blue { color: var(--primary); font-weight: 600; }

/* ===== TRUST ===== */
.trust {
  background: var(--p-color-bg);
  border-top: 1px solid var(--p-color-border);
  border-bottom: 1px solid var(--p-color-border);
  padding: var(--p-space-8) 0;
}
.trust-label {
  font-size: var(--p-font-size-75);
  color: var(--p-color-text-disabled);
  margin-bottom: var(--p-space-5);
  font-weight: var(--p-font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}

/* ===== CAROUSEL ===== */
.carousel-track-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.carousel-track-wrap::before,
.carousel-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.carousel-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--p-color-bg), transparent);
}
.carousel-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--p-color-bg), transparent);
}
.carousel-track {
  display: flex;
  gap: var(--p-space-3);
  width: max-content;
  animation: carousel-scroll 28s linear infinite;
}
.carousel-track:hover { animation-play-state: paused; }
@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.carousel-logo {
  display: flex;
  align-items: center;
  gap: var(--p-space-2);
  padding: var(--p-space-3) var(--p-space-5);
  background: var(--p-color-bg-surface);
  border: 1px solid var(--p-color-border);
  border-radius: var(--p-border-radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--p-shadow-100);
  transition: all 0.2s;
  cursor: default;
}
.carousel-logo:hover {
  border-color: var(--p-color-border-primary);
  box-shadow: var(--p-shadow-300);
  transform: translateY(-2px);
}
.cl-icon {
  width: 30px; height: 30px;
  border-radius: var(--p-border-radius-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.carousel-logo span {
  font-size: var(--p-font-size-100);
  font-weight: var(--p-font-weight-medium);
  color: var(--p-color-text-secondary);
}

/* ===== FEATURES ===== */
.features { padding: var(--p-space-24) 0; background: var(--p-color-bg-surface); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--p-space-4); }

.feature-card {
  background: var(--p-color-bg);
  border: 1px solid var(--p-color-border);
  border-radius: var(--p-border-radius-3);
  padding: var(--p-space-6);
  transition: all 0.2s;
}
.feature-card:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: var(--p-shadow-300);
  transform: translateY(-2px);
  background: var(--p-color-bg-surface);
}
.feat-main {
  grid-column: span 2;
}
.feat-icon {
  width: 48px; height: 48px;
  background: var(--p-color-bg-primary-subdued);
  border-radius: var(--p-border-radius-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--p-space-4);
  color: var(--primary);
  flex-shrink: 0;
}
.feature-card h3 {
  font-size: var(--p-font-size-300);
  font-weight: var(--p-font-weight-bold);
  margin-bottom: var(--p-space-2);
  line-height: var(--p-line-height-2);
  letter-spacing: -0.01em;
}
.feature-card p { font-size: var(--p-font-size-100); color: var(--p-color-text-secondary); line-height: var(--p-line-height-4); }
.feat-tags { display: flex; gap: var(--p-space-2); flex-wrap: wrap; margin-top: var(--p-space-4); }
.feat-tags span {
  padding: var(--p-space-1) var(--p-space-3);
  background: var(--p-color-bg-primary-subdued);
  border-radius: var(--p-border-radius-full);
  font-size: var(--p-font-size-75);
  color: var(--primary);
  font-weight: var(--p-font-weight-medium);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
}

/* ===== HOW ===== */
.how {
  padding: var(--p-space-24) 0;
  background: var(--p-color-bg-inverse);
  color: var(--p-color-text-inverse);
}
.how .section-header h2 { color: var(--p-color-text-inverse); }
.how .section-header p { color: #9CA3AF; }
.how .badge-pill.dark { background: rgba(255,255,255,0.08); color: #D1D5DB; border-color: rgba(255,255,255,0.1); }
.steps { display: flex; align-items: center; gap: var(--p-space-6); justify-content: center; }
.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--p-border-radius-4);
  padding: var(--p-space-10) var(--p-space-6);
  transition: all 0.2s;
}
.step:hover {
  background: rgba(var(--primary-rgb), 0.08);
  border-color: rgba(var(--primary-rgb), 0.3);
  transform: translateY(-3px);
}
.step-num {
  font-size: 2.5rem;
  font-weight: var(--p-font-weight-bold);
  color: var(--primary);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: var(--p-space-2);
  letter-spacing: -0.03em;
}
.step-icon {
  width: 60px; height: 60px;
  background: rgba(var(--primary-rgb), 0.12);
  border-radius: var(--p-border-radius-3);
  display: flex; align-items: center; justify-content: center;
  color: #7EB8E8;
  margin: 0 auto var(--p-space-4);
}
.step h3 {
  font-size: var(--p-font-size-300);
  font-weight: var(--p-font-weight-bold);
  color: white;
  margin-bottom: var(--p-space-2);
  letter-spacing: -0.01em;
}
.step p { font-size: var(--p-font-size-100); color: #9CA3AF; line-height: var(--p-line-height-4); }
.step-arrow { font-size: 1.5rem; color: var(--primary); opacity: 0.4; }

/* ===== PREVIEW ===== */
.preview { padding: var(--p-space-24) 0; background: var(--p-color-bg); }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--p-space-6); }
.preview-card { display: flex; flex-direction: column; gap: var(--p-space-3); }
.preview-img {
  border-radius: var(--p-border-radius-4);
  box-shadow: var(--p-shadow-400);
  background: var(--p-color-bg-surface);
  padding: var(--p-space-5);
  min-height: 280px;
  border: 1px solid var(--p-color-border);
  direction: ltr; text-align: left;
}
.preview-label {
  text-align: center;
  font-size: var(--p-font-size-100);
  font-weight: var(--p-font-weight-medium);
  color: var(--p-color-text-secondary);
}

/* Dashboard Mock */
.dashboard-mock { display: flex; flex-direction: column; gap: var(--p-space-3); }
.dash-header { display: flex; align-items: center; gap: var(--p-space-2); }
.dash-logo {
  width: 30px; height: 30px;
  background: var(--primary);
  border-radius: var(--p-border-radius-2);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.7rem; font-weight: 700;
}
.dash-title { font-size: var(--p-font-size-100); font-weight: 700; flex: 1; }
.dash-notif { font-size: 1rem; }
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--p-space-2); }
.dash-card { background: var(--p-color-bg); border-radius: var(--p-border-radius-2); padding: var(--p-space-3); border: 1px solid var(--p-color-border); }
.dark-card { background: var(--p-color-bg-inverse); color: white; border-color: transparent; }
.green-card { background: #F0FDF4; border-color: #BBF7D0; }
.lightblue-card { background: var(--p-color-bg-primary-subdued); border-color: #B3D0EE; }
.dc-label { font-size: 0.68rem; color: var(--p-color-text-secondary); margin-bottom: 3px; }
.dark-card .dc-label { color: #9CA3AF; }
.dc-val { font-size: var(--p-font-size-200); font-weight: 700; }
.dash-event {
  display: flex; gap: var(--p-space-2); align-items: center;
  background: var(--p-color-bg); padding: var(--p-space-2) var(--p-space-3);
  border-radius: var(--p-border-radius-2); border: 1px solid var(--p-color-border);
}
.ev-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.blue-dot { background: var(--primary); }
.ev-car { font-size: 0.75rem; font-weight: 700; }
.ev-client { font-size: 0.68rem; color: var(--p-color-text-secondary); }

/* Contract Mock */
.contract-mock { display: flex; flex-direction: column; gap: var(--p-space-2); }
.cm-badge {
  display: inline-block; background: #DCFCE7; color: var(--p-color-text-success);
  padding: 2px var(--p-space-2); border-radius: var(--p-border-radius-full);
  font-size: 0.68rem; font-weight: 700; width: fit-content;
}
.cm-num { font-size: var(--p-font-size-300); font-weight: 700; letter-spacing: -0.01em; }
.cm-client, .cm-car, .cm-period { font-size: var(--p-font-size-75); color: var(--p-color-text-secondary); }
.cm-price { font-weight: 700; font-size: var(--p-font-size-300); color: var(--p-color-text); }
.cm-paid { color: var(--p-color-text-success); font-weight: 500; font-size: var(--p-font-size-75); }
.cm-btn {
  background: var(--p-color-bg-inverse); color: white;
  padding: var(--p-space-2) var(--p-space-3);
  border-radius: var(--p-border-radius-2);
  font-size: 0.75rem; font-weight: 600; text-align: center; margin-top: auto;
}

/* Finance Mock */
.finance-mock { display: flex; flex-direction: column; gap: var(--p-space-2); }
.fm-title { font-size: var(--p-font-size-100); font-weight: 700; }
.fm-period { font-size: var(--p-font-size-75); color: var(--p-color-text-secondary); }
.fm-chart { flex: 1; }
.bar-wrap { display: flex; align-items: flex-end; gap: 3px; height: 90px; margin-bottom: 3px; }
.bar { flex: 1; background: var(--p-color-bg-primary-subdued); border-radius: 3px 3px 0 0; border: 1px solid rgba(var(--primary-rgb),0.15); }
.bar.peak { background: var(--primary); border-color: var(--primary-dark); }
.fm-months { font-size: 0.6rem; color: var(--p-color-text-disabled); }
.fm-total { font-size: var(--p-font-size-200); font-weight: 700; color: var(--p-color-text); }

/* ===== PREVIEW CAROUSEL ===== */
.preview-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--p-space-4);
}
.preview-carousel {
  overflow: hidden;
  width: 100%;
}
.preview-grid-4 {
  display: flex;
  gap: var(--p-space-5);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.preview-grid-4 .preview-card {
  flex: 0 0 calc(25% - 16px);
  min-width: calc(25% - 16px);
}
.prev-btn, .next-btn {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--p-color-border);
  background: var(--p-color-bg-surface);
  color: var(--p-color-text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--p-shadow-200);
  transition: all 0.2s;
  z-index: 2;
}
.prev-btn:hover, .next-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.prev-btn:disabled, .next-btn:disabled { opacity: 0.3; cursor: default; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--p-space-2);
  margin-top: var(--p-space-6);
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--p-color-border);
  cursor: pointer;
  transition: all 0.2s;
}
.carousel-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .preview-grid-4 .preview-card { flex: 0 0 calc(50% - 10px); min-width: calc(50% - 10px); }
}
@media (max-width: 640px) {
  .preview-grid-4 .preview-card { flex: 0 0 calc(100% - 0px); min-width: 100%; }
  .prev-btn, .next-btn { width: 32px; height: 32px; }
}

/* UI MOCK BASE */
.ui-mock {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #F5F5F7;
  min-height: 340px;
}
.ui-topbar {
  display: flex; align-items: center; gap: 6px;
  background: #111; padding: 8px 10px;
  direction: ltr;
}
.ui-logo-pill {
  width: 22px; height: 22px; border-radius: 5px;
  background: #22C55E; color: white;
  font-size: 0.55rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ui-page-title { font-size: 0.7rem; font-weight: 700; color: white; flex: 1; }
.ui-bell { position: relative; color: #9CA3AF; display: flex; }
.ui-bell-dot {
  position: absolute; top: -3px; right: -4px;
  background: #EF4444; color: white; font-size: 0.45rem; font-weight: 700;
  width: 12px; height: 12px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.ui-back, .ui-menu-dot { color: #9CA3AF; font-size: 0.8rem; cursor: pointer; }
.ui-menu-dot { font-size: 1rem; }

.ui-date-row { padding: 8px 10px 4px; background: white; direction: ltr; }
.ui-date { font-size: 0.78rem; font-weight: 700; color: #111; }
.ui-sub { font-size: 0.58rem; color: #6B7280; }

.ui-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px 6px; background: white; }
.ui-card { border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.ui-dark { background: #111; }
.ui-green { background: #F0FDF4; border: 1px solid #BBF7D0; }
.ui-blue  { background: #EFF6FF; border: 1px solid #BFDBFE; }
.ui-gray  { background: #F3F4F6; border: 1px solid #E5E7EB; }
.ui-card-icon { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #9CA3AF; margin-bottom: 2px; }
.green-ic { background: #DCFCE7; color: #16A34A; }
.blue-ic  { background: #DBEAFE; color: var(--primary); }
.gray-ic  { background: #E5E7EB; color: #6B7280; }
.ui-card-label { font-size: 0.55rem; color: #9CA3AF; }
.ui-dark .ui-card-label { color: #6B7280; }
.ui-card-val { font-size: 0.82rem; font-weight: 700; color: #111; }
.ui-dark .ui-card-val { color: white; }
.ui-card-sub { font-size: 0.5rem; color: #9CA3AF; }
.ui-dark .ui-card-sub { color: #6B7280; }

.ui-event-row { display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: white; border-top: 1px solid #F3F4F6; direction: ltr; }
.ui-event-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.orange-dot2 { background: #F97316; }
.ui-event-name { font-size: 0.62rem; font-weight: 700; color: #111; }
.ui-event-sub { font-size: 0.55rem; color: #6B7280; }
.ui-event-badge { margin-left: auto; background: #EFF6FF; color: var(--primary); font-size: 0.5rem; font-weight: 600; padding: 2px 6px; border-radius: 50px; white-space: nowrap; }

/* Contract mock */
.ui-contract-header { padding: 8px 10px 4px; background: white; direction: ltr; }
.active-badge { display: inline-block; background: #DCFCE7; color: #16A34A; font-size: 0.58rem; font-weight: 700; padding: 2px 8px; border-radius: 50px; margin-bottom: 3px; }
.ui-contract-id { font-size: 0.75rem; font-weight: 700; color: #111; }
.ui-modif { font-size: 0.55rem; color: #9CA3AF; font-weight: 400; }
.ui-client-row { display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: white; border-top: 1px solid #F3F4F6; direction: ltr; }
.ui-avatar-big { width: 28px; height: 28px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 700; flex-shrink: 0; }
.ui-client-name { font-size: 0.68rem; font-weight: 700; color: #111; }
.ui-client-meta { display: flex; align-items: center; gap: 3px; font-size: 0.55rem; color: #6B7280; margin-top: 1px; }
.ui-created { margin-left: auto; font-size: 0.5rem; color: #9CA3AF; text-align: right; line-height: 1.4; }
.ui-vehicle-row { display: flex; align-items: center; gap: 5px; padding: 5px 10px; background: #F3F4F6; font-size: 0.62rem; font-weight: 600; color: #374151; direction: ltr; }
.ui-period-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 10px; background: white; border-top: 1px solid #F3F4F6; direction: ltr; }
.ui-period-dates { font-size: 0.6rem; color: #374151; }
.ui-period-days { font-size: 0.6rem; font-weight: 700; color: var(--primary); }
.ui-payment-block { padding: 6px 10px; background: #EFF6FF; border-top: 1px solid #DBEAFE; direction: ltr; }
.ui-pay-row { display: flex; justify-content: space-between; font-size: 0.58rem; color: #374151; margin-bottom: 2px; }
.ui-pay-val { font-weight: 700; color: #111; }
.ui-pay-paid { font-weight: 700; color: #16A34A; }
.ui-pay-progress { height: 4px; background: #DBEAFE; border-radius: 2px; overflow: hidden; margin: 4px 0; }
.ui-pay-fill { height: 100%; background: #16A34A; border-radius: 2px; }
.ui-paid-label { font-size: 0.55rem; color: #16A34A; font-weight: 600; }
.ui-btn-row { display: flex; gap: 4px; padding: 6px 10px; background: white; border-top: 1px solid #F3F4F6; direction: ltr; }
.ui-btn-primary { flex: 1; background: #111; color: white; font-size: 0.58rem; font-weight: 700; padding: 5px; border-radius: 6px; text-align: center; }
.ui-btn-ghost { padding: 5px 10px; border: 1px solid #E5E7EB; border-radius: 6px; font-size: 0.58rem; font-weight: 600; color: #374151; }

/* Performance */
.ui-section-title { font-size: 0.65rem; font-weight: 700; color: #111; padding: 7px 10px 3px; background: white; direction: ltr; }
.ui-filter-row { display: flex; gap: 3px; padding: 4px 8px; background: white; border-bottom: 1px solid #F3F4F6; direction: ltr; overflow: hidden; }
.ui-filter { font-size: 0.5rem; padding: 2px 6px; border-radius: 50px; border: 1px solid #E5E7EB; color: #6B7280; white-space: nowrap; }
.active-filter { background: #111; color: white; border-color: #111; }
.ui-agent-card { padding: 6px 10px; background: white; border-top: 1px solid #F3F4F6; direction: ltr; }
.ui-agent-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.ui-agent-name { font-size: 0.62rem; font-weight: 700; color: #111; }
.ui-agent-badge { background: #F3F4F6; font-size: 0.5rem; font-weight: 600; padding: 1px 5px; border-radius: 50px; color: #374151; }
.ui-agent-contrib { font-size: 0.55rem; color: #6B7280; margin-bottom: 3px; }
.ui-progress { height: 5px; border-radius: 3px; background: #F3F4F6; display: flex; overflow: hidden; margin-bottom: 3px; }
.ui-prog-green { background: #22C55E; height: 100%; }
.ui-prog-orange { background: #F97316; height: 100%; }
.ui-agent-amounts { display: flex; gap: 6px; }
.ui-paid { font-size: 0.5rem; color: #16A34A; }
.ui-rest { font-size: 0.5rem; color: #EA580C; }

/* Notifications */
.ui-notif { display: flex; align-items: center; gap: 7px; padding: 7px 10px; background: white; border-top: 1px solid #F3F4F6; direction: ltr; }
.ui-notif-icon { width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.green-ic2  { background: #DCFCE7; color: #16A34A; }
.blue-ic2   { background: #EFF6FF; color: var(--primary); }
.orange-ic2 { background: #FFF7ED; color: #EA580C; }
.ui-notif-body { flex: 1; }
.ui-notif-title { font-size: 0.62rem; font-weight: 700; color: #111; }
.ui-notif-sub { font-size: 0.55rem; color: #6B7280; }
.ui-notif-time { font-size: 0.5rem; color: #ABABAB; white-space: nowrap; }

/* Line chart mockup */
.ui-linechart { background: white; border: 1px solid #F3F4F6; margin: 6px 8px; border-radius: 8px; padding: 8px; direction: ltr; }
.ui-lc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.ui-lc-title { font-size: 0.62rem; font-weight: 700; color: #111; }
.ui-lc-period { font-size: 0.5rem; color: #9CA3AF; }
.ui-lc-wrap { position: relative; }
.ui-lc-months { display: flex; justify-content: space-between; font-size: 0.38rem; color: #9CA3AF; margin-top: 2px; }
.ui-lc-summary { display: flex; align-items: center; gap: 3px; margin-top: 5px; flex-wrap: wrap; }
.ui-lc-rev    { font-size: 0.55rem; font-weight: 700; color: #22C55E; }
.ui-lc-dep    { font-size: 0.55rem; font-weight: 700; color: #EF4444; }
.ui-lc-profit { font-size: 0.58rem; font-weight: 700; color: #F97316; }
.ui-lc-sep    { font-size: 0.5rem; color: #9CA3AF; }
.ui-lc-legend { display: flex; align-items: center; gap: 4px; margin-top: 3px; justify-content: flex-end; }
.ui-leg-green { font-size: 0.48rem; color: #22C55E; font-weight: 600; }
.ui-leg-red   { font-size: 0.48rem; color: #EF4444; font-weight: 600; }
.ui-lc-vs     { font-size: 0.45rem; color: #9CA3AF; }

/* Top cars */
.ui-top-car {
  display: flex; align-items: center; gap: 6px;
  margin: 4px 8px; padding: 6px 8px;
  border-radius: 8px; border: 1px solid;
  direction: ltr;
}
.ui-top-rank {
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 0.52rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: white;
}
.blue-rank   { background: #3B82F6; }
.green-rank  { background: #22C55E; }
.orange-rank { background: #F97316; }
.ui-top-info { flex: 1; }
.ui-top-name  { font-size: 0.6rem; font-weight: 700; color: #111; }
.ui-top-plate { font-size: 0.5rem; color: #9CA3AF; }
.ui-top-count { font-size: 0.65rem; font-weight: 700; text-align: right; line-height: 1.2; }
.ui-top-count span { font-size: 0.45rem; font-weight: 400; color: #9CA3AF; }
.blue-count   { color: #3B82F6; }
.green-count  { color: #22C55E; }
.orange-count { color: #F97316; }

/* Finance mockup */
.ui-barchart {
  display: flex;
  gap: 4px;
  padding: 8px 8px 0;
  background: white;
  height: 90px;
  direction: ltr;
}
.ui-bar-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.45rem;
  color: #9CA3AF;
  padding-bottom: 14px;
  text-align: right;
  min-width: 10px;
}
.ui-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  flex: 1;
  padding-bottom: 14px;
  position: relative;
}
.ui-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  height: 100%;
}
.ui-bar-fill {
  width: 100%;
  border-radius: 2px 2px 0 0;
  min-height: 3px;
}
.ui-bar-name {
  font-size: 0.38rem;
  color: #9CA3AF;
  white-space: nowrap;
  transform: rotate(-45deg);
  transform-origin: top center;
  margin-top: 2px;
}
.ui-finance-card {
  background: white;
  border-top: 1px solid #F3F4F6;
  padding: 8px 10px;
  direction: ltr;
}
.ui-finance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.ui-finance-title { font-size: 0.68rem; font-weight: 700; color: #111; }
.ui-finance-total { font-size: 0.65rem; font-weight: 700; color: #22C55E; }
.ui-donut-wrap { display: flex; justify-content: center; margin: 4px 0; }
.ui-legend { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.ui-legend-item { display: flex; align-items: center; gap: 5px; }
.ui-leg-dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.ui-leg-label { font-size: 0.55rem; font-weight: 600; color: #111; }
.ui-leg-val { font-size: 0.5rem; color: #6B7280; }

/* ===== PRICING ===== */
.pricing { padding: var(--p-space-24) 0; background: var(--p-color-bg-surface); }

/* Billing switch */
.billing-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--p-space-3);
  margin-bottom: var(--p-space-12);
}
.billing-label {
  font-size: var(--p-font-size-200);
  font-weight: var(--p-font-weight-medium);
  color: var(--p-color-text-secondary);
  transition: color 0.2s;
}
.billing-label.active { color: var(--p-color-text); font-weight: var(--p-font-weight-bold); }
.billing-toggle {
  position: relative;
  width: 48px; height: 26px;
  background: var(--p-color-border);
  border: none;
  border-radius: var(--p-border-radius-full);
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.billing-toggle.annual { background: var(--primary); }
.billing-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: var(--p-shadow-200);
}
.billing-toggle.annual .billing-thumb { transform: translateX(22px); }
.billing-save {
  background: #DCFCE7;
  color: #16A34A;
  font-size: var(--p-font-size-75);
  font-weight: var(--p-font-weight-bold);
  padding: 3px var(--p-space-2);
  border-radius: var(--p-border-radius-full);
  border: 1px solid #BBF7D0;
}

/* Solo plan */
.pricing-solo {
  max-width: 480px;
  margin: 0 auto;
}
.price-card {
  border: 1px solid var(--p-color-border);
  border-radius: var(--p-border-radius-4);
  padding: var(--p-space-8) var(--p-space-8);
  display: flex; flex-direction: column; gap: var(--p-space-5);
  position: relative;
  transition: all 0.2s;
  background: var(--p-color-bg-surface);
}
.price-card:hover { box-shadow: var(--p-shadow-400); transform: translateY(-3px); }
.price-card.featured {
  border: 2px solid var(--primary);
  background: var(--p-color-bg-primary-subdued);
}
.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white;
  padding: 3px var(--p-space-5); border-radius: var(--p-border-radius-full);
  font-size: var(--p-font-size-75); font-weight: var(--p-font-weight-medium);
  white-space: nowrap; box-shadow: var(--p-shadow-200);
}
.price-label {
  font-size: var(--p-font-size-75); font-weight: var(--p-font-weight-medium);
  color: var(--p-color-text-secondary); text-transform: uppercase; letter-spacing: 0.06em;
}
.price-amount { display: flex; flex-direction: column; gap: 4px; }
.price-val { font-size: var(--p-font-size-700); font-weight: var(--p-font-weight-bold); line-height: 1; letter-spacing: -0.03em; }
.price-period { font-size: var(--p-font-size-100); color: var(--p-color-text-secondary); display: flex; flex-direction: column; gap: 2px; }
.price-annual-note { font-size: var(--p-font-size-75); color: var(--p-color-text-secondary); font-style: italic; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: var(--p-space-3); flex: 1; }
.price-features li { font-size: var(--p-font-size-100); color: var(--p-color-text-secondary); display: flex; align-items: center; gap: var(--p-space-2); }
.price-note {
  text-align: center;
  font-size: var(--p-font-size-75);
  color: var(--p-color-text-disabled);
  margin-top: -var(--p-space-2);
}

/* ===== TESTIMONIALS ===== */
.testimonials { padding: var(--p-space-24) 0; background: var(--p-color-bg); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--p-space-5); }
.testi-card {
  background: var(--p-color-bg-surface);
  border: 1px solid var(--p-color-border);
  border-radius: var(--p-border-radius-4);
  padding: var(--p-space-6);
  box-shadow: var(--p-shadow-100);
  display: flex; flex-direction: column; gap: var(--p-space-3);
  transition: all 0.2s;
}
.testi-card:hover { box-shadow: var(--p-shadow-400); transform: translateY(-3px); border-color: rgba(var(--primary-rgb),0.2); }
.testi-stars { font-size: var(--p-font-size-100); letter-spacing: 2px; }
.testi-card p { font-size: var(--p-font-size-100); color: var(--p-color-text); line-height: var(--p-line-height-4); }
.testi-author { display: flex; align-items: center; gap: var(--p-space-3); margin-top: auto; padding-top: var(--p-space-3); border-top: 1px solid var(--p-color-border); }
.testi-avatar {
  width: 38px; height: 38px; background: var(--primary); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--p-font-size-75); flex-shrink: 0;
}
.testi-name { font-size: var(--p-font-size-100); font-weight: var(--p-font-weight-bold); }
.testi-loc { font-size: var(--p-font-size-75); color: var(--p-color-text-secondary); }

/* ===== CTA ===== */
.cta-section {
  background: var(--p-color-bg-inverse);
  padding: var(--p-space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner { position: relative; z-index: 1; }
.cta-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape-1 { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(var(--primary-rgb),0.12); top: -200px; right: -100px; }
.cta-shape-2 { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(var(--primary-rgb),0.08); bottom: -150px; left: -50px; }
.cta-section h2 {
  font-size: clamp(var(--p-font-size-500), 3.5vw, var(--p-font-size-700));
  font-weight: var(--p-font-weight-bold);
  color: var(--p-color-text-inverse);
  line-height: var(--p-line-height-2);
  margin-bottom: var(--p-space-4);
  letter-spacing: -0.03em;
}
.cta-section p { color: #9CA3AF; font-size: var(--p-font-size-300); margin-bottom: var(--p-space-8); }

/* ===== CONTACT ===== */
.contact { padding: var(--p-space-24) 0; background: var(--p-color-bg-surface); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--p-space-16); align-items: start; }
.contact-info h2 {
  font-size: clamp(var(--p-font-size-500), 3vw, var(--p-font-size-600));
  font-weight: var(--p-font-weight-bold);
  line-height: var(--p-line-height-2);
  margin-bottom: var(--p-space-3);
  letter-spacing: -0.02em;
}
.contact-info p { color: var(--p-color-text-secondary); margin-bottom: var(--p-space-8); line-height: var(--p-line-height-4); }
.contact-methods { display: flex; flex-direction: column; gap: var(--p-space-4); }
.cm-item { display: flex; align-items: center; gap: var(--p-space-3); }
.cm-icon { font-size: 1.3rem; }
.cm-icon-svg {
  width: 40px; height: 40px;
  background: var(--p-color-bg-primary-subdued);
  border-radius: var(--p-border-radius-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: inherit;
}
.cm-label { font-size: var(--p-font-size-75); color: var(--p-color-text-secondary); font-weight: var(--p-font-weight-medium); }
.cm-val { font-size: var(--p-font-size-100); font-weight: var(--p-font-weight-bold); color: var(--p-color-text); }
.contact-form { display: flex; flex-direction: column; gap: var(--p-space-4); }
.form-group { display: flex; flex-direction: column; gap: var(--p-space-1); }
.form-group label { font-size: var(--p-font-size-100); font-weight: var(--p-font-weight-medium); color: var(--p-color-text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px var(--p-space-3);
  border: 1.5px solid var(--p-color-border);
  border-radius: var(--p-border-radius-2);
  font-size: var(--p-font-size-200);
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  background: var(--p-color-bg);
  color: var(--p-color-text);
  box-shadow: var(--p-shadow-100);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--p-color-border-primary);
  background: var(--p-color-bg-surface);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}
.form-group textarea { resize: vertical; }

/* ===== FOOTER ===== */
.footer { background: var(--p-color-bg-inverse); color: var(--p-color-text-inverse); padding-top: var(--p-space-16); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--p-space-16); padding-bottom: var(--p-space-10); }
.footer-brand .logo { color: white; margin-bottom: var(--p-space-3); }
.footer-brand p { font-size: var(--p-font-size-100); color: #6B7280; line-height: var(--p-line-height-4); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--p-space-10); }
.fl-col { display: flex; flex-direction: column; gap: var(--p-space-2); }
.fl-title { font-size: var(--p-font-size-75); font-weight: var(--p-font-weight-bold); text-transform: uppercase; letter-spacing: 0.08em; color: #6B7280; margin-bottom: var(--p-space-2); }
.fl-col a { font-size: var(--p-font-size-100); color: #9CA3AF; text-decoration: none; transition: color 0.15s; padding: 2px 0; }
.fl-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: var(--p-space-5) 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; font-size: var(--p-font-size-75); color: #6B7280; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-main { grid-column: span 2; }
  .hero-inner { gap: var(--p-space-10); }
  .phone-mockup { width: 220px; }
  .card-scan { left: -40px; }
  .card-notif { right: -40px; }
  .card-revenue { left: -40px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; }
  .hero { padding: 88px 0 var(--p-space-16); }
  .hero-inner { display: flex; flex-direction: column; text-align: center; align-items: stretch; }
  .hero-inner > .badge-pill { order: 1; display: flex; max-width: 100%; justify-content: center; white-space: normal; margin-bottom: 16px; }
  .hero-inner > .hero-title { order: 2; margin-bottom: 20px; text-align: center; }
  .hero-visual { order: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; padding: 0; align-self: auto; }
  .hero-text { order: 4; }
  .phone-mockup { flex: none; width: min(280px, 85%); }
  .floating-card { position: relative; inset: auto; flex: 0 0 calc(50% - 5px); padding: 8px 10px; }
  .fc-icon { width: 28px; height: 28px; }
  .floating-card svg { width: 16px; height: 16px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .feat-main { grid-column: span 1; }
  .steps { flex-direction: column; align-items: stretch; }
  .step-arrow { transform: rotate(90deg); text-align: center; }
  body[data-lang="ar"] .step-arrow { transform: rotate(90deg); }
  .step { max-width: none; }
  .preview-grid, .pricing-grid, .testi-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { flex-direction: column; gap: var(--p-space-2); text-align: center; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  color: white;
  border-radius: 50px;
  padding: 12px 20px 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s;
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.wa-float:hover {
  background: #20BA5A;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 4px 32px rgba(37,211,102,0.7); }
}
@media (max-width: 480px) {
  .wa-float { bottom: 16px; right: 16px; padding: 12px; border-radius: 50%; }
  .wa-label { display: none; }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
