/*
Theme Name: Raqmiyate - Digital Transformation Agency
Theme URI: https://raqmiyate.ma
Description: A sophisticated, Morocco-inspired WordPress theme for digital transformation agencies. Features dark theme, advanced animations, parallax effects, and Moroccan zellige patterns.
Author: Raqmiyate Team
Author URI: https://raqmiyate.ma
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: raqmiyate
Domain Path: /languages
Tags: dark, agency, technology, morocco, animation, parallax, responsive
*/

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
  /* Brand Colors */
  --raq-purple: #7c3aed;
  --raq-purple-light: #8b5cf6;
  --raq-purple-dark: #6d28d9;
  --raq-cyan: #06b6d4;
  --raq-cyan-light: #22d3ee;
  --raq-pink: #ec4899;
  --raq-orange: #f97316;
  --raq-gold: #fbbf24;
  --raq-amber: #f59e0b;
  
  /* Dark Theme */
  --raq-dark: #0f0f1a;
  --raq-dark-100: #1a1a2e;
  --raq-dark-200: #16162a;
  --raq-dark-300: #121225;
  
  /* Text Colors */
  --raq-text: #ffffff;
  --raq-text-70: rgba(255, 255, 255, 0.7);
  --raq-text-50: rgba(255, 255, 255, 0.5);
  --raq-text-30: rgba(255, 255, 255, 0.3);
  
  /* Spacing */
  --section-padding: 6rem;
  --container-max: 1280px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--raq-dark);
  color: var(--raq-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

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

ul, ol {
  list-style: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  color: var(--raq-text-70);
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.text-gradient {
  background: linear-gradient(135deg, var(--raq-purple) 0%, var(--raq-cyan) 50%, var(--raq-purple) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 5s ease infinite;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--raq-gold) 0%, var(--raq-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: rgba(15, 15, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glass-light {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.glow-purple {
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.4), 0 0 80px rgba(124, 58, 237, 0.2);
}

.glow-cyan {
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.4), 0 0 80px rgba(6, 182, 212, 0.2);
}

.border-gradient {
  border: 1px solid transparent;
  background: linear-gradient(var(--raq-dark), var(--raq-dark)) padding-box,
              linear-gradient(135deg, rgba(124, 58, 237, 0.6), rgba(6, 182, 212, 0.6)) border-box;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.75rem;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--raq-purple);
  color: white;
}

.btn-primary:hover {
  background: var(--raq-purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.btn-outline {
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: white;
}

.btn-outline:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: var(--raq-purple);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.4); }
  50% { box-shadow: 0 0 40px rgba(124, 58, 237, 0.6); }
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(150px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-orbit { animation: orbit 20s linear infinite; }
.animate-spin-slow { animation: spin-slow 30s linear infinite; }
.animate-spin-reverse { animation: spin-slow 40s linear infinite reverse; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(15, 15, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--raq-purple), var(--raq-cyan));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-text span {
  color: var(--raq-purple);
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: var(--raq-text-70);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a:hover {
  color: white;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--raq-purple), var(--raq-cyan));
  transition: width 0.3s ease;
}

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

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: white;
}

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .mobile-menu-btn { display: none; }
}

/* ========================================
   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.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 15, 26, 0.5), rgba(15, 15, 26, 0.3), var(--raq-dark));
  z-index: 1;
}

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

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--raq-purple-light);
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-title span {
  display: block;
}

.hero-description {
  font-size: 1.125rem;
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.avatar-group {
  display: flex;
}

.avatar-group img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--raq-dark);
  margin-left: -8px;
}

.avatar-group img:first-child {
  margin-left: 0;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.star {
  color: var(--raq-gold);
}

.hero-visual {
  display: none;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-visual {
    display: block;
  }
}

.hero-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(15, 15, 26, 0.9), transparent);
}

.hero-card-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-badge {
  position: absolute;
  padding: 0.5rem 1rem;
  background: rgba(15, 15, 26, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  animation: float 4s ease-in-out infinite;
}

.floating-badge.cyan {
  top: -1rem;
  right: -1rem;
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--raq-cyan);
}

.floating-badge.gold {
  bottom: 4rem;
  left: -1rem;
  border-color: rgba(251, 191, 36, 0.3);
  color: var(--raq-gold);
  animation-delay: -2s;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
  position: relative;
}

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

.services-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.services-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--raq-dark), rgba(15, 15, 26, 0.95), var(--raq-dark));
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
  position: relative;
  z-index: 1;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--raq-purple-light);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 1rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 25px 50px rgba(124, 58, 237, 0.2);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(3deg);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--raq-purple);
}

.service-card:nth-child(2) .service-icon { background: rgba(6, 182, 212, 0.1); }
.service-card:nth-child(2) .service-icon svg { color: var(--raq-cyan); }

.service-card:nth-child(3) .service-icon { background: rgba(236, 72, 153, 0.1); }
.service-card:nth-child(3) .service-icon svg { color: var(--raq-pink); }

.service-card:nth-child(4) .service-icon { background: rgba(249, 115, 22, 0.1); }
.service-card:nth-child(4) .service-icon svg { color: var(--raq-orange); }

.service-card:nth-child(5) .service-icon { background: rgba(124, 58, 237, 0.1); }
.service-card:nth-child(5) .service-icon svg { color: var(--raq-purple); }

.service-card:nth-child(6) .service-icon { background: rgba(6, 182, 212, 0.1); }
.service-card:nth-child(6) .service-icon svg { color: var(--raq-cyan); }

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card:hover .service-title {
  background: linear-gradient(135deg, var(--raq-purple), var(--raq-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-description {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-feature {
  padding: 0.25rem 0.75rem;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 9999px;
  font-size: 0.75rem;
  color: var(--raq-text-70);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats {
  position: relative;
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 1rem;
  position: relative;
}

.stat-card:nth-child(2) {
  background: rgba(6, 182, 212, 0.05);
  border-color: rgba(6, 182, 212, 0.2);
}

.stat-card:nth-child(3) {
  background: rgba(236, 72, 153, 0.05);
  border-color: rgba(236, 72, 153, 0.2);
}

.stat-card:nth-child(4) {
  background: rgba(249, 115, 22, 0.05);
  border-color: rgba(249, 115, 22, 0.2);
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-card:nth-child(1) .stat-number { color: var(--raq-purple); }
.stat-card:nth-child(2) .stat-number { color: var(--raq-cyan); }
.stat-card:nth-child(3) .stat-number { color: var(--raq-pink); }
.stat-card:nth-child(4) .stat-number { color: var(--raq-orange); }

.stat-label {
  font-size: 0.875rem;
  color: var(--raq-text-70);
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products {
  position: relative;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 25px 50px rgba(124, 58, 237, 0.2);
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--raq-dark), transparent);
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 9999px;
  font-size: 0.75rem;
  color: var(--raq-purple-light);
  z-index: 1;
}

.product-card:nth-child(2) .product-tag {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--raq-cyan);
}

.product-card:nth-child(3) .product-tag {
  background: rgba(236, 72, 153, 0.2);
  border-color: rgba(236, 72, 153, 0.3);
  color: var(--raq-pink);
}

.product-card:nth-child(4) .product-tag {
  background: rgba(249, 115, 22, 0.2);
  border-color: rgba(249, 115, 22, 0.3);
  color: var(--raq-orange);
}

.product-content {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.product-card:hover .product-title {
  background: linear-gradient(135deg, var(--raq-purple), var(--raq-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-description {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.product-feature {
  padding: 0.25rem 0.75rem;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 9999px;
  font-size: 0.75rem;
  color: var(--raq-text-70);
}

.product-buttons {
  display: flex;
  gap: 0.75rem;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  position: relative;
}

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

.about-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.about-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--raq-dark), rgba(15, 15, 26, 0.9), var(--raq-dark));
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
}

.trust-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.trust-point {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.trust-point:hover {
  border-color: rgba(124, 58, 237, 0.3);
}

.trust-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 24px;
  height: 24px;
  color: var(--raq-purple);
}

.about-visual {
  display: none;
  position: relative;
}

@media (min-width: 1024px) {
  .about-visual {
    display: block;
  }
}

.orbit-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--raq-purple), var(--raq-cyan));
  border-radius: 50%;
  padding: 3px;
}

.orbit-center-inner {
  width: 100%;
  height: 100%;
  background: var(--raq-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.orbit-center-inner span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--raq-purple), var(--raq-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(124, 58, 237, 0.3);
  border-radius: 50%;
}

.orbit-ring.ring-1 {
  width: 280px;
  height: 280px;
  animation: spin-slow 30s linear infinite;
}

.orbit-ring.ring-2 {
  width: 360px;
  height: 360px;
  animation: spin-reverse 40s linear infinite;
}

.orbit-badge {
  position: absolute;
  padding: 0.75rem 1rem;
  background: rgba(15, 15, 26, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 0.75rem;
  text-align: center;
  animation: float 4s ease-in-out infinite;
}

.orbit-badge strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--raq-purple), var(--raq-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.orbit-badge span {
  font-size: 0.75rem;
  color: var(--raq-text-50);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
  position: relative;
  text-align: center;
}

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

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--raq-dark), rgba(15, 15, 26, 0.8), var(--raq-dark));
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--raq-gold);
  margin-bottom: 1.5rem;
}

.cta-title {
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.cta-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--raq-text-50);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.cta-contact a:hover {
  color: var(--raq-purple);
}

.cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.cta-digital-morocco {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(15, 15, 26, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 9999px;
  margin-top: 2rem;
}

.cta-digital-morocco span:first-child {
  color: var(--raq-gold);
  font-weight: 500;
}

.cta-digital-morocco span:last-child {
  background: linear-gradient(135deg, var(--raq-gold), var(--raq-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: linear-gradient(to top, var(--raq-dark-100), var(--raq-dark));
  padding: 4rem 0 2rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: rgba(124, 58, 237, 0.05);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

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

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--raq-purple), var(--raq-cyan));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: white;
}

.footer-description {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--raq-text-50);
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--raq-purple);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: var(--raq-text-50);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.3);
  color: var(--raq-purple);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--raq-text-50);
  transition: color 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--raq-purple);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--raq-text-50);
}

.footer-made-with {
  font-size: 0.875rem;
  color: var(--raq-text-50);
}

.footer-made-with span {
  color: #ef4444;
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 26, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu a {
  padding: 1rem;
  font-size: 1.25rem;
  color: var(--raq-text-70);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--raq-purple), var(--raq-cyan));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--raq-purple-light), var(--raq-cyan-light));
}

/* ========================================
   SELECTION
   ======================================== */
::selection {
  background: rgba(124, 58, 237, 0.4);
  color: white;
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
