/* Services Page Styles - Optimized Landing Page Theme */
:root {
  --brand-1: #60a5fa;
  --brand-2: #8b5cf6;
  --brand-accent: #22c55e;
  --card-bg: rgba(0,0,0,0.5);
  --card-border: rgba(255,255,255,0.1);
}

body {
  font-family: var(--font-family);
  margin: 0;
  color: #e2e8f0;
  background: #000000;
  min-height: 100vh;
  overflow-x: hidden;
}

.services-container {
  position: relative;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(10,10,10,0.4), rgba(10,10,10,0.6));
  backdrop-filter: blur(2px);
  min-height: 100vh;
}

.heading {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 432;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.subheading {
  font-size: clamp(18px, 4.5vw, 28px);
  font-weight: 424;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.body-text {
  font-size: clamp(14px, 2.2vw, 16px);
  font-weight: 460;
  line-height: 1.6;
}

/* Glass Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  transition: left 0.6s ease;
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(96, 165, 250, 0.05);
}

.section-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.section-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96,165,250,0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.brand-gradient-text {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Challenge Analyzer Form */
.challenge-form {
  background: linear-gradient(135deg, rgba(96,165,250,0.1), rgba(139,92,246,0.1));
  border: 1px solid rgba(96,165,250,0.2);
  backdrop-filter: blur(15px);
}

.form-input {
  background: rgba(10,10,10,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  color: white;
  font-family: var(--font-family);
  font-weight: 460;
  font-size: 14px;
  padding: 12px 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-1);
  box-shadow: 0 0 0 3px rgba(96,165,250,0.1);
  background: rgba(10,10,10,0.9);
}

.form-input::placeholder {
  color: rgba(255,255,255,0.5);
}

/* Service Cards */
.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(96, 165, 250, 0.2);
  transform: translateY(-2px);
}

/* Phase Cards */
.phase-card {
  position: relative;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  transition: all 0.3s ease;
}

.phase-card:hover {
  border-color: rgba(96,165,250,0.3);
  box-shadow: 0 20px 40px rgba(96,165,250,0.1);
}

/* Buttons */
.cta-button {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  color: #0a0a0a;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.secondary-button {
  background: linear-gradient(135deg, #a855f7, #9333ea);
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.secondary-button:hover {
  background: linear-gradient(135deg, #9333ea, #7e22ce);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
}

.service-button {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-button:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Implementation Badges */
.implementation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 560;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Section Halo Effects */
.section-halo {
  position: relative;
  isolation: isolate;
}

.section-halo::before {
  content: "";
  position: absolute;
  inset: -10% -5%;
  background: radial-gradient(60% 60% at 20% 20%, rgba(99,102,241,0.08), transparent 60%),
              radial-gradient(50% 50% at 80% 30%, rgba(59,130,246,0.06), transparent 60%),
              radial-gradient(40% 40% at 50% 90%, rgba(34,197,94,0.05), transparent 60%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

/* Newsletter Shimmer - Simplified */
.newsletter-shimmer {
  position: relative;
  overflow: hidden;
}

.newsletter-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Fade in animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in.delay-1 { animation-delay: 0.2s; }
.fade-in.delay-2 { animation-delay: 0.4s; }
.fade-in.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Success Animation */
@keyframes success-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.success-animation {
  animation: success-pulse 0.6s ease-in-out;
}

/* Professional Backgrounds - Simplified */
.simple-bg {
  position: relative;
  isolation: isolate;
}

.clean-bg {
  position: relative;
  isolation: isolate;
}

.clean-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(15,15,15,0.8) 0%, rgba(25,25,35,0.6) 50%, rgba(15,15,25,0.8) 100%);
  border-radius: 1rem;
}

/* Grid layouts */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .services-container {
    padding: 1rem;
  }
  
  .heading {
    font-size: clamp(28px, 8vw, 36px) !important;
    margin-bottom: 1rem !important;
  }
  
  .subheading {
    font-size: clamp(16px, 4vw, 20px) !important;
  }
  
  .section-card {
    padding: 1rem !important;
    margin-bottom: 1rem !important;
  }
  
  .service-card {
    padding: 1rem !important;
  }
  
  .cta-button, .secondary-button, .service-button {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }
  
  .services-grid, .phase-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}