/* ============================================
   NetRVA — Shared Styles
   Revenue Systems Engineering
   ============================================ */

/* Base */
body {
  font-family: 'Sora', sans-serif;
  scroll-behavior: smooth;
  background-color: #0B0C14;
  color: #F0F1F5;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #13141F; }
::-webkit-scrollbar-thumb {
  background: #3B7BF4;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: #5A93FF; }

/* Gradient Text */
.gradient-text {
  background: linear-gradient(to right, #448EFF, #E97451);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Gradient Background */
.gradient-bg {
  background: linear-gradient(135deg, #D4943A, #C4832A);
}

/* Glass Navigation */
.glass-nav {
  background: rgba(11, 12, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Surface Card */
.surface-card {
  background: #13141F;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}
.surface-card:hover {
  border-color: rgba(59, 123, 244, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Elevated Card */
.surface-elevated {
  background: #1A1B2E;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* CTA Button */
.btn-cta {
  background: linear-gradient(135deg, #D4943A, #C4832A);
  color: #0B0C14;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-cta:hover {
  background: linear-gradient(135deg, #E0A24A, #D4943A);
  box-shadow: 0 4px 20px rgba(212, 148, 58, 0.3);
  transform: translateY(-1px);
}

/* Secondary Button */
.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #F0F1F5;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover {
  border-color: rgba(59, 123, 244, 0.4);
  background: rgba(59, 123, 244, 0.05);
}

/* Overline Label */
.overline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D4943A;
}

/* Page Background */
.grid-bg {
  background-image:
    linear-gradient(to right, rgba(68, 142, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(68, 142, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Ambient Glow — fixed behind all content */
.ambient-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.ambient-glow::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(68, 142, 255, 0.08) 0%, transparent 70%);
  animation: ambientDrift 20s ease-in-out infinite alternate;
}
.ambient-glow::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(233, 116, 81, 0.06) 0%, transparent 70%);
  animation: ambientDrift 25s ease-in-out infinite alternate-reverse;
}

@keyframes ambientDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 8%) scale(1.1); }
  100% { transform: translate(-3%, -5%) scale(0.95); }
}

/* Hero Background Effects */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(68, 142, 255, 0.12) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(233, 116, 81, 0.08) 0%, transparent 60%);
  animation: heroGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 1; }
}

/* Floating orb accent */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

/* Gradient line accent */
.gradient-line {
  height: 2px;
  background: linear-gradient(to right, #448EFF, #E97451, transparent);
  border-radius: 2px;
}

/* Animated node grid for hero visual */
.node-grid {
  position: relative;
  width: 100%;
  height: 100%;
}
.node-grid-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(68, 142, 255, 0.3);
  animation: nodePulse 3s ease-in-out infinite;
}
.node-grid-dot.accent {
  background: rgba(233, 116, 81, 0.4);
  width: 6px;
  height: 6px;
}
.node-grid-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(to right, rgba(68, 142, 255, 0.15), transparent);
  transform-origin: left center;
}

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

/* Gradient text with glow */
.gradient-text-glow {
  background: linear-gradient(135deg, #448EFF, #E97451);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(68, 142, 255, 0.3));
}

/* Section Divider */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.06), transparent);
}

/* Metric Number */
.metric-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #D4943A;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.faq-question {
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #F0F1F5;
  transition: color 0.2s ease;
}
.faq-question:hover { color: #3B7BF4; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #8B8FA3;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-icon {
  transition: transform 0.3s ease;
  color: #5A5E72;
  flex-shrink: 0;
}

/* Form Inputs */
.form-input {
  width: 100%;
  background: #13141F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px 16px;
  color: #F0F1F5;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  transition: border-color 0.2s ease;
}
.form-input:focus {
  outline: none;
  border-color: #3B7BF4;
  box-shadow: 0 0 0 3px rgba(59, 123, 244, 0.1);
}
.form-input::placeholder { color: #5A5E72; }

/* Process Step */
.process-step {
  position: relative;
  padding-left: 48px;
}
.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 123, 244, 0.1);
  border: 1px solid rgba(59, 123, 244, 0.2);
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #3B7BF4;
}

/* Nav link active state */
.nav-link {
  color: #8B8FA3;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: #F0F1F5; }

/* Responsive */
@media (max-width: 767px) {
  .desktop-nav { display: none; }
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}
