/* Globevio marketing site. One thin layer on top of Bootstrap 5.3:
   brand tokens, the dark hero, cards and a few page-specific blocks.
   Colours come from the same palette as the browser extension. */

:root {
    --gv-violet: #7c5cff;
    --gv-indigo: #4f46e5;
    --gv-ink: #1e1b4b;
    --gv-night: #0f0d1f;
    --gv-cyan: #22d3ee;
    --gv-gradient: linear-gradient(135deg, #8b5cf6 0%, #4f46e5 100%);
    --gv-gradient-text: linear-gradient(90deg, #c4b5fd 0%, #a5b4fc 45%, #67e8f9 100%);
    --gv-radius: 1.25rem;
    --gv-shadow: 0 1.25rem 3rem rgba(30, 27, 75, .12);

    --bs-primary: #6d4aff;
    --bs-primary-rgb: 109, 74, 255;
    --bs-link-color: #5b3df5;
    --bs-link-color-rgb: 91, 61, 245;
    --bs-link-hover-color: #4527d6;
    --bs-link-hover-color-rgb: 69, 39, 214;
    --bs-body-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
        "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    --bs-body-color: #23213a;
    --bs-secondary-color: rgba(35, 33, 58, .68);
    --bs-tertiary-bg: #f6f5fb;
    --bs-tertiary-bg-rgb: 246, 245, 251;
    --bs-border-color: #e7e5f2;
}

[data-bs-theme="dark"] {
    --bs-body-bg: #0f0d1f;
    --bs-body-bg-rgb: 15, 13, 31;
    --bs-body-color: #e7e6f3;
    --bs-secondary-color: rgba(231, 230, 243, .66);
    --bs-tertiary-bg: #16142a;
    --bs-tertiary-bg-rgb: 22, 20, 42;
    --bs-secondary-bg: #1e1b33;
    --bs-secondary-bg-rgb: 30, 27, 51;
    --bs-border-color: #2a2744;
    --bs-link-color: #a993ff;
    --bs-link-color-rgb: 169, 147, 255;
    --bs-link-hover-color: #c4b5fd;
    --bs-link-hover-color-rgb: 196, 181, 253;
    --gv-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .45);
}

body {
    -webkit-font-smoothing: antialiased;
    letter-spacing: -.005em;
}

h1, h2, h3, .display-4, .display-5 {
    letter-spacing: -.025em;
}

::selection {
    background: rgba(124, 92, 255, .25);
}

/* ---------- Primitives ---------- */

.text-gradient {
    background: var(--gv-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.on-dark .text-gradient,
.hero .text-gradient,
.cta-panel .text-gradient {
    background-image: var(--gv-gradient-text);
}

.btn-brand {
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    border: 0;
    background: var(--gv-gradient);
    box-shadow: 0 .5rem 1.25rem rgba(79, 70, 229, .35);
    font-weight: 600;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.btn-brand:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 .75rem 1.75rem rgba(79, 70, 229, .45);
}

.btn-ghost {
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-hover-color: var(--bs-body-color);
    border: 1px solid var(--bs-border-color);
    background: transparent;
    font-weight: 500;
}

.btn-ghost:hover {
    border-color: rgba(var(--bs-primary-rgb), .5);
    background: rgba(var(--bs-primary-rgb), .06);
}

.on-dark .btn-ghost,
.hero .btn-ghost,
.cta-panel .btn-ghost,
.site-nav:not(.is-stuck) .btn-ghost {
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    border-color: rgba(255, 255, 255, .28);
}

.on-dark .btn-ghost:hover,
.hero .btn-ghost:hover,
.cta-panel .btn-ghost:hover,
.site-nav:not(.is-stuck) .btn-ghost:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .5);
}

.badge-soft {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .1);
    font-weight: 600;
}

.hero .badge-soft {
    color: #e0d9ff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
}

.eyebrow {
    display: inline-block;
    margin-bottom: .75rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.section-head {
    max-width: 40rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-head h2 {
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: .75rem;
}

.section-head p {
    color: var(--bs-secondary-color);
    font-size: 1.05rem;
    margin: 0;
}

/* ---------- Navigation ---------- */

.site-nav {
    transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease;
    --bs-navbar-color: rgba(255, 255, 255, .78);
    --bs-navbar-hover-color: #fff;
}

.site-nav.is-stuck {
    background-color: rgba(var(--bs-body-bg-rgb), .86);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 var(--bs-border-color);
    padding-top: .6rem !important;
    padding-bottom: .6rem !important;
    --bs-navbar-color: var(--bs-secondary-color);
    --bs-navbar-hover-color: var(--bs-body-color);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -.03em;
    color: #fff;
    text-decoration: none;
}

.brand-lockup img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.site-nav.is-stuck .brand-lockup {
    color: var(--bs-body-color);
}

.site-nav .nav-link {
    font-weight: 500;
    font-size: .95rem;
}

.site-nav .nav-link:focus {
    color: var(--bs-navbar-hover-color);
}

.site-nav .navbar-toggler {
    color: #fff;
}

.site-nav.is-stuck .navbar-toggler {
    color: var(--bs-body-color);
}

.theme-toggle {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.site-nav.is-stuck .theme-toggle {
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

@media (max-width: 991.98px) {
    .site-nav .navbar-collapse {
        margin-top: .75rem;
        padding: 1rem;
        border-radius: 1rem;
        background: rgba(15, 13, 31, .96);
    }

    .site-nav.is-stuck .navbar-collapse {
        background: var(--bs-body-bg);
        border: 1px solid var(--bs-border-color);
    }
}

/* ---------- Hero (dark, on every page) ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 9.5rem 0 6rem;
    color: #fff;
    background:
        radial-gradient(60rem 30rem at 85% -10%, rgba(124, 92, 255, .55), transparent 60%),
        radial-gradient(40rem 26rem at -5% 30%, rgba(79, 70, 229, .45), transparent 60%),
        radial-gradient(30rem 20rem at 60% 110%, rgba(34, 211, 238, .18), transparent 70%),
        var(--gv-night);
}

/* Fine grid that fades out towards the bottom */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
    mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-weight: 800;
    line-height: 1.05;
}

.hero-lead {
    color: rgba(255, 255, 255, .76);
}

.hero-meta {
    color: rgba(255, 255, 255, .55);
}

.hero.hero-sm {
    padding: 8.5rem 0 4.5rem;
}

.hero-fade {
    display: none;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.25rem;
}

.hero-stat strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.hero-stat > span {
    color: rgba(255, 255, 255, .6);
    font-size: .85rem;
}

/* Product visual on the right of the home hero */
.device-stage {
    position: relative;
    max-width: 30rem;
    margin: 0 auto;
    aspect-ratio: 1 / 1.05;
}

.device-glow {
    position: absolute;
    inset: 12% 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 92, 255, .6), transparent 65%);
    filter: blur(30px);
}

.device-shot {
    position: absolute;
    width: 62%;
    /* the <img> carries width/height attributes for layout; without this the
       height stays at 520px while the width shrinks and the shot squashes */
    height: auto;
    aspect-ratio: 340 / 520;
    border-radius: 1.4rem;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 2.5rem 5rem rgba(0, 0, 0, .55);
}

.device-shot.is-front {
    left: 6%;
    top: 4%;
    z-index: 2;
}

.device-shot.is-back {
    right: 0;
    top: 18%;
    opacity: .9;
    transform: rotate(4deg);
}

.float-chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: #1e1b4b;
    font-size: .82rem;
    font-weight: 600;
    box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .3);
    animation: float 6s ease-in-out infinite;
}

.float-chip i {
    color: #22c55e;
}

.float-chip.is-a {
    left: -8%;
    bottom: -3%;
}

@media (max-width: 575.98px) {
    .float-chip.is-a { left: 0; }
    .float-chip.is-b { right: 0; }
}

.float-chip.is-b {
    right: -2%;
    top: 4%;
    animation-delay: -3s;
}

.float-chip.is-b i {
    color: var(--gv-indigo);
}

@keyframes float {
    50% { transform: translateY(-8px); }
}

/* Platform strip below the hero */
.platform-strip {
    border-bottom: 1px solid var(--bs-border-color);
}

.platform-strip .platform {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--bs-secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.platform-strip .platform i {
    font-size: 1.3rem;
}

.platform-strip .platform:hover {
    color: var(--bs-primary);
}

/* ---------- Cards ---------- */

.feature-card,
.client-card,
.plan-card,
.contact-card,
.step-card {
    height: 100%;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--gv-radius);
    background-color: var(--bs-body-bg);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.feature-card:hover,
.client-card:hover,
.plan-card:hover,
.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--bs-primary-rgb), .4);
    box-shadow: var(--gv-shadow);
}

.feature-icon,
.group-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: .9rem;
    background: rgba(var(--bs-primary-rgb), .1);
    color: var(--bs-primary);
    font-size: 1.35rem;
    flex: 0 0 auto;
}

.client-card.is-soon {
    opacity: .6;
}

.client-card.is-soon:hover {
    transform: none;
    box-shadow: none;
}

.client-icon {
    font-size: 2rem;
    color: var(--bs-primary);
}

.client-card.is-current {
    border-color: rgba(var(--bs-primary-rgb), .55);
    box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), .08);
}

.store-badge {
    height: 44px;
    opacity: .92;
    transition: opacity .2s ease, transform .2s ease;
}

.store-badge:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* ---------- Smart routing explainer ---------- */

.route-visual {
    position: relative;
    padding: 1.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1.5rem;
    background:
        radial-gradient(24rem 14rem at 100% 0%, rgba(124, 92, 255, .12), transparent 70%),
        var(--bs-body-bg);
    box-shadow: var(--gv-shadow);
}

.route-row {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .85rem 1rem;
    border-radius: 1rem;
    background: var(--bs-tertiary-bg);
}

.route-row + .route-row {
    margin-top: .6rem;
}

.route-site {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .7rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    font-size: 1.05rem;
    flex: 0 0 auto;
}

.route-name {
    flex: 1 1 auto;
    font-weight: 600;
    font-size: .95rem;
}

.route-tag {
    padding: .25rem .7rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}

.route-tag.is-proxy {
    color: #fff;
    background: var(--gv-gradient);
}

.route-tag.is-direct {
    color: #15803d;
    background: rgba(34, 197, 94, .14);
}

[data-bs-theme="dark"] .route-tag.is-direct {
    color: #4ade80;
}

.check-list li {
    display: flex;
    gap: .75rem;
    margin-bottom: .9rem;
}

.check-list i {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: .1rem;
    border-radius: 50%;
    background: rgba(var(--bs-primary-rgb), .12);
    color: var(--bs-primary);
    font-size: .8rem;
}

/* ---------- Extension spotlight (dark band) ---------- */

.ext-band {
    position: relative;
    overflow: hidden;
    color: #fff;
    border-radius: 2rem;
    background:
        radial-gradient(40rem 22rem at 100% 100%, rgba(34, 211, 238, .18), transparent 60%),
        radial-gradient(40rem 26rem at 0% 0%, rgba(124, 92, 255, .55), transparent 60%),
        var(--gv-ink);
}

.ext-band p {
    color: rgba(255, 255, 255, .76);
}

.ext-band .ext-shot {
    width: 100%;
    max-width: 19rem;
    height: auto;
    aspect-ratio: 340 / 520;
    border-radius: 1.4rem;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, .06), 0 2rem 4rem rgba(0, 0, 0, .5);
}

.ext-band .check-list i {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

/* ---------- Steps ---------- */

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .8rem;
    background: var(--gv-gradient);
    color: #fff;
    font-weight: 800;
}

/* ---------- Pricing ---------- */

.plan-card.is-featured {
    position: relative;
    border: 2px solid transparent;
    background:
        linear-gradient(var(--bs-body-bg), var(--bs-body-bg)) padding-box,
        var(--gv-gradient) border-box;
    box-shadow: 0 1.5rem 3rem rgba(79, 70, 229, .22);
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}

.plan-list li {
    display: flex;
    gap: .55rem;
    align-items: flex-start;
}

.plan-list i {
    color: var(--bs-primary);
    margin-top: .15rem;
}

/* ---------- FAQ ---------- */

.accordion-brand {
    --bs-accordion-bg: var(--bs-body-bg);
    --bs-accordion-border-color: var(--bs-border-color);
    --bs-accordion-active-bg: rgba(var(--bs-primary-rgb), .07);
    --bs-accordion-active-color: var(--bs-body-color);
    --bs-accordion-btn-focus-box-shadow: none;
}

.accordion-brand .accordion-item {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem !important;
    margin-bottom: .75rem;
    overflow: hidden;
}

.accordion-brand .accordion-button {
    font-weight: 600;
    padding: 1.15rem 1.25rem;
}

.accordion-brand .accordion-button:not(.collapsed) {
    box-shadow: none;
}

/* ---------- CTA ---------- */

.cta-panel {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    color: #fff;
    background:
        radial-gradient(30rem 20rem at 0% 0%, rgba(255, 255, 255, .18), transparent 60%),
        var(--gv-gradient);
    box-shadow: 0 2rem 4rem rgba(79, 70, 229, .3);
}

.cta-panel::before {
    content: "";
    position: absolute;
    right: -6rem;
    bottom: -8rem;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, .07);
}

.cta-panel > * {
    position: relative;
}

.cta-panel .hero-lead {
    color: rgba(255, 255, 255, .85);
}

.cta-panel .btn-light {
    color: var(--gv-indigo);
    font-weight: 700;
}

/* ---------- Footer ---------- */

.site-footer {
    color: rgba(255, 255, 255, .6);
    background: var(--gv-night);
}

.site-footer .brand-lockup {
    font-size: 1.2rem;
}

.site-footer a {
    color: rgba(255, 255, 255, .62);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer h6 {
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* ---------- Legal ---------- */

.legal-body h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: .75rem;
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body p,
.legal-body li {
    color: var(--bs-secondary-color);
    line-height: 1.75;
}

.legal-body ul {
    padding-left: 1.1rem;
}

.legal-body li {
    margin-bottom: .35rem;
}

.legal-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: .5rem;
}

.legal-body h4 {
    font-size: .95rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: .5rem;
    color: var(--bs-body-color);
}

.legal-body a {
    color: var(--bs-link-color);
}

.legal-toc {
    position: sticky;
    top: 6.5rem;
    border-left: 2px solid var(--bs-border-color);
    padding-left: 1rem;
}

.legal-toc a {
    color: var(--bs-secondary-color);
    text-decoration: none;
    display: block;
    padding: .15rem 0;
}

.legal-toc a:hover {
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .legal-toc {
        position: static;
        border-left: 0;
        padding-left: 0;
        margin-bottom: 2rem;
    }
}

.legal-body h2[id],
.legal-body h3[id],
.legal-body h4[id] {
    scroll-margin-top: 6rem;
}

/* ---------- Account forms (forgot / reset password) ---------- */

.auth-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1.5rem;
    background-color: var(--bs-body-bg);
    box-shadow: var(--gv-shadow);
}

.auth-card .form-control {
    border-radius: .8rem;
    padding: .75rem 1rem;
}

.auth-card .form-control:focus {
    border-color: rgba(var(--bs-primary-rgb), .6);
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .15);
}

.auth-card .password-toggle {
    border-top-right-radius: .8rem;
    border-bottom-right-radius: .8rem;
}

.auth-state-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    background: var(--gv-gradient);
}

.auth-state-icon.is-danger {
    background: var(--bs-danger);
}

/* ---------- Motion ---------- */

.js-reveal .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.js-reveal .reveal.is-in {
    opacity: 1;
    transform: none;
}

.js-reveal .reveal {
    filter: blur(6px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), filter .7s ease;
}

.js-reveal .reveal.is-in {
    filter: none;
}

/* Hero: live node network (canvas, drawn by static/js/motion.js), a drifting
   grid and a slow scan line */
.hero-net {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .9;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

/* Space, not graph paper: the home hero drops the grid, the canvas draws
   stars and the solar system instead (static/js/cosmos.js) */
.hero-home::before {
    display: none;
}

.hero-home .hero-net {
    opacity: 1;
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}

/* Empty square the canvas centres the scene on; it only holds the chips */
.cosmos-stage {
    position: relative;
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
}

.cosmos-stage .float-chip.is-a { left: 0; bottom: 8%; }
.cosmos-stage .float-chip.is-b { right: 0; top: 8%; }

.hero-scan {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(103, 232, 249, .07) 70%, rgba(103, 232, 249, .35) 99%, transparent);
    animation: scan 9s cubic-bezier(.45, 0, .55, 1) infinite;
}

@keyframes scan {
    0% { transform: translateY(-140px); opacity: 0; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(900px); opacity: 0; }
}

.text-shimmer {
    background-image: linear-gradient(90deg, #c4b5fd 0%, #a5b4fc 25%, #67e8f9 50%, #a5b4fc 75%, #c4b5fd 100%);
    background-size: 200% auto;
    animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
    to { background-position: -200% center; }
}

.live-dot {
    display: inline-block;
    width: .5rem;
    height: .5rem;
    margin-right: .45rem;
    border-radius: 50%;
    background: #22c55e;
    vertical-align: .05em;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
    animation: live 2s ease-out infinite;
}

@keyframes live {
    70% { box-shadow: 0 0 0 .45rem rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Primary call to action: soft breathing glow and a light sweep on hover */
.btn-glow {
    position: relative;
    overflow: hidden;
    animation: breathe 3.2s ease-in-out infinite;
}

.btn-glow::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    transition: left .7s ease;
}

.btn-glow:hover::after {
    left: 130%;
}

@keyframes breathe {
    50% { box-shadow: 0 0 0 .35rem rgba(124, 92, 255, .18), 0 .8rem 2.4rem rgba(124, 92, 255, .45); }
}

/* Product stage: orbit rings behind the shots, pointer parallax on the shots.
   Translate only — never scale or skew, the screenshots must stay true. */
.device-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 96%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(167, 139, 250, .22);
    pointer-events: none;
}

.device-orbit::before {
    content: "";
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    border: 1px solid rgba(103, 232, 249, .12);
}

.device-orbit span {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: orbit 18s linear infinite;
}

.device-orbit span:nth-child(2) { inset: 14%; animation-duration: 12s; animation-direction: reverse; }
.device-orbit span:nth-child(3) { animation-duration: 26s; animation-delay: -9s; }

.device-orbit span::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-radius: 50%;
    background: #67e8f9;
    box-shadow: 0 0 12px 3px rgba(103, 232, 249, .7);
}

.device-orbit span:nth-child(2)::after {
    background: #c4b5fd;
    box-shadow: 0 0 12px 3px rgba(167, 139, 250, .7);
}

@keyframes orbit {
    to { transform: rotate(360deg); }
}

.device-shot {
    transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}

.device-shot.is-front {
    transform: translate3d(calc(var(--px, 0) * 18px), calc(var(--py, 0) * 18px), 0);
}

.device-shot.is-back {
    transform: translate3d(calc(var(--px, 0) * -12px), calc(var(--py, 0) * -12px), 0) rotate(4deg);
}

/* Cards: a soft light follows the pointer */
.spot-card {
    position: relative;
    overflow: hidden;
}

.spot-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(18rem circle at var(--mx, 50%) var(--my, 0%), rgba(var(--bs-primary-rgb), .12), transparent 60%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.spot-card:hover::before {
    opacity: 1;
}

.spot-card > * {
    position: relative;
}

.feature-card .feature-icon {
    transition: transform .3s ease, background-color .3s ease, color .3s ease;
}

.feature-card:hover .feature-icon {
    transform: translateY(-2px);
    color: #fff;
    background: var(--gv-gradient);
}

/* Rotating light running around a block's border */
@property --gv-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.glow-border::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(from var(--gv-angle), transparent 0deg, rgba(167, 139, 250, .9) 50deg, rgba(103, 232, 249, .9) 90deg, transparent 140deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    animation: spin-angle 6s linear infinite;
    pointer-events: none;
}

@keyframes spin-angle {
    to { --gv-angle: 360deg; }
}

/* Smart routing demo: packets flowing toward Proxy / Direct */
.route-flow {
    position: relative;
    flex: 0 0 3rem;
    height: 2px;
    border-radius: 2px;
    background: repeating-linear-gradient(90deg, rgba(var(--bs-primary-rgb), .25) 0 4px, transparent 4px 8px);
}

.route-flow.is-direct {
    background: repeating-linear-gradient(90deg, rgba(34, 197, 94, .3) 0 4px, transparent 4px 8px);
}

.route-flow i {
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: var(--gv-violet);
    box-shadow: 0 0 10px 2px rgba(124, 92, 255, .6);
    animation: flow 1.8s ease-in infinite;
}

.route-flow.is-direct i {
    background: #22c55e;
    box-shadow: 0 0 10px 2px rgba(34, 197, 94, .55);
}

.route-row:nth-of-type(2) .route-flow i { animation-delay: -.3s; }
.route-row:nth-of-type(3) .route-flow i { animation-delay: -.9s; }
.route-row:nth-of-type(4) .route-flow i { animation-delay: -1.4s; }
.route-row:nth-of-type(5) .route-flow i { animation-delay: -.6s; }
.route-row:nth-of-type(6) .route-flow i { animation-delay: -1.1s; }

@keyframes flow {
    0% { left: 0; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: calc(100% - 7px); opacity: 0; }
}

.route-row {
    transition: background-color .25s ease, transform .25s ease;
}

.route-row:hover {
    transform: translateX(4px);
    background: rgba(var(--bs-primary-rgb), .08);
}

/* Install steps inside the dark extension band */
.install-steps li {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .35rem 0;
    color: rgba(255, 255, 255, .86);
}

.install-steps span {
    flex: 0 0 auto;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
}

.soon-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.1rem;
    border-radius: 1rem;
    border: 1px dashed rgba(255, 255, 255, .3);
    color: rgba(255, 255, 255, .8);
    font-weight: 600;
}

.account-app.is-soon {
    opacity: .7;
    cursor: default;
}

.account-app.is-soon:hover {
    border-color: var(--bs-border-color);
    background: transparent;
}

@media (prefers-reduced-motion: reduce) {
    .js-reveal .reveal { opacity: 1; transform: none; transition: none; filter: none; }
    .float-chip,
    .hero-scan,
    .text-shimmer,
    .live-dot,
    .btn-glow,
    .device-orbit span,
    .glow-border::after,
    .route-flow i { animation: none; }
    .hero-scan { display: none; }
}

/* ---------- Web accounts (sign in / sign up / account page) ---------- */

.auth-page,
.account-page {
    padding: 8rem 0 5rem;
    min-height: calc(100vh - 4rem);
    background:
        radial-gradient(60rem 30rem at 50% -10rem, rgba(var(--bs-primary-rgb), .12), transparent 70%);
}

.auth-aside {
    border-radius: 1.5rem;
    background: rgba(var(--bs-primary-rgb), .06);
    border: 1px solid rgba(var(--bs-primary-rgb), .14);
}

.auth-perks li {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
}

.auth-perks li + li {
    margin-top: 1.25rem;
}

.auth-perks i {
    flex: none;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: .8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    background: var(--gv-gradient);
}

.auth-perks strong,
.auth-perks span {
    display: block;
}

.auth-perks span {
    color: var(--bs-secondary-color);
    font-size: .9rem;
}

.account-page .container {
    max-width: 960px;
}

.account-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1.25rem;
    background-color: var(--bs-body-bg);
    box-shadow: var(--gv-shadow);
    padding: 1.5rem;
}

.account-verify {
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(var(--bs-warning-rgb), .45);
    background: rgba(var(--bs-warning-rgb), .1);
}

.account-verify > .bi {
    color: var(--bs-warning-text-emphasis);
}

.account-progress {
    height: .6rem;
    border-radius: 1rem;
}

.account-progress .progress-bar {
    background: var(--gv-gradient);
}

.account-app {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1rem;
    border-radius: .9rem;
    border: 1px solid var(--bs-border-color);
    color: var(--bs-body-color);
    text-decoration: none;
    font-weight: 600;
    transition: border-color .2s ease, background-color .2s ease;
}

.account-app:hover {
    border-color: rgba(var(--bs-primary-rgb), .5);
    background: rgba(var(--bs-primary-rgb), .05);
    color: var(--bs-body-color);
}

.account-app .bi {
    font-size: 1.3rem;
    color: var(--bs-primary);
}

.account-devices li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .9rem 0;
}

.account-devices li + li {
    border-top: 1px solid var(--bs-border-color);
}

.account-devices li > .bi {
    flex: none;
    font-size: 1.3rem;
    color: var(--bs-secondary-color);
}

.min-w-0 {
    min-width: 0;
}
