/* Agentique v3.2 — Visual Upgrade: Premium Depth & Glow */
/* Transforms flat dark theme into a living, breathing premium experience */

/* ===== FLOATING AMBIENT ORBS ===== */
/* These create depth and atmosphere across the entire page */

.ambient-orb {
  display: none;
}

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

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 50px) scale(0.9); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-60px, -40px); }
}

/* ===== ENHANCED HERO ===== */
.hero {
  overflow: hidden;
}

.hero h1 {
  position: relative;
  text-shadow: 0 0 80px rgba(168, 85, 247, 0.3);
}

/* Animated gradient text for hero headline */
.hero h1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #a855f7, #ec4899, transparent);
  border-radius: 2px;
}

/* ===== ENHANCED CARDS — Glassmorphic with glow ===== */
.card {
  background: rgba(26, 26, 26, 0.6) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  position: relative;
  overflow: hidden;
}

/* Subtle top-edge gradient highlight */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.card:hover {
  background: rgba(26, 26, 26, 0.8) !important;
  border-color: rgba(168, 85, 247, 0.2) !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(168, 85, 247, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* ===== ICON CONTAINERS — Gradient glow ===== */
.card [data-lucide] {
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.4));
}

/* ===== SECTION BACKGROUNDS — Depth layers ===== */
/* Problem section — subtle radial glow */
#problem {
  position: relative;
}

#problem::before {
  display: none;
}

/* Before/After section enhanced */
.section[style*="bg-secondary"] {
  position: relative;
}

/* ===== COMPARISON CARDS — Enhanced ===== */
.comparison-card {
  background: rgba(26, 26, 26, 0.6) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.comparison-card.highlighted {
  background: rgba(26, 26, 26, 0.8) !important;
  border: 1px solid rgba(168, 85, 247, 0.4) !important;
  box-shadow: 
    0 0 60px rgba(168, 85, 247, 0.12),
    0 0 120px rgba(168, 85, 247, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.4) !important;
}

.comparison-card.highlighted::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #a855f7, #ec4899, #6366f1);
  border-radius: 1px;
}

/* ===== ENHANCED BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, #a855f7, #ec4899) !important;
  box-shadow: 
    0 4px 24px rgba(168, 85, 247, 0.3),
    0 0 40px rgba(168, 85, 247, 0.1) !important;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 60%
  );
  animation: btnShimmer 3s ease-in-out infinite;
}

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

.btn-primary:hover {
  box-shadow: 
    0 6px 32px rgba(168, 85, 247, 0.4),
    0 0 60px rgba(168, 85, 247, 0.15) !important;
  transform: translateY(-2px);
}

/* ===== STATS SECTION — Glow numbers ===== */
.text-gradient {
  text-shadow: 0 0 40px rgba(168, 85, 247, 0.3);
}

/* ===== SECTION DIVIDERS — Subtle lines ===== */
.section + .section::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  margin: 0 auto;
  width: 60%;
}

/* ===== GRADIENT MESH BACKGROUNDS FOR KEY SECTIONS ===== */
/* How we work section */
#how-we-work {
  position: relative;
  overflow: hidden;
}

#how-we-work::after {
  display: none;
}

/* Final CTA — clean */
.gradient-bg {
  background: #0a0a0a !important;
  position: relative;
  overflow: hidden;
}

.gradient-bg::before {
  display: none !important;
}

@keyframes ctaGlow {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0.6; }
  50% { transform: translate(5%, -5%) rotate(3deg); opacity: 1; }
  100% { transform: translate(-5%, 5%) rotate(-3deg); opacity: 0.6; }
}

/* ===== ACCORDION ENHANCED ===== */
.accordion-item {
  border-color: rgba(255, 255, 255, 0.06) !important;
  background: rgba(26, 26, 26, 0.4);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.accordion-item:hover {
  border-color: rgba(168, 85, 247, 0.2) !important;
}

.accordion-header {
  background: transparent !important;
}

/* ===== FOOTER — Subtle glow ===== */
.footer {
  background: #0a0a0a !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  position: relative;
}

.footer::before {
  display: none;
}

/* ===== NOISE TEXTURE OVERLAY ===== */
/* Adds subtle grain for premium feel */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===== NAV ENHANCED ===== */
.nav {
  background: rgba(10, 10, 10, 0.85) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #a855f7, #ec4899, #6366f1);
  z-index: 10001;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* ===== CURSOR GLOW (subtle) ===== */
.cursor-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.07), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  will-change: left, top;
}

/* ===== INDUSTRY TABS ENHANCED ===== */
.tab-button {
  position: relative;
  padding: 0.75rem 1.5rem !important;
  border-radius: var(--radius-full) !important;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease !important;
}

.tab-button:hover {
  background: rgba(168, 85, 247, 0.1) !important;
  color: var(--color-text-primary) !important;
}

.tab-button.active {
  background: rgba(168, 85, 247, 0.15) !important;
  color: var(--color-accent-start) !important;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
}

/* ===== INDUSTRY FEATURES GRID ===== */
@media (max-width: 900px) {
  .industry-features {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 500px) {
  .industry-features {
    grid-template-columns: 1fr !important;
  }
}

/* ===== HERO GRID RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center;
  }
  
  .hero-grid h1 {
    text-align: center !important;
  }
  
  .hero-grid p {
    text-align: center !important;
  }
  
  .hero-grid > div:first-child > div:nth-child(4) {
    justify-content: center !important;
  }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .ambient-orb {
    opacity: 0.2;
  }
  
  .orb-1 { width: 300px; height: 300px; }
  .orb-2 { width: 250px; height: 250px; }
  .orb-3 { width: 200px; height: 200px; }
  .orb-4 { display: none; }
  
  .cursor-glow { display: none; }
}
