:root {
  --vr-ink: #0f172a;
  --vr-sky: #22d3ee;
  --vr-mint: #34d399;
  --vr-sun: #f97316;
  --vr-paper: #f4f7ff;
  --vr-card: #ffffff;
}

body {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--vr-ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(52, 211, 153, 0.15), transparent 42%),
    radial-gradient(circle at 100% 25%, rgba(249, 115, 22, 0.15), transparent 40%),
    var(--vr-paper);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
.navbar-brand {
  font-family: "Outfit", "Trebuchet MS", sans-serif;
}

hr.divider {
  width: 84px;
  max-width: 84px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--vr-mint), var(--vr-sun));
}

#mainNav {
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.45);
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-shell {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 0.8));
}

#mainNav .navbar-brand {
  color: #f8fafc;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: #03212f;
  font-size: 0.86rem;
  background: linear-gradient(135deg, var(--vr-sky), var(--vr-mint));
}

#mainNav .navbar-nav .nav-item .nav-link {
  color: #cbd5e1;
  letter-spacing: 0.02em;
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link:active,
#mainNav .navbar-nav .nav-item .nav-link.active {
  color: #fb923c !important;
}

#mainNav.navbar-shrink {
  background: rgba(2, 6, 23, 0.92);
  border-bottom-color: rgba(148, 163, 184, 0.25);
}

#mainNav .navbar-toggler {
  border-color: rgba(203, 213, 225, 0.45);
}

#mainNav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(34, 211, 238, 0.25);
}

#mainNav .navbar-toggler-icon {
  filter: invert(1) brightness(1.2);
}

header.masthead {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  padding-top: 10.5rem;
  padding-bottom: 5rem;
  background:
    linear-gradient(112deg, rgba(2, 6, 23, 0.9), rgba(15, 23, 42, 0.72)),
    url("https://images.unsplash.com/photo-1533022139390-e31c488d69e2?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1932&q=80");
  background-position: center;
  background-size: cover;
}

header.masthead::before,
header.masthead::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  z-index: 0;
}

header.masthead::before {
  width: 400px;
  height: 400px;
  top: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.42), transparent 66%);
}

header.masthead::after {
  width: 360px;
  height: 360px;
  right: -70px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.36), transparent 64%);
}

header.masthead .container {
  position: relative;
  z-index: 1;
}

header.masthead h1,
header.masthead .h1 {
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-eyebrow {
  color: #99f6e4;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-subtitle {
  color: rgba(236, 253, 245, 0.95);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.hero-panel {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1.2rem;
  padding: 1.25rem;
  backdrop-filter: blur(4px);
  background: rgba(2, 8, 23, 0.62);
  box-shadow: 0 16px 30px rgba(2, 8, 23, 0.35);
}

.hero-metrics {
  display: grid;
  gap: 0.7rem;
}

.hero-metrics div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 0.9rem;
  padding: 0.6rem 0.75rem;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.45);
}

.hero-metrics strong {
  font-size: 0.96rem;
}

.hero-metrics span {
  color: #cbd5e1;
  font-size: 0.82rem;
}

.btn-primary.btn-xl {
  background: linear-gradient(90deg, var(--vr-sky), var(--vr-mint));
  color: #06202d;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  padding: 0.9rem 1.9rem;
  box-shadow: 0 14px 28px rgba(45, 212, 191, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary.btn-xl:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(45, 212, 191, 0.45);
}

#apps {
  position: relative;
  background: linear-gradient(180deg, #f6faff 0%, #eaf3ff 100%);
}

#apps .container {
  padding-top: 2.2rem;
  padding-bottom: 2rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

#apps .apps-intro {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #475569;
}

#apps .row > div > div {
  position: relative;
  isolation: isolate;
  height: 100%;
  margin-top: 0 !important;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.97), rgba(248, 252, 255, 0.96));
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 1.2rem;
  padding: 1.6rem 1.1rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

#apps .row > div > div::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(34, 211, 238, 0.18), rgba(52, 211, 153, 0) 48%, rgba(249, 115, 22, 0.15));
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: -1;
}

#apps .row > div > div:hover {
  transform: translateY(-9px) scale(1.01);
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 20px 34px rgba(15, 23, 42, 0.14);
}

#apps .row > div > div:hover::after {
  opacity: 1;
}

#apps .h4 {
  color: #0f172a;
  font-weight: 700;
  margin-top: 0.15rem;
}

#apps .text-muted {
  color: #526075 !important;
}

.apptile {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.2);
}

.download-cta {
  background: linear-gradient(120deg, #06202d, #0f172a 50%, #1f2937) !important;
  position: relative;
  overflow: hidden;
}

.download-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(52, 211, 153, 0.23), transparent 35%),
    radial-gradient(circle at 70% 80%, rgba(249, 115, 22, 0.26), transparent 35%);
  pointer-events: none;
}

.download-cta .container {
  position: relative;
  z-index: 1;
}

.support-section {
  background: linear-gradient(180deg, #f3f8ff 0%, #eaf3ff 100%);
}

.support-wrap {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 1.3rem;
  padding: 2rem 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.support-intro {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: #475569;
}

.support-card {
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 1rem;
  padding: 1.15rem 1rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.95));
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.support-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.14);
  border-color: rgba(249, 115, 22, 0.45);
}

.support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  color: #06202d;
  background: linear-gradient(135deg, var(--vr-sky), var(--vr-mint));
}

.support-card a {
  color: #0f172a;
  font-weight: 600;
}

.support-card a:hover {
  color: var(--vr-sun);
}

footer.bg-light {
  background: linear-gradient(135deg, #0b1222, #111c34) !important;
}

footer a {
  font-weight: 600;
  color: #dbeafe;
  text-decoration: none;
}

footer a:hover {
  color: #fb923c;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #93c5fd;
  margin-bottom: 0.55rem;
}

.footer-note {
  color: #cbd5e1;
  max-width: 26rem;
}

.footer-divider {
  max-width: 100%;
  width: 100%;
  margin-top: 1.2rem;
  margin-bottom: 0.9rem;
  background: rgba(148, 163, 184, 0.3);
}

#apps .row > div {
  animation: riseIn 0.55s ease both;
}

#apps .row > div:nth-child(2) { animation-delay: 0.06s; }
#apps .row > div:nth-child(3) { animation-delay: 0.12s; }
#apps .row > div:nth-child(4) { animation-delay: 0.18s; }
#apps .row > div:nth-child(5) { animation-delay: 0.24s; }
#apps .row > div:nth-child(6) { animation-delay: 0.3s; }
#apps .row > div:nth-child(7) { animation-delay: 0.36s; }
#apps .row > div:nth-child(8) { animation-delay: 0.42s; }
#apps .row > div:nth-child(9) { animation-delay: 0.48s; }
#apps .row > div:nth-child(10) { animation-delay: 0.54s; }

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .nav-shell {
    border-radius: 1rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }

  header.masthead {
    min-height: 68vh;
    padding-top: 9rem;
    padding-bottom: 3.5rem;
  }

  #mainNav {
    background: rgba(2, 6, 23, 0.9);
  }

  #apps .container {
    border-radius: 1.1rem;
    padding-top: 1.8rem;
  }

  .hero-panel {
    max-width: 30rem;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  #apps .row > div,
  .btn-primary.btn-xl,
  #apps .row > div > div,
  #apps .row > div > div::after {
    animation: none;
    transition: none;
  }
}
