/* ========================================
   BACTV MAROC - Premium Digital Store
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f0faf2;
  --bg-card: #ffffff;
  --bg-card-hover: #f7fdf8;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --accent: #006233;
  --accent-light: #008542;
  --accent-glow: rgba(0, 98, 51, 0.2);
  --morocco-red: #C1272D;
  --morocco-red-light: #d9434a;
  --morocco-green: #006233;
  --morocco-green-light: #008542;
  --gold: #C1272D;
  --gold-light: #d9434a;
  --text-primary: #1a1a2e;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border: rgba(0, 98, 51, 0.12);
  --border-hover: rgba(0, 98, 51, 0.3);
  --success: #006233;
  --warning: #C1272D;
  --danger: #C1272D;
  --gradient-hero: linear-gradient(135deg, #006233 0%, #008542 50%, #C1272D 100%);
  --gradient-card: linear-gradient(160deg, #ffffff 0%, #f7fdf8 100%);
  --gradient-btn: linear-gradient(135deg, #006233 0%, #008542 100%);
  --gradient-btn-hot: linear-gradient(135deg, #C1272D 0%, #e63946 100%);
  --gradient-gold: linear-gradient(135deg, #C1272D 0%, #e63946 50%, #C1272D 100%);
  --gradient-surface: linear-gradient(180deg, rgba(0,98,51,0.04) 0%, transparent 60%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 4px 20px rgba(0, 98, 51, 0.1), 0 8px 40px rgba(0, 98, 51, 0.05);
  --shadow-glow-strong: 0 8px 30px rgba(0, 98, 51, 0.15), 0 16px 60px rgba(0, 98, 51, 0.08);
  --shadow-gold: 0 4px 20px rgba(193, 39, 45, 0.12);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0,98,51,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(193,39,45,0.03) 0%, transparent 50%);
  background-attachment: fixed;
}

::selection {
  background: rgba(0, 98, 51, 0.15);
  color: #fff;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--morocco-red);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Animated background mesh ---------- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23006233' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--accent-glow);
  color: #fff;
}

.btn-secondary {
  background: rgba(0, 98, 51, 0.06);
  color: var(--accent);
  border: 1.5px solid rgba(0, 98, 51, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(0, 98, 51, 0.12);
  border-color: var(--accent);
  color: #fff;
  background: var(--gradient-btn);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #1ebe5d, #0e7a6e);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
}

.btn-hot {
  background: var(--gradient-btn-hot);
  color: #fff;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.25);
}

.btn-hot:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.35);
  color: #fff;
}

/* ---------- Pulsing badge for urgency ---------- */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 98, 51, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(0, 98, 51, 0); }
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes count-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ---------- Aïd El Fitr Popup ---------- */
.eid-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
  padding: 1rem;
}

.eid-overlay.active {
  opacity: 1;
  visibility: visible;
}

.eid-popup {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.5rem;
  max-width: 340px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 98, 51, 0.1);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.eid-popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #00a651, var(--morocco-red));
}

.eid-overlay.active .eid-popup {
  transform: scale(1) translateY(0);
}

.eid-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #999;
  line-height: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.eid-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--morocco-red);
}

.eid-emoji {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}

.eid-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.15rem;
}

.eid-subtitle {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.eid-discount {
  background: linear-gradient(135deg, var(--accent), #00a651);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.9rem;
}

.eid-discount-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.eid-discount-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.2rem;
}

.eid-message {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.eid-cta {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.eid-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 98, 51, 0.3);
}

.eid-timer {
  font-size: 0.72rem;
  color: var(--morocco-red);
  font-weight: 600;
  opacity: 0.8;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--morocco-green);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.15em;
}

.nav-logo span {
  color: var(--morocco-red);
  -webkit-text-fill-color: var(--morocco-red);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-hero);
  transition: width var(--transition);
  border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 1rem;
  animation: pulse-glow 2s infinite;
  color: #fff !important;
}

.nav-cta:hover {
  color: #fff !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--nav-height) + 5rem);
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: url('images/hero-iptv-maroc.png') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(170deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(193,39,45,0.04) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 10s ease-in-out infinite reverse;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Floating hero images */
.hero-float {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.85;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}

.hero-float-flag {
  width: 140px;
  top: 12%;
  right: 6%;
  animation: float 6s ease-in-out infinite;
}

.hero-float-football {
  width: 100px;
  bottom: 15%;
  left: 5%;
  animation: float 7s ease-in-out infinite 1s;
}

.hero-float-trophy {
  width: 120px;
  top: 18%;
  left: 4%;
  animation: float 8s ease-in-out infinite 0.5s;
}

.hero-float-culture {
  width: 110px;
  bottom: 12%;
  right: 5%;
  animation: float 7s ease-in-out infinite 1.5s;
}

.hero-float-options {
  width: 130px;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation: float 6.5s ease-in-out infinite 2s;
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
  animation: pulse-glow 3s infinite;
}

.hero h1 {
  margin-bottom: 1.5rem;
  line-height: 1.15;
  color: #fff;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #4ade80, #86efac);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  padding: 1.25rem 1.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  transition: all var(--transition);
  min-width: 140px;
}

.hero-stat:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}

.hero-stat .label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 auto;
  max-width: var(--max-width);
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-bar-item .icon {
  font-size: 1.2rem;
}

/* ---------- Features / Benefits ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,98,51,0.08), rgba(0,133,66,0.06));
  border: 1px solid rgba(0,98,51,0.12);
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.pricing-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,98,51,0.04), transparent);
  transition: left 0.8s;
}

.pricing-card:hover::after {
  left: 200%;
}

.pricing-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-8px);
}

.pricing-card.featured {
  border-color: rgba(0,98,51,0.3);
  box-shadow: var(--shadow-glow-strong);
  background: linear-gradient(160deg, rgba(0,98,51,0.04) 0%, #ffffff 30%, #f7fdf8 100%);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
}

.pricing-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.35rem 0.85rem;
  background: var(--gradient-btn);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 12px var(--accent-glow);
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  margin: 1.25rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pricing-price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-features {
  flex: 1;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓';
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--morocco-green);
  border-radius: 50%;
  font-size: 0.7rem;
}

.pricing-card .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
}

/* ---------- Guarantee Badge ---------- */
.guarantee-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--success);
  font-weight: 500;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  position: relative;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(0, 98, 51, 0.08);
  line-height: 1;
}

.testimonial-stars {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 2px 12px var(--accent-glow);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-verified {
  font-size: 0.75rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all var(--transition);
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item.active {
  border-color: rgba(0, 98, 51, 0.25);
  box-shadow: var(--shadow-glow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover {
  background: rgba(0, 98, 51, 0.03);
}

.faq-question .icon {
  font-size: 1.25rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
  color: var(--accent);
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- CTA Banner ---------- */
.cta-section {
  padding: 6rem 0;
}

.cta-box {
  background: linear-gradient(160deg, #006233 0%, #004d28 60%, #003d1f 100%);
  border: 1px solid rgba(0, 98, 51, 0.3);
  border-radius: var(--radius-xl);
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #C1272D, #e63946, #C1272D);
}

.cta-box::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-box h2 {
  color: #fff;
}

.cta-box p {
  color: rgba(255,255,255,0.85);
}

.cta-box .gradient-text {
  background: linear-gradient(135deg, #fbbf24, #fff, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-box h2 {
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  color: #fff;
}

.cta-box p {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
}

.cta-box .btn-primary {
  background: #fff;
  color: var(--morocco-green);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-box .btn-primary:hover {
  background: #f0faf2;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.cta-box .btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ---------- Countdown / urgency strip ---------- */
.urgency-strip {
  background: linear-gradient(135deg, rgba(193,39,45,0.08), rgba(193,39,45,0.03));
  border: 1px solid rgba(193,39,45,0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--morocco-red);
  font-weight: 600;
}

/* ---------- Blog Cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.blog-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.blog-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--bg-card), transparent);
  z-index: 1;
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-card-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.blog-card-body h3 a {
  color: var(--text-primary);
  transition: color var(--transition);
}

.blog-card-body h3 a:hover {
  color: var(--accent);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex: 1;
}

.blog-card-link {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ---------- Blog Article ---------- */
.article-header {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 2rem;
  text-align: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  color: var(--text-muted);
}

.article-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.article-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.article-cta {
  background: linear-gradient(160deg, rgba(0,98,51,0.04) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(0, 98, 51, 0.15);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-glow);
}

.article-cta h3 {
  margin-bottom: 0.75rem;
}

.article-cta p {
  margin-bottom: 1rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.contact-item:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(0,98,51,0.08), rgba(0,133,66,0.06));
  border: 1px solid rgba(0,98,51,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-form {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 98, 51, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: var(--danger);
  font-size: 0.82rem;
  margin-top: 0.3rem;
  display: none;
}

.map-placeholder {
  width: 100%;
  height: 300px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 3rem;
}

.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image-placeholder {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow);
}

.about-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.trust-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity var(--transition);
}

.trust-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.trust-card:hover::before {
  opacity: 1;
}

.trust-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.trust-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.trust-card p {
  font-size: 0.85rem;
}

/* ---------- Devices ---------- */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.device-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}

.device-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.device-card .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.device-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
  font-weight: 500;
  color: var(--text-primary);
}

/* ---------- Footer ---------- */
.footer {
  background: #1a1a2e;
  border-top: 3px solid var(--morocco-green);
  padding: 5rem 0 2rem;
  position: relative;
  color: #cbd5e1;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,98,51,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer h4 {
  color: #fff;
}

.footer .nav-logo {
  color: #fff;
}

.footer .nav-logo span {
  color: var(--morocco-red);
  -webkit-text-fill-color: var(--morocco-red);
}

.footer-brand p,
.footer-links a,
.footer-bottom {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-payment {
  margin-top: 1.25rem;
}

.footer-payment img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* ---------- Page Header ---------- */
.page-header {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,98,51,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.page-header h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.page-header p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- Image Styles ---------- */
.hero-image {
  max-width: 100%;
  border-radius: var(--radius-lg);
  margin: 2rem auto 0;
  display: block;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.section-image {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.article-featured-image {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 2rem;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 0;
}

.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

/* ---------- Scroll to Top Button ---------- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 20px var(--accent-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1rem;
  }

  .hero {
    min-height: 70vh;
    padding-top: calc(var(--nav-height) + 3rem);
    padding-bottom: 4rem;
  }

  .hero-content {
    max-width: 640px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  }

  .hero p {
    font-size: 1.05rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .pricing-card.featured {
    transform: scale(1.02);
  }

  .section-image {
    max-width: 100%;
  }

  .hero-float-flag {
    width: 110px;
  }

  .hero-float-football {
    width: 80px;
  }

  .hero-float-trophy {
    width: 95px;
  }

  .hero-float-culture {
    width: 85px;
  }

  .hero-float-options {
    width: 100px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header p {
    font-size: 0.92rem;
  }

  .container {
    padding: 0 1rem;
  }

  h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
  h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  h3 { font-size: clamp(1.05rem, 4vw, 1.25rem); }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.25rem 1rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.4s ease;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 0.4rem 0;
  }

  .nav-cta {
    margin-left: 0;
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 2.5rem;
    background-position: center top;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.65) 100%);
  }

  .hero-float {
    opacity: 0.35;
  }

  .hero-float-flag {
    width: 65px;
    top: 8%;
    right: 2%;
  }

  .hero-float-football {
    width: 50px;
    bottom: 8%;
    left: 2%;
  }

  .hero-float-trophy {
    width: 55px;
    top: 10%;
    left: 1%;
  }

  .hero-float-culture {
    width: 50px;
    bottom: 6%;
    right: 2%;
  }

  .hero-float-options {
    width: 45px;
    bottom: 3%;
    left: 50%;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.8rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .hero-stats {
    gap: 0.5rem;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-stat {
    min-width: unset;
    padding: 0.75rem 0.5rem;
  }

  .hero-stat .number {
    font-size: 1.4rem;
  }

  .hero-stat .label {
    font-size: 0.68rem;
  }

  /* Trust bar mobile */
  .trust-bar {
    gap: 0.6rem;
    padding: 1rem 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .trust-bar-item {
    font-size: 0.72rem;
    gap: 0.3rem;
  }

  .trust-bar-item .icon {
    font-size: 0.9rem;
  }

  /* Buttons mobile */
  .btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 8px;
  }

  /* Features mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.5rem 1.25rem;
  }

  .feature-card p {
    font-size: 0.88rem;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  /* Pricing mobile */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0 auto;
    gap: 1.25rem;
  }

  .pricing-card {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .pricing-card h3 {
    font-size: 1.1rem;
  }

  .pricing-price .amount {
    font-size: 2.2rem;
  }

  .pricing-features li {
    font-size: 0.85rem;
    padding: 0.4rem 0;
  }

  .pricing-card .btn {
    padding: 0.75rem;
    font-size: 0.92rem;
  }

  .guarantee-badge {
    font-size: 0.75rem;
  }

  .urgency-strip {
    font-size: 0.8rem;
    padding: 0.75rem 1rem;
    gap: 0.4rem;
  }

  /* Testimonials mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .testimonial-card {
    padding: 1.5rem 1.25rem;
  }

  .testimonial-text {
    font-size: 0.88rem;
  }

  /* Blog mobile */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .blog-card-body {
    padding: 1rem;
  }

  .blog-card-body h3 {
    font-size: 1rem;
  }

  .blog-card-excerpt {
    font-size: 0.82rem;
  }

  /* FAQ mobile */
  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
  }

  .faq-answer-inner {
    padding: 0 1.25rem 1rem;
    font-size: 0.88rem;
  }

  /* CTA mobile */
  .cta-section {
    padding: 3rem 0;
  }

  .cta-box {
    padding: 2.5rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .cta-box h2 {
    font-size: 1.3rem;
  }

  .cta-box p {
    font-size: 0.9rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Page header mobile */
  .page-header {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 2rem;
  }

  .page-header p {
    font-size: 0.9rem;
  }

  /* Footer mobile */
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .footer-brand p {
    font-size: 0.82rem;
  }

  .footer-payment {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
    font-size: 0.78rem;
  }

  /* Contact mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-item {
    padding: 1rem;
  }

  .contact-form {
    padding: 1.5rem 1.25rem;
  }

  /* About mobile */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-image-placeholder {
    height: 220px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .trust-card {
    padding: 1.25rem 1rem;
  }

  .trust-card .icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
  }

  .trust-card h3 {
    font-size: 0.88rem;
  }

  .trust-card p {
    font-size: 0.78rem;
  }

  /* Devices mobile */
  .devices-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .device-card {
    padding: 0.75rem 0.5rem;
  }

  .device-card .icon {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
  }

  .device-card p {
    font-size: 0.75rem;
  }

  /* Article content mobile */
  .article-content p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .article-content h3 {
    font-size: 1.05rem;
  }

  /* Scroll-to-top adjust for sticky bar */
  .scroll-top {
    bottom: 5.5rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  /* Map placeholder */
  .map-placeholder {
    height: 200px;
  }

  /* Images mobile */
  .section-image {
    border-radius: var(--radius-sm);
    margin: 1.5rem auto;
  }

  .article-featured-image {
    border-radius: var(--radius-sm);
    margin: 0 auto 1.5rem;
  }

  .blog-card-image {
    height: 170px;
  }

  .page-header-bg {
    opacity: 0.08;
  }

  .nav-logo img {
    height: 30px;
  }
}

@media (max-width: 380px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 1rem);
    padding-bottom: 2rem;
  }

  .hero-badge {
    font-size: 0.65rem;
  }

  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.2rem; }

  .hero p {
    font-size: 0.82rem;
  }

  .hero-stat .number {
    font-size: 1.2rem;
  }

  .hero-stat .label {
    font-size: 0.62rem;
  }

  .pricing-price .amount {
    font-size: 1.9rem;
  }

  .trust-bar-item {
    font-size: 0.65rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .devices-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-card-image {
    height: 140px;
  }

  .nav-logo img {
    height: 26px;
  }
}

/* ---------- Sticky Mobile CTA Bar ---------- */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: #fff;
    border-top: 2px solid var(--morocco-green);
    padding: 0.6rem 0.75rem;
    gap: 0.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    align-items: center;
    justify-content: center;
  }

  .mobile-cta-bar .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
    padding: 0.65rem 0.5rem;
    font-size: 0.82rem;
    border-radius: 8px;
    white-space: nowrap;
  }

  .mobile-cta-bar .btn-primary {
    background: var(--gradient-btn);
  }

  .mobile-cta-bar .btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
  }

  /* Add bottom padding to body for the bar */
  body {
    padding-bottom: 4rem;
  }
}
