:root {
  --midnight: #0A0F1A;
  --ink: #0F1520;
  --platinum: #E8F0F5;
  --platinum-dim: #A0B0B8;
  --primary: #a8f63b;
  --primary-light: #9efa60;
  --primary-dark: #d8d81d;
  --secondary: #06d466;
  --secondary-light: #22eec2;
  --accent: #8B5CF6;
  --emerald: #14B8A6;
  --gold: var(--primary);
  --gold-light: var(--primary-light);
  --gold-dark: var(--primary-dark);
  --bg-ink: var(--ink);
  --bg-mid: var(--midnight);
}

html,
body {
  background: var(--ink);
  color: var(--platinum);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

::selection {
  background: rgba(59, 130, 246, 0.35);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0F1520;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3bf6c7, #06B6D4);
  border-radius: 10px;
}

.navbar,
.modal-content,
.accordion-item,
.card,
.form-control,
.form-select {
  background-color: transparent;
  color: var(--platinum);
}

.modal-content {
  background: linear-gradient(180deg, rgba(15, 21, 32, 0.97), rgba(10, 15, 26, 0.98));
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.accordion-item {
  background: transparent;
  border-color: rgba(232, 240, 245, 0.10) !important;
}

.accordion-button {
  background: transparent;
  color: var(--platinum);
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background: rgba(59, 130, 246, 0.08);
  color: var(--primary-light);
}

.accordion-button::after {
  filter: invert(0.4) sepia(1) saturate(5) hue-rotate(200deg);
}

.accordion-body {
  color: var(--platinum);
}

.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(232, 240, 245, 0.14);
  color: var(--platinum);
  padding: 0.95rem 1rem;
  border-radius: 10px;
}

.form-control:focus,
.form-select:focus {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.6);
  color: var(--platinum);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.10);
}

.form-control::placeholder {
  color: var(--platinum-dim);
  opacity: 0.7;
}

.form-select option {
  background: #0F1520;
  color: var(--platinum);
}

.form-check-input {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(232, 240, 245, 0.3);
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-label {
  color: var(--platinum);
  opacity: 0.85;
  font-size: 0.85rem;
}

.form-check-label a {
  color: var(--primary-light);
}

.invalid-feedback {
  color: #60A5FA;
}

.btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.font-display {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: -0.01em;
}

.font-mono {
  font-family: 'Space Grotesk', sans-serif;
}

.bg-midnight-grad {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 20%, rgba(6, 182, 212, 0.10), transparent 60%),
    linear-gradient(180deg, #0A0F1A 0%, #0F1520 100%);
}

.bg-ink-grad {
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(59, 130, 246, 0.12), transparent 60%),
    radial-gradient(800px 400px at 80% 100%, rgba(6, 182, 212, 0.08), transparent 60%),
    #0F1520;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.primary-text,
.gold-text {
  background: linear-gradient(135deg, #60fabf 0%, #3bf6d4 45%, #1dd8af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gold,
.text-gold-light {
  color: var(--primary) !important;
}

.text-emerald {
  color: var(--emerald) !important;
}

.text-platinum {
  color: var(--platinum) !important;
}

.text-platinum-dim {
  color: var(--platinum-dim) !important;
}

.primary-btn,
.gold-btn {
  background: linear-gradient(135deg, #60fadb 0%, #3bedf6 50%, #1dd8a9 100%);
  color: #0F1520;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 10px 40px -10px rgba(59, 246, 178, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  border: none;
  font-weight: 600;
}

.primary-btn::after,
.gold-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s ease;
}

.primary-btn:hover,
.gold-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px -10px rgba(59, 246, 227, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #0F1520;
}

.primary-btn:hover::after,
.gold-btn:hover::after {
  transform: translateX(100%);
}

.primary-btn:focus,
.gold-btn:focus {
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
  color: #0F1520;
}

.ghost-btn {
  background: rgba(232, 240, 245, 0.04);
  border: 1px solid rgba(232, 240, 245, 0.18);
  color: var(--platinum);
  backdrop-filter: blur(10px);
  transition: all .3s ease;
}

.ghost-btn:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.5);
  color: var(--primary-light);
  transform: translateY(-2px);
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(232, 240, 245, 0.10);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

.glass-gold,
.glass-primary {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.02));
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.glow-border-gold {
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25), 0 20px 60px -20px rgba(59, 130, 246, 0.35);
}

.border-white-softer {
  border-color: rgba(255, 255, 255, 0.05) !important;
}

.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 246, 184, 0.6), transparent);
}

.sep-gold {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3bf6b8, transparent);
  margin: 1rem auto;
}

.sep-gold.left {
  margin-left: 0;
}

.section-pad {
  padding: 7rem 0;
}

.page-pad {
  padding: 9rem 0 5rem;
}

.navbar {
  transition: all 0.4s ease;
}

.navbar-scrolled {
  background-color: rgba(10, 15, 26, 0.85) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatYSlow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 40px rgba(59, 246, 215, 0.25);
  }

  50% {
    box-shadow: 0 0 70px rgba(59, 246, 149, 0.55);
  }
}

@keyframes drawCheck {
  0% {
    stroke-dashoffset: 60;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.float-y {
  animation: floatY 6s ease-in-out infinite;
}

.float-y-slow {
  animation: floatYSlow 9s ease-in-out infinite;
}

.pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #1dd823, #60fad6, #1dd85b);
  z-index: 2000;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

.cursor-glow {
  position: fixed;
  pointer-events: none;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 60%);
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity .3s;
  mix-blend-mode: screen;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: ticker 40s linear infinite;
  width: max-content;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.tilt-card {
  transition: transform .4s ease, box-shadow .4s ease;
  transform-style: preserve-3d;
}

.tilt-card:hover {
  transform: perspective(1000px) rotateX(4deg) rotateY(-4deg) translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(59, 130, 246, 0.25);
}

.svc-accordion .accordion-button {
  padding: 2rem 1.5rem;
  background: transparent !important;
}

.svc-accordion .svc-icon-wrap {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  transition: all .4s ease;
}

.svc-accordion .accordion-button:not(.collapsed) .svc-icon-wrap {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(29, 78, 216, 0.15));
}

.svc-accordion .accordion-body {
  padding: 0 1.5rem 2rem;
}

.process-step {
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 40px;
  bottom: -40px;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.4), transparent);
  transform: translateX(-50%);
}

.process-step:last-child::before {
  display: none;
}

@media (max-width: 991px) {
  .process-step::before {
    display: none;
  }
}

.review-carousel .carousel-inner {
  border-radius: 1.5rem;
  overflow: hidden;
}

.review-carousel .carousel-control-prev,
.review-carousel .carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: all .3s;
}

.review-carousel .carousel-control-prev {
  left: -25px;
}

.review-carousel .carousel-control-next {
  right: -25px;
}

.review-carousel .carousel-indicators {
  position: static;
  margin: 1.5rem 0 0;
}

.review-carousel .carousel-indicators button {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50%;
  background-color: rgba(232, 240, 245, 0.3) !important;
  border: none !important;
  opacity: 1 !important;
  transition: all .3s;
}

.review-carousel .carousel-indicators button.active {
  width: 40px !important;
  border-radius: 10px;
  background-color: var(--primary) !important;
}

.bento-metric {
  transition: transform .3s ease;
}

.bento-metric:hover {
  transform: translateY(-5px);
}

.legal-section h3 {
  color: var(--primary-light);
}

.legal-section p {
  line-height: 1.7;
}