/* Global variables for consistent theming */
:root {
  --primary-gradient: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
  --accent-gradient: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.5);
  --tech-bg: #f8fafc;
  --tech-cyan: #06b6d4;
  --tech-blue: #3b82f6;
}

/* Background Grid Overlay */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(78, 115, 223, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 115, 223, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
  pointer-events: none;
}

.hero-section {
  padding-top: 140px !important;
  position: relative;
  background: var(--tech-bg) !important;
  background-image: 
    radial-gradient(at 0% 0%, rgba(78, 115, 223, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.08) 0px, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 35c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm60-13c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM15 70c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm81-32c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zM44 45c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm40-36c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM70 70c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm0-40c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234e73df' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* Background Animated Blobs */
.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.scan-line {
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(78, 115, 223, 0.3), transparent);
  animation: scanning 8s linear infinite;
  z-index: 5;
}

@keyframes scanning {
  0% { top: 0; }
  100% { top: 100%; }
}

.blob-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(78, 115, 223, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(100px);
  animation: float-blob 20s infinite alternate;
}

.blob-2 {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(100px);
  animation: float-blob 25s infinite alternate-reverse;
}

@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(60px, 40px) scale(1.15);
  }
}

/* Hero Typography */
.fw-black {
  font-weight: 900 !important;
}
.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow-badge {
  display: inline-flex;
  padding: 8px 16px;
  background: white;
  border: 1px solid rgba(78, 115, 223, 0.15);
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #4e73df;
  letter-spacing: 0.5px;
}

/* Premium Buttons */
.btn-primary-premium {
  background: var(--primary-gradient);
  color: white !important;
  padding: 16px 36px;
  border-radius: 14px;
  font-weight: 700;
  border: none;
  box-shadow: 0 10px 25px rgba(78, 115, 223, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
}

.btn-primary-premium:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(78, 115, 223, 0.35), 0 0 15px rgba(78, 115, 223, 0.4);
  filter: brightness(1.1);
}

.btn-outline-premium {
  background: white;
  color: #1e293b !important;
  padding: 16px 36px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
}

.btn-outline-premium:hover {
  border-color: #4e73df;
  color: #4e73df !important;
  background: rgba(78, 115, 223, 0.02);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Stats Row */
.hero-stats-row {
  align-items: center;
}
.stat-mini {
  display: flex;
  flex-direction: column;
}
.stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-txt {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  line-height: 1.2;
}
.stat-divider {
  width: 1px;
  height: 30px;
  background: #e2e8f0;
}

/* Glass Hero Card */
.glass-card-hero {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 500px;
  margin-left: auto;
  animation: float-card 6s ease-in-out infinite;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.glass-header {
  background: rgba(255, 255, 255, 0.5);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dots-group {
  display: flex;
  gap: 6px;
  margin-right: 20px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red {
  background: #ff5f56;
}
.dot.yellow {
  background: #ffbd2e;
}
.dot.green {
  background: #27c93f;
}

.glass-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  font-family: monospace;
}

.checklist-premium {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist-premium li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 600;
  color: #334155;
}

.checklist-premium li i {
  color: #10b981;
  font-size: 1.2rem;
}

.status-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Cards Sections */
.features-section {
  padding: 100px 0;
  background: #fff;
}

.section-title {
  font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.feature-card {
  background: #f8fafc;
  border-radius: 24px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f1f5f9;
  height: 100%;
}

.feature-card:hover {
  background: #fff;
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
  border-color: #4e73df;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #4e73df;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 25px;
}

.roles-section {
  padding: 100px 0;
  background: var(--tech-bg) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.steps-section {
  padding: 100px 0 140px;
  background: #fff;
}

.step-card {
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #f1f5f9;
  height: 100%;
  transition: all 0.3s ease;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 20px;
}

.role-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.role-card:hover {
  border-color: #4e73df;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.role-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive */
@media (max-width: 992px) {
  .container {
    padding: 0 30px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .glass-card-hero {
    margin: 0 auto;
  }
  .display-3 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .display-3 {
    font-size: 2.5rem;
  }
  .hero-section {
    padding-top: 100px !important;
  }
}

/* Floating Icons Animation */
.tech-icon-float {
  position: absolute;
  font-size: 3rem;
  z-index: 1;
  animation: float-slow 12s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.15;
}

.icon-docker { top: 20%; left: 8%; animation-delay: 0s; color: #2496ed; font-size: 4rem; }
.icon-cloud { top: 65%; left: 85%; animation-delay: 2s; color: #0ea5e9; }
.icon-server { top: 18%; left: 78%; animation-delay: 4s; color: #4e73df; }
.icon-code { top: 70%; left: 12%; animation-delay: 1s; color: #06b6d4; }

@keyframes float-slow {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-30px) rotate(15deg) scale(1.1); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}

.gradient-text {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
