/* Theme variables */
:root {
  --accent: #1800ad;
  --accent-600: #14008a;
  --accent-300: #6d5bff;
  --text: #0b0b13;
  --muted: #6b7280;
  --light: #f8f9ff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  color: var(--text);
  background: #fff;
}

/* Brand text logo */
.logo-text {
  font-family: 'Ubuntu', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
}

.logo-display {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.fw-black {
  font-weight: 900;
}

.text-accent {
  color: var(--accent) !important;
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-600);
  border-color: var(--accent-600);
  color: #fff;
}

.btn-outline-accent {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: #fff;
}

.py-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Glass card */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
}

/* Hero */
.hero-section {
  padding-top: 7rem;
  padding-bottom: 4rem;
  background: radial-gradient(1200px 600px at 10% 0%, rgba(24, 0, 173, .08), transparent 60%),
    radial-gradient(1000px 500px at 95% 10%, rgba(24, 0, 173, .06), transparent 60%);
}

.hero-card {
  border-radius: 1rem;
}

/* Video wrapper in hero */
.video-wrapper {
  position: relative;
  background: #fff;
}

.video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: #fff;
}

/* Reduced motion handling (JS toggles .reduced-motion) */
.reduced-motion .video-wrapper video {
  display: none;
}

.reduced-motion .video-fallback {
  display: flex !important;
}

/* Background blobs */
.bg-accent-blobs {
  position: fixed;
  inset: -15% -10% auto;
  pointer-events: none;
  z-index: -1;
}

.blob {
  position: absolute;
  filter: blur(60px);
  opacity: .22;
  background: var(--accent);
  border-radius: 50%;
  animation: float 16s infinite ease-in-out;
}

.blob-1 {
  width: 420px;
  height: 420px;
  top: -5%;
  left: -5%;
}

.blob-2 {
  width: 360px;
  height: 360px;
  right: 5%;
  top: 10%;
  animation-delay: -5s;
}

.blob-3 {
  width: 280px;
  height: 280px;
  left: 45%;
  bottom: 10%;
  animation-delay: -9s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(20px)
  }
}

/* Shape divider */
.shape-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  transform: translateZ(0);
}

.shape-divider svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.shape-divider .shape-fill {
  fill: #fff;
}

/* Feature cards */
.feature-card {
  border: 1px solid rgba(24, 0, 173, .12);
  border-radius: 1rem;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(24, 0, 173, .12);
}

.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: .75rem;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(24, 0, 173, .12), rgba(24, 0, 173, .02));
  margin-bottom: .75rem;
  font-size: 1.4rem;
}

/* Guarantee callout under pricing */
.guarantee-callout {
  background: linear-gradient(135deg, var(--accent), #3c2fff);
  border-radius: 1rem;
  color: #fff;
  box-shadow: 0 16px 40px rgba(24, 0, 173, .24);
}

.icon-wrap-lg {
  width: 52px;
  height: 52px;
  border-radius: .9rem;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

/* Pricing */
.pricing-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(24, 0, 173, .14);
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(24, 0, 173, .14);
}

.pricing-card .price .amount {
  font-variant-numeric: tabular-nums;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(24, 0, 173, .2);
}

.pricing-card .ribbon {
  position: absolute;
  top: 12px;
  right: -50px;
  transform: rotate(30deg);
  background: var(--accent);
  color: #fff;
  font-size: .8rem;
  padding: .35rem 3rem;
}

.billing-toggle .form-check-input {
  cursor: pointer;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), #3c2fff);
  border-radius: 1rem;
  color: #fff;
}

/* Navbar blur on scroll */
#mainNav.scrolled {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, .8) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

/* Specific fix for non-transparent usage of navbar if user wants white bg */
#mainNav.bg-white {
  background: rgba(255, 255, 255, 1) !important;
}

/* Footer */
footer a {
  color: inherit;
}

footer a:hover {
  color: var(--accent);
}

/* Utilities */
.text-secondary {
  color: var(--muted) !important;
}

.bg-light {
  background-color: var(--light) !important;
}

.bg-accent {
  background-color: var(--accent) !important;
  color: #fff !important;
}

/* Highlight after plan selection */
.highlight-selected-plan {
  box-shadow: 0 0 0 4px rgba(24, 0, 173, 0.12) !important;
  transition: box-shadow .3s ease;
}

/* Modal plan badge */
#modalPlanBadge {
  display: inline-block;
  padding: .45rem .75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  line-height: 1;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 6.5rem;
  }

  /* Force glassy background on mobile always to ensure readability */
  #mainNav {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, .9) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  }
}