/* ==================================================================
   BootBLAST - shared site styles
   ================================================================== */

:root {
    --bg: #080b14;
    --card: rgba(255, 255, 255, 0.06);
    --card-strong: rgba(255, 255, 255, 0.1);
    --text: #f7f8ff;
    --muted: #aab2c8;
    --accent: #ff6b35;
    --accent2: #ffd166;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius: 22px;
    --header-height: 72px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 107, 53, 0.2), transparent 32%),
        radial-gradient(circle at 85% 0%, rgba(255, 209, 102, 0.13), transparent 28%),
        linear-gradient(180deg, #080b14 0%, #0f1422 55%, #080b14 100%);
    background-attachment: fixed;
}

body > main {
    flex: 1;
}

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

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

.site-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-icon {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--accent2) 45%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Header / navigation ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 11, 20, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.site-nav {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.site-logo strong {
    font-weight: 900;
}

.site-logo-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #161616;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.35);
}

.site-logo-mark .site-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav-links a {
    display: block;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.site-nav-links a.is-active {
    color: var(--accent2);
    background: rgba(255, 209, 102, 0.1);
}

.site-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    cursor: pointer;
}

.site-menu-toggle .site-icon {
    width: 22px;
    height: 22px;
}

.site-menu-toggle .icon-close,
.menu-open .site-menu-toggle .icon-open {
    display: none;
}

.menu-open .site-menu-toggle .icon-close {
    display: block;
}

/* ---------- Buttons ---------- */

.site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #151515;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(255, 107, 53, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(255, 107, 53, 0.35);
}

.site-btn-secondary {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--line);
    color: var(--text);
    box-shadow: none;
}

.site-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.site-btn-small {
    padding: 10px 18px;
    font-size: 14px;
}

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

.site-footer {
    margin-top: 40px;
    padding: 34px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.site-footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.site-footer p {
    margin: 8px 0 0;
}

.site-logo-small {
    font-size: 19px;
    color: var(--text);
}

.site-logo-small .site-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
}

.site-logo-small .site-logo-mark .site-icon {
    width: 18px;
    height: 18px;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-links a:hover {
    color: var(--text);
}

.site-footer .site-copyright {
    width: 100%;
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==================================================================
   Page building blocks (Home / Features / Contact)
   ================================================================== */

.section {
    padding: 80px 0;
}

.section-head {
    max-width: 700px;
    margin-bottom: 38px;
}

.section-head.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 209, 102, 0.3);
    border-radius: 999px;
    background: rgba(255, 209, 102, 0.08);
    color: var(--accent2);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.lead {
    max-width: 620px;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 19px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ---------- Hero ---------- */

.hero {
    padding: 80px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: center;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(40px, 5.6vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.check-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 14px;
}

.check-list li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.check-list .site-icon {
    color: var(--accent2);
}

/* Small page hero used on inner pages */

.page-hero {
    padding: 70px 0 20px;
    text-align: center;
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.page-hero .lead {
    margin: 0 auto;
}

/* ---------- Screenshot frame ---------- */

.shot {
    position: relative;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow);
}

.shot img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.shot figcaption {
    padding: 12px 6px 4px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.shot-glow::before {
    content: "";
    position: absolute;
    inset: 12% 8% auto;
    height: 70%;
    z-index: -1;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.35), transparent 65%);
    filter: blur(40px);
}

/* ---------- Chips (chipsets / brands) ---------- */

.chip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
    font-weight: 700;
}

.chip .site-icon {
    color: var(--accent);
}

.chip-muted {
    color: var(--muted);
    font-weight: 600;
}

.strip {
    padding: 34px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.strip-label {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
}

/* ---------- Scrolling brand strip ---------- */

.brand-marquee {
    overflow: hidden;
    padding: 6px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.brand-track {
    display: flex;
    width: max-content;
    animation: brand-scroll 32s linear infinite;
}

.brand-marquee:hover .brand-track {
    animation-play-state: paused;
}

.brand-group {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0 16px 0 0;
    list-style: none;
}

.brand-tile {
    width: 170px;
    height: 84px;
    display: grid;
    place-items: center;
    padding: 18px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--card);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.brand-tile:hover {
    border-color: rgba(255, 209, 102, 0.35);
    background: var(--card-strong);
}

.brand-tile img {
    max-width: 100%;
    max-height: 38px;
    object-fit: contain;
    /* Show logos in white so they all match; original colours on hover */
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.brand-tile:hover img {
    filter: none;
    opacity: 1;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-more {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

@keyframes brand-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Visitors who prefer less motion get a static, wrapped list */
@media (prefers-reduced-motion: reduce) {
    .brand-marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .brand-track {
        width: auto;
        animation: none;
    }

    .brand-group {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
    }

    .brand-group[aria-hidden="true"] {
        display: none;
    }
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.feature-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.feature-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 209, 102, 0.3);
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.3;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 15px;
    background: rgba(255, 107, 53, 0.13);
    color: var(--accent2);
}

.feature-icon .site-icon {
    width: 24px;
    height: 24px;
}

/* Big two-pillar cards on home page */

.pillar {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 107, 53, 0.18), transparent 45%),
        var(--card);
    box-shadow: var(--shadow);
}

.pillar h3 {
    margin: 0 0 10px;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.pillar > p {
    margin: 0 0 20px;
    color: var(--muted);
}

.pillar ul {
    display: grid;
    gap: 10px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.pillar li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pillar li .site-icon {
    margin-top: 4px;
    color: var(--accent2);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent2);
    font-weight: 700;
}

.text-link:hover {
    gap: 12px;
}

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

.step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    counter-reset: step;
}

.step-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
}

.step-card h3 {
    margin: 0 0 6px;
    font-size: 19px;
}

.step-card p {
    margin: 0;
    color: var(--muted);
}

.step-num {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #141414;
    font-weight: 900;
}

/* ---------- Split layout (text + screenshot) ---------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.split.reverse > :first-child {
    order: 2;
}

/* ---------- Call to action ---------- */

.cta-box {
    padding: 56px 28px;
    border: 1px solid var(--line);
    border-radius: 32px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 107, 53, 0.25), transparent 45%),
        rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
}

.cta-box h2 {
    margin: 0 0 14px;
    font-size: clamp(32px, 4.6vw, 54px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.cta-box p {
    max-width: 600px;
    margin: 0 auto 26px;
    color: var(--muted);
}

.cta-box .button-row {
    justify-content: center;
}

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

.faq-list {
    display: grid;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--card);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    color: var(--accent2);
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
    transform: rotate(45deg);
}

.faq-list details p {
    margin: 0;
    padding: 0 22px 20px;
    color: var(--muted);
}

/* ---------- Forms (Contact) ---------- */

.contact-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 24px;
    align-items: start;
}

.form-card {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--card);
    box-shadow: var(--shadow);
}

.form-field {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

.form-field label {
    font-size: 14px;
    font-weight: 700;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text);
    font: inherit;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
    min-height: 180px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: rgba(255, 209, 102, 0.6);
    box-shadow: 0 0 0 4px rgba(255, 209, 102, 0.12);
}

.form-field .field-hint {
    color: var(--muted);
    font-size: 13px;
}

/* Hidden anti-spam field */
.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 13px;
    font-weight: 600;
}

.form-alert .site-icon {
    margin-top: 3px;
}

.form-alert.success {
    border: 1px solid rgba(57, 255, 20, 0.35);
    background: rgba(57, 255, 20, 0.08);
    color: #9dff8a;
}

.form-alert.error {
    border: 1px solid rgba(255, 90, 90, 0.4);
    background: rgba(255, 90, 90, 0.08);
    color: #ff9c9c;
}

.side-card {
    display: grid;
    gap: 14px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--card);
}

.side-card + .side-card {
    margin-top: 18px;
}

.side-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 18px;
}

.side-card h3 .site-icon {
    color: var(--accent2);
}

.side-card p {
    margin: 0;
    color: var(--muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .hero-grid,
    .split,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .split.reverse > :first-child {
        order: 0;
    }

    .feature-grid,
    .feature-grid.cols-4,
    .step-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile menu */
    .site-menu-toggle {
        display: grid;
    }

    .site-menu {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px 20px 22px;
        border-bottom: 1px solid var(--line);
        background: rgba(8, 11, 20, 0.97);
    }

    .menu-open .site-menu {
        display: flex;
    }

    .site-nav-links {
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav-links a {
        padding: 12px 14px;
        border-radius: 12px;
    }
}

@media (max-width: 600px) {
    .site-container {
        width: calc(100% - 28px);
    }

    .section {
        padding: 56px 0;
    }

    .hero {
        padding-top: 48px;
    }

    .feature-grid,
    .feature-grid.cols-2,
    .feature-grid.cols-4,
    .step-grid {
        grid-template-columns: 1fr;
    }

    .pillar,
    .form-card {
        padding: 24px;
    }
}
