/* ==========================================================================
   ERAONE SOLUTIONS — Component Library & UI Architecture
   ========================================================================== */

/* Glassmorphic Surfaces */
.glass-panel {
  background: rgba(6, 26, 53, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border-card);
  box-shadow: 0 20px 50px rgba(4, 20, 38, 0.6);
}

.glass-card {
  background: rgba(7, 30, 61, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.4s var(--ease-out-expo);
}

.glass-card:hover {
  background: rgba(11, 46, 99, 0.55);
  border-color: rgba(0, 214, 197, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 25px 60px -15px rgba(0, 214, 197, 0.15);
}

/* Primary CTA Button (Teal Glow) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #00D6C5 0%, #10B8B2 100%);
  color: #041426;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px -4px rgba(0, 214, 197, 0.4);
  transition: all 0.35s var(--ease-out-expo);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 40px -4px rgba(0, 214, 197, 0.6);
  color: #041426;
}

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

.btn-primary:hover::after {
  left: 100%;
}

/* Secondary CTA Button (Ghost with Glow Border) */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.35s var(--ease-out-expo);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(0, 214, 197, 0.08);
  border-color: rgba(0, 214, 197, 0.5);
  color: #00D6C5;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -5px rgba(0, 214, 197, 0.2);
}

/* Pill Badges */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: rgba(0, 214, 197, 0.08);
  border: 1px solid rgba(0, 214, 197, 0.3);
  color: #00D6C5;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  box-shadow: 0 0 20px -3px rgba(0, 214, 197, 0.2);
}

.pill-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #00D6C5;
  box-shadow: 0 0 10px #00D6C5;
  animation: pulseBeacon 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* Header & Nav */
.header-glass {
  background: rgba(4, 20, 38, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.nav-link {
  color: #94A3B8;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  padding: 0.5rem 0.25rem;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #00D6C5;
  transition: all 0.3s var(--ease-out-expo);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
  box-shadow: 0 0 10px #00D6C5;
}

/* Footer Section */
.footer-dark {
  background: linear-gradient(180deg, rgba(6, 26, 53, 0) 0%, #030E1C 100%);
  border-top: 1px solid rgba(0, 214, 197, 0.12);
}

/* Section Title & Kicker Standard */
.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #00D6C5;
  margin-bottom: 0.75rem;
  display: block;
}

.section-heading {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #FFFFFF;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 3.25rem;
  }
}

/* Timeline & Stepper Components */
.timeline-line {
  position: absolute;
  top: 0;
  left: 24px;
  height: 100%;
  width: 2px;
  background: linear-gradient(180deg, #00D6C5, rgba(0, 214, 197, 0.1));
}

@media (min-width: 768px) {
  .timeline-line-horizontal {
    position: absolute;
    top: 36px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 214, 197, 0.1), #00D6C5 50%, rgba(0, 214, 197, 0.1));
  }
}

/* Form Styles */
.form-input-luxury {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(6, 26, 53, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-input-luxury:focus {
  border-color: #00D6C5;
  box-shadow: 0 0 20px -3px rgba(0, 214, 197, 0.3);
  background: rgba(11, 46, 99, 0.7);
}

.form-input-luxury::placeholder {
  color: #64748B;
}

/* Accordion for FAQ */
.faq-accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.faq-accordion-item.active {
  border-color: rgba(0, 214, 197, 0.3);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo), opacity 0.3s ease;
  opacity: 0;
}

.faq-accordion-item.active .faq-content {
  max-height: 400px;
  opacity: 1;
}

/* Infinite Marquee */
.marquee-container {
  overflow: hidden;
  display: flex;
  user-select: none;
  gap: 2rem;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  min-width: 100%;
  animation: scrollMarquee 40s linear infinite;
}

@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 2rem)); }
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}
