:root {
    --bp-bg: #0d1117;
    --bp-bg-soft: #121821;
    --bp-panel: #171e28;
    --bp-panel-light: #1c2530;
    --bp-blue: #68b8ff;
    --bp-blue-deep: #258be7;
    --bp-text: #f7f9fb;
    --bp-muted: #aab5c1;
    --bp-border: rgba(255, 255, 255, 0.11);
    --bp-container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--bp-text);
    font-family: "Figtree", sans-serif;
    background: var(--bp-bg);
}

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

a {
    color: inherit;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.bp-container {
    width: min(calc(100% - 3rem), var(--bp-container));
    margin-inline: auto;
}

/* Header and navigation */

.bp-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid transparent;
    transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.bp-header.is-scrolled {
    background: rgba(11, 15, 21, 0.88);
    border-color: var(--bp-border);
    backdrop-filter: blur(18px);
}

.bp-header-inner {
    display: flex;
    min-height: 90px;
    align-items: center;
    justify-content: space-between;
}

.bp-brand {
    display: inline-flex;
    position: relative;
    z-index: 2;
}

.bp-brand img {
    width: 155px;
    height: auto;
}

.bp-navigation {
    display: flex;
    gap: 0.2rem;
    align-items: center;
}

.bp-navigation > a {
    position: relative;
    padding: 0.75rem 0.9rem;
    color: #dce3ea;
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
    border-radius: 999px;
}

.bp-navigation > a:not(.bp-nav-portal)::after {
    position: absolute;
    right: 0.9rem;
    bottom: 0.45rem;
    left: 0.9rem;
    height: 2px;
    content: "";
    background: var(--bp-blue);
    border-radius: 99px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.bp-navigation > a:hover::after,
.bp-navigation > a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.bp-navigation .bp-nav-portal {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    margin-left: 0.75rem;
    padding: 0.75rem 1.1rem;
    color: #fff;
    border: 1px solid rgba(104, 184, 255, 0.48);
    background: rgba(104, 184, 255, 0.1);
}

.bp-navigation .bp-nav-portal:hover {
    background: var(--bp-blue-deep);
    border-color: var(--bp-blue-deep);
}

.bp-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    color: #fff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--bp-border);
    border-radius: 50%;
}

/* Hero */

.bp-hero {
    position: relative;
    display: flex;
    min-height: min(900px, 94vh);
    overflow: hidden;
    align-items: center;
}

.bp-hero-video,
.bp-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.bp-hero-video {
    object-fit: cover;
    object-position: center;
}

.bp-hero-overlay {
    background: linear-gradient(90deg, rgba(5, 9, 15, 0.97) 0%, rgba(6, 11, 18, 0.82) 42%, rgba(6, 11, 18, 0.25) 72%, rgba(6, 11, 18, 0.38) 100%), linear-gradient(0deg, var(--bp-bg) 0%, transparent 30%);
}

.bp-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 8rem;
    padding-bottom: 7rem;
}

.bp-eyebrow {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin: 0 0 1.1rem;
    color: var(--bp-blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.bp-eyebrow::before {
    width: 38px;
    height: 3px;
    content: "";
    background: var(--bp-blue);
    border-radius: 99px;
}

.bp-hero h1,
.bp-section h2 {
    margin: 0;
    font-family: "Service-Vehicle", "Figtree", sans-serif;
    font-weight: 700;
    letter-spacing: normal;
}

.bp-hero h1 {
    max-width: 760px;
    font-size: clamp(4rem, 9vw, 7.7rem);
    line-height: 0.88;
    text-wrap: balance;
}

.bp-hero-copy {
    max-width: 670px;
    margin: 1.8rem 0 0;
    color: #d1d8df;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.7;
}

.bp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    margin-top: 2rem;
}

.bp-button {
    display: inline-flex;
    min-height: 50px;
    gap: 0.7rem;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.25rem;
    font-weight: 750;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.bp-button-primary {
    color: #fff;
    background: var(--bp-blue-deep);
    border-color: var(--bp-blue-deep);
    box-shadow: 0 14px 34px rgba(37, 139, 231, 0.24);
}

.bp-button-primary:hover {
    background: var(--bp-blue);
    border-color: var(--bp-blue);
}

.bp-button-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.bp-button-secondary:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.42);
}

.bp-hero-scroll {
    position: absolute;
    z-index: 2;
    right: max(1.5rem, calc((100vw - var(--bp-container)) / 2));
    bottom: 2.25rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    color: #c6d0d9;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.bp-hero-scroll i {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    border: 1px solid var(--bp-border);
    border-radius: 50%;
}

/* =========================================================
   ROTATING HERO HEADINGS
   ========================================================= */

.bp-hero-title-window {
    max-width: 850px;
    overflow: hidden;
}

.bp-hero-rotating-title {
    will-change: opacity, transform;
    transition:
            opacity 600ms cubic-bezier(0.4, 0, 0.2, 1),
            transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Leave towards the left. */
.bp-hero-rotating-title.is-exiting-left {
    opacity: 0;
    transform: translateX(-110%);
}

/* Enter from the right. */
.bp-hero-rotating-title.is-entering-right {
    opacity: 0;
    transform: translateX(110%);
}

/* Leave towards the right. */
.bp-hero-rotating-title.is-exiting-right {
    opacity: 0;
    transform: translateX(110%);
}

/* Enter from the left. */
.bp-hero-rotating-title.is-entering-left {
    opacity: 0;
    transform: translateX(-110%);
}

/* Proof points */

.bp-proof {
    position: relative;
    z-index: 3;
    border-block: 1px solid var(--bp-border);
    background: rgba(18, 24, 33, 0.96);
}

.bp-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.bp-proof-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.45rem clamp(1rem, 3vw, 2rem);
    border-right: 1px solid var(--bp-border);
}

.bp-proof-item:first-child {
    padding-left: 0;
}

.bp-proof-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.bp-proof-item > i {
    color: var(--bp-blue);
    font-size: 1.25rem;
}

.bp-proof-item div {
    display: grid;
    gap: 0.2rem;
}

.bp-proof-item strong {
    color: #fff;
    font-size: 0.95rem;
}

.bp-proof-item span {
    color: var(--bp-muted);
    font-size: 0.8rem;
}

/* Shared sections */

.bp-section {
    position: relative;
    padding: clamp(5rem, 9vw, 8rem) 0;
}

/* Featured product */

.bp-featured {
    overflow: hidden;
    background: radial-gradient(circle at 0% 45%, rgba(46, 150, 242, 0.12), transparent 31rem);
}

.bp-featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: clamp(3rem, 7vw, 6.5rem);
    align-items: center;
}

.bp-product-media {
    position: relative;
}

.bp-product-media::before {
    position: absolute;
    z-index: -1;
    top: 10%;
    right: 8%;
    bottom: -7%;
    left: -7%;
    content: "";
    border: 1px solid rgba(104, 184, 255, 0.22);
    border-radius: 1.6rem;
}

.bp-product-media > a {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--bp-border);
    border-radius: 1.35rem;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
}

.bp-product-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 550ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bp-product-media a:hover img {
    transform: scale(1.025);
}

.bp-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 12, 18, 0.62), transparent 52%);
}

.bp-product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    padding: 0.55rem 0.8rem;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 750;
    background: rgba(11, 16, 23, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.bp-product-badge i {
    color: var(--bp-blue);
}

.bp-media-action {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    color: #fff;
    background: var(--bp-blue-deep);
    border-radius: 50%;
    transition: transform 180ms ease, background-color 180ms ease;
}

.bp-product-media a:hover .bp-media-action {
    background: var(--bp-blue);
    transform: scale(1.06);
}

.bp-product-copy h2, .bp-section-heading h2, .bp-development h2, .bp-community h2 {
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    line-height: 0.98;
}

.bp-section-lead {
    margin: 1.35rem 0 0;
    color: #c3ccd5;
    font-size: 1.1rem;
    line-height: 1.75;
}

.bp-feature-list {
    display: grid;
    gap: 0;
    margin: 1.6rem 0 0;
    padding: 0;
    list-style: none;
}

.bp-feature-list li {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 0.8rem 0;
    color: #dce3e9;
    border-bottom: 1px solid var(--bp-border);
}

.bp-feature-list i {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--bp-blue);
    font-size: 0.68rem;
    background: rgba(104, 184, 255, 0.1);
    border: 1px solid rgba(104, 184, 255, 0.23);
    border-radius: 50%;
}

.bp-text-link {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    padding: 0.75rem 0.2rem;
    color: #d6e9fb;
    font-weight: 700;
    text-decoration: none;
}

.bp-text-link i {
    transition: transform 180ms ease;
}

.bp-text-link:hover i {
    transform: translateX(4px);
}

/* Design principles */

.bp-principles {
    background: linear-gradient(180deg, #111720, #0e131a);
    border-block: 1px solid var(--bp-border);
}

.bp-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
    gap: 3rem;
    align-items: end;
    margin-bottom: 3rem;
}

.bp-section-heading > p {
    margin: 0;
    color: var(--bp-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.bp-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.bp-feature-card {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    padding: 1.7rem;
    background: linear-gradient(145deg, rgba(28, 37, 48, 0.9), rgba(20, 27, 36, 0.94));
    border: 1px solid var(--bp-border);
    border-radius: 1.2rem;
    transition: border-color 200ms ease, transform 200ms ease;
}

.bp-feature-card:hover {
    border-color: rgba(104, 184, 255, 0.38);
    transform: translateY(-5px);
}

.bp-card-number {
    position: absolute;
    top: 1.4rem;
    right: 1.5rem;
    color: rgba(255, 255, 255, 0.14);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.bp-card-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 5rem;
    place-items: center;
    color: var(--bp-blue);
    font-size: 1.2rem;
    background: rgba(104, 184, 255, 0.09);
    border: 1px solid rgba(104, 184, 255, 0.2);
    border-radius: 1rem;
}

.bp-feature-card h3 {
    margin: 0;
    color: #fff;
    font-size: 1.3rem;
}

.bp-feature-card p {
    margin: 0.8rem 0 0;
    color: var(--bp-muted);
    line-height: 1.65;
}

/* Development callout */

.bp-development {
    padding-bottom: 0;
}

.bp-development-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.6rem;
    align-items: center;
    padding: clamp(1.6rem, 4vw, 2.7rem);
    background: linear-gradient(120deg, rgba(38, 91, 139, 0.25), rgba(24, 31, 41, 0.96) 48%);
    border: 1px solid rgba(104, 184, 255, 0.24);
    border-radius: 1.4rem;
}

.bp-development-icon {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    color: var(--bp-blue);
    font-size: 1.5rem;
    background: rgba(104, 184, 255, 0.1);
    border: 1px solid rgba(104, 184, 255, 0.2);
    border-radius: 1.1rem;
}

.bp-development h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.bp-development-copy p:last-child {
    max-width: 720px;
    margin: 0.9rem 0 0;
    color: var(--bp-muted);
    line-height: 1.65;
}

/* Community */

.bp-community {
    overflow: hidden;
}

.bp-community-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45rem;
    height: 28rem;
    background: rgba(45, 145, 234, 0.1);
    filter: blur(100px);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.bp-community-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.7fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: center;
}

.bp-community-copy p:last-child {
    max-width: 650px;
    margin: 1.35rem 0 0;
    color: var(--bp-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.bp-community-links {
    display: grid;
    gap: 0.8rem;
}

.bp-community-links > a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    color: #fff;
    text-decoration: none;
    background: rgba(25, 33, 43, 0.84);
    border: 1px solid var(--bp-border);
    border-radius: 1rem;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.bp-community-links > a:hover {
    background: var(--bp-panel-light);
    border-color: rgba(104, 184, 255, 0.38);
    transform: translateX(4px);
}

.bp-social-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--bp-blue);
    background: rgba(104, 184, 255, 0.09);
    border-radius: 0.8rem;
}

.bp-community-links a > span:nth-child(2) {
    display: grid;
    gap: 0.2rem;
}

.bp-community-links small {
    color: var(--bp-muted);
}

.bp-community-links > a > i {
    color: #7f8a95;
    font-size: 0.8rem;
}

/* Footer */

.bp-footer {
    background: #090d12;
    border-top: 1px solid var(--bp-border);
}

.bp-footer-main {
    display: grid;
    grid-template-columns: minmax(250px, 0.8fr) minmax(420px, 1fr);
    gap: 4rem;
    padding-block: 4rem;
}

.bp-footer-brand img {
    width: 170px;
}

.bp-footer-brand p {
    max-width: 330px;
    margin: 1.1rem 0 0;
    color: var(--bp-muted);
    line-height: 1.6;
}

.bp-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bp-footer-links > div {
    display: grid;
    align-content: start;
    gap: 0.65rem;
}

.bp-footer-links strong {
    margin-bottom: 0.35rem;
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bp-footer-links a {
    color: var(--bp-muted);
    font-size: 0.9rem;
    text-decoration: none;
}

.bp-footer-links a:hover {
    color: var(--bp-blue);
}

.bp-footer-bottom {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding-block: 1.2rem;
    color: #818c97;
    font-size: 0.78rem;
    border-top: 1px solid var(--bp-border);
}

.bp-footer-bottom a {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    color: #b9c3cc;
    text-decoration: none;
}

/* Reveal animation */

.bp-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

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

/* Responsive */

@media (max-width: 900px) {
    .bp-container {
        width: min(calc(100% - 2rem), var(--bp-container));
    }

    .bp-header-inner {
        min-height: 76px;
    }

    .bp-brand img {
        width: 135px;
    }

    .bp-menu-toggle {
        display: grid;
        position: relative;
        z-index: 2;
        place-items: center;
    }

    .bp-navigation {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        display: grid;
        gap: 0.25rem;
        padding: 6rem 1rem 1rem;
        visibility: hidden;
        opacity: 0;
        background: rgba(10, 14, 20, 0.98);
        border-bottom: 1px solid var(--bp-border);
        transform: translateY(-12px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }

    .bp-navigation.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .bp-navigation > a {
        padding: 0.9rem 1rem;
        border-radius: 0.7rem;
    }

    .bp-navigation > a::after {
        display: none;
    }

    .bp-navigation .bp-nav-portal {
        margin: 0.5rem 0 0;
        justify-content: center;
    }

    .bp-featured-grid,
    .bp-community-inner {
        grid-template-columns: 1fr;
    }

    .bp-product-copy {
        max-width: 700px;
    }

    .bp-card-grid {
        grid-template-columns: 1fr;
    }

    .bp-feature-card {
        min-height: auto;
    }

    .bp-card-icon {
        margin-bottom: 3rem;
    }

    .bp-development-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .bp-development-card > .bp-button {
        grid-column: 1 / -1;
        width: fit-content;
    }
}

@media (max-width: 680px) {
    .bp-hero {
        min-height: 760px;
        align-items: flex-end;
    }

    .bp-hero-overlay {
        background: linear-gradient(90deg, rgba(5, 9, 15, 0.9), rgba(5, 9, 15, 0.55)), linear-gradient(0deg, var(--bp-bg) 0%, transparent 55%);
    }

    .bp-hero-content {
        padding-top: 8rem;
        padding-bottom: 7rem;
    }

    .bp-hero h1 {
        font-size: clamp(3.7rem, 20vw, 5.8rem);
    }

    .bp-hero-copy {
        font-size: 1rem;
    }

    .bp-hero-scroll {
        display: none;
    }

    .bp-actions,
    .bp-actions .bp-button {
        width: 100%;
    }

    .bp-proof-grid {
        grid-template-columns: 1fr;
    }

    .bp-proof-item,
    .bp-proof-item:first-child,
    .bp-proof-item:last-child {
        padding: 1rem 0;
        border-right: 0;
        border-bottom: 1px solid var(--bp-border);
    }

    .bp-proof-item:last-child {
        border-bottom: 0;
    }

    .bp-section {
        padding: 4.5rem 0;
    }

    .bp-featured-grid {
        gap: 3.5rem;
    }

    .bp-section-heading {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .bp-development-card {
        grid-template-columns: 1fr;
    }

    .bp-development-card > .bp-button {
        width: 100%;
    }

    .bp-community-inner {
        gap: 2.5rem;
    }

    .bp-footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-block: 3rem;
    }

    .bp-footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .bp-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }

    .bp-reveal {
        opacity: 1;
        transform: none;
    }

    .bp-hero-video {
        display: none;
    }

    .bp-hero {
        background: url("../images/blueprint/gemini/mainimage.jpg") center / cover no-repeat;
    }

    .bp-hero-rotating-title {
        transition: opacity 180ms ease;
        transform: none !important;
    }
}
