/* VAAI site - customisations on top of the Frest front pages */
.app-brand-logo.demo svg { display: block; }
.app-brand-text.demo { letter-spacing: .08em; }

.site-cta-shot { border-radius: .75rem .75rem 0 0; box-shadow: 0 -0.5rem 2rem rgba(38, 60, 85, .12); }

/* How it works */
.site-step-number {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(90, 141, 238, .16); color: #5a8dee; font-weight: 600; font-size: 1.125rem;
}

/* Feature icons */
.features-icon-box .avatar-lg { width: 3.5rem; height: 3.5rem; }

/* Honeypot field, hidden from people */
.site-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Legal pages */
.site-legal { padding-top: 8rem; }
.site-legal h2 { color: inherit; }

/* Contact form feedback */
#contactForm .form-check .invalid-feedback { margin-left: 0; }


/* ===================== Hero slider ===================== */
.site-hero .landing-hero { padding-bottom: 4rem; border-bottom-left-radius: 3rem; border-bottom-right-radius: 3rem; }
.site-hero .hero-title { font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.2; margin-bottom: 1rem; }
.site-hero-text { font-size: 1.0625rem; max-width: 34rem; }
@media (max-width: 991.98px) { .site-hero-text { margin-left: auto; margin-right: auto; } }
.site-hero .carousel-inner { overflow: visible; }
.site-hero .carousel-item { min-height: 460px; transition-duration: .8s; }
/* The theme paints carousel headings white: restore the card title colour */
.site-hero .site-call h6 { color: #516377 !important; }
.site-hero-visual { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; }
.site-avatar { width: 100%; max-width: 440px; height: auto; }

.site-hero-controls .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%; border: 0; margin: 0 5px;
  background-color: #5a8dee; opacity: .3; transition: opacity .3s, width .3s;
}
.site-hero-controls .carousel-indicators .active { opacity: 1; width: 28px; border-radius: 5px; }

/* Slide 2: call card */
.site-call { width: 100%; max-width: 420px; border-radius: 1.25rem; transform: rotate(-1.5deg); }
.site-call .card-header { padding: 1rem 1.25rem; }
.site-call-avatar { width: 44px; height: 44px; border-radius: 50%; background: #eef3fd; }
.site-live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #39da8a; animation: site-pulse 1.6s infinite; }
@keyframes site-pulse { 0% { box-shadow: 0 0 0 0 rgba(57, 218, 138, .6); } 100% { box-shadow: 0 0 0 8px rgba(57, 218, 138, 0); } }
.site-msg { max-width: 85%; padding: .6rem .85rem; border-radius: 1rem; margin-bottom: .6rem; font-size: .875rem; }
.site-msg p { margin: 0; }
.site-msg small { display: block; font-weight: 600; font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; opacity: .7; margin-bottom: .15rem; }
.site-msg-in { background: #f2f4f8; border-bottom-left-radius: .25rem; }
.site-msg-out { background: #5a8dee; color: #fff; margin-left: auto; border-bottom-right-radius: .25rem; }
.site-typing { width: 64px; display: flex; gap: 5px; justify-content: center; }
.site-typing span { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: site-dot 1.4s infinite; }
.site-typing span:nth-child(2) { animation-delay: .2s; } .site-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes site-dot { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
.site-wave i { display: block; width: 4px; height: 18px; border-radius: 2px; background: #fdac41; animation: site-wave 1s ease-in-out infinite; }
.site-wave i:nth-child(odd) { animation-delay: .25s; } .site-wave i:nth-child(3n) { animation-delay: .5s; }
@keyframes site-wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* Slide 3: industries orbit */
.site-orbit { --r: 195px; position: relative; width: 470px; height: 470px; max-width: 100%; }
.site-orbit::before { content: ""; position: absolute; inset: 40px; border: 2px dashed rgba(90, 141, 238, .35); border-radius: 50%; animation: site-spin 60s linear infinite; }
@keyframes site-spin { to { transform: rotate(360deg); } }
.site-orbit-center { position: absolute; left: 50%; top: 50%; width: 210px; height: 210px; transform: translate(-50%, -50%); }
.site-orbit-item {
  position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; gap: .3rem;
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(var(--r)) rotate(calc(-1 * var(--angle)));
}
.site-orbit-item .avatar-initial { font-size: 1.4rem; }
.site-orbit-label { font-weight: 600; font-size: .75rem; white-space: nowrap; background: rgba(255, 255, 255, .85); padding: .1rem .5rem; border-radius: 1rem; }

@media (max-width: 575.98px) {
  .site-hero .carousel-item { min-height: 0; }
  .site-hero-visual { min-height: 320px; }
  .site-avatar { max-width: 300px; }
  .site-orbit { --r: 125px; width: 320px; height: 320px; }
  .site-orbit::before { inset: 35px; }
  .site-orbit-center { width: 160px; height: 160px; }
  .site-orbit-label { display: none; }
  .site-call { transform: none; }
}

/* ===================== Assistant photo (when assets/img/site/assistant.jpg exists) ===================== */
.site-portrait { position: relative; width: 420px; height: 420px; max-width: 100%; display: flex; align-items: center; justify-content: center; }
.site-portrait-photo {
  position: relative; z-index: 1; width: 340px; height: 340px; object-fit: cover; border-radius: 50%;
  border: 8px solid #fff; box-shadow: 0 1.5rem 3rem rgba(31, 61, 138, .25);
}
.site-portrait-ring {
  position: absolute; inset: 20px; border-radius: 50%; border: 2px solid rgba(90, 141, 238, .55);
  animation: site-ring 4s ease-out infinite;
}
.site-portrait-ring.r2 { animation-delay: 1.3s; } .site-portrait-ring.r3 { animation-delay: 2.6s; }
@keyframes site-ring { 0% { transform: scale(.85); opacity: .7; } 100% { transform: scale(1.15); opacity: 0; } }
.site-bubble {
  position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 5px;
  background: #fff; border-radius: 1.25rem; box-shadow: 0 .75rem 1.5rem rgba(31, 61, 138, .18);
  animation: site-float 6s ease-in-out infinite;
}
@keyframes site-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.site-bubble-phone { left: 0; top: 70px; width: 64px; height: 64px; border-radius: 50%; color: #39da8a; font-size: 1.9rem; animation-delay: -2s; }
.site-bubble-typing { right: 0; top: 40px; padding: 1rem 1.2rem; }
.site-bubble-typing i { width: 10px; height: 10px; border-radius: 50%; background: #5a8dee; animation: site-dot 1.4s infinite; }
.site-bubble-typing i:nth-child(2) { animation-delay: .2s; } .site-bubble-typing i:nth-child(3) { animation-delay: .4s; }
.site-bubble-247 { right: 10px; bottom: 90px; padding: .55rem 1rem; font-weight: 700; color: #3b6fd8; animation-delay: -4s; }
.site-bubble-wave { left: 20px; bottom: 70px; padding: .7rem .9rem; animation-delay: -1s; }
.site-bubble-wave i { display: block; width: 5px; height: 22px; border-radius: 3px; background: #fdac41; animation: site-wave 1s ease-in-out infinite; }
.site-bubble-wave i:nth-child(2) { animation-delay: .15s; } .site-bubble-wave i:nth-child(3) { animation-delay: .3s; }
.site-bubble-wave i:nth-child(4) { animation-delay: .45s; } .site-bubble-wave i:nth-child(5) { animation-delay: .6s; }
.site-bubble-phone i { font-size: 1.9rem; }
.site-call-avatar.is-photo { object-fit: cover; }
.site-orbit-center.is-photo { width: 170px; height: 170px; object-fit: cover; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 1rem 2rem rgba(31, 61, 138, .2); }
@media (max-width: 575.98px) {
  .site-portrait { width: 320px; height: 320px; }
  .site-portrait-photo { width: 250px; height: 250px; }
  .site-bubble-phone { width: 52px; height: 52px; font-size: 1.5rem; top: 40px; }
  .site-orbit-center.is-photo { width: 120px; height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-portrait-ring, .site-bubble, .site-bubble i { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .site-live-dot, .site-typing span, .site-wave i, .site-orbit::before { animation: none; }
  .site-hero .carousel-item { transition: none; }
}
/* YouVAAI wordmark: "You" regular, "VAAI" bold */
.app-brand-text .brand-you { font-weight: 400; letter-spacing: .01em; }
.app-brand-text .brand-vaai { font-weight: 700; }
/* "VA" slightly tinted towards the brand blue, "AI" in the same colour as "You" */
.app-brand-text .brand-va { color: color-mix(in srgb, currentColor 72%, #5A8DEE); }
@media (max-width: 575.98px) {
  .landing-navbar .navbar-brand.me-4, [dir] .landing-navbar .navbar-brand.me-4 { margin-right: .25rem !important; }
  .landing-navbar .app-brand-text.demo { font-size: 1.2rem; letter-spacing: .02em; margin-left: .4rem !important; padding-left: 0 !important; }
}
@media (max-width: 389.98px) { .landing-navbar .dropdown-toggle .text-uppercase { display: none; } }

/* Cookie banner */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 1rem; z-index: 1090; }
.cookie-banner-box { max-width: 960px; margin: 0 auto; }
.cookie-banner-box p { font-size: .9375rem; }
@media (max-width: 575.98px) {
  .cookie-banner { bottom: .5rem; }
  .cookie-banner .btn { flex: 1 1 0; }
}

/* Savings section */
.site-savings-intro { max-width: 760px; }
.site-savings-table td { vertical-align: middle; padding-top: .85rem; padding-bottom: .85rem; }
.site-savings-table .bx { font-size: 1.4rem; }
.site-savings-cost td { border-bottom: 0; }
.site-savings-result { background: rgba(90, 141, 238, .08); }

/* Featured sector video */
.site-video { border-radius: 1rem; overflow: hidden; background: #0f1b2d; box-shadow: 0 1.25rem 2.5rem rgba(31, 61, 138, .22); }
.site-video video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.site-video-play {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(15, 27, 45, 0) 45%, rgba(15, 27, 45, .45) 100%);
}
.site-video-play-icon {
  width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .95); color: #5a8dee; font-size: 3rem; padding-left: .3rem;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); animation: site-video-pulse 2.2s ease-out infinite; transition: transform .2s ease;
}
.site-video-play-icon .bx { font-size: 3rem; line-height: 1; }
.site-video-play:hover .site-video-play-icon, .site-video-play:focus-visible .site-video-play-icon { transform: scale(1.08); }
.site-video-duration {
  position: absolute; right: 1rem; bottom: .9rem; color: #fff; font-size: .8rem; font-weight: 600;
  background: rgba(0, 0, 0, .55); padding: .15rem .5rem; border-radius: .4rem;
}
.site-video.is-playing .site-video-play { display: none; }
@keyframes site-video-pulse { 70% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@media (max-width: 575.98px) { .site-video-play-icon { width: 64px; height: 64px; } .site-video-play-icon .bx { font-size: 2.3rem; } }
@media (prefers-reduced-motion: reduce) { .site-video-play-icon { animation: none; } }

/* Icons: Tabler inline SVG (com.youvaai.util.Icons) — one family, one line style for the whole site */
.ti { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex-shrink: 0; }
.ti[fill="none"] { stroke-width: 1.8; }
/* Decorative icons: white icon on the brand gradient, like the logo */
.ti-tile {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: #fff;
  background: linear-gradient(135deg, #6a9cf2, #3b6fd8); box-shadow: 0 6px 14px rgba(59, 111, 216, .28);
}
.ti-tile .ti { vertical-align: 0; }
.ti-tile-sm { width: 36px; height: 36px; border-radius: 10px; font-size: 19px; }
.ti-tile-md { width: 44px; height: 44px; border-radius: 12px; font-size: 23px; }
.ti-tile-lg { width: 56px; height: 56px; border-radius: 15px; font-size: 28px; }
.ti-tile-xl { width: 72px; height: 72px; border-radius: 18px; font-size: 36px; box-shadow: 0 10px 22px rgba(59, 111, 216, .3); }
.ti-tile-circle { border-radius: 50%; }
.ti-tile-site-orbit-ico { width: 52px; height: 52px; font-size: 25px; border: 3px solid #fff; }
.site-video-play-icon .ti { font-size: 2.6rem; margin-left: .2rem; }
.site-bubble-phone { background: linear-gradient(135deg, #6a9cf2, #3b6fd8); color: #fff; }
.site-bubble-phone .ti { font-size: 1.7rem; }
@media (max-width: 575.98px) { .site-video-play-icon .ti { font-size: 2rem; } }
