/* ===== EasyScope Landing — Premium Design System ===== */

/* --- Typography --- */
.fw-extrabold { font-weight: 800 !important; }
.tracking-tight { letter-spacing: -0.03em; }
.ls-1 { letter-spacing: 0.08em; }
.lh-relaxed { line-height: 1.8; }

/* --- Gradient Text --- */
.text-gradient-primary {
  background: linear-gradient(135deg, #01016D 0%, #0A38FF 50%, #00BAFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Brand Colors --- */
:root {
  --es-primary: #0A38FF;
  --es-primary-rgb: 10, 56, 255;
  --es-secondary: #01016D;
  --es-accent: #00BAFF;
  --es-surface: #f8fafc;
  --es-dark: #01016D;
  --es-dark-2: #05054d;

  /* Around Template Overrides (Light Mode Default) */
  --ar-primary: #0A38FF;
  --ar-primary-rgb: 10, 56, 255;
  --ar-link-color: #0A38FF;
  --ar-link-hover-color: #00BAFF;
}

[data-bs-theme="dark"] {
  --ar-primary: #00BAFF;
  --ar-primary-rgb: 0, 186, 255;
  --ar-link-color: #00BAFF;
  --ar-link-hover-color: #0A38FF;
}

/* --- Core Animations --- */
.transition-smooth { transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.hover-lift { transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease; }
.hover-lift:hover { transform: translateY(-8px); box-shadow: 0 20px 60px -15px rgba(0,0,0,0.15) !important; }
.hover-scale:hover { transform: scale(1.03); }

/* --- Blurs & Glass --- */
.blur-3xl { filter: blur(80px); }
.blur-2xl { filter: blur(50px); }
.backdrop-blur-sm { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.backdrop-blur-md { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.glass-card {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
}
[data-bs-theme="dark"] .glass-card {
  background: rgba(30,41,59,0.85) !important;
  border-color: rgba(255,255,255,0.1);
}
.glass-dark {
  background: rgba(15,23,42,0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* --- Shadows --- */
.shadow-glow { box-shadow: 0 0 40px rgba(0, 186, 255, 0.3); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25) !important; }
.shadow-colored { box-shadow: 0 20px 40px -10px rgba(10, 56, 255, 0.3); }

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(0, 186, 255, 0.2) 0%, transparent 70%);
  animation: orbFloat1 20s ease-in-out infinite;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(10, 56, 255, 0.25) 0%, transparent 70%);
  animation: orbFloat2 25s ease-in-out infinite;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  top: 40%; left: 50%;
  background: radial-gradient(circle, rgba(0, 186, 255, 0.2) 0%, transparent 70%);
  animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(1.05); }
  66% { transform: translate(20px, -30px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -20px) scale(1.1); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-50px, 30px); }
}

/* --- Badge Pill --- */
.badge-glow {
  position: relative;
  overflow: hidden;
}
.badge-glow::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 200%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* --- Stats Bar --- */
.stats-bar {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}
.stat-item {
  position: relative;
  padding: 1.5rem 1rem;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(10, 56, 255, 0.3), transparent);
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #01016D, #0A38FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

/* --- Product Cards --- */
.product-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(10, 56, 255, 0), rgba(10, 56, 255, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background 0.5s ease;
  pointer-events: none;
}
.product-card:hover::before {
  background: linear-gradient(135deg, #0A38FF, #00BAFF);
}
.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px -15px rgba(var(--es-primary-rgb), 0.2);
}
.product-card .product-icon {
  width: 64px; height: 64px;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.product-card:hover .product-icon { transform: scale(1.15) rotate(5deg); }

/* --- Feature Cards --- */
.feature-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
  transition: 0.6s;
}
.feature-card:hover::after { left: 150%; }
.feature-card:hover {
  border-color: rgba(var(--es-primary-rgb), 0.2);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 0.875rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon { transform: scale(1.1); }

/* --- How It Works --- */
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.25rem;
  background: linear-gradient(135deg, #01016D, #0A38FF);
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.step-connector {
  position: absolute;
  left: 24px; top: 56px; bottom: -8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(var(--es-primary-rgb),0.3), transparent);
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
}
.cta-section .cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: ctaPulse 6s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.15; }
  50% { transform: scale(1.05); opacity: 0.25; }
}

/* --- Integration Logos --- */
.integration-logo {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.4s ease;
}
.integration-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* --- Buttons --- */
.btn-es-primary {
  background: linear-gradient(135deg, #0A38FF, #00BAFF);
  border: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
[data-bs-theme="dark"] .btn-es-primary {
  background: linear-gradient(135deg, #00BAFF, #0A38FF);
}
.btn-es-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #00BAFF, #0A38FF);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.btn-es-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(var(--es-primary-rgb), 0.4); }
.btn-es-primary:hover::before { opacity: 1; }

.btn-glass {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Misc --- */
.rounded-4 { border-radius: 1rem !important; }
.rounded-5 { border-radius: 1.5rem !important; }
.section-padding { padding: 5rem 0; }

@media (max-width: 767.98px) {
  .section-padding { padding: 3rem 0; }
  .stat-number { font-size: 1.75rem; }
  .stat-item:not(:last-child)::after { display: none; }
  .hero-section { min-height: auto; padding-top: 8rem; padding-bottom: 4rem; }
}
