/*
 * ClockEye Component Library
 * Professional Tech Design
 */

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  padding: var(--spacing-3) var(--spacing-6);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  min-height: 44px;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #818cf8);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: #6366f1;
  color: #818cf8;
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.btn-large {
  padding: var(--spacing-5) var(--spacing-10);
  font-size: var(--font-size-lg);
  min-height: 56px;
}

.btn-large:hover {
  animation: subtleBounce 0.4s ease;
}

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

.btn-block {
  width: 100%;
}

.btn-glow {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite, glowPulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5), 0 0 40px rgba(236, 72, 153, 0.3);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 60%
  );
  transform: translateX(-100%) rotate(45deg);
  transition: none;
}

.btn-glow:hover::after {
  animation: btnShine 0.6s ease forwards;
}

@keyframes btnShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.btn-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.7), 0 0 60px rgba(236, 72, 153, 0.5);
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899, #f97316, #06b6d4, #6366f1);
  background-size: 400% 400%;
  animation: rainbowBorder 4s ease infinite;
  border-radius: inherit;
  z-index: -1;
  filter: blur(15px);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.btn-glow:hover::before {
  opacity: 1;
  filter: blur(10px);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.5), 0 0 40px rgba(236, 72, 153, 0.3); }
  50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.7), 0 0 60px rgba(236, 72, 153, 0.5); }
}

@keyframes rainbowBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  25% { background-position: 50% 100%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 0%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

.btn-arrow {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ========================================
   NAVIGATION
   ======================================== */
nav, #navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--spacing-4) 0;
  background: rgba(15, 15, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

nav.scrolled, #navbar.scrolled {
  padding: var(--spacing-3) 0;
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--spacing-4);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  text-decoration: none;
}

.logo-text {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.logo-text-accent {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.nav-links {
  display: none;
  gap: var(--spacing-1);
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a,
.nav-links > li > .nav-trigger {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  transition: all 0.2s ease;
  padding: var(--spacing-2) var(--spacing-3);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  border-radius: var(--radius-md);
}

.nav-links > li > a:hover,
.nav-links > li > .nav-trigger:hover,
.nav-links > li:hover > a,
.nav-links > li:hover > .nav-trigger {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background: rgba(99, 102, 241, 0.2);
}

.nav-arrow {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.nav-links > li:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-buttons {
  display: none;
  gap: var(--spacing-3);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: white;
  border-radius: var(--radius-xl);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.2);
  border: 1px solid var(--gray-200);
  padding: var(--spacing-6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1001;
  min-width: 280px;
}

.mega-menu.wide {
  min-width: 560px;
}

.nav-links > li:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

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

.mega-menu-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.mega-menu-section h4 {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--spacing-3);
  padding-bottom: var(--spacing-2);
  border-bottom: 1px solid var(--gray-100);
  font-weight: 600;
}

.mega-menu-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
}

.mega-menu-links a {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-2) var(--spacing-3);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}

.mega-menu-links a:hover {
  background: rgba(99, 102, 241, 0.2);
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.menu-icon {
  font-size: 1rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.mega-menu-links a:hover .menu-icon {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  color: var(--white);
}

.menu-item-content {
  display: flex;
  flex-direction: column;
}

.menu-item-title {
  font-weight: 500;
  font-size: var(--font-size-sm);
}

.menu-item-desc {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: var(--radius-xl);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.2);
  border: 1px solid var(--gray-200);
  padding: var(--spacing-2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1001;
  min-width: 200px;
  transform: translateY(8px);
}

.nav-links > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}

.dropdown-menu a:hover {
  background: rgba(99, 102, 241, 0.2);
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mobile Menu Toggle */
.navbar-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--spacing-2);
  background: none;
  border: 1px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
  cursor: pointer;
}

.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

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

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

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

/* Mobile Menu */
.navbar-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.03);
  z-index: 999;
  padding: 100px var(--spacing-6) var(--spacing-6);
  flex-direction: column;
  gap: var(--spacing-4);
}

.navbar-mobile.active {
  display: flex;
}

.navbar-mobile .navbar-link {
  font-size: var(--font-size-lg);
  padding: var(--spacing-3) 0;
  border-bottom: 1px solid var(--gray-100);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  text-decoration: none;
}

.navbar-mobile-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  margin-top: var(--spacing-6);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .nav-buttons {
    display: flex;
  }

  .navbar-toggle {
    display: none;
  }

  .navbar-mobile {
    display: none !important;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px var(--spacing-4) var(--spacing-16);
  overflow: hidden;
  background: linear-gradient(-45deg, #0f0f1a, #1a1a2e, #2d1b4e, #1e3a5f, #0f2744, #1a1a2e);
  background-size: 400% 400%;
  animation: heroGradient 15s ease infinite;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Glowing orb effect */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(236, 72, 153, 0.2) 40%, transparent 70%);
  filter: blur(60px);
  animation: pulseGlow 8s ease-in-out infinite;
  transform: translateX(-50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, rgba(99, 102, 241, 0.2) 40%, transparent 70%);
  animation: floatReverse 18s ease-in-out infinite;
}

/* Morphing blob animation */
@keyframes morph {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: rotate(0deg) scale(1);
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    transform: rotate(90deg) scale(1.1);
  }
  50% {
    border-radius: 50% 60% 30% 60% / 30% 40% 70% 50%;
    transform: rotate(180deg) scale(1);
  }
  75% {
    border-radius: 40% 30% 60% 50% / 70% 50% 40% 60%;
    transform: rotate(270deg) scale(0.9);
  }
}

/* Floating shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
  filter: blur(40px);
}

.hero-shape-1 {
  width: 500px;
  height: 500px;
  top: 10%;
  right: 10%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(168, 85, 247, 0.4));
  animation: morph 15s ease-in-out infinite, float 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  bottom: 20%;
  left: 5%;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(249, 115, 22, 0.3));
  animation: morph 15s ease-in-out infinite reverse, floatReverse 10s ease-in-out infinite;
}

.hero-shape-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 20%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(99, 102, 241, 0.3));
  animation: morph 15s ease-in-out infinite, float 12s ease-in-out infinite;
}

/* Grid pattern */
.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Floating particles */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  box-shadow: 0 0 10px currentColor;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; background: rgba(236, 72, 153, 0.6); }
.particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 1s; background: rgba(6, 182, 212, 0.6); }
.particle:nth-child(3) { left: 70%; top: 30%; animation-delay: 2s; background: rgba(168, 85, 247, 0.6); }
.particle:nth-child(4) { left: 80%; top: 70%; animation-delay: 3s; background: rgba(99, 102, 241, 0.6); }
.particle:nth-child(5) { left: 50%; top: 80%; animation-delay: 4s; background: rgba(249, 115, 22, 0.6); }
.particle:nth-child(6) { left: 90%; top: 40%; animation-delay: 5s; background: rgba(6, 182, 212, 0.6); }

.hero-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-12);
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  margin-bottom: var(--spacing-6);
  animation: fadeInDown 0.6s ease forwards;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.hero-badge:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.hero-content h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-6);
  letter-spacing: -0.03em;
  color: #ffffff;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #06b6d4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

.hero-content h1 .highlight-glow {
  position: relative;
}

.hero-content h1 .highlight-glow::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(20px);
  opacity: 0.5;
  z-index: -1;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-8);
  max-width: 540px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

.hero-trust {
  margin-top: var(--spacing-8);
}

.hero-trust-text {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
}

/* Hero Dashboard Visual */
.hero-visual {
  display: none;
}

.hero-dashboard {
  background: rgba(15, 15, 26, 0.8);
  border-radius: var(--radius-2xl);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 60px rgba(99, 102, 241, 0.2);
  overflow: hidden;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.hero-dashboard:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.dashboard-header {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
  padding: var(--spacing-4) var(--spacing-5);
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-dots {
  display: flex;
  gap: 6px;
}

.dashboard-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dashboard-dots span:nth-child(1) { background: #ff5f57; }
.dashboard-dots span:nth-child(2) { background: #febc2e; }
.dashboard-dots span:nth-child(3) { background: #28c840; }

.dashboard-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: rgba(255, 255, 255, 0.7);
}

.dashboard-content {
  padding: var(--spacing-8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-6);
  background: rgba(0, 0, 0, 0.3);
}

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

.dashboard-stat .stat-value {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dashboard-stat .stat-label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
}

.dashboard-chart {
  grid-column: span 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--spacing-2);
  height: 100px;
  padding-top: var(--spacing-4);
  border-top: 1px solid var(--gray-100);
}

.chart-bar {
  flex: 1;
  background: rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.chart-bar.active {
  background: linear-gradient(180deg, #6366f1, #ec4899);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.chart-bar:hover {
  background: linear-gradient(180deg, #818cf8, #f472b6);
  transform: scaleY(1.1);
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
  }

  .hero-content h1 {
    font-size: var(--font-size-5xl);
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 140px var(--spacing-6) var(--spacing-20);
  }

  .hero-content h1 {
    font-size: var(--font-size-6xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-xl);
  }
}

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
  }

  .hero-visual {
    display: block;
  }
}
/* ========================================
   ANIMATED TEXT CYCLE (Impact Style)
   ======================================== */
.text-cycle-wrapper {
  display: inline-block;
  position: relative;
  height: 1.2em;
  overflow: hidden;
  vertical-align: bottom;
}

.text-cycle {
  display: flex;
  flex-direction: column;
  animation: textCycle 10s infinite;
}

.text-cycle-item {
  height: 1.2em;
  line-height: 1.2;
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 25%, #48dbfb 50%, #ff9ff3 75%, #54a0ff 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 4s ease infinite;
}

@keyframes textCycle {
  0%, 18% { transform: translateY(0); }
  20%, 38% { transform: translateY(-1.2em); }
  40%, 58% { transform: translateY(-2.4em); }
  60%, 78% { transform: translateY(-3.6em); }
  80%, 98% { transform: translateY(-4.8em); }
  100% { transform: translateY(0); }
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ========================================
   LOGO SCROLL (Infinite Carousel)
   ======================================== */
.hero-logos {
  margin-top: var(--spacing-12);
  padding-top: var(--spacing-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-logos-label {
  text-align: center;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--spacing-6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.logo-scroll {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.logo-scroll-track {
  display: flex;
  gap: var(--spacing-10);
  animation: logoScroll 20s linear infinite;
  width: max-content;
}

.company-logo {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  padding: var(--spacing-3) var(--spacing-6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.company-logo:hover {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.1);
}

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


/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
  padding: var(--spacing-20) 0;
  background: linear-gradient(180deg, #0a0a14 0%, #0f0f1a 50%, #0a0a14 100%);
  border-top: 1px solid rgba(99, 102, 241, 0.3);
  border-bottom: 1px solid rgba(236, 72, 153, 0.3);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

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

.stat-card {
  text-align: center;
  padding: var(--spacing-8);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  position: relative;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(99, 102, 241, 0.2);
}

.stat-card .stat-value {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--spacing-3);
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 3s ease infinite;
  position: relative;
  z-index: 1;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.stat-card .stat-label {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.6);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

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

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

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
  margin-bottom: var(--spacing-12);
}

.section-badge {
  display: inline-block;
  padding: var(--spacing-2) var(--spacing-4);
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-4);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: var(--spacing-4) auto 0;
}

.bg-dark .section-subtitle {
  color: var(--gray-400);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
}

/* ========================================
   FEATURE CARDS
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-4);
}

.feature-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: var(--spacing-6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899, #06b6d4);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.2);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--spacing-4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  font-size: 1.5rem;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  color: var(--white);
}

.feature-card-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-2);
  color: rgba(255, 255, 255, 0.95);
}

.feature-card-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
  margin-bottom: 0;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .features-grid {
    gap: var(--spacing-6);
  }
}

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

/* ========================================
   SECURITY SECTION
   ======================================== */
.security-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-12);
  align-items: center;
}

.security-text h2 {
  color: var(--white);
  margin-bottom: var(--spacing-6);
}

.security-text p {
  color: var(--gray-400);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-8);
}

.security-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-4);
}

.security-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-4);
  padding: var(--spacing-4);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.security-icon {
  font-size: 1.25rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.security-feature h4 {
  color: var(--white);
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-1);
  font-weight: 600;
}

.security-feature p {
  color: var(--gray-400);
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

.security-visual {
  display: none;
}

.security-layers {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
}

.layer {
  padding: var(--spacing-3) var(--spacing-5);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--white);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  text-align: center;
  transition: all 0.2s ease;
}

.layer:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateX(4px);
}

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

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

  .security-visual {
    display: block;
  }
}

/* ========================================
   INTEGRATIONS SECTION
   ======================================== */
.integrations-section {
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
}

.integrations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-4);
}

.integration-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: var(--spacing-5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
}

.integration-card:hover {
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.integration-category {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-3);
}

.integration-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
}

.integration-logo {
  padding: var(--spacing-2) var(--spacing-3);
  background: rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: white;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.integrations-cta {
  margin-top: var(--spacing-10);
}

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

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

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-section {
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%) !important;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6);
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: var(--spacing-8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
}

.pricing-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.2);
  transform: translateY(-10px) scale(1.02);
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--spacing-2) var(--spacing-4);
  background: linear-gradient(135deg, #6366f1, #ec4899);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
  color: var(--white);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-full);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--spacing-6);
  padding-bottom: var(--spacing-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-4);
  color: white;
}

.pricing-price {
  margin-bottom: var(--spacing-2);
}

.pricing-price .price {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: white;
}

.pricing-price .period {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
}

.pricing-desc {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--spacing-8);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3) 0;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
}

.pricing-features .check {
  color: #10b981;
  font-weight: bold;
}

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

/* ========================================
   PLATFORMS SECTION
   ======================================== */
.platforms-section {
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
}

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

.platform-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: var(--spacing-6);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
}

.platform-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.platform-icon {
  color: #6366f1;
  font-size: 2rem;
  margin-bottom: var(--spacing-4);
}

.platform-card h4 {
  color: white;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-2);
}

.platform-card p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--spacing-4);
}

.platform-tag {
  display: inline-block;
  padding: var(--spacing-1) var(--spacing-3);
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-full);
}

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

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: var(--gray-900);
  color: var(--white);
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: var(--spacing-4);
}

.cta-content p {
  color: var(--gray-400);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-8);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #818cf8);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.cta-buttons .btn-primary:hover {
  background: rgba(99, 102, 241, 0.2);
}

.cta-buttons .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-outline:hover {
  border-color: #6366f1;
  color: var(--primary);
  background: var(--primary-50);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

@media (min-width: 480px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: var(--spacing-16) 0 var(--spacing-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-12);
}

.footer-brand {
  margin-bottom: var(--spacing-4);
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-4);
  text-decoration: none;
}

.footer-brand-text {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  max-width: 300px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: var(--spacing-4);
  margin-top: var(--spacing-4);
}

.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-lg);
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: var(--white);
}

.footer-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--white);
  margin-bottom: var(--spacing-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: var(--spacing-8);
  border-top: 1px solid var(--gray-800);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  align-items: center;
  text-align: center;
}

.footer-copyright {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
}

.footer-badges {
  display: flex;
  gap: var(--spacing-3);
}

.compliance-badge {
  padding: var(--spacing-1) var(--spacing-3);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 50%, #0f0f1a 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6);
  margin-top: var(--spacing-10);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-xl);
  padding: var(--spacing-8);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--spacing-4);
  right: var(--spacing-6);
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--gray-100);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.2);
}

.testimonial-card.featured {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
  color: var(--white);
  border: 1px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}

.testimonial-card.featured::before {
  color: rgba(255, 255, 255, 0.1);
}

.testimonial-card.featured .testimonial-rating {
  color: #fbbf24;
}

.testimonial-card.featured .testimonial-info span {
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-rating {
  color: #fbbf24;
  font-size: var(--font-size-lg);
  letter-spacing: 2px;
  margin-bottom: var(--spacing-4);
}

.testimonial-text {
  font-size: var(--font-size-lg);
  line-height: 1.7;
  margin-bottom: var(--spacing-6);
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
}

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #6366f1, #ec4899);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  color: var(--white);
  font-size: var(--font-size-sm);
}

.testimonial-card.featured .testimonial-avatar {
  background: rgba(255, 255, 255, 0.2);
}

.testimonial-info strong {
  display: block;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-1);
  color: white;
}

.testimonial-info span {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
}

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

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: var(--spacing-6);
  right: var(--spacing-6);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #6366f1, #ec4899);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
  color: var(--white);
  border: 1px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.5);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.7), 0 0 60px rgba(236, 72, 153, 0.4);
}

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

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

/* ========================================
   ENHANCED CTA SECTION
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 50%, #1e1b4b 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 60%);
  animation: float 20s ease-in-out infinite;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 50%;
  height: 150%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 60%);
  animation: floatReverse 25s ease-in-out infinite;
}

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

.cta-content h2 {
  color: var(--white);
  margin-bottom: var(--spacing-4);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-8);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  justify-content: center;
}

.cta-buttons .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-outline:hover {
  border-color: #6366f1;
  color: var(--primary);
  background: var(--primary-50);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

@media (min-width: 480px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ========================================
   DARK THEME TEXT COLORS
   ======================================== */
.section h2, .features-section h2, .integrations-section h2, .platforms-section h2, .testimonials-section h2, .pricing-section h2 {
  color: white;
}

/* ========================================
   GLOBAL FLOATING ELEMENTS
   ======================================== */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.floating-shape.shape-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  left: -10%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(168, 85, 247, 0.3));
  animation: floatSlow 25s ease-in-out infinite;
}

.floating-shape.shape-2 {
  width: 300px;
  height: 300px;
  top: 60%;
  right: -5%;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(249, 115, 22, 0.3));
  animation: floatSlow 30s ease-in-out infinite reverse;
}

.floating-shape.shape-3 {
  width: 250px;
  height: 250px;
  top: 30%;
  right: 20%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(99, 102, 241, 0.3));
  animation: floatSlow 20s ease-in-out infinite;
}

.floating-shape.shape-4 {
  width: 350px;
  height: 350px;
  bottom: 10%;
  left: 20%;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.2));
  animation: floatSlow 35s ease-in-out infinite reverse;
}

.floating-shape.shape-5 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(6, 182, 212, 0.3));
  animation: floatSlow 22s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -40px) rotate(5deg); }
  50% { transform: translate(-20px, 30px) rotate(-5deg); }
  75% { transform: translate(40px, 20px) rotate(3deg); }
}

/* ========================================
   DASHBOARD ACTIVITY ITEMS
   ======================================== */
.dashboard-activity {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  padding-top: var(--spacing-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-2) var(--spacing-3);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.activity-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 10px currentColor;
}

.activity-dot.cyan { background: #06b6d4; }
.activity-dot.pink { background: #ec4899; }

.activity-text {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
}

/* Stat trend indicator */
.stat-trend {
  display: block;
  font-size: var(--font-size-xs);
  margin-top: var(--spacing-2);
  font-weight: var(--font-weight-semibold);
}

.stat-trend.positive { color: #10b981; }
.stat-trend.negative { color: #ef4444; }

/* Hide floating shapes on mobile for performance */
@media (max-width: 768px) {
  .floating-elements {
    display: none;
  }
}
