/* Axencia.co — World-Class Enhanced UI */
/* Dark Blue Glassmorphism + Animated Gradients */

:root {
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(59, 130, 246, 0.15);
  --glass-blur: 24px;
  --blue-dark: #0f172a;
  --blue-deep: #1e293b;
  --blue-mid: #334155;
  --blue-accent: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.4);
  --blue-cyan: #06b6d4;
  --indigo-deep: #4338ca;
  --gradient-1: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  --gradient-2: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.1) 50%, rgba(59, 130, 246, 0.15) 100%);
  --gradient-3: linear-gradient(90deg, #3b82f6, #06b6d4, #6366f1, #3b82f6);
  --gradient-animated: linear-gradient(-45deg, #0f172a, #1e3a5f, #0c4a6e, #1e293b);
  --gradient-animated-size: 400% 400%;
}

/* Animated gradient background */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--blue-glow); }
  50% { box-shadow: 0 0 40px var(--blue-glow); }
}

@keyframes border-glow {
  0%, 100% { border-color: rgba(59, 130, 246, 0.3); }
  50% { border-color: rgba(6, 182, 212, 0.5); }
}

/* Glassmorphism base */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
}

/* Navbar glassmorphism */
.navbar {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.12);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar .nav-progress {
  background: var(--gradient-3);
  background-size: 200% 100%;
  animation: gradientFlow 3s ease infinite;
}

/* Enhanced cards - glassmorphism */
.expertise-card,
.testimonial-card,
.plan-card,
.service-item,
.cta-box {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-card:hover,
.testimonial-card:hover,
.service-item:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(59, 130, 246, 0.08);
  transform: translateY(-6px);
}

/* Card hover indicator */
.expertise-card::before,
.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-3);
  background-size: 200% 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.expertise-card:hover::before,
.plan-card:hover::before {
  opacity: 1;
  animation: gradientFlow 2s ease infinite;
}

.expertise-card,
.plan-card {
  position: relative;
  overflow: hidden;
}

/* CyberShield Banner */
.cybershield-banner {
  position: relative;
  padding: 80px 24px;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1200px;
  border-radius: 24px;
  margin-bottom: 100px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.cybershield-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.cybershield-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-animated);
  background-size: var(--gradient-animated-size);
  animation: gradientShift 8s ease infinite;
  border-radius: 24px;
  z-index: 0;
}

.cybershield-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, transparent 50%, rgba(6, 182, 212, 0.15) 100%);
  border-radius: 24px;
  pointer-events: none;
  z-index: 1;
}

.cybershield-banner-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
}

.cybershield-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.cybershield-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

.cybershield-banner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cybershield-banner p {
  color: rgba(203, 213, 225, 0.9);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 560px;
}

.cybershield-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.cybershield-features span {
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 8px;
  font-size: 0.9rem;
  color: #93c5fd;
  transition: all 0.3s ease;
}

.cybershield-features span:hover {
  background: rgba(59, 130, 246, 0.25);
  transform: translateY(-2px);
}

.cybershield-features-expanded {
  gap: 10px;
}

.cybershield-features-expanded span {
  animation: featurePulse 3s ease-in-out infinite;
}

.cybershield-features-expanded span:nth-child(1) { animation-delay: 0s; }
.cybershield-features-expanded span:nth-child(2) { animation-delay: 0.2s; }
.cybershield-features-expanded span:nth-child(3) { animation-delay: 0.4s; }
.cybershield-features-expanded span:nth-child(4) { animation-delay: 0.6s; }
.cybershield-features-expanded span:nth-child(5) { animation-delay: 0.8s; }
.cybershield-features-expanded span:nth-child(6) { animation-delay: 1s; }
.cybershield-features-expanded span:nth-child(7) { animation-delay: 1.2s; }
.cybershield-features-expanded span:nth-child(8) { animation-delay: 1.4s; }
.cybershield-features-expanded span:nth-child(9) { animation-delay: 1.6s; }
.cybershield-features-expanded span:nth-child(10) { animation-delay: 1.8s; }
.cybershield-features-expanded span:nth-child(11) { animation-delay: 2s; }
.cybershield-features-expanded span:nth-child(12) { animation-delay: 2.2s; }

@keyframes featurePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.cybershield-banner .btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border: 1px solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.cybershield-banner .btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.cybershield-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cybershield-logo {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(6, 182, 212, 0.2) 100%);
  border: 2px solid rgba(59, 130, 246, 0.4);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #93c5fd;
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cybershield-logo::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-3);
  background-size: 200% 200%;
  border-radius: 26px;
  z-index: -1;
  animation: gradientShift 4s ease infinite;
  opacity: 0.5;
}

/* Responsive CyberShield banner */
@media (max-width: 768px) {
  .cybershield-banner-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cybershield-banner p { margin-left: auto; margin-right: auto; }
  .cybershield-features { justify-content: center; }
}

/* Core Development highlight banner (index) */
.dev-highlight-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 24px;
  padding: 48px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dev-highlight-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  opacity: 0.7;
}

.dev-highlight-inner .section-tag {
  display: inline-block;
  margin-bottom: 16px;
}

.dev-highlight-inner h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 16px;
  color: #e8e8ed;
}

.dev-highlight-inner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.dev-highlight-inner .btn {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .dev-highlight-banner { padding: 36px 24px; }
}

/* Enhanced hero */
.hero-bg .hero-glow {
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
}

.hero-grid {
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
}

/* Button enhancements */
.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 3s infinite;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
}

/* Form container glassmorphism */
.form-container {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Section tag indicator */
.section-tag {
  position: relative;
  padding-left: 1rem;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--gradient-3);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Marquee gradient */
.marquee-track span {
  background: linear-gradient(135deg, #93c5fd, #c7d2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* CTA box enhanced */
.cta-box {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-3);
  background-size: 200% 100%;
  animation: gradientFlow 4s ease infinite;
}

/* Stat indicator */
.stat {
  position: relative;
}

.stat::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gradient-3);
  border-radius: 2px;
  opacity: 0.6;
}

/* Nav link hover indicator */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-3);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta::after { display: none; }

/* CyberShield Nav Button */
.nav-cybershield {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #93c5fd !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.nav-cybershield::before {
  content: '🛡';
  font-size: 0.95rem;
}
.nav-cybershield:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(6, 182, 212, 0.25));
  border-color: rgba(59, 130, 246, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}
.nav-cybershield::after { display: none; }

/* Featured service item */
.service-item-featured {
  border-color: rgba(59, 130, 246, 0.3) !important;
  background: rgba(59, 130, 246, 0.08) !important;
}

.service-item-featured:hover {
  border-color: rgba(59, 130, 246, 0.5) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 60px rgba(59, 130, 246, 0.15) !important;
}
