/* ==========================================================================
   cloudyesai.cz — landing page styles
   Dark theme with a green (emerald -> deep emerald) accent gradient on a
   dark green background. Layout is shared with the sibling microsites
   (czech-cloud.eu, cloud-gaming.cz, c2a.cloud); only the color tokens below
   and a few section-specific bits differ.
   ========================================================================== */

:root {
    --bg: #061510;
    --bg-alt: #082017;
    --surface: #0c261b;
    --surface-2: #103123;
    --border: #1d4433;
    --text: #eefbf4;
    --text-dim: #9ac2b1;
    --text-faint: #5d8f77;

    --accent: #34d399;
    --accent-2: #059669;
    --accent-grad: linear-gradient(120deg, var(--accent), var(--accent-2));
    --accent-grad-soft: linear-gradient(120deg, rgba(52, 211, 153, .16), rgba(5, 150, 105, .16));

    --ok: #35e08a;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;

    --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
    --font-display: 'Space Grotesk', 'Sora', system-ui, sans-serif;
    --font-body: 'Sora', system-ui, -apple-system, sans-serif;

    /* Retint stock Bootstrap components (badges, buttons, links, …) to the
       site's green brand color instead of Bootstrap's default blue. */
    --bs-primary: #059669;
    --bs-primary-rgb: 5, 150, 105;
    --bs-link-color: #34d399;
    --bs-link-color-rgb: 52, 211, 153;
    --bs-link-hover-color: #6ee7b7;
    --bs-link-hover-color-rgb: 110, 231, 183;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Page-wide grid backdrop, visible behind every section */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse 120% 70% at 50% 0%, black, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 120% 70% at 50% 0%, black, transparent 90%);
}

body > header,
body > main,
body > section,
body > footer {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 .5em;
    letter-spacing: -.01em;
}

p {
    margin: 0 0 1em;
    color: var(--text-dim);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    display: block;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1em;
}

.eyebrow--muted {
    color: var(--text-faint);
}

.eyebrow i {
    color: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .95rem;
    padding: .8em 1.5em;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent-grad);
    color: #06090f;
    box-shadow: 0 12px 30px -10px rgba(52, 211, 153, .45);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -10px rgba(5, 150, 105, .5);
}

.btn--outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--ghost {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .08);
    color: var(--text);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, .08);
}

.btn--sm {
    padding: .55em 1.1em;
    font-size: .85rem;
}

.btn--lg {
    padding: 1em 1.9em;
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 22, 15, .7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, background .25s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--border);
    background: rgba(6, 22, 15, .92);
}

.site-header__inner {
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Thin utility bar right under the main nav, linking to our other sites by need */
.header-links-bar {
    width: 100%;
    background: rgba(255, 255, 255, .02);
    border-bottom: 1px solid var(--border);
}

.header-links-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 28px;
    padding: 10px 0;
}

.header-links-bar__item {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    font-size: .78rem;
    color: var(--text-faint);
    transition: color .18s ease;
}

.header-links-bar__item i {
    font-size: .65rem;
    color: var(--text-faint);
    transition: color .18s ease;
}

.header-links-bar__domain {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-dim);
    transition: color .18s ease;
}

.header-links-bar__item:hover,
.header-links-bar__item:hover i,
.header-links-bar__item:hover .header-links-bar__domain {
    color: var(--accent);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
}

.brand__mark {
    width: auto;
    height: 30px;
}

.brand__tld {
    color: var(--accent);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav__link {
    font-size: .92rem;
    font-weight: 500;
    color: var(--text-dim);
    position: relative;
    padding: 4px 0;
    transition: color .18s ease;
}

.main-nav__link:hover {
    color: var(--text);
}

.main-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -2px;
    height: 2px;
    background: var(--accent-grad);
    border-radius: 2px;
    transition: right .22s ease;
}

.main-nav__link:hover::after {
    right: 0;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 1.05rem;
    cursor: pointer;
}

/* ---------- Hero ---------- */
/* Section is full-bleed (edge to edge); the readable content stays
   inside the Bootstrap .container so text width matches the rest of the page. */
.hero {
    position: relative;
    width: 100%;
    padding: 90px 0 70px;
    overflow: hidden;
}

.hero .row {
    position: relative;
    z-index: 1;
}

/* Glow graphic bleeds across the whole viewport width, not just the
   centered text column, so it doesn't look like it stops halfway. */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: .35;
}

.hero__glow--a {
    background: var(--accent);
    top: -220px;
    left: -10%;
}

.hero__glow--b {
    background: var(--accent-2);
    bottom: -260px;
    right: -10%;
}

.hero h1 {
    font-size: clamp(2.4rem, 4.4vw, 3.6rem);
    margin-bottom: .4em;
}

.hero__lead {
    font-size: 1.08rem;
    max-width: 46ch;
    margin-bottom: 2em;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 3em;
}

/* Hero stats row is built with stock Bootstrap (row-cols + badge), no
   dedicated component styling needed here anymore. */

/* Hero mock panel */
.hero__panel {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero__panel-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .02);
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    background: var(--ok);
    box-shadow: 0 0 0 0 rgba(53, 224, 138, .6);
    animation: statusPulse 2.2s ease-out infinite;
}

@keyframes statusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(53, 224, 138, .55);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(53, 224, 138, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(53, 224, 138, 0);
    }
}

.hero__panel-title {
    margin-left: 8px;
    font-size: .78rem;
    color: var(--text-faint);
    font-family: 'JetBrains Mono', monospace;
}

.hero__panel-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero__panel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .88rem;
    color: var(--text-dim);
}

.hero__panel-row strong {
    color: var(--text);
    font-family: var(--font-display);
}

/* Prev/next control for cycling through real product tiers in the panel */
.hero__panel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, .02);
}

.hero__panel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease;
    flex-shrink: 0;
}

.hero__panel-arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero__panel-name {
    flex: 1;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .92rem;
}

.hero__panel-link {
    display: block;
    text-align: center;
    padding: 12px 18px;
    border-top: 1px solid var(--border);
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
    transition: background .18s ease;
}

.hero__panel-link:hover {
    background: rgba(255, 255, 255, .03);
}

.chip {
    font-size: .74rem;
    font-weight: 600;
    padding: .3em .8em;
    border-radius: 999px;
}

.chip--ok {
    background: rgba(53, 224, 138, .14);
    color: var(--ok);
}

.meter {
    width: 130px;
    height: 6px;
    border-radius: 999px;
    background: var(--border);
    overflow: hidden;
    display: inline-block;
}

.meter i {
    display: block;
    height: 100%;
    background: var(--accent-grad);
    border-radius: 999px;
}

/* ---------- Trust strip ---------- */
.trust-strip {
    width: 100%;
    padding: 22px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-strip .container {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}

.trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    font-size: .85rem;
    color: var(--text-faint);
}

.trust-strip i {
    color: var(--accent);
}

/* ---------- Generic section ---------- */
/* Full-bleed section; content width is controlled by the Bootstrap
   .container placed inside each section in the markup. */
.section {
    width: 100%;
    padding: 96px 0;
}

.section--alt {
    background: rgba(8, 26, 18, .88);
}

.section__head {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
}

.section__head h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

/* ---------- Cards ---------- */
/* Grid/columns come from Bootstrap's .row / .col-* in the markup.
   Named .feature-card (not .card) so it doesn't collide with Bootstrap's
   own .card component, which sets color:var(--bs-body-color) — that dark
   text was inherited by our headings and made them unreadable on the
   dark surface. */
.feature-card {
    height: 100%;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: transform .2s ease, border-color .2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 211, 153, .35);
}

/* Flagship benefit, pulled visually out of the row like .price-card--highlight */
.feature-card--highlight {
    background: linear-gradient(180deg, rgba(52, 211, 153, .07), rgba(5, 150, 105, .05)), var(--surface);
    border-color: rgba(52, 211, 153, .45);
    box-shadow: 0 24px 60px -24px rgba(5, 150, 105, .45);
}

.feature-card--highlight .feature-card__icon {
    background: var(--accent-grad);
    color: #06090f;
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-grad-soft);
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.feature-card h3 {
    color: var(--text);
    font-size: 1.08rem;
    margin-bottom: .5em;
}

.feature-card p {
    font-size: .92rem;
    margin: 0;
}

/* ---------- Steps ---------- */
/* Grid/columns come from Bootstrap's .row / .col-* in the markup. */
.step {
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.step__number {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: .3em;
}

.step h3 {
    color: var(--text);
    font-size: 1.05rem;
}

.step p {
    font-size: .92rem;
    margin: 0;
}

/* ---------- Perks (USB passthrough highlight + benefit list) ---------- */
.perks {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.perks__highlight {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 32px;
}

.perks__highlight-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-grad);
    color: #06090f;
    font-size: 1.4rem;
}

.perks__highlight h3 {
    color: var(--text);
    font-size: 1.3rem;
    margin: .2em 0 .4em;
}

.perks__highlight p {
    max-width: 60ch;
    margin: 0;
}

.perks__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.perk {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.perk i {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--accent);
    font-size: .95rem;
}

.perk h4 {
    color: var(--text);
    font-family: var(--font-display);
    font-size: .96rem;
    margin: 0 0 .3em;
}

.perk p {
    font-size: .86rem;
    margin: 0;
}

.perk p a {
    color: var(--accent);
    text-decoration: underline;
}

/* ---------- Info callout (framed as a helpful tip, not a warning) ---------- */
.info-callout {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-top: 32px;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--accent-grad-soft), var(--surface);
}

.info-callout__icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 211, 153, .16);
    color: var(--accent);
    font-size: 1.05rem;
}

.info-callout__body h3 {
    color: var(--text);
    font-size: 1.05rem;
    margin-bottom: .4em;
}

.info-callout__body p {
    margin-bottom: 1em;
}

.info-callout__specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-callout__specs li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .5em;
    font-size: .88rem;
}

.info-callout__specs strong {
    color: var(--text);
    font-family: var(--font-display);
}

.info-callout__specs span {
    color: var(--text-dim);
}

/* ---------- Latency tips ---------- */
.latency-tips {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.latency-tips__head {
    max-width: 640px;
    margin: 0 auto 32px;
}

.latency-tips__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.latency-tip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 24px;
}

.latency-tip__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-grad-soft);
    color: var(--accent);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.latency-tip h4 {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1rem;
    margin: 0 0 .5em;
}

.latency-tip p {
    font-size: .88rem;
    margin: 0;
}

/* ---------- Secondary/basic tier callout (kept separate from the main grid) ---------- */
.basic-callout {
    margin-top: 32px;
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.basic-callout__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .05);
    color: var(--text-dim);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.basic-callout__body {
    flex: 1;
    min-width: 220px;
}

.basic-callout__body span.eyebrow {
    margin-bottom: .4em;
}

.basic-callout__body h3 {
    color: var(--text);
    margin: 0 0 .4em;
    font-size: 1.15rem;
}

.basic-callout__body p {
    margin: 0;
    font-size: .92rem;
}

.basic-callout__price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    white-space: nowrap;
    color: var(--text);
}

.basic-callout__price small {
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-faint);
}

/* ---------- Pricing ---------- */
/* Grid/columns come from Bootstrap's .row / .col-* in the markup;
   with 7 cards per row-cols-lg-4 that's two rows (4 + 3), so the
   highlighted card no longer needs a vertical offset. */
.price-card {
    position: relative;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
}

.price-card--highlight {
    background: linear-gradient(180deg, rgba(52, 211, 153, .07), rgba(5, 150, 105, .05)), var(--surface);
    border-color: rgba(52, 211, 153, .45);
    box-shadow: 0 24px 60px -24px rgba(5, 150, 105, .45);
}

.price-card__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-grad);
    color: #06090f;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: .4em 1em;
    border-radius: 999px;
}

.price-card h3 {
    font-size: 1.2rem;
    margin-bottom: .2em;
}

.price-card__tag {
    font-size: .84rem;
    color: var(--text-faint);
    margin-bottom: 1.2em;
}

.price-card__price {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.4em;
    display: flex;
    align-items: baseline;
    gap: .15em;
}

.price-card__price small {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-faint);
}

.price-card__specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    flex: 1;
}

.price-card__specs li {
    display: flex;
    align-items: center;
    gap: .7em;
    font-size: .9rem;
    color: var(--text-dim);
}

.price-card__specs i {
    width: 18px;
    color: var(--accent);
}

.pricing__note {
    text-align: center;
    font-size: .84rem;
    color: var(--text-faint);
    margin: 28px 0 0;
}

/* ---------- Devices ---------- */
/* Grid/columns come from Bootstrap's .row / .col-* in the markup. */
.device {
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform .2s ease, border-color .2s ease;
}

.device:hover {
    transform: translateY(-3px);
    border-color: rgba(5, 150, 105, .4);
}

.device i {
    font-size: 1.6rem;
    color: var(--accent);
}

.device span {
    font-size: .85rem;
    color: var(--text-dim);
}

/* ---------- Infra ---------- */
/* Grid/columns come from Bootstrap's .row / .col-* in the markup. */
.infra__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1.4em;
}

.infra__list li {
    display: flex;
    align-items: center;
    gap: .7em;
    font-size: .94rem;
    color: var(--text-dim);
}

.infra__list i {
    color: var(--accent);
}

.infra__panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.infra__stat {
    background: var(--surface-2);
    border-radius: var(--radius);
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    gap: .3em;
}

.infra__stat strong {
    font-family: var(--font-display);
    font-size: 1.6rem;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.infra__stat span {
    font-size: .8rem;
    color: var(--text-faint);
}

/* ---------- FAQ ---------- */
.faq {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    border: none;
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .98rem;
    text-align: left;
    padding: 20px 24px;
    cursor: pointer;
}

.faq-item__q i {
    color: var(--accent);
    transition: transform .22s ease;
    flex-shrink: 0;
}

.faq-item.is-open .faq-item__q i {
    transform: rotate(180deg);
}

.faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
}

.faq-item__a p {
    padding: 0 24px 22px;
    margin: 0;
    font-size: .92rem;
}

.faq-breakdown {
    padding: 0 24px 22px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-breakdown li {
    font-size: .88rem;
    color: var(--text-dim);
}

.faq-breakdown strong {
    color: var(--accent);
    font-family: var(--font-display);
}

/* ---------- CTA band ---------- */
.cta-band {
    width: 100%;
    padding-bottom: 40px;
}

.cta-band__inner {
    background: var(--accent-grad);
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.cta-band__inner h2 {
    color: #06090f;
    margin-bottom: .2em;
    font-size: 1.7rem;
}

.cta-band__inner p {
    color: rgba(6, 9, 15, .72);
    margin: 0;
}

.cta-band .btn--primary {
    background: #06090f;
    color: var(--text);
    box-shadow: none;
}

.cta-band .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(6, 9, 15, .5);
}

/* ---------- Footer ---------- */
.site-footer {
    width: 100%;
    padding: 20px 0 40px;
}

/* Grid/columns come from Bootstrap's .row / .col-* in the markup. */
.site-footer__grid {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-col h4 {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-faint);
    margin-bottom: 1.2em;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: var(--text-dim);
    font-size: .9rem;
    transition: color .18s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-col--about p {
    font-size: .88rem;
    margin: 16px 0 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .18s ease, color .18s ease;
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.footer-contact li {
    margin-bottom: 12px;
    color: var(--text-dim);
    font-size: .9rem;
}

.footer-contact a,
.footer-contact i {
    display: inline-flex;
    align-items: center;
    gap: .6em;
}

.footer-contact i {
    color: var(--accent);
}

.footer-legal {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.footer-col--c2a .footer-c2a {
    display: inline-block;
    margin-bottom: 14px;
}

.footer-col--c2a img {
    height: 28px;
    width: auto;
}

.footer-col--c2a p {
    font-size: .85rem;
    margin: 0;
}

.site-footer__bottom {
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .82rem;
    color: var(--text-faint);
}

.site-footer__bottom a {
    color: var(--text-dim);
}

.site-footer__bottom a:hover {
    color: var(--accent);
}

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
    z-index: 90;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ---------- Cookie consent ---------- */
.cookie-consent {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: 620px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    z-index: 200;
    transform: translateY(140%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
}

.cookie-consent.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent__text {
    font-size: .86rem;
    color: var(--text-dim);
    flex: 1;
    min-width: 220px;
}

.cookie-consent__actions {
    display: flex;
    gap: 10px;
}

/* ---------- Error pages ---------- */
.error-page {
    text-align: center;
    padding-top: 120px;
    padding-bottom: 140px;
}

.error-page__code {
    display: block;
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 700;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: .1em;
}

.error-page p {
    max-width: 46ch;
    margin: 0 auto 2em;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
/* Column counts for cards/pricing/steps/devices/footer/infra are handled
   by Bootstrap's row-cols-* breakpoints in the markup; only the bits
   Bootstrap doesn't cover stay here. */
@media (max-width: 860px) {
    .hero {
        padding-top: 60px;
    }

    .hero__panel {
        transform: none;
    }

    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .site-header.nav-open .main-nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px 24px;
    }

    .latency-tips__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {

    .cta-band__inner {
        padding: 36px 28px;
    }

    .section {
        padding: 64px 0;
    }

    .section--alt {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .perks__grid {
        grid-template-columns: 1fr;
    }

    .perks__highlight {
        flex-direction: column;
    }

    .basic-callout {
        flex-direction: column;
        align-items: flex-start;
    }

    .latency-tips__grid {
        grid-template-columns: 1fr;
    }
}