/* ============================================
   NexoBit Solution - Main Stylesheet
   Design System: Glassmorphism + Tech Futuristic
   Typography: Space Grotesk / DM Sans
   ============================================ */

/* ==================== IMPORTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ==================== CSS VARIABLES ==================== */
:root {
  /* Colors */
  --color-primary: #FFFFFF;
  --color-secondary: #94A3B8;
  --color-cta: #3B82F6;
  --color-cta-hover: #2563EB;
  --color-cta-light: #60A5FA;
  --color-background: #0B0B10;
  --color-background-lighter: #12121A;
  --color-text: #F8FAFC;
  --color-text-muted: #94A3B8;
  --color-accent: #8B5CF6;
  --color-accent-secondary: #06B6D4;
  --color-success: #10B981;
  --color-error: #EF4444;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(255, 255, 255, 0.2);
  --glass-blur: blur(20px);

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);

  /* Z-index Scale */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-fixed: 30;
  --z-modal: 50;
  --z-tooltip: 60;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  color: var(--color-text-muted);
  max-width: 65ch;
}

a {
  color: var(--color-cta-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-cta);
}

a:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ==================== UTILITIES ==================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-3xl) 0;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--color-cta) 0%, var(--color-accent) 50%, var(--color-accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==================== GLASS CARD ==================== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

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

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--color-cta) 0%, var(--color-accent) 100%);
  color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

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

.btn-outline:hover {
  background: var(--color-cta);
  color: var(--color-primary);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: var(--spacing-sm);
  left: var(--spacing-sm);
  right: var(--spacing-sm);
  z-index: var(--z-fixed);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(11, 11, 16, 0.9);
  box-shadow: var(--shadow-md);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-md);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.navbar-logo svg {
  width: 40px;
  height: 40px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  list-style: none;
}

.navbar-link {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--spacing-xs) 0;
  transition: color var(--transition-fast);
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--color-primary);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-cta), var(--color-accent));
  transition: width var(--transition-base);
}

.navbar-link:hover::after,
.navbar-link.active::after {
  width: 100%;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--spacing-xs);
  background: none;
  border: none;
  cursor: pointer;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
  }

  .navbar-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 11, 16, 0.98);
    backdrop-filter: var(--glass-blur);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: var(--spacing-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
  }

  .navbar-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar-link {
    display: block;
    padding: var(--spacing-sm);
    text-align: center;
  }

  .navbar-cta {
    width: 100%;
    margin-top: var(--spacing-sm);
  }
}

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

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--color-cta-light);
  margin-bottom: var(--spacing-md);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  margin-bottom: var(--spacing-md);
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-lg);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 6s ease-in-out infinite;
}

.hero-orb-1 {
  width: 300px;
  height: 300px;
  background: var(--color-cta);
  opacity: 0.3;
  top: 10%;
  left: 10%;
}

.hero-orb-2 {
  width: 200px;
  height: 200px;
  background: var(--color-accent);
  opacity: 0.3;
  bottom: 20%;
  right: 10%;
  animation-delay: -2s;
}

.hero-orb-3 {
  width: 150px;
  height: 150px;
  background: var(--color-accent-secondary);
  opacity: 0.3;
  top: 40%;
  right: 30%;
  animation-delay: -4s;
}

/* ==================== HERO - ANIMATED BACKGROUND ==================== */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

/* Animated Gradient Mesh - Index Hero */
.hero-gradient-mesh {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background:
    radial-gradient(ellipse 70% 50% at 70% 30%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 20% 60%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  animation: heroMeshFloat 25s ease-in-out infinite;
}

@keyframes heroMeshFloat {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(-2%, 2%) rotate(-0.5deg);
  }

  50% {
    transform: translate(1%, -1%) rotate(0.5deg);
  }

  75% {
    transform: translate(-1%, -2%) rotate(-0.5deg);
  }
}

/* Grid Pattern - Index Hero */
.hero-grid-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: heroGridPulse 10s ease-in-out infinite;
  opacity: 0.4;
}

@keyframes heroGridPulse {

  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 0.5;
  }
}

/* Floating Geometric Shapes - Index Hero */
.hero-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hero-shape {
  position: absolute;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(59, 130, 246, 0.04));
  border: 1px solid rgba(6, 182, 212, 0.1);
  backdrop-filter: blur(1px);
}

.hero-shape-1 {
  width: 250px;
  height: 250px;
  top: 5%;
  left: -3%;
  border-radius: 50% 30% 50% 70%;
  animation: heroShapeFloat1 18s ease-in-out infinite;
}

.hero-shape-2 {
  width: 180px;
  height: 180px;
  bottom: 15%;
  right: -2%;
  border-radius: 70% 30% 50% 50%;
  animation: heroShapeFloat2 15s ease-in-out infinite;
}

.hero-shape-3 {
  width: 120px;
  height: 120px;
  top: 60%;
  left: 8%;
  border-radius: 50%;
  animation: heroShapeFloat3 12s ease-in-out infinite;
}

.hero-shape-4 {
  width: 80px;
  height: 80px;
  top: 20%;
  right: 15%;
  border-radius: 30% 70% 70% 30%;
  animation: heroShapeFloat4 16s ease-in-out infinite;
}

.hero-shape-5 {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 25%;
  border-radius: 50% 50% 30% 70%;
  animation: heroShapeFloat5 20s ease-in-out infinite;
}

@keyframes heroShapeFloat1 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  33% {
    transform: translate(25px, -35px) rotate(-10deg) scale(1.05);
  }

  66% {
    transform: translate(-15px, 25px) rotate(10deg) scale(0.95);
  }
}

@keyframes heroShapeFloat2 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(-35px, 25px) rotate(120deg);
  }
}

@keyframes heroShapeFloat3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate(20px, -30px) scale(1.15);
    opacity: 0.7;
  }
}

@keyframes heroShapeFloat4 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(-10px, 15px) rotate(30deg);
  }

  75% {
    transform: translate(15px, -10px) rotate(-30deg);
  }
}

@keyframes heroShapeFloat5 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.4;
  }

  50% {
    transform: translate(-20px, -15px) rotate(180deg);
    opacity: 0.6;
  }
}

/* Glowing Orbs - Index Hero */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(6, 182, 212, 0.25);
  top: -15%;
  left: 5%;
  animation: heroGlowPulse1 10s ease-in-out infinite;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.2);
  bottom: -10%;
  right: 10%;
  animation: heroGlowPulse2 12s ease-in-out infinite;
}

@keyframes heroGlowPulse1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.35;
  }

  50% {
    transform: translate(40px, 30px) scale(1.15);
    opacity: 0.5;
  }
}

@keyframes heroGlowPulse2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }

  50% {
    transform: translate(-30px, -25px) scale(1.1);
    opacity: 0.45;
  }
}

/* Floating Code Elements - Index Hero */
.hero-code-float {
  position: absolute;
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 16px;
  background: rgba(15, 15, 25, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 8px;
  color: rgba(6, 182, 212, 0.8);
  pointer-events: none;
  z-index: 1;
}

.hero-code-1 {
  top: 12%;
  left: 5%;
  animation: heroCodeFloat1 9s ease-in-out infinite;
}

.hero-code-2 {
  bottom: 20%;
  right: 8%;
  animation: heroCodeFloat2 11s ease-in-out infinite;
}

.hero-code-3 {
  top: 45%;
  left: 2%;
  animation: heroCodeFloat3 13s ease-in-out infinite;
}

.hero-code-4 {
  bottom: 35%;
  right: 3%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.1));
  border-color: rgba(139, 92, 246, 0.3);
  color: rgba(139, 92, 246, 0.9);
  animation: heroCodeFloat4 8s ease-in-out infinite;
}

@keyframes heroCodeFloat1 {

  0%,
  100% {
    transform: translate(0, 0) rotate(-1deg);
    opacity: 0.5;
  }

  50% {
    transform: translate(12px, 18px) rotate(1deg);
    opacity: 0.7;
  }
}

@keyframes heroCodeFloat2 {

  0%,
  100% {
    transform: translate(0, 0) rotate(1deg);
    opacity: 0.6;
  }

  50% {
    transform: translate(-18px, -12px) rotate(-1deg);
    opacity: 0.8;
  }
}

@keyframes heroCodeFloat3 {

  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.4;
  }

  50% {
    transform: translate(15px, -20px);
    opacity: 0.6;
  }
}

@keyframes heroCodeFloat4 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate(-10px, 15px) scale(1.05);
    opacity: 0.75;
  }
}

/* Particle Canvas - Index Hero */
#heroParticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Hero Content z-index */
.hero>.container {
  position: relative;
  z-index: 2;
}

/* Responsive - Index Hero Background */
@media (max-width: 768px) {
  .hero-code-float {
    display: none;
  }

  .hero-glow-1,
  .hero-glow-2 {
    width: 200px;
    height: 200px;
    filter: blur(50px);
  }

  .hero-shape-1,
  .hero-shape-2 {
    width: 120px;
    height: 120px;
  }

  .hero-shape-3,
  .hero-shape-4,
  .hero-shape-5 {
    display: none;
  }
}

/* ==================== BROWSER MOCKUP ==================== */
.browser-mockup {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: rgba(15, 15, 25, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.browser-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.browser-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 12px 16px;
  background: rgba(30, 30, 45, 0.95);
  border-bottom: 1px solid var(--glass-border);
}

.browser-buttons {
  display: flex;
  gap: 8px;
}

.browser-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-btn-close {
  background: #ff5f57;
}

.browser-btn-minimize {
  background: #febc2e;
}

.browser-btn-maximize {
  background: #28c840;
}

.browser-url-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.browser-url-bar svg {
  color: var(--color-success);
}

.browser-url-text {
  font-family: var(--font-body);
}

.browser-url-cursor {
  width: 1px;
  height: 14px;
  background: var(--color-cta);
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.browser-content {
  padding: 16px;
  min-height: 280px;
  background: linear-gradient(180deg, rgba(20, 20, 35, 1) 0%, rgba(15, 15, 25, 1) 100%);
  position: relative;
}

/* Mini Site Elements */
.build-element {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
}

.build-element.visible {
  opacity: 1;
  transform: translateY(0);
}

.mini-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  margin-bottom: 12px;
}

.mini-logo {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  border-radius: 4px;
}

.mini-nav-links {
  display: flex;
  gap: 8px;
}

.mini-nav-links span {
  width: 32px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.mini-cta {
  width: 40px;
  height: 16px;
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  border-radius: 8px;
}

.mini-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px 0;
  margin-bottom: 12px;
}

.mini-hero-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-title {
  height: 12px;
  width: 90%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border-radius: 4px;
  animation: shimmer 2s infinite;
}

.mini-subtitle {
  height: 8px;
  width: 70%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.mini-buttons {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.mini-btn-primary {
  width: 48px;
  height: 14px;
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  border-radius: 7px;
}

.mini-btn-secondary {
  width: 40px;
  height: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
}

.mini-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.mini-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.mini-cards-section {
  margin-top: 8px;
}

.mini-section-title {
  height: 10px;
  width: 40%;
  margin: 0 auto 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-card {
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.mini-card-icon {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
  border-radius: 4px;
  margin-bottom: 6px;
}

.mini-card-title {
  height: 6px;
  width: 80%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  margin-bottom: 4px;
}

.mini-card-text {
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

/* Build Progress */
.build-progress {
  position: absolute;
  bottom: 40px;
  left: 16px;
  right: 16px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.build-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-cta), var(--color-accent));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.build-status {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-size: 0.625rem;
  color: var(--color-text-muted);
  font-family: monospace;
}

/* Floating Tags */
.floating-tag {
  position: absolute;
  padding: 4px 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-family: monospace;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--color-cta-light);
  animation: float-tag 3s ease-in-out infinite;
}

.floating-tag-1 {
  top: -10px;
  right: 60px;
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
  animation-delay: 0s;
}

.floating-tag-2 {
  top: 50%;
  right: -20px;
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  animation-delay: -1s;
}

.floating-tag-3 {
  bottom: 20px;
  right: -15px;
  background: rgba(234, 179, 8, 0.2);
  border-color: rgba(234, 179, 8, 0.3);
  color: #fbbf24;
  animation-delay: -2s;
}

@keyframes float-tag {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

/* Remove old hero graphic styles - keep for compatibility */
.hero-graphic {
  display: none;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

  .hero-visual {
    order: -1;
  }

  .hero-graphic {
    max-width: 350px;
  }
}

/* ==================== SERVICES SECTION ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
  position: relative;
}

/* Ligne de connexion animée */
.services-grid::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  transform: translate(-50%, -50%);
  border: 1px dashed var(--glass-border);
  border-radius: var(--radius-xl);
  opacity: 0.5;
  pointer-events: none;
}

.service-card {
  padding: var(--spacing-xl);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Effet de scan tech */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(59, 130, 246, 0.1),
      rgba(139, 92, 246, 0.1),
      transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.service-card:hover::before {
  left: 100%;
}

/* Grille de points tech en arrière-plan */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(59, 130, 246, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

/* Animation d'entrée différée pour chaque carte */
.service-card:nth-child(1) {
  animation: cardSlideIn 0.6s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

.service-card:nth-child(2) {
  animation: cardSlideIn 0.6s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.service-card:nth-child(3) {
  animation: cardSlideIn 0.6s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.service-card:nth-child(4) {
  animation: cardSlideIn 0.6s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

@keyframes cardSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px) rotateX(10deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

/* Hover avec effet 3D */
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    var(--shadow-lg),
    0 0 40px rgba(59, 130, 246, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Animation pulse sur l'icône */
.service-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover .service-icon::before {
  opacity: 1;
}

/* Cercle animé autour de l'icône */
.service-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover .service-icon::after {
  opacity: 1;
  animation: borderRotate 2s linear infinite;
}

@keyframes borderRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.service-icon svg {
  width: 36px;
  height: 36px;
  color: var(--color-cta-light);
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon svg {
  color: var(--color-primary);
  transform: scale(1.1);
}

.service-card h3 {
  margin-bottom: var(--spacing-sm);
  transition: color 0.3s ease;
  position: relative;
}

/* Ligne animée sous le titre */
.service-card h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-cta), var(--color-accent));
  transition: width 0.4s ease;
}

.service-card:hover h3::after {
  width: 60px;
}

.service-card:hover h3 {
  color: var(--color-cta-light);
}

.service-card p {
  font-size: 0.9375rem;
  position: relative;
  z-index: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
  font-weight: 600;
  color: var(--color-cta-light);
  position: relative;
  z-index: 1;
}

.service-link svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link svg {
  transform: translateX(8px);
  animation: arrowPulse 1s ease infinite;
}

@keyframes arrowPulse {

  0%,
  100% {
    transform: translateX(8px);
  }

  50% {
    transform: translateX(12px);
  }
}

/* Code snippet décoratif */
.service-card .code-decoration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-family: monospace;
  font-size: 0.625rem;
  color: var(--color-cta);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover .code-decoration {
  opacity: 0.5;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

/* ==================== TOOLBOX AI SECTION ==================== */
.toolbox-section {
  position: relative;
  overflow: hidden;
}

.toolbox-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%);
  pointer-events: none;
}

.toolbox-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.toolbox-text h2 {
  margin-bottom: var(--spacing-md);
}

.toolbox-text p {
  margin-bottom: var(--spacing-lg);
}

.toolbox-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.toolbox-feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--color-text-muted);
}

.toolbox-feature svg {
  width: 24px;
  height: 24px;
  color: var(--color-success);
  flex-shrink: 0;
}

.toolbox-visual {
  position: relative;
}

.toolbox-card {
  padding: var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.toolbox-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--color-accent), transparent 30%);
  animation: rotate 4s linear infinite;
  opacity: 0.1;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

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

.toolbox-card-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.toolbox-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-cta));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.toolbox-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.toolbox-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--glass-border);
}

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

.toolbox-stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cta-light);
}

.toolbox-stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

@media (max-width: 968px) {
  .toolbox-content {
    grid-template-columns: 1fr;
  }

  .toolbox-visual {
    order: -1;
  }
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.testimonial-card {
  padding: var(--spacing-xl);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--spacing-md);
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  color: #FBBF24;
  fill: #FBBF24;
}

.testimonial-text {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--spacing-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

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

.cta-card {
  padding: var(--spacing-3xl);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-cta), var(--color-accent), transparent);
}

.cta-card h2 {
  margin-bottom: var(--spacing-md);
}

.cta-card p {
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

/* ==================== PROCESS SECTION ==================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
  padding: var(--spacing-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.process-step:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(59, 130, 246, 0.2);
  z-index: 10;
}

.process-number {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cta-light);
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover .process-number {
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  border-color: transparent;
  color: var(--color-primary);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.process-step h4 {
  margin-bottom: var(--spacing-xs);
  transition: color 0.3s ease;
}

.process-step:hover h4 {
  color: var(--color-cta-light);
}

.process-step p {
  font-size: 0.9375rem;
}

.process-description {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
}

.process-step:hover .process-description {
  max-height: 300px;
  opacity: 1;
  margin-top: var(--spacing-md);
}

.process-description p {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.6;
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--glass-border);
}

.process-description ul {
  list-style: none;
  margin-top: var(--spacing-sm);
  text-align: left;
}

.process-description ul li {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.875rem;
  color: var(--color-text);
  padding: 6px 0;
}

.process-description ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-cta);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 968px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* ==================== ABOUT PAGE ==================== */
.about-hero {
  padding-top: 150px;
  padding-bottom: var(--spacing-3xl);
  position: relative;
  overflow: hidden;
}

/* ==================== ABOUT PAGE - ANIMATED BACKGROUND ==================== */
.about-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

/* Animated Gradient Mesh */
.about-gradient-mesh {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 70% 60% at 60% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 30% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
  animation: meshFloat 20s ease-in-out infinite;
}

@keyframes meshFloat {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(2%, 3%) rotate(1deg);
  }

  50% {
    transform: translate(-1%, 2%) rotate(-0.5deg);
  }

  75% {
    transform: translate(1%, -2%) rotate(0.5deg);
  }
}

/* Floating Geometric Shapes */
.about-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.about-shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.05));
  border: 1px solid rgba(139, 92, 246, 0.1);
  backdrop-filter: blur(1px);
}

.about-shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -5%;
  animation: shapeFloat1 15s ease-in-out infinite;
}

.about-shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: -3%;
  border-radius: 50% 50% 50% 50%;
  animation: shapeFloat2 12s ease-in-out infinite;
}

.about-shape-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  left: 15%;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: shapeFloat3 18s ease-in-out infinite;
}

.about-shape-4 {
  width: 100px;
  height: 100px;
  bottom: 30%;
  right: 20%;
  border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
  animation: shapeFloat4 14s ease-in-out infinite;
}

@keyframes shapeFloat1 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  33% {
    transform: translate(-30px, 40px) rotate(15deg) scale(1.05);
  }

  66% {
    transform: translate(20px, -20px) rotate(-10deg) scale(0.95);
  }
}

@keyframes shapeFloat2 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(40px, -30px) rotate(180deg);
  }
}

@keyframes shapeFloat3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate(25px, 35px) scale(1.1);
    opacity: 0.8;
  }
}

@keyframes shapeFloat4 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(15px, -20px) rotate(45deg);
  }

  75% {
    transform: translate(-20px, 15px) rotate(-45deg);
  }
}

/* Particle Canvas */
#aboutParticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Grid Pattern Overlay */
.about-grid-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridPulse 8s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes gridPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.6;
  }
}

/* Glowing Orbs */
.about-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}

.about-glow-1 {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.3);
  top: -10%;
  right: 10%;
  animation: glowPulse1 8s ease-in-out infinite;
}

.about-glow-2 {
  width: 300px;
  height: 300px;
  background: rgba(139, 92, 246, 0.25);
  bottom: 10%;
  left: 5%;
  animation: glowPulse2 10s ease-in-out infinite;
}

.about-glow-3 {
  width: 250px;
  height: 250px;
  background: rgba(168, 85, 247, 0.2);
  top: 50%;
  left: 40%;
  animation: glowPulse3 12s ease-in-out infinite;
}

@keyframes glowPulse1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }

  50% {
    transform: translate(30px, 20px) scale(1.2);
    opacity: 0.6;
  }
}

@keyframes glowPulse2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }

  50% {
    transform: translate(-20px, -30px) scale(1.15);
    opacity: 0.5;
  }
}

@keyframes glowPulse3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.25;
  }

  50% {
    transform: translate(15px, -15px) scale(1.1);
    opacity: 0.4;
  }
}

/* ==================== ABOUT PAGE - UNIQUE TEXT ANIMATIONS ==================== */

/* Text Reveal Animation */
.about-text h1 {
  overflow: hidden;
}

.about-text h1 .text-reveal {
  display: inline-block;
  animation: textReveal 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
  animation-delay: 0.2s;
  opacity: 0;
  transform: translateY(100%);
}

@keyframes textReveal {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered Paragraph Animation */
.about-text p {
  animation: slideInBlur 0.8s ease-out forwards;
  opacity: 0;
}

.about-text p:nth-of-type(1) {
  animation-delay: 0.4s;
}

.about-text p:nth-of-type(2) {
  animation-delay: 0.6s;
}

.about-text p:nth-of-type(3) {
  animation-delay: 0.8s;
}

@keyframes slideInBlur {
  0% {
    opacity: 0;
    transform: translateX(-30px);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

/* Value Cards 3D Hover Effect */
.value-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.value-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(139, 92, 246, 0.2);
}

/* Value Card Stagger Animation */
.values-grid .value-card {
  animation: cardReveal 0.6s ease-out forwards;
  opacity: 0;
}

.values-grid .value-card:nth-child(1) {
  animation-delay: 0.1s;
}

.values-grid .value-card:nth-child(2) {
  animation-delay: 0.2s;
}

.values-grid .value-card:nth-child(3) {
  animation-delay: 0.3s;
}

.values-grid .value-card:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes cardReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) rotateX(-15deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* Icon Pulse Animation */
.value-icon {
  position: relative;
  animation: iconPulse 3s ease-in-out infinite;
}

.value-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  transform: translate(-50%, -50%);
  animation: iconRing 2s ease-out infinite;
  opacity: 0;
}

@keyframes iconPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes iconRing {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Service Cards on About Page - Unique Animation */
.about-hero~.section .service-card {
  animation: serviceSlideUp 0.7s ease-out forwards;
  opacity: 0;
}

.about-hero~.section .service-card:nth-child(1) {
  animation-delay: 0.15s;
}

.about-hero~.section .service-card:nth-child(2) {
  animation-delay: 0.3s;
}

.about-hero~.section .service-card:nth-child(3) {
  animation-delay: 0.45s;
}

.about-hero~.section .service-card:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes serviceSlideUp {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Floating Code Snippets */
.about-code-float {
  position: absolute;
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 0.75rem;
  padding: 8px 12px;
  background: rgba(15, 15, 25, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 6px;
  color: rgba(139, 92, 246, 0.7);
  pointer-events: none;
  z-index: 1;
}

.about-code-1 {
  top: 15%;
  right: 8%;
  animation: codeFloat1 10s ease-in-out infinite;
}

.about-code-2 {
  bottom: 25%;
  left: 5%;
  animation: codeFloat2 12s ease-in-out infinite;
}

.about-code-3 {
  top: 60%;
  right: 15%;
  animation: codeFloat3 8s ease-in-out infinite;
}

@keyframes codeFloat1 {

  0%,
  100% {
    transform: translate(0, 0) rotate(-2deg);
    opacity: 0.6;
  }

  50% {
    transform: translate(-15px, 20px) rotate(2deg);
    opacity: 0.8;
  }
}

@keyframes codeFloat2 {

  0%,
  100% {
    transform: translate(0, 0) rotate(1deg);
    opacity: 0.5;
  }

  50% {
    transform: translate(20px, -15px) rotate(-1deg);
    opacity: 0.7;
  }
}

@keyframes codeFloat3 {

  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.4;
  }

  50% {
    transform: translate(-10px, -20px);
    opacity: 0.6;
  }
}

/* About Content z-index */
.about-content {
  position: relative;
  z-index: 2;
}

/* Mobile Responsiveness for About Animations */
@media (max-width: 768px) {

  .about-shape-1,
  .about-shape-3,
  .about-code-float {
    display: none;
  }

  .about-glow-1,
  .about-glow-2,
  .about-glow-3 {
    width: 150px;
    height: 150px;
    filter: blur(40px);
  }
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--color-text-muted);
  opacity: 0.5;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.value-card {
  padding: var(--spacing-lg);
  text-align: center;
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--spacing-md);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-cta-light);
}

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

/* ==================== ABOUT PAGE - WEBSITE BUILDER ANIMATION ==================== */
.website-builder-animation {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.builder-browser {
  background: rgba(15, 15, 25, 0.95);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.builder-browser-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 10px 14px;
  background: rgba(30, 30, 45, 0.95);
  border-bottom: 1px solid var(--glass-border);
}

.builder-browser-buttons {
  display: flex;
  gap: 6px;
}

.builder-browser-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.builder-browser-btn.close {
  background: #ff5f57;
}

.builder-browser-btn.minimize {
  background: #febc2e;
}

.builder-browser-btn.maximize {
  background: #28c840;
}

.builder-url-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.builder-url-bar svg {
  width: 12px;
  height: 12px;
  color: var(--color-success);
}

.builder-canvas {
  padding: 16px;
  min-height: 280px;
  background: linear-gradient(180deg, rgba(20, 20, 35, 1) 0%, rgba(15, 15, 25, 1) 100%);
  position: relative;
}

/* Building Blocks */
.build-block {
  opacity: 0;
  transform: translateY(15px) scale(0.95);
}

/* Animation des blocs qui apparaissent */
.website-builder-animation .build-block {
  animation: blockAppear 0.6s ease forwards;
}

.build-block-header {
  animation-delay: 0.3s;
}

.build-block-sidebar {
  animation-delay: 0.8s;
}

.build-block-content {
  animation-delay: 1.3s;
}

.build-block-cards {
  animation-delay: 1.8s;
}

.build-block-footer {
  animation-delay: 2.3s;
}

@keyframes blockAppear {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header Block */
.block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  margin-bottom: 10px;
}

.block-logo {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  border-radius: 4px;
}

.block-nav {
  display: flex;
  gap: 6px;
}

.block-nav span {
  width: 28px;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.block-cta-btn {
  width: 36px;
  height: 14px;
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  border-radius: 7px;
}

/* Layout with Sidebar */
.block-layout {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

/* Sidebar Block */
.block-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-icon {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
  border-radius: 3px;
}

.sidebar-text {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.sidebar-item.active .sidebar-icon {
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
}

.sidebar-item.active .sidebar-text {
  background: rgba(255, 255, 255, 0.2);
}

/* Main Content Block */
.block-main-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content-title {
  height: 10px;
  width: 70%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border-radius: 4px;
}

.content-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.content-line {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

.content-line:nth-child(1) {
  width: 100%;
}

.content-line:nth-child(2) {
  width: 90%;
}

.content-line:nth-child(3) {
  width: 75%;
}

/* Cards Grid Block */
.block-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.block-card {
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.block-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.card-icon {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
  border-radius: 4px;
  margin-bottom: 6px;
}

.card-title {
  height: 5px;
  width: 80%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  margin-bottom: 4px;
}

.card-desc {
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

/* Footer Block */
.block-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

.block-footer-logo {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  border-radius: 3px;
}

.block-footer-links {
  display: flex;
  gap: 8px;
}

.block-footer-links span {
  width: 20px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

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

.block-footer-social span {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* Builder Status */
.builder-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.status-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: monospace;
  font-size: 0.65rem;
  color: var(--color-success);
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--color-success);
  border-radius: 50%;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }

  50% {
    opacity: 0.6;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
  }
}

.status-progress {
  display: flex;
  align-items: center;
  gap: 6px;
}

.progress-bar {
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-cta), var(--color-accent));
  border-radius: 2px;
  animation: progressFill 3s ease forwards 0.3s;
}

@keyframes progressFill {
  0% {
    width: 0%;
  }

  20% {
    width: 20%;
  }

  40% {
    width: 45%;
  }

  60% {
    width: 65%;
  }

  80% {
    width: 85%;
  }

  100% {
    width: 100%;
  }
}

.progress-text {
  font-family: monospace;
  font-size: 0.6rem;
  color: var(--color-text-muted);
}

/* Floating Tech Tags */
.builder-floating-tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.builder-tag {
  position: absolute;
  padding: 4px 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-family: monospace;
  font-size: 0.6rem;
  font-weight: 600;
  animation: tagFloat 4s ease-in-out infinite;
}

.tag-html {
  top: -8px;
  right: 50px;
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
  animation-delay: 0s;
}

.tag-css {
  top: 40%;
  right: -15px;
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
  animation-delay: -1s;
}

.tag-js {
  bottom: 30px;
  right: -10px;
  color: #fbbf24;
  border-color: rgba(234, 179, 8, 0.3);
  animation-delay: -2s;
}

.tag-react {
  bottom: 60px;
  left: -15px;
  color: #22d3ee;
  border-color: rgba(6, 182, 212, 0.3);
  animation-delay: -3s;
}

@keyframes tagFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-6px) rotate(3deg);
  }
}

/* Loop Animation - Reset and Replay */
.website-builder-animation {
  animation: builderLoop 6s ease-in-out infinite;
}

@keyframes builderLoop {

  0%,
  95% {
    opacity: 1;
  }

  97% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .website-builder-animation {
    max-width: 100%;
  }

  .block-layout {
    grid-template-columns: 1fr;
  }

  .build-block-sidebar {
    display: none;
  }

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

  .builder-floating-tags {
    display: none;
  }
}

/* ==================== SERVICES PAGE ==================== */
.services-hero {
  padding-top: 150px;
  padding-bottom: var(--spacing-2xl);
  text-align: center;
}

/* Services Hero Animated */
.services-hero-animated {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Gradient Orbs */
.services-hero-animated .gradient-orbs {
  position: absolute;
  inset: 0;
}

.services-hero-animated .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.services-hero-animated .orb-1 {
  width: 400px;
  height: 400px;
  background: var(--color-cta);
  top: -100px;
  left: -100px;
  animation: orb-float 8s ease-in-out infinite;
}

.services-hero-animated .orb-2 {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  bottom: -50px;
  right: -50px;
  animation: orb-float 10s ease-in-out infinite reverse;
}

.services-hero-animated .orb-3 {
  width: 200px;
  height: 200px;
  background: var(--color-accent-secondary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orb-pulse 6s ease-in-out infinite;
}

@keyframes orb-float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, -30px) scale(1.1);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  75% {
    transform: translate(20px, 30px) scale(1.05);
  }
}

@keyframes orb-pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.5;
  }
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  inset: 0;
}

.floating-bracket {
  position: absolute;
  font-family: monospace;
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-cta);
  opacity: 0.2;
  animation: bracket-float 5s ease-in-out infinite;
}

.bracket-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  font-size: 3rem;
}

.bracket-2 {
  top: 60%;
  right: 15%;
  animation-delay: -1.5s;
  color: var(--color-accent);
}

.bracket-3 {
  bottom: 25%;
  left: 20%;
  animation-delay: -3s;
  color: var(--color-accent-secondary);
}

@keyframes bracket-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.2;
  }

  50% {
    transform: translateY(-20px) rotate(10deg);
    opacity: 0.4;
  }
}

.floating-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-cta-light);
  animation: icon-float 6s ease-in-out infinite;
}

.floating-icon svg {
  width: 100%;
  height: 100%;
}

.icon-1 {
  top: 15%;
  right: 20%;
  animation-delay: 0s;
}

.icon-2 {
  top: 45%;
  left: 8%;
  animation-delay: -2s;
}

.icon-3 {
  bottom: 20%;
  right: 12%;
  animation-delay: -4s;
}

@keyframes icon-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-15px) rotate(5deg);
  }

  75% {
    transform: translateY(10px) rotate(-3deg);
  }
}

/* Code Rain Effect */
.code-rain {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.1;
}

.code-rain::before {
  content: '<div> </> {css} function() return; const let var import export class extends implements interface type async await promise fetch api json html body head script style link meta href src alt width height margin padding border display flex grid align justify content items center start end column row gap wrap nowrap position absolute relative fixed sticky top left right bottom z-index overflow hidden visible scroll auto none block inline';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--color-cta);
  word-wrap: break-word;
  line-height: 2;
  animation: rain-scroll 30s linear infinite;
}

@keyframes rain-scroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

/* Hero Content */
.services-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.services-badge {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  border-color: rgba(59, 130, 246, 0.3);
}

.services-hero-content h1 {
  margin-bottom: var(--spacing-lg);
}

.title-line {
  display: block;
  font-size: 0.6em;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
}

.title-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.title-animated {
  display: inline-block;
  background-size: 200% auto;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {

  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }
}

.cursor-blink {
  color: var(--color-cta);
  animation: cursor-blink 1s step-end infinite;
  font-weight: 300;
}

@keyframes cursor-blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.services-hero-description {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Stats */
.services-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: var(--glass-blur);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-cta-light);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: var(--spacing-xs);
}

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

@media (max-width: 768px) {
  .services-hero-animated {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: var(--spacing-xl);
  }

  .floating-icon,
  .floating-bracket {
    display: none;
  }

  .services-hero-stats {
    flex-direction: column;
    gap: var(--spacing-md);
  }

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

  .stat-number {
    font-size: 2rem;
  }
}

/* Price Badge */
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(59, 130, 246, 0.15));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-success);
  margin-bottom: var(--spacing-md);
}

.price-badge svg {
  color: var(--color-success);
}

.price-badge-custom {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.15));
  border-color: rgba(139, 92, 246, 0.3);
  color: var(--color-accent);
}

.price-badge-custom svg {
  color: var(--color-accent);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  padding: var(--spacing-3xl) 0;
  border-bottom: 1px solid var(--glass-border);
}

.service-detail:nth-child(even) .service-detail-content {
  order: 2;
}

.service-detail-visual {
  aspect-ratio: 16/10;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-detail-visual svg {
  width: 80px;
  height: 80px;
  color: var(--color-cta-light);
  opacity: 0.5;
}

.service-detail-image {
  padding: 0;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.service-detail:hover .service-detail-image img {
  transform: scale(1.05);
}

.service-detail-content h3 {
  margin-bottom: var(--spacing-md);
}

.service-detail-content p {
  margin-bottom: var(--spacing-md);
}

.service-detail-list {
  list-style: none;
  margin-bottom: var(--spacing-lg);
}

.service-detail-list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-xs) 0;
  color: var(--color-text-muted);
}

.service-detail-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-success);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .service-detail-content {
    order: 0;
  }
}

/* SEO Section Visual */
.seo-visual {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1));
  position: relative;
  overflow: hidden;
}

.seo-graphic {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
}

.seo-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
  margin-bottom: var(--spacing-md);
}

.chart-bar {
  width: 30px;
  background: linear-gradient(180deg, var(--color-cta) 0%, var(--color-accent) 100%);
  border-radius: 4px 4px 0 0;
  animation: bar-grow 2s ease-out forwards;
  opacity: 0.8;
}

.bar-1 {
  height: 30%;
  animation-delay: 0s;
}

.bar-2 {
  height: 45%;
  animation-delay: 0.2s;
}

.bar-3 {
  height: 55%;
  animation-delay: 0.4s;
}

.bar-4 {
  height: 75%;
  animation-delay: 0.6s;
}

.bar-5 {
  height: 100%;
  animation-delay: 0.8s;
  background: linear-gradient(180deg, var(--color-success) 0%, var(--color-cta) 100%);
}

@keyframes bar-grow {
  0% {
    transform: scaleY(0);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

.seo-arrow {
  position: absolute;
  top: 20%;
  right: 20%;
  color: var(--color-success);
  animation: arrow-bounce 2s ease-in-out infinite;
}

.seo-arrow svg {
  width: 48px;
  height: 48px;
}

@keyframes arrow-bounce {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(10px, -10px);
  }
}

.seo-keywords {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.keyword {
  padding: 6px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  animation: keyword-pop 0.5s ease-out forwards;
  opacity: 0;
}

.keyword-1 {
  color: var(--color-success);
  border-color: rgba(16, 185, 129, 0.3);
  animation-delay: 1s;
}

.keyword-2 {
  color: var(--color-cta-light);
  border-color: rgba(59, 130, 246, 0.3);
  animation-delay: 1.2s;
}

.keyword-3 {
  color: var(--color-accent);
  border-color: rgba(139, 92, 246, 0.3);
  animation-delay: 1.4s;
}

@keyframes keyword-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  70% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.seo-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.2));
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--color-success);
}

/* SEO Benefits Grid */
.seo-benefits {
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.seo-benefits h4 {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.benefit-item {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.2));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-success);
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.benefit-text strong {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  color: var(--color-primary);
}

.benefit-text span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Hosting Visual */
.hosting-visual {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
  position: relative;
}

.server-graphic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl);
}

.server-rack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--spacing-md);
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.server-unit {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(30, 30, 50, 0.8), rgba(20, 20, 35, 0.9));
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.server-lights {
  display: flex;
  gap: 6px;
}

.light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.light-green {
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}

.light-blue {
  background: var(--color-cta);
  box-shadow: 0 0 8px var(--color-cta);
}

.light.blink {
  animation: light-blink 1s ease-in-out infinite;
}

.light.blink-delay {
  animation: light-blink 1s ease-in-out infinite 0.5s;
}

@keyframes light-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.server-bars {
  flex: 1;
  height: 6px;
  background: repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.1) 0px,
      rgba(255, 255, 255, 0.1) 4px,
      transparent 4px,
      transparent 8px);
  border-radius: 3px;
}

.cloud-icon {
  color: var(--color-cta-light);
  animation: cloud-float 4s ease-in-out infinite;
}

.cloud-icon svg {
  width: 64px;
  height: 64px;
}

@keyframes cloud-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ==================== CONTACT PAGE ==================== */
.contact-hero {
  padding-top: 150px;
  padding-bottom: var(--spacing-2xl);
  text-align: center;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-cta-light);
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.contact-form-card {
  padding: var(--spacing-xl);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem var(--spacing-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-cta);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394A3B8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

.form-select option {
  background: var(--color-background);
  color: var(--color-text);
}

.form-submit {
  width: 100%;
  margin-top: var(--spacing-md);
}

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
}

/* ==================== FAQ PAGE ==================== */
.faq-hero {
  padding-top: 150px;
  padding-bottom: var(--spacing-2xl);
  text-align: center;
}

.faq-categories {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
}

.faq-category-btn {
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-category-btn:hover,
.faq-category-btn.active {
  background: var(--color-cta);
  border-color: var(--color-cta);
  color: var(--color-primary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--spacing-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  background: var(--glass-bg-hover);
}

.faq-question svg {
  width: 24px;
  height: 24px;
  color: var(--color-cta-light);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-question {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-answer-content {
  padding: var(--spacing-md) var(--spacing-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.faq-answer-content p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ==================== FOOTER ==================== */
.footer {
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
  border-top: 1px solid var(--glass-border);
  margin-top: var(--spacing-3xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.footer-logo svg {
  width: 40px;
  height: 40px;
}

.footer-brand p {
  font-size: 0.9375rem;
  margin-bottom: var(--spacing-md);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-cta);
  border-color: var(--color-cta);
  color: var(--color-primary);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-cta-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--glass-border);
}

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

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-bottom-links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

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

  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
}

/* ==================== PAGE HEADER (SUB-PAGES) ==================== */
.page-header {
  padding-top: 150px;
  padding-bottom: var(--spacing-2xl);
  text-align: center;
}

.page-header h1 {
  margin-bottom: var(--spacing-md);
}

.page-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

/* ==================== LOADING STATES ==================== */
.btn-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-top {
  position: fixed;
  bottom: var(--spacing-lg);
  right: var(--spacing-lg);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cta);
  border: none;
  border-radius: var(--radius-md);
  color: var(--color-primary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: var(--z-sticky);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--color-cta-hover);
  transform: translateY(-4px);
}

.scroll-top svg {
  width: 24px;
  height: 24px;
}

/* ============================================================
   AUTH PAGES (login.html, register.html)
   ============================================================ */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  background: var(--color-background);
  background-image: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

.auth-card {
  max-width: 460px;
  width: 100%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--glass-blur);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.auth-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.auth-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--spacing-md);
}

.auth-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-subtitle {
  color: var(--color-text-muted);
  font-size: 0.938rem;
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  position: relative;
}

.auth-input-group label {
  font-size: 0.813rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.auth-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--glass-bg-hover);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.938rem;
  transition: var(--transition-base);
  color-scheme: dark;
}

select.auth-input option {
  background-color: #1a1a1a;
  color: #ffffff;
}

.auth-input:focus {
  outline: none;
  border-color: var(--color-cta);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.auth-input::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

.auth-password-toggle {
  position: absolute;
  right: 1rem;
  top: 2.25rem;
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.25rem;
  transition: var(--transition-fast);
}

.auth-password-toggle:hover {
  color: var(--color-text);
}

.auth-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  border: none;
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.938rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: var(--shadow-md);
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(59, 130, 246, 0.3);
}

.auth-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-error {
  color: var(--color-error);
  font-size: 0.875rem;
  margin-top: var(--spacing-sm);
}

.auth-success {
  color: var(--color-success);
  font-size: 0.875rem;
  margin-top: var(--spacing-sm);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  color: var(--color-text-muted);
  font-size: 0.813rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}

.auth-footer {
  text-align: center;
  margin-top: var(--spacing-xl);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.auth-footer a {
  color: var(--color-cta);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* ============================================================
   DASHBOARD LAYOUT (dashboard.html, admin.html)
   ============================================================ */

.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
  background: var(--color-background);
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  border-right: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  padding: var(--spacing-xl);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.dashboard-sidebar-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: var(--spacing-lg);
}

.dashboard-user-info {
  text-align: center;
}

.dashboard-user-info h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.938rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.dashboard-nav-item:hover {
  background: var(--glass-bg-hover);
  color: var(--color-text);
}

.dashboard-nav-item.active {
  background: var(--glass-bg-hover);
  color: var(--color-cta);
  border-left: 3px solid var(--color-cta);
  padding-left: calc(1rem - 3px);
}

.dashboard-nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.dashboard-nav-divider {
  height: 1px;
  background: var(--glass-border);
  margin: var(--spacing-sm) 0;
}

.dashboard-main {
  padding: var(--spacing-xl);
  background: var(--color-background-lighter);
  overflow-y: auto;
}

.dashboard-section {
  display: none;
}

.dashboard-section.active {
  display: block;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.dashboard-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

/* ============================================================
   DASHBOARD COMPONENTS
   ============================================================ */

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-top: 4px solid var(--color-cta);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  backdrop-filter: var(--glass-blur);
  transition: var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--glass-border-hover);
}

.stat-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg-hover);
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-md);
}

.stat-card-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
}

.stat-card-label {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.profile-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  backdrop-filter: var(--glass-blur);
  margin-bottom: var(--spacing-xl);
}

.profile-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.profile-form .auth-input-group:last-child {
  grid-column: 1 / -1;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-client {
  background: rgba(59, 130, 246, 0.15);
  color: var(--color-cta);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-admin {
  background: rgba(139, 92, 246, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.users-table {
  width: 100%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--glass-blur);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.users-table thead {
  background: var(--glass-bg-hover);
}

.users-table th {
  text-align: left;
  padding: 1rem;
  color: var(--color-text-muted);
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.users-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--glass-border);
  color: var(--color-text);
}

.users-table tr:last-child td {
  border-bottom: none;
}

.users-table tr:hover {
  background: var(--glass-bg-hover);
}

.table-actions {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.813rem;
}

.btn-danger {
  background: var(--color-error);
  color: var(--color-text);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.938rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
}

.btn-danger:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.938rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
}

.btn-outline:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
}

/* ============================================================
   TOAST NOTIFICATIONS (Auth)
   ============================================================ */

.toast-auth {
  position: fixed;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: var(--glass-blur);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  animation: slideInRight 0.3s ease-out;
}

.toast-auth.success {
  border-left: 4px solid var(--color-success);
}

.toast-auth.error {
  border-left: 4px solid var(--color-error);
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.dashboard-mobile-toggle {
  display: none;
  position: fixed;
  top: var(--spacing-md);
  left: var(--spacing-md);
  z-index: 1000;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  cursor: pointer;
  backdrop-filter: var(--glass-blur);
}

/* ============================================================
   RESPONSIVE (Mobile)
   ============================================================ */

@media (max-width: 768px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
  }

  .dashboard-sidebar.open {
    transform: translateX(0);
  }

  .dashboard-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dashboard-main {
    padding: var(--spacing-md);
    padding-top: calc(var(--spacing-md) + 60px);
  }

  .dashboard-title {
    font-size: 1.75rem;
  }

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

  .auth-card {
    max-width: 100%;
    margin-inline: 1rem;
    padding: 2rem;
  }

  .auth-title {
    font-size: 1.5rem;
  }

  .profile-form {
    grid-template-columns: 1fr;
  }

  .users-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .stat-card-value {
    font-size: 1.5rem;
  }
}


/* ==================== NAVBAR AUTH (Login Button + Profile Dropdown) ==================== */

.nav-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.nav-login-btn svg {
  width: 16px;
  height: 16px;
}

/* Profile Button */
.nav-profile {
  position: relative;
}

.nav-profile-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.nav-profile-btn:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.nav-profile-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
}

.nav-profile-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.nav-profile-chevron {
  width: 14px;
  height: 14px;
  color: var(--color-text-muted);
  transition: transform 0.2s ease;
}

.nav-profile.open .nav-profile-chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-profile-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  background: var(--color-background-lighter);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1001;
  overflow: hidden;
}

.nav-profile.open .nav-profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-profile-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.nav-profile-dropdown a:hover {
  background: var(--glass-bg-hover);
}

.nav-profile-dropdown a svg {
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
}

.nav-profile-dropdown .dropdown-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 0;
}

.nav-profile-dropdown .dropdown-logout {
  color: var(--color-error);
}

.nav-profile-dropdown .dropdown-logout svg {
  color: var(--color-error);
}

/* ==================== LOGIN MODAL ==================== */

.login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.login-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.login-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 1rem;
  background: var(--color-background-lighter);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.login-modal-overlay.active .login-modal {
  transform: scale(1) translateY(0);
}

.login-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0;
}

.login-modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
}

.login-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.login-modal-close:hover {
  background: var(--glass-bg-hover);
  color: var(--color-text);
}

.login-modal-close svg {
  width: 16px;
  height: 16px;
}

.login-modal-body {
  padding: 1.5rem;
}

.login-modal-error {
  display: none;
  padding: 0.75rem 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  color: var(--color-error);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.login-modal .auth-input-group {
  margin-bottom: 1rem;
}

.login-modal .auth-input-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.login-modal .auth-input {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.login-modal .auth-input:focus {
  outline: none;
  border-color: var(--color-cta);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.login-modal .auth-btn {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.login-modal .auth-btn:hover {
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}

.login-modal .auth-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.login-modal-footer {
  padding: 0 1.5rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.login-modal-footer a {
  color: var(--color-cta-light);
  text-decoration: none;
  font-weight: 500;
}

.login-modal-footer a:hover {
  text-decoration: underline;
}

/* Mobile adjustments for navbar auth */
@media (max-width: 768px) {
  .nav-profile-name {
    display: none;
  }

  .nav-profile-btn {
    padding: 0.25rem;
  }

  .nav-profile-chevron {
    display: none;
  }

  .nav-profile-dropdown {
    right: -1rem;
  }
}

/* ============================================================
   WEBSITE STATUS INDICATORS & MODAL
   ============================================================ */

/* Status indicator dot */
.status-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}

.status-indicator.online {
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}

.status-indicator.offline {
  background: var(--color-error);
  box-shadow: 0 0 8px var(--color-error);
}

.status-indicator.loading {
  background: var(--color-warning);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* Website card with status */
.website-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.website-card-title {
  display: flex;
  align-items: center;
  margin: 0;
}

.website-card-actions {
  display: flex;
  gap: 0.5rem;
}

/* Plus d'options Modal Overlay */
.site-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.site-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.site-modal {
  background: var(--color-background-lighter);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
}

.site-modal-overlay.active .site-modal {
  transform: translateY(0) scale(1);
}

.site-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.site-modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-family: var(--font-heading);
}

.site-modal-close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}

.site-modal-close:hover {
  color: var(--color-text);
}

.site-modal-body {
  padding: 1.5rem;
}

/* Site Options Menu */
.site-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-option-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.938rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  width: 100%;
}

.site-option-btn:hover {
  background: var(--glass-bg-hover);
  border-color: var(--color-cta);
  transform: translateX(4px);
}

.site-option-btn svg {
  width: 20px;
  height: 20px;
  color: var(--color-cta);
  flex-shrink: 0;
}

.site-option-btn span {
  flex: 1;
}

/* Change Request Modal Content */
.change-request-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.change-request-form textarea {
  min-height: 150px;
  resize: vertical;
}

.change-request-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.change-request-info strong {
  color: var(--color-cta);
}

/* Stats Modal Content */
.stats-period-selector {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stats-period-btn {
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.stats-period-btn.active,
.stats-period-btn:hover {
  background: var(--color-cta);
  border-color: var(--color-cta);
  color: var(--color-primary);
}

.stats-chart-container {
  height: 200px;
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.stats-bar {
  flex: 1;
  background: linear-gradient(to top, var(--color-cta), var(--color-accent));
  border-radius: 4px 4px 0 0;
  min-height: 10px;
  transition: height 0.3s ease;
}

.stats-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.stats-summary-item {
  text-align: center;
  padding: 0.75rem;
  background: var(--glass-bg);
  border-radius: var(--radius-md);
}

.stats-summary-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cta);
}

.stats-summary-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

/* History List */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.history-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-cta);
}

.history-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.history-content {
  flex: 1;
}

.history-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.history-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Overview Sites Preview */
.sites-preview {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.sites-preview-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.site-preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

.site-preview-item:hover {
  background: var(--glass-bg-hover);
}

.site-preview-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.site-preview-domain {
  font-size: 0.813rem;
  color: var(--color-text-muted);
}

/* Visitor Chart in Overview */
.visitor-chart-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.visitor-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.visitor-chart-title {
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .site-modal {
    width: 95%;
    max-height: 90vh;
  }

  .stats-summary {
    grid-template-columns: 1fr;
  }

  .stats-period-selector {
    flex-wrap: wrap;
  }
}

/* ==================== LANGUAGE SWITCHER ==================== */
.lang-switch-item {
  display: flex;
  align-items: center;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  transition: color var(--transition-fast), background var(--transition-fast);
  line-height: 1;
}

.lang-btn:hover {
  color: var(--color-cta-light);
}

.lang-btn.active {
  color: var(--color-text);
  font-weight: 700;
  background: rgba(59, 130, 246, 0.15);
}

.lang-separator {
  color: var(--glass-border-hover);
  font-size: 0.75rem;
  user-select: none;
  line-height: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .lang-switch-item {
    justify-content: center;
    padding: 0.5rem 0;
  }

  .lang-switch {
    padding: 0.375rem 0.75rem;
  }
}

/* ============================================================
   Status badges — site requests
   ============================================================ */
.badge-pending       { background: rgba(245, 158, 11, 0.15); color: #F59E0B; border: 1px solid rgba(245,158,11,0.3); }
.badge-approved      { background: rgba(59, 130, 246, 0.15); color: #3B82F6; border: 1px solid rgba(59,130,246,0.3); }
.badge-in-development{ background: rgba(139, 92, 246, 0.15); color: #8B5CF6; border: 1px solid rgba(139,92,246,0.3); }
.badge-mockup-review { background: rgba(236, 72, 153, 0.15); color: #EC4899; border: 1px solid rgba(236,72,153,0.3); }
.badge-revision-review { background: rgba(6, 182, 212, 0.15); color: #06B6D4; border: 1px solid rgba(6,182,212,0.3); }
.badge-delivered     { background: rgba(16, 185, 129, 0.15); color: #10B981; border: 1px solid rgba(16,185,129,0.3); }
.badge-rejected      { background: rgba(239, 68, 68, 0.15); color: #EF4444; border: 1px solid rgba(239,68,68,0.3); }
.badge-cancelled     { background: rgba(107, 114, 128, 0.15); color: #6B7280; border: 1px solid rgba(107,114,128,0.3); }

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ============================================================
   Milestones timeline
   ============================================================ */
.milestones-timeline {
  margin-top: 1rem;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.milestone-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  font-size: 0.875rem;
}

.milestone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
  background: var(--color-text-muted);
}

.milestone-dot.completed { background: var(--color-success); }
.milestone-dot.pending   { background: var(--color-secondary); }
.milestone-dot.approval  { background: var(--color-cta); }
.milestone-dot.revision  { background: var(--color-warning, #F59E0B); }

.milestone-info { flex: 1; }
.milestone-title { font-weight: 600; color: var(--color-text); }
.milestone-deadline { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 2px; }
.milestone-actions { margin-top: 0.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ============================================================
   Chat
   ============================================================ */
.chat-container {
  display: flex;
  height: 520px;
  gap: 1rem;
}

.chat-conversations {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

.chat-conversation-item {
  padding: 0.75rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.chat-conversation-item:hover,
.chat-conversation-item.active {
  border-color: var(--color-cta);
  background: var(--glass-bg-hover);
}

.chat-conversation-name { font-weight: 600; font-size: 0.875rem; color: var(--color-text); }
.chat-conversation-preview { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-unread-badge { display: inline-block; background: var(--color-cta); color: #fff; border-radius: 9999px; font-size: 0.65rem; font-weight: 700; padding: 1px 6px; margin-left: 4px; }

.chat-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  overflow: hidden;
}

.chat-messages-area {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-bubble {
  max-width: 72%;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  word-break: break-word;
}

.chat-bubble.sent {
  align-self: flex-end;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-bottom-right-radius: 4px;
  color: var(--color-text);
}

.chat-bubble.received {
  align-self: flex-start;
  background: var(--glass-bg-hover);
  border: 1px solid var(--glass-border);
  border-bottom-left-radius: 4px;
  color: var(--color-text);
}

.chat-bubble-meta {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.chat-bubble.sent .chat-bubble-meta { text-align: right; }

.chat-input-area {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--glass-border);
  background: var(--glass-bg);
}

.chat-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  color: var(--color-text);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.chat-input:focus { border-color: var(--color-cta); }

.chat-send-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-cta));
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.15s;
}
.chat-send-btn:hover { opacity: 0.85; transform: scale(1.05); }
.chat-send-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.chat-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .chat-container { flex-direction: column; height: auto; }
  .chat-conversations { width: 100%; height: 180px; }
  .chat-panel { height: 380px; }
}

/* ============================================================
   Request card (dashboard)
   ============================================================ */
.request-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  transition: border-color var(--transition-fast);
}

.request-card:hover { border-color: var(--glass-border-hover); }
.request-card-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.request-card-title { font-weight: 700; font-size: 1rem; }
.request-card-meta { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.25rem; }
.request-card-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }

/* Rejection note */
.rejection-note {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 0.5rem;
  font-size: 0.85rem;
  color: #EF4444;
}

/* Admin requests table */
.requests-table { width: 100%; border-collapse: collapse; }
.requests-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--glass-border);
}
.requests-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.875rem;
  vertical-align: middle;
}
.requests-table tr:last-child td { border-bottom: none; }
.requests-table tr:hover td { background: var(--glass-bg-hover); }

/* Modal tabs */
.modal-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--glass-border); margin-bottom: 1.5rem; }
.modal-tab {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.modal-tab.active { color: var(--color-cta); border-bottom-color: var(--color-cta); }
.modal-tab-panel { display: none; }
.modal-tab-panel.active { display: block; }

/* ============================================================
   Feature #7: Skeleton loaders & Empty states
   ============================================================ */
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%); background-size: 200% 100%; animation: skeleton-shimmer 1.5s ease-in-out infinite; border-radius: 8px; }
@keyframes skeleton-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { height: 120px; margin-bottom: 1rem; }
.skeleton-line { height: 16px; margin-bottom: 0.5rem; }
.skeleton-line.short { width: 60%; }
.skeleton-line.medium { width: 80%; }
.skeleton-circle { width: 48px; height: 48px; border-radius: 50%; }
.skeleton-stat { height: 100px; }

.empty-state { text-align: center; padding: 3rem 2rem; }
.empty-state-icon { width: 80px; height: 80px; margin: 0 auto 1.5rem; opacity: 0.5; }
.empty-state-icon svg { width: 100%; height: 100%; }
.empty-state-title { font-size: 1.1rem; font-weight: 600; color: var(--color-text); margin-bottom: 0.5rem; }
.empty-state-desc { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; max-width: 400px; margin-left: auto; margin-right: auto; }
.empty-state-cta { display: inline-flex; align-items: center; gap: 0.5rem; }

.error-state { text-align: center; padding: 2rem; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); border-radius: 12px; }
.error-state-btn { margin-top: 1rem; }

/* ============================================================
   Feature #3: Onboarding wizard
   ============================================================ */
.onboarding-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 100; display: flex; align-items: center; justify-content: center; }
.onboarding-modal { background: var(--color-background-lighter); border: 1px solid var(--glass-border); border-radius: 16px; padding: 2.5rem; max-width: 500px; width: 90%; position: relative; }
.onboarding-skip { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--color-text-muted); cursor: pointer; font-size: 0.85rem; }
.onboarding-skip:hover { color: var(--color-text); }
.onboarding-dots { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; }
.onboarding-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); transition: all 0.3s; }
.onboarding-dot.active { background: var(--color-cta); transform: scale(1.2); }
.onboarding-dot.completed { background: var(--color-success); }
.onboarding-content { min-height: 200px; }
.onboarding-content h2 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.onboarding-content p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.6; }
.onboarding-actions { display: flex; justify-content: space-between; margin-top: 2rem; gap: 1rem; }
.onboarding-spotlight { position: fixed; z-index: 99; box-shadow: 0 0 0 9999px rgba(0,0,0,0.75); border-radius: 8px; border: 2px solid var(--color-cta); pointer-events: none; transition: all 0.4s ease; }

/* ============================================================
   Feature #1: Notification center
   ============================================================ */
.top-actions-bar { position: fixed; top: 1rem; right: 1.5rem; display: flex; align-items: center; gap: 0.5rem; z-index: 100; }
.notification-bell-container { position: relative; padding: 0.5rem 1.25rem; }
.notification-bell-btn { background: none; border: none; color: var(--color-text-muted); cursor: pointer; position: relative; padding: 0.5rem; border-radius: 8px; transition: all 0.2s; }
.notification-bell-btn:hover { color: var(--color-text); background: rgba(255,255,255,0.05); }
.notification-badge { position: absolute; top: 0; right: 0; background: var(--color-error); color: white; font-size: 0.65rem; font-weight: 700; border-radius: 9999px; min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

.notification-panel { position: absolute; top: 100%; right: 0; left: auto; min-width: 320px; background: var(--color-background-lighter); border: 1px solid var(--glass-border); border-radius: 12px; max-height: 400px; overflow-y: auto; z-index: 50; box-shadow: var(--shadow-lg); }
.notification-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border-bottom: 1px solid var(--glass-border); }
.notification-panel-header h4 { margin: 0; font-size: 0.9rem; }
.notification-mark-all { background: none; border: none; color: var(--color-cta); cursor: pointer; font-size: 0.8rem; }
.notification-item { display: flex; gap: 0.75rem; padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.03); cursor: pointer; transition: background 0.15s; }
.notification-item:hover { background: rgba(255,255,255,0.03); }
.notification-item.unread { background: rgba(59,130,246,0.05); }
.notification-item-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-cta); margin-top: 6px; flex-shrink: 0; }
.notification-item.read .notification-item-dot { opacity: 0; }
.notification-item-content { flex: 1; min-width: 0; }
.notification-item-title { font-size: 0.85rem; font-weight: 600; color: var(--color-text); }
.notification-item-message { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notification-item-time { font-size: 0.7rem; color: var(--color-text-muted); margin-top: 4px; }

.notification-toast { position: fixed; top: 1.5rem; right: 1.5rem; background: var(--color-background-lighter); border: 1px solid var(--glass-border); border-left: 3px solid var(--color-cta); border-radius: 10px; padding: 1rem 1.25rem; max-width: 350px; z-index: 200; transform: translateX(120%); transition: transform 0.3s ease; box-shadow: var(--shadow-lg); }
.notification-toast.show { transform: translateX(0); }
.notification-toast-title { font-size: 0.85rem; font-weight: 600; color: var(--color-text); }
.notification-toast-message { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.25rem; }

/* ============================================================
   Feature #2: Visual project timeline
   ============================================================ */
.visual-timeline { position: relative; padding: 1rem 0; }
.timeline-progress-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding: 1rem; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; }
.timeline-progress-bar { flex: 1; height: 8px; background: rgba(255,255,255,0.08); border-radius: 4px; margin: 0 1rem; overflow: hidden; }
.timeline-progress-fill { height: 100%; background: linear-gradient(90deg, var(--color-cta), var(--color-success)); border-radius: 4px; transition: width 0.5s ease; }
.timeline-phase-label { font-size: 0.8rem; font-weight: 600; color: var(--color-cta); white-space: nowrap; }
.timeline-percent { font-size: 0.85rem; font-weight: 700; color: var(--color-text); white-space: nowrap; }

.timeline-items { position: relative; padding-left: 2rem; }
.timeline-items::before { content: ''; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.08); }
.timeline-item { position: relative; padding: 0 0 1.5rem 1.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item-dot { position: absolute; left: -2rem; top: 0.25rem; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; border: 2px solid transparent; transition: all 0.3s; }
.timeline-item-dot.completed { background: linear-gradient(135deg, var(--color-success), var(--color-cta)); border-color: var(--color-success); }
.timeline-item-dot.completed::after { content: '\2713'; color: white; font-size: 0.7rem; font-weight: 700; }
.timeline-item-dot.active { background: var(--color-cta); border-color: var(--color-cta); animation: timeline-pulse 2s ease-in-out infinite; }
.timeline-item-dot.pending { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.timeline-item-dot.revision { background: var(--color-warning, #F59E0B); border-color: var(--color-warning, #F59E0B); }
@keyframes timeline-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.4); } 50% { box-shadow: 0 0 0 8px rgba(59,130,246,0); } }

.timeline-item-connector { position: absolute; left: -2rem; top: 24px; width: 2px; bottom: 0; margin-left: 11px; }
.timeline-item.completed .timeline-item-connector { background: linear-gradient(180deg, var(--color-success), var(--color-cta)); }

.timeline-item-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 0.5rem 0; }
.timeline-item-title { font-weight: 600; font-size: 0.9rem; color: var(--color-text); }
.timeline-item.completed .timeline-item-title { color: var(--color-success); }
.timeline-item-deadline { font-size: 0.75rem; color: var(--color-text-muted); }
.timeline-item-detail { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; padding-left: 0; }
.timeline-item-detail.open { max-height: 300px; padding-top: 0.5rem; }
.timeline-item-status { font-size: 0.75rem; padding: 0.15rem 0.5rem; border-radius: 9999px; display: inline-block; margin-top: 0.25rem; }

/* ============================================================
   Feature #5: Activity log
   ============================================================ */
.activity-log { margin-top: 1rem; border-top: 1px solid var(--glass-border); padding-top: 1rem; }
.activity-log-toggle { background: none; border: none; color: var(--color-cta); cursor: pointer; font-size: 0.8rem; display: flex; align-items: center; gap: 0.25rem; }
.activity-log-toggle:hover { text-decoration: underline; }
.activity-log-list { margin-top: 0.75rem; }
.activity-log-item { display: flex; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
.activity-log-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.75rem; }
.activity-log-icon.status-change { background: rgba(59,130,246,0.15); color: var(--color-cta); }
.activity-log-icon.milestone { background: rgba(16,185,129,0.15); color: var(--color-success); }
.activity-log-icon.domain { background: rgba(139,92,246,0.15); color: var(--color-accent); }
.activity-log-icon.rating { background: rgba(245,158,11,0.15); color: #F59E0B; }
.activity-log-icon.general { background: rgba(255,255,255,0.08); color: var(--color-text-muted); }
.activity-log-desc { font-size: 0.8rem; color: var(--color-text); }
.activity-log-time { font-size: 0.7rem; color: var(--color-text-muted); margin-top: 2px; }
.activity-log-more { background: none; border: none; color: var(--color-cta); cursor: pointer; font-size: 0.75rem; margin-top: 0.5rem; }

/* ============================================================
   Feature #4: Enhanced chat
   ============================================================ */
.chat-attach-btn { cursor: pointer; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--color-text-muted); transition: all 0.2s; flex-shrink: 0; }
.chat-attach-btn:hover { color: var(--color-cta); background: rgba(59,130,246,0.1); }
.chat-read-receipt { display: inline-flex; margin-left: 4px; font-size: 0.7rem; }
.chat-read-receipt.read { color: var(--color-cta); }
.chat-read-receipt.sent { color: var(--color-text-muted); }
.chat-file-card { background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 8px; padding: 0.5rem 0.75rem; margin-top: 0.25rem; display: flex; align-items: center; gap: 0.5rem; max-width: 250px; }
.chat-file-card a { color: var(--color-cta); font-size: 0.8rem; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-file-card .file-size { font-size: 0.7rem; color: var(--color-text-muted); }
.chat-img-preview { max-width: 300px; max-height: 200px; border-radius: 8px; cursor: pointer; margin-top: 0.25rem; }
.chat-typing { display: flex; gap: 4px; align-items: center; padding: 0.5rem 1rem; }
.chat-typing-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-text-muted); animation: typing-bounce 1.4s ease-in-out infinite; }
.chat-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce { 0%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-6px); } }
.chat-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 200; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.chat-lightbox img { max-width: 90%; max-height: 90%; border-radius: 8px; }

/* ============================================================
   Feature #6: Satisfaction survey & NPS
   ============================================================ */
.rating-stars { display: flex; gap: 0.25rem; }
.rating-star { cursor: pointer; width: 32px; height: 32px; color: rgba(255,255,255,0.15); transition: all 0.2s; }
.rating-star.active, .rating-star.preview { color: #F59E0B; }
.rating-star.active { animation: star-bounce 0.3s ease; }
@keyframes star-bounce { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }

.rating-slider-group { margin: 1rem 0; }
.rating-slider-label { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 0.25rem; }
.rating-slider { width: 100%; appearance: none; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.1); outline: none; }
.rating-slider::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--color-cta); cursor: pointer; }
.rating-slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--color-cta); cursor: pointer; border: none; }

.nps-scale { display: flex; gap: 4px; flex-wrap: wrap; }
.nps-btn { width: 36px; height: 36px; border: 1px solid var(--glass-border); border-radius: 8px; background: var(--glass-bg); color: var(--color-text); cursor: pointer; font-size: 0.8rem; font-weight: 600; transition: all 0.2s; }
.nps-btn:hover { border-color: var(--color-cta); }
.nps-btn.active { background: var(--color-cta); border-color: var(--color-cta); color: white; }
.nps-btn.detractor.active { background: var(--color-error); border-color: var(--color-error); }
.nps-btn.passive.active { background: #F59E0B; border-color: #F59E0B; }
.nps-btn.promoter.active { background: var(--color-success); border-color: var(--color-success); }

.confetti-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 100; overflow: hidden; }
.confetti { position: absolute; width: 10px; height: 10px; top: -10px; animation: confetti-fall 3s ease-out forwards; }
@keyframes confetti-fall { to { transform: translateY(100vh) rotate(720deg); opacity: 0; } }

/* ============================================================
   Feature #8: Help center
   ============================================================ */
.help-search-container { margin-bottom: 1.5rem; position: relative; }
.help-search-input { width: 100%; padding: 0.75rem 1rem 0.75rem 2.5rem; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 10px; color: var(--color-text); font-size: 0.9rem; font-family: var(--font-body); }
.help-search-input:focus { border-color: var(--color-cta); outline: none; }
.help-search-icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--color-text-muted); pointer-events: none; }
.help-categories { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.help-category-pill { padding: 0.4rem 1rem; border-radius: 9999px; background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--color-text-muted); cursor: pointer; font-size: 0.8rem; transition: all 0.2s; }
.help-category-pill:hover, .help-category-pill.active { background: rgba(59,130,246,0.15); border-color: var(--color-cta); color: var(--color-cta); }
.help-article { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; margin-bottom: 0.75rem; overflow: hidden; }
.help-article-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; cursor: pointer; }
.help-article-header:hover { background: rgba(255,255,255,0.02); }
.help-article-title { font-weight: 600; font-size: 0.9rem; color: var(--color-text); }
.help-article-chevron { transition: transform 0.2s; color: var(--color-text-muted); }
.help-article.open .help-article-chevron { transform: rotate(180deg); }
.help-article-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.help-article.open .help-article-body { max-height: 500px; }
.help-article-content { padding: 0 1.25rem 1.25rem; color: var(--color-text-muted); font-size: 0.85rem; line-height: 1.7; }
.help-article-category { font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 9999px; background: rgba(139,92,246,0.15); color: var(--color-accent); }
.help-no-results { text-align: center; padding: 2rem; color: var(--color-text-muted); }

/* ============================================================
   Feature #10: Theme toggle (light theme)
   ============================================================ */
[data-theme="light"] {
  --color-primary: #1E293B;
  --color-secondary: #475569;
  --color-background: #F8FAFC;
  --color-background-lighter: #FFFFFF;
  --color-text: #1E293B;
  --color-text-muted: #64748B;
  --glass-bg: rgba(0, 0, 0, 0.03);
  --glass-bg-hover: rgba(0, 0, 0, 0.06);
  --glass-border: rgba(0, 0, 0, 0.1);
  --glass-border-hover: rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
}
[data-theme="light"] body::before { opacity: 0.3; }
[data-theme="light"] .dashboard-sidebar { background: rgba(255, 255, 255, 0.95); border-right-color: rgba(0, 0, 0, 0.1); }
[data-theme="light"] .stat-card, [data-theme="light"] .profile-card, [data-theme="light"] .request-card { background: rgba(255, 255, 255, 0.8); border-color: rgba(0, 0, 0, 0.08); }
[data-theme="light"] .auth-input { background: rgba(0, 0, 0, 0.03); border-color: rgba(0, 0, 0, 0.1); color: #1E293B; }
[data-theme="light"] .chat-bubble.sent { background: linear-gradient(135deg, #3B82F6, #2563EB); color: white; }
[data-theme="light"] .chat-bubble.received { background: rgba(0, 0, 0, 0.05); color: #1E293B; }
[data-theme="light"] .chat-input { background: rgba(0, 0, 0, 0.03); border-color: rgba(0, 0, 0, 0.1); color: #1E293B; }
[data-theme="light"] .notification-panel { background: #FFFFFF; }
[data-theme="light"] .site-modal { background: #FFFFFF; }
[data-theme="light"] .onboarding-modal { background: #FFFFFF; }
[data-theme="light"] .skeleton { background: linear-gradient(90deg, rgba(0,0,0,0.04) 25%, rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.04) 75%); background-size: 200% 100%; animation: skeleton-shimmer 1.5s ease-in-out infinite; }
[data-theme="light"] .help-article { background: rgba(255,255,255,0.8); }
[data-theme="light"] .timeline-item-dot.pending { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.15); }
[data-theme="light"] .nps-btn { background: rgba(255,255,255,0.8); }

.theme-toggle-btn { background: none; border: none; color: var(--color-text-muted); cursor: pointer; padding: 0.5rem; border-radius: 8px; transition: all 0.2s; margin: 0 1.25rem; display: flex; align-items: center; justify-content: center; }
.theme-toggle-btn:hover { color: var(--color-text); background: rgba(255,255,255,0.05); }
[data-theme="light"] .theme-toggle-btn:hover { background: rgba(0,0,0,0.05); }
[data-theme="light"] .theme-icon-dark { display: none !important; }
[data-theme="light"] .theme-icon-light { display: block !important; }

/* ============================================================
   Feature #11: Milestone calendar view
   ============================================================ */
.milestone-view-toggle { display: flex; gap: 0; margin-bottom: 1rem; }
.milestone-view-btn { padding: 0.4rem 1rem; border: 1px solid var(--glass-border); background: transparent; color: var(--color-text-muted); cursor: pointer; font-size: 0.8rem; transition: all 0.2s; }
.milestone-view-btn:first-child { border-radius: 8px 0 0 8px; }
.milestone-view-btn:last-child { border-radius: 0 8px 8px 0; }
.milestone-view-btn.active { background: var(--color-cta); border-color: var(--color-cta); color: white; }

.calendar-container { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; padding: 1rem; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.calendar-nav { background: none; border: none; color: var(--color-text-muted); cursor: pointer; padding: 0.4rem; border-radius: 6px; font-size: 1rem; }
.calendar-nav:hover { color: var(--color-text); background: rgba(255,255,255,0.05); }
.calendar-month { font-weight: 600; font-size: 1rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.calendar-day-header { text-align: center; font-size: 0.7rem; font-weight: 600; color: var(--color-text-muted); padding: 0.5rem; }
.calendar-day { position: relative; text-align: center; padding: 0.5rem; min-height: 40px; border-radius: 8px; cursor: default; font-size: 0.8rem; color: var(--color-text-muted); transition: all 0.15s; }
.calendar-day.current-month { color: var(--color-text); }
.calendar-day.today { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.3); font-weight: 700; }
.calendar-day.has-milestone { cursor: pointer; }
.calendar-day.has-milestone:hover { background: rgba(255,255,255,0.05); }
.calendar-day-dots { display: flex; justify-content: center; gap: 2px; margin-top: 2px; }
.calendar-day-dot { width: 6px; height: 6px; border-radius: 50%; }
.calendar-day-dot.completed { background: var(--color-success); }
.calendar-day-dot.active { background: var(--color-cta); animation: timeline-pulse 2s infinite; }
.calendar-day-dot.pending { background: var(--color-text-muted); }
.calendar-day-dot.action-needed { background: var(--color-warning, #F59E0B); animation: timeline-pulse 2s infinite; }
.calendar-popup { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--color-background-lighter); border: 1px solid var(--glass-border); border-radius: 10px; padding: 0.75rem 1rem; min-width: 200px; z-index: 10; box-shadow: var(--shadow-lg); font-size: 0.8rem; text-align: left; }

/* ============================================================
   Feature #12: Invoice portal
   ============================================================ */
.invoice-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.invoice-table th { text-align: left; padding: 0.75rem 1rem; font-size: 0.75rem; font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--glass-border); }
.invoice-table td { padding: 0.75rem 1rem; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.03); }
.invoice-table tr:hover td { background: rgba(255,255,255,0.02); }
.invoice-amount { font-weight: 600; font-variant-numeric: tabular-nums; }
.invoice-download-btn { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.3rem 0.6rem; border-radius: 6px; background: rgba(59,130,246,0.1); color: var(--color-cta); border: none; cursor: pointer; font-size: 0.8rem; transition: all 0.2s; }
.invoice-download-btn:hover { background: rgba(59,130,246,0.2); }
.invoice-status { padding: 0.2rem 0.6rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; }
.invoice-status.paid { background: rgba(16,185,129,0.15); color: var(--color-success); }
.invoice-status.pending { background: rgba(245,158,11,0.15); color: #F59E0B; }
.invoice-status.overdue { background: rgba(239,68,68,0.15); color: var(--color-error); }

/* ============================================================
   Feature #9: Email digest preferences
   ============================================================ */
.toggle-switch { position: relative; display: inline-block; width: 48px; height: 26px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background: rgba(255,255,255,0.1); border-radius: 26px; transition: 0.3s; }
.toggle-slider::before { content: ''; position: absolute; height: 20px; width: 20px; left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: 0.3s; }
.toggle-switch input:checked + .toggle-slider { background: var(--color-cta); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }

@media (max-width: 768px) {
  .invoice-table { font-size: 0.8rem; }
  .invoice-table th, .invoice-table td { padding: 0.5rem; }
  .calendar-popup { min-width: 160px; }
  .nps-scale { gap: 2px; }
  .nps-btn { width: 30px; height: 30px; font-size: 0.7rem; }
  .notification-toast { max-width: 280px; right: 0.75rem; top: 0.75rem; }
}