/* 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%;
    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;
    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;
}

@media (prefers-reduced-motion: reduce) {
    .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
    .float-chip { animation: 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;
}
