/* ============================================
   QHIWTEK — Landing Page Design System
   ============================================ */

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

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

/* --- Design Tokens --- */
:root {
  /* Colors */
  --bg-dark: #0A0806;
  --bg-section: #0F0D0B;
  --bg-card: #1A1714;
  --bg-card-hover: #241F1A;
  --bg-card-featured: #1E1A15;

  --accent-gold: #C8A96E;
  --accent-gold-light: #E8D5A8;
  --accent-warm: #E8C88A;
  --accent-copper: #B87333;
  --accent-green: #25D366;
  --accent-green-hover: #1EBE5A;
  --accent-green-dark: #128C7E;

  --text-primary: #F5F0E8;
  --text-secondary: #A89B8C;
  --text-muted: #6B5E50;
  --text-dark: #0A0806;

  --border-subtle: rgba(200, 169, 110, 0.12);
  --border-gold: rgba(200, 169, 110, 0.3);
  --glass-bg: rgba(26, 23, 20, 0.85);
  --glass-border: rgba(200, 169, 110, 0.08);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 30px rgba(200, 169, 110, 0.15);
  --shadow-green: 0 4px 20px rgba(37, 211, 102, 0.3);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-arabic: 'Cairo', sans-serif;
  --section-padding: clamp(3rem, 8vw, 6rem);
  --container-max: 1200px;
  --card-radius: 16px;
  --btn-radius: 12px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.6s;
}

/* --- Base Styles --- */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

body.rtl {
  direction: rtl;
  font-family: var(--font-arabic);
}

body.rtl .hero-title,
body.rtl .section-title,
body.rtl .section-subtitle,
body.rtl .detail-title,
body.rtl .card-name {
  font-family: var(--font-arabic);
  font-weight: 800;
  letter-spacing: 0;
}

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

body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4 {
  font-family: var(--font-arabic);
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--duration-fast);
}

a:hover {
  color: var(--accent-gold-light);
}

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

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* --- Section Base --- */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

/* --- Language Toggle --- */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 169, 110, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 3px;
  cursor: pointer;
}

.lang-btn {
  padding: 4px 12px;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast);
  font-family: var(--font-body);
}

.lang-btn.active {
  background: var(--accent-gold);
  color: var(--text-dark);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  padding: 12px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  transition: transform var(--duration-fast) var(--ease-out);
}

.logo img {
  max-width: 100%;
  mix-blend-mode: screen;
  transition: all var(--duration-normal) var(--ease-out);
}

.logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 20px rgba(200, 169, 110, 0.4)) brightness(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--duration-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width var(--duration-normal) var(--ease-out);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: blur(2px);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 8, 6, 0.7) 0%,
    rgba(10, 8, 6, 0.4) 40%,
    rgba(10, 8, 6, 0.85) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 580px;
  background: rgba(10, 8, 6, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 169, 110, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease-out);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1.2rem;
  color: var(--text-primary);
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

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

.hero-description {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
  overflow: hidden;
  border-radius: 20px;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
}

/* --- Trust Strip --- */
.trust-strip {
  background: var(--bg-section);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}

.trust-strip .container {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-icon {
  font-size: 1.4rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--btn-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
}

body.rtl .btn {
  font-family: var(--font-arabic);
}

.btn-whatsapp {
  background: var(--accent-green);
  color: #fff;
  box-shadow: var(--shadow-green);
}

.btn-whatsapp:hover {
  background: var(--accent-green-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.btn-outline {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
  color: var(--text-dark);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* Pulse animation for WhatsApp CTA */
.btn-whatsapp.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================
   COMPARISON CARDS (Good–Better–Best)
   ============================================ */
.comparison {
  background: var(--bg-section);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.product-card > *:not(.card-image) {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.card-name {
  margin-top: 1.5rem;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border-subtle);
  transition: all var(--duration-normal) var(--ease-out);
}

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

.product-card:hover::before {
  background: var(--accent-gold);
}

/* Featured card (Recommandé) */
.product-card.featured {
  background: var(--bg-card-featured);
  border-color: var(--accent-gold);
  transform: scale(1.03);
  box-shadow: var(--shadow-gold);
  z-index: 2;
}

.product-card.featured::before {
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-warm), var(--accent-gold));
  height: 4px;
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.product-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
  color: var(--text-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.rtl .card-badge {
  right: auto;
  left: 16px;
}

.card-tier {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.card-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.card-image {
  width: 100%;
  height: 280px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-top-left-radius: var(--card-radius);
  border-top-right-radius: var(--card-radius);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-normal) var(--ease-out);
}

.product-card:hover .card-image img {
  transform: scale(1.05);
}

.card-specs {
  width: 100%;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  transition: all var(--duration-fast);
}

.spec-row:last-child {
  border-bottom: none;
}

.product-card:hover .spec-row {
  border-color: var(--border-gold);
}

.spec-label {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-label::before {
  content: '•';
  color: var(--accent-gold);
  font-weight: 800;
}

.spec-value {
  color: var(--text-primary);
  font-weight: 600;
  background: rgba(200, 169, 110, 0.05);
  padding: 2px 8px;
  border-radius: 6px;
}

.card-pricing {
  margin: 1.5rem 0;
}

.price-current {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.price-currency {
  font-size: 1rem;
  font-weight: 600;
}

.card-cta {
  width: 100%;
  margin-top: auto;
}

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

/* ============================================
   PRODUCT DETAIL SECTIONS
   ============================================ */
.product-detail {
  border-bottom: 1px solid var(--border-subtle);
}

.product-detail:nth-child(even) {
  background: var(--bg-section);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.detail-grid.reverse {
  direction: ltr;
}

.detail-grid.reverse .detail-content {
  order: 1;
}

body.rtl .detail-grid.reverse .detail-content {
  order: 0;
}

.detail-grid.reverse .detail-images {
  order: 0;
}

body.rtl .detail-grid.reverse .detail-images {
  order: 1;
}

.detail-images {
  position: relative;
}

.detail-images .main-img {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.detail-images .main-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05); /* Subtle lift for the flyer */
  padding: 1.5rem;
  transition: transform var(--duration-slow) var(--ease-out);
}

.detail-images:hover .main-img img {
  transform: scale(1.03);
}

.detail-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 169, 110, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 500;
  margin-bottom: 1rem;
}

.detail-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.detail-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

.detail-features {
  list-style: none;
  margin-bottom: 2rem;
}

.detail-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.detail-features li::before {
  content: '✓';
  color: var(--accent-gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

body.rtl .detail-features li::before {
  order: 0;
}

.detail-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 2rem;
  transition: all var(--duration-normal) var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 3px;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.testimonial-city {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================
   HOW IT WORKS (Steps)
   ============================================ */
.how-it-works {
  background: var(--bg-dark);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  transition: all var(--duration-normal) var(--ease-out);
}

.step-card:hover .step-number {
  background: var(--accent-gold);
  color: var(--text-dark);
  transform: scale(1.1);
  box-shadow: var(--shadow-gold);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  background: var(--bg-section);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--btn-radius);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.faq-item:hover {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: color var(--duration-fast);
}

body.rtl .faq-question {
  text-align: right;
  font-family: var(--font-arabic);
}

.faq-question:hover {
  color: var(--accent-gold);
}

.faq-arrow {
  font-size: 0.8rem;
  color: var(--accent-gold);
  transition: transform var(--duration-normal) var(--ease-out);
  flex-shrink: 0;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--duration-normal) var(--ease-out);
  animation: pulse 2s infinite;
}

body.rtl .whatsapp-float {
  right: auto;
  left: 24px;
}

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

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--duration-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
}

.social-link:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.social-link:hover svg {
  fill: var(--text-dark);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--text-secondary);
  transition: fill var(--duration-fast);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--duration-slow) var(--ease-out);
}

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

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

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

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

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-cta-group {
    justify-content: center;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 2rem;
  }

  .product-card.featured {
    transform: scale(1);
    order: -1;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .detail-grid.reverse .detail-content {
    order: 0;
  }

  .detail-grid.reverse .detail-images {
    order: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: right var(--duration-normal) var(--ease-out);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
  }

  body.rtl .nav-links {
    right: auto;
    left: -100%;
    transition: left var(--duration-normal) var(--ease-out);
  }

  .nav-links.open {
    right: 0;
  }

  body.rtl .nav-links.open {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .steps-grid::before {
    display: none;
  }

  .trust-strip .container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .hero {
    padding-top: 60px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .card-image {
    width: 100%;
    height: 180px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  body.rtl .whatsapp-float {
    right: auto;
    left: 16px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

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

/* --- Mobile Nav Overlay --- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold-light);
}

/* --- Selection Color --- */
::selection {
  background: rgba(200, 169, 110, 0.3);
  color: var(--text-primary);
}
