/* ============================================================
   AppCell — Custom Styles
   ============================================================ */

/* --- Custom scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #070711; }
::-webkit-scrollbar-thumb { background: #7c3aed; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #8b5cf6; }

/* --- Typography --- */
[x-cloak] { display: none !important; }

/* --- Gradient text --- */
.gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-green {
  background: linear-gradient(135deg, #34d399 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Navbar --- */
.nav-scrolled {
  background: rgba(7, 7, 17, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #94a3b8;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-link-active {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.1);
}
.mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: #94a3b8;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.mobile-link:hover { color: #fff; background: rgba(255,255,255,0.05); }

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  border-radius: 0.625rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(135deg, #7c3aed, #0891b2);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
  opacity: 0.95;
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  border-radius: 0.625rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: 0.75rem;
}

/* --- Cards --- */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}
.glass-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.12);
  transform: translateY(-4px);
}
.glass-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

/* --- Hero --- */
.hero-bg {
  background-color: #070711;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(139, 92, 246, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 40%, rgba(34, 211, 238, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 30% 50% at 5%  70%, rgba(16, 185, 129, 0.09) 0%, transparent 60%);
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
}
.aurora-blob-1 {
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  top: -20%;
  left: 15%;
  background: rgba(139, 92, 246, 0.22);
  animation: aurora 12s ease-in-out infinite alternate;
}
.aurora-blob-2 {
  width: 35vw;
  height: 35vw;
  max-width: 450px;
  max-height: 450px;
  top: 30%;
  right: 5%;
  background: rgba(34, 211, 238, 0.18);
  animation: aurora2 9s ease-in-out infinite alternate;
}
.aurora-blob-3 {
  width: 25vw;
  height: 25vw;
  max-width: 320px;
  max-height: 320px;
  bottom: 10%;
  left: 5%;
  background: rgba(16, 185, 129, 0.12);
  animation: aurora 14s ease-in-out infinite alternate-reverse;
}
@keyframes aurora {
  0%   { transform: translate(0,   0)   scale(1);    }
  50%  { transform: translate(-5%, 10%) scale(1.08); }
  100% { transform: translate(-8%, 12%) scale(1.15); }
}
@keyframes aurora2 {
  0%   { transform: translate(0,  0)    scale(1);   }
  100% { transform: translate(8%, -10%) scale(0.9); }
}

/* Grid pattern overlay */
.grid-pattern {
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* --- Floating badge --- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
}

/* --- Section label --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: #a78bfa;
}

/* --- Stats counters --- */
.stat-number {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Timeline steps --- */
.step-line {
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: -24px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(139,92,246,0.5), transparent);
}
.step-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #0891b2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(139, 92, 246, 0.12);
}

/* --- CTA gradient banner --- */
.cta-gradient {
  background: linear-gradient(135deg, #4c1d95 0%, #0c4a6e 100%);
  border: 1px solid rgba(139,92,246,0.3);
}

/* --- Form inputs --- */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
  background: rgba(255, 255, 255, 0.06);
}
.form-input::placeholder { color: #475569; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 0.4rem;
}

/* --- Alert messages --- */
.alert-success {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  font-size: 0.9rem;
}
.alert-error {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 0.9rem;
}

/* --- Footer --- */
.footer-link {
  color: #64748b;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-link:hover { color: #a78bfa; }

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #64748b;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-icon:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: #a78bfa;
}

/* --- Page hero (inner pages) --- */
.page-hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
  background-image:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(139, 92, 246, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 90% 50%, rgba(34, 211, 238, 0.08) 0%, transparent 60%);
  background-color: #070711;
}

/* --- Glow line separator --- */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.5) 50%, transparent);
  border: none;
}

/* --- List check items --- */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: #cbd5e1;
  font-size: 0.925rem;
}
.check-icon {
  color: #34d399;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Responsive helpers --- */
@media (max-width: 640px) {
  .stat-number { font-size: 2.25rem; }
}
