/* ============================================
   YallaSouk Landing Page — Styles
   Aesthetic: Refined Mediterranean Commerce
   Colors: Deep teal + warm amber on cream
   ============================================ */

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

:root {
  --clr-primary: #0C7C6E;
  --clr-primary-dark: #095C52;
  --clr-primary-darker: #073D37;
  --clr-primary-light: #E6F5F2;
  --clr-primary-glow: rgba(12, 124, 110, 0.15);

  --clr-accent: #E8943A;
  --clr-accent-dark: #D4832F;
  --clr-accent-light: #FFF5E9;

  --clr-bg: #FFFDF9;
  --clr-surface: #F6F2EC;
  --clr-surface-alt: #EDE8E0;

  --clr-text: #1A2332;
  --clr-text-secondary: #5C6876;
  --clr-text-muted: #8E97A3;

  --clr-border: #E5DFD6;
  --clr-white: #FFFFFF;

  --clr-hero-start: #072C28;
  --clr-hero-mid: #0A4A42;
  --clr-hero-end: #0C6358;

  --font-display: 'Sora', 'Tajawal', sans-serif;
  --font-body: 'Figtree', 'Tajawal', sans-serif;

  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.12);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

/* Language toggle */
html[lang="fr"] .lang-ar { display: none !important; }
html[lang="ar"] .lang-fr { display: none !important; }
html[lang="ar"] {
  direction: rtl;
  font-family: 'Tajawal', sans-serif;
}
html[lang="ar"] * {
  font-family: inherit;
}
html[lang="ar"] .logo-text,
html[lang="ar"] .nav-logo {
  font-family: var(--font-display);
}

/* RTL-specific adjustments */
html[lang="ar"] .hero-actions .btn svg,
html[lang="ar"] .cta-actions .btn svg,
html[lang="ar"] .pricing-cta svg {
  transform: scaleX(-1);
}

html[lang="ar"] .step-connector svg {
  transform: scaleX(-1);
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--clr-primary);
  color: var(--clr-white);
  padding: 8px 16px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
  font-size: 14px;
}
.skip-link:focus { top: 0; }

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

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
}
.btn-primary:hover {
  background: var(--clr-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(12, 124, 110, 0.3);
}

.btn-accent {
  background: var(--clr-accent);
  color: var(--clr-white);
}
.btn-accent:hover {
  background: var(--clr-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 148, 58, 0.35);
}

.btn-ghost {
  color: var(--clr-white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-white {
  background: var(--clr-white);
  color: var(--clr-primary-dark);
}
.btn-white:hover {
  background: var(--clr-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
  color: var(--clr-white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--clr-white);
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-primary);
  background: var(--clr-primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
  color: var(--clr-text);
}

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

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(7, 44, 40, 0.95);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav-logo {
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}

.logo-accent {
  color: var(--clr-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}
.nav-link:hover {
  color: var(--clr-white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition);
  cursor: pointer;
}
.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--clr-white);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 20px 24px 24px;
  background: rgba(7, 44, 40, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--transition);
}
.mobile-link:hover { color: var(--clr-white); }

.mobile-cta {
  margin-top: 16px;
  text-align: center;
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  background: linear-gradient(165deg, var(--clr-hero-start) 0%, var(--clr-hero-mid) 40%, var(--clr-hero-end) 100%);
  padding: 140px 0 120px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5L45 15L55 30L45 45L30 55L15 45L5 30L15 15Z' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.04'/%3E%3Crect x='15' y='15' width='30' height='30' fill='none' stroke='%23ffffff' stroke-width='0.3' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 148, 58, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--clr-white);
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-title .title-accent {
  background: linear-gradient(135deg, var(--clr-accent), #f0b060);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-avatars {
  display: flex;
}

.trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-white);
  border: 2px solid var(--clr-hero-mid);
  margin-right: -8px;
}

html[lang="ar"] .trust-avatar {
  margin-right: 0;
  margin-left: -8px;
}

.trust-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Hero Visual — Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  width: 280px;
  height: 580px;
  background: #1a1a2e;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.1),
    0 25px 60px rgba(0, 0, 0, 0.4),
    0 0 100px rgba(12, 124, 110, 0.15);
  animation: phone-float 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone-notch {
  width: 100px;
  height: 24px;
  background: #1a1a2e;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  top: 1px;
}

.phone-screen {
  width: 100%;
  flex: 1;
  min-height: 0;
  background: var(--clr-white);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Mini Store inside phone */
.mini-store {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mini-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 14px 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-text);
}

.mini-logo-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
}

.mini-cart {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

html[lang="ar"] .mini-cart {
  margin-left: 0;
  margin-right: auto;
}

.mini-banner {
  margin: 0 10px;
  height: 80px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary));
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.mini-banner span {
  color: var(--clr-white);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-display);
}

.mini-cats {
  display: flex;
  gap: 6px;
  padding: 12px 10px 8px;
  overflow: hidden;
}

.mini-cat {
  font-size: 9px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--clr-surface);
  color: var(--clr-text-secondary);
  white-space: nowrap;
}

.mini-cat.active {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.mini-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 10px;
  flex: 1;
  overflow: hidden;
}

.mini-product {
  border-radius: 10px;
  overflow: hidden;
  background: var(--clr-white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--clr-border);
}

.mini-img {
  height: 90px;
  border-radius: 10px 10px 0 0;
}

.mini-name {
  font-size: 9px;
  font-weight: 600;
  padding: 6px 8px 2px;
  color: var(--clr-text);
}

.mini-price {
  font-size: 9px;
  font-weight: 700;
  padding: 0 8px 6px;
  color: var(--clr-primary);
}

.mini-bottomnav {
  display: flex;
  justify-content: space-around;
  padding: 10px;
  border-top: 1px solid var(--clr-border);
  margin-top: auto;
}

.mini-navitem {
  color: var(--clr-text-muted);
}
.mini-navitem.active {
  color: var(--clr-primary);
}

/* Phone floating notifications */
.phone-float {
  position: absolute;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--clr-text);
  z-index: 3;
  white-space: nowrap;
  animation: float-card 4s ease-in-out infinite;
}

.phone-float-1 {
  top: 20%;
  left: -60px;
  animation-delay: 0s;
}

.phone-float-2 {
  bottom: 25%;
  right: -40px;
  animation-delay: 2s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.float-amount {
  color: #16a34a;
  font-weight: 700;
  font-family: var(--font-display);
}

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ---- Stats Section ---- */
.stats {
  padding: 60px 0;
  position: relative;
  z-index: 4;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: 40px 60px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--clr-accent);
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--clr-text-secondary);
  margin-top: 6px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--clr-border);
}

/* ---- How It Works ---- */
.how-it-works {
  background: var(--clr-bg);
}

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

.step-card {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  transition: all var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-primary-glow);
}

.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--clr-primary-light);
  line-height: 1;
  margin-bottom: 16px;
}

.step-card:hover .step-number {
  color: var(--clr-primary-glow);
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--transition);
}

.step-card:hover .step-icon {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.step-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--clr-text-secondary);
  line-height: 1.7;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 80px;
  flex-shrink: 0;
  margin: 0 8px;
}

/* ---- Features ---- */
.features {
  background: var(--clr-surface);
  overflow: hidden;
}

.features-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0L40 20L20 40L0 20Z' fill='none' stroke='%230C7C6E' stroke-width='0.4' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--clr-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

html[lang="ar"] .feature-card::before {
  transform-origin: right;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.feature-icon-whatsapp {
  background: #e8fce8;
  color: #25d366;
}

.feature-card:hover .feature-icon-whatsapp {
  background: #25d366;
  color: var(--clr-white);
}

.feature-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--clr-text-secondary);
  line-height: 1.7;
}

/* ---- Showcase ---- */
.showcase {
  background: var(--clr-bg);
}

.showcase-browser {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--clr-border);
}

.browser-topbar {
  background: var(--clr-surface);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--clr-border);
}

.browser-dots {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.browser-dot.red { background: #FF5F57; }
.browser-dot.yellow { background: #FEBC2E; }
.browser-dot.green { background: #28C840; }

.browser-url {
  flex: 1;
  background: var(--clr-white);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 12px;
  color: var(--clr-text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--clr-border);
}

.browser-content {
  background: var(--clr-white);
}

/* Mock Store inside browser */
.mock-store {
  min-height: 400px;
}

.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--clr-border);
}

.mock-brand {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-text);
}

.mock-navlinks {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--clr-text-secondary);
}

.mock-hero-banner {
  height: 160px;
  background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary), #15a598);
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.mock-hero-text { color: var(--clr-white); }

.mock-hero-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.mock-hero-sub {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 12px;
}

.mock-hero-btn {
  display: inline-block;
  background: var(--clr-accent);
  color: var(--clr-white);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.mock-products-section {
  padding: 24px;
}

.mock-section-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.mock-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mock-prod {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
}

.mock-prod-img {
  height: 100px;
}

.mock-prod-info {
  padding: 8px 10px;
}

.mock-prod-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 2px;
}

.mock-prod-price {
  font-size: 11px;
  font-weight: 700;
  color: var(--clr-primary);
}

/* ---- Pricing ---- */
.pricing {
  background: var(--clr-bg);
}

.pricing-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  border: 2px solid var(--clr-border);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--clr-primary-glow);
  box-shadow: var(--shadow-xl), 0 0 0 4px var(--clr-primary-glow);
}

.pricing-header {
  background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary));
  padding: 20px 32px;
  text-align: center;
}

.pricing-badge {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-white);
}

.pricing-amounts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 32px;
}

.pricing-amount-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-big {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: var(--clr-text);
  line-height: 1;
}

.pricing-decimal {
  font-size: 36px;
}

.pricing-amount-highlight .pricing-big {
  color: var(--clr-primary);
}

.pricing-detail {
  display: flex;
  flex-direction: column;
}

.pricing-unit {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-text);
}

.pricing-label {
  font-size: 13px;
  color: var(--clr-text-secondary);
}

.pricing-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: column;
}

.separator-line {
  width: 1px;
  height: 24px;
  background: var(--clr-border);
}

.separator-plus {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-text-muted);
}

.pricing-features {
  padding: 0 32px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--clr-text);
}

.pricing-cta {
  display: flex;
  margin: 0 32px 24px;
  width: calc(100% - 64px);
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--clr-text-muted);
  padding: 0 32px 32px;
}

/* ---- FAQ ---- */
.faq {
  background: var(--clr-surface);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: var(--clr-primary-glow);
}

.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--clr-primary-glow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

html[lang="ar"] .faq-question {
  text-align: right;
}

.faq-item.open .faq-question {
  color: var(--clr-primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--clr-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--clr-text-muted);
}

.faq-item.open .faq-icon {
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--clr-text-secondary);
  line-height: 1.8;
}

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(165deg, var(--clr-hero-start) 0%, var(--clr-hero-mid) 40%, var(--clr-hero-end) 100%);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5L45 15L55 30L45 45L30 55L15 45L5 30L15 15Z' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
}

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

.cta-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--clr-white);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Footer ---- */
.footer {
  background: var(--clr-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--clr-primary);
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
}

.footer-link {
  font-size: 14px;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}
.footer-link:hover {
  color: var(--clr-white);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
}

html[lang="ar"] .whatsapp-float {
  right: auto;
  left: 24px;
}

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

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Responsive ---- */

/* Tablet */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
  }

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

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

  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .step-connector {
    display: none;
  }

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

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

  .nav-links {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .phone-float-1 {
    left: -20px;
  }

  .phone-float-2 {
    right: -10px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero {
    padding: 120px 0 100px;
    min-height: auto;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .phone-frame {
    width: 220px;
    height: 460px;
    border-radius: 32px;
    padding: 10px;
  }

  .phone-notch {
    width: 80px;
    height: 20px;
  }

  .phone-screen {
    border-radius: 22px;
  }

  .phone-float {
    display: none;
  }

  .mini-img {
    height: 65px;
  }

  .stats-grid {
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
  }

  .stat-divider {
    width: 48px;
    height: 1px;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

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

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

  .mock-hero-banner {
    height: 120px;
    padding: 0 20px;
  }

  .mock-hero-title {
    font-size: 16px;
  }

  .mock-navlinks {
    display: none;
  }

  .pricing-amounts {
    flex-direction: column;
    gap: 16px;
    padding: 32px 24px;
  }

  .pricing-separator {
    flex-direction: row;
  }

  .separator-line {
    width: 24px;
    height: 1px;
  }

  .pricing-big {
    font-size: 48px;
  }

  .pricing-decimal {
    font-size: 28px;
  }

  .pricing-features {
    grid-template-columns: 1fr;
    padding: 0 24px 24px;
  }

  .pricing-cta {
    margin: 0 24px 20px;
    width: calc(100% - 48px);
  }

  .pricing-note {
    padding: 0 24px 24px;
  }

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

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    justify-content: center;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 15px;
  }

  .nav-actions .btn-primary {
    display: none;
  }
}

/* Small Mobile */
@media (max-width: 380px) {
  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .pricing-big {
    font-size: 40px;
  }

  .phone-frame {
    width: 200px;
    height: 420px;
  }
}

/* ---- Body scroll lock when menu open ---- */
body.menu-open {
  overflow: hidden;
}

/* ---- Print ---- */
@media print {
  .nav, .whatsapp-float, .mobile-menu { display: none; }
  .hero { min-height: auto; padding: 40px 0; }
  .reveal { opacity: 1; transform: none; }
}
