/* ==========================================================
   Spark Chaserz — 首页样式(暗夜公路主题)
   ========================================================== */

.sc-sec {
    position: relative;
    padding: clamp(56px, 7vw, 104px) 0;
}

.sc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sc-font-head);
    font-size: 11.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sc-gold);
}

.sc-kicker::before {
    content: '';
    width: 22px;
    height: 2px;
    background: linear-gradient(90deg, #ffc400, transparent);
}

.sc-title {
    margin-top: 14px !important;
    font-family: var(--sc-font-display);
    font-size: clamp(28px, 4vw, 50px);
    line-height: 1.08;
    text-transform: uppercase;
    color: #f2f6ff;
}

.sc-title em {
    font-style: normal;
    background: linear-gradient(180deg, #fff3c4, #ffc400 55%, #ff8a00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sc-sub {
    max-width: 620px;
    margin-top: 16px !important;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--sc-muted);
}

.sc-sec__head {
    max-width: 720px;
}

.sc-sec__head--center {
    margin: 0 auto;
    text-align: center;
}

.sc-sec__head--center .sc-kicker::before {
    display: none;
}

.sc-sec__head--center .sc-sub {
    margin-left: auto;
    margin-right: auto;
}

/* ===== 滚动入场 ===== */
.sc-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.sc-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ===== HERO ===== */
.sc-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(540px, 84vh, 880px);
    overflow: hidden;
    background: #04060d;
}

.sc-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% center;
}

.sc-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 7, 15, 0.97) 0%, rgba(4, 7, 15, 0.85) 36%, rgba(4, 7, 15, 0.3) 68%, rgba(4, 7, 15, 0.78) 100%),
        linear-gradient(0deg, #05070f 0%, rgba(5, 7, 15, 0) 46%);
}

.sc-hero__inner {
    position: relative;
    z-index: 3;
    padding-top: clamp(48px, 7vw, 92px);
    padding-bottom: clamp(48px, 7vw, 92px);
}

.sc-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px;
    font-family: var(--sc-font-head);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffd76a;
    background: rgba(255, 196, 0, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 196, 0, 0.35);
    clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}

.sc-hero__title {
    margin-top: 20px !important;
    font-family: var(--sc-font-display);
    font-size: clamp(42px, 8vw, 108px);
    line-height: 0.94;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 42px rgba(255, 150, 0, 0.35);
}

.sc-hero__title span {
    display: block;
    background: linear-gradient(180deg, #fff6d0 0%, #ffc400 46%, #ff7a00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 8px 26px rgba(255, 120, 0, 0.35));
}

.sc-hero__tag {
    max-width: 520px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #a9b7cd;
}

.sc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

/* HUD 角标 */
.sc-hud {
    position: absolute;
    width: 52px;
    height: 52px;
    z-index: 4;
    pointer-events: none;
    border: 2px solid rgba(255, 196, 0, 0.55);
}

.sc-hud--tl {
    top: 22px;
    left: 22px;
    border-right: 0;
    border-bottom: 0;
}

.sc-hud--tr {
    top: 22px;
    right: 22px;
    border-left: 0;
    border-bottom: 0;
}

.sc-hud--bl {
    bottom: 22px;
    left: 22px;
    border-right: 0;
    border-top: 0;
}

.sc-hud--br {
    bottom: 22px;
    right: 22px;
    border-left: 0;
    border-top: 0;
}

.sc-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 5;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--sc-gold);
    border: 1px solid rgba(255, 196, 0, 0.35);
    animation: sc-bounce 2.4s ease-in-out infinite;
}

@keyframes sc-bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ===== 滚动字幕条 ===== */
.sc-ticker {
    overflow: hidden;
    background: linear-gradient(90deg, #ffc400, #ff9500);
    border-top: 1px solid #ffdf80;
    border-bottom: 1px solid #c46a00;
}

.sc-ticker__track {
    display: flex;
    width: max-content;
    animation: sc-marquee 34s linear infinite;
}

.sc-ticker__group {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 11px 24px 11px 0;
    white-space: nowrap;
}

.sc-ticker__group span {
    font-family: var(--sc-font-head);
    font-size: 11.5px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #1d1500;
}

.sc-ticker__group i {
    font-size: 13px;
    color: #4a3200;
}

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

/* ===== 操作区(手机+说明) ===== */
.sc-control {
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 150, 0, 0.09), transparent 52%),
        radial-gradient(circle at 92% 90%, rgba(41, 211, 255, 0.07), transparent 48%),
        var(--sc-bg2);
}

.sc-control__grid {
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: clamp(34px, 6vw, 80px);
    align-items: center;
}

.sc-phone {
    position: relative;
    width: 100%;
    max-width: 340px;
    justify-self: center;
}

.sc-phone__frame {
    padding: 10px;
    border-radius: 36px;
    background: linear-gradient(160deg, #2a3550, #0d1322 46%, #1b2540);
    box-shadow:
        0 32px 70px rgba(0, 0, 0, 0.62),
        0 0 0 1px rgba(255, 196, 0, 0.18),
        0 0 52px rgba(255, 150, 0, 0.16);
}

.sc-phone__screen {
    position: relative;
    aspect-ratio: 9 / 19;
    border-radius: 27px;
    overflow: hidden;
    background: #000;
}

.sc-phone__badge {
    position: absolute;
    top: -13px;
    right: -8px;
    z-index: 6;
    padding: 6px 12px;
    font-family: var(--sc-font-head);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: #fff;
    background: var(--sc-red);
    clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
    box-shadow: 0 8px 22px rgba(255, 59, 47, 0.45);
}

.sc-carousel {
    position: absolute;
    inset: 0;
}

.sc-carousel__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.55s ease;
}

.sc-carousel__slide.is-active {
    opacity: 1;
}

.sc-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sc-carousel__dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 5;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.sc-carousel__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.sc-carousel__dot.is-active {
    background: var(--sc-gold);
    transform: scale(1.35);
}

.sc-carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
    background: rgba(8, 12, 23, 0.55);
    transition: background 0.2s;
}

.sc-carousel__arrow:hover {
    background: rgba(255, 196, 0, 0.8);
    color: #14100a;
}

.sc-carousel__arrow--prev { left: 8px; }
.sc-carousel__arrow--next { right: 8px; }

.sc-control__body {
    max-width: 620px;
}

.sc-steps {
    display: grid;
    gap: 16px;
    margin-top: 30px !important;
}

.sc-steps li {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
}

.sc-steps__n {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    font-family: var(--sc-font-display);
    font-size: 14px;
    color: var(--sc-gold);
    background: rgba(255, 196, 0, 0.07);
    box-shadow: inset 0 0 0 1px rgba(255, 196, 0, 0.32);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.sc-steps strong {
    display: block;
    font-family: var(--sc-font-head);
    font-size: 14.5px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #eef3ff;
}

.sc-steps p {
    margin-top: 5px;
    font-size: 13.5px;
    line-height: 1.62;
    color: var(--sc-muted);
}

.sc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.sc-tags span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    font-family: var(--sc-font-head);
    font-size: 10.5px;
    letter-spacing: 0.15em;
    color: #cfe2ff;
    background: rgba(41, 211, 255, 0.07);
    box-shadow: inset 0 0 0 1px rgba(41, 211, 255, 0.3);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.sc-tags span i {
    color: var(--sc-cyan);
    font-size: 13px;
}

/* ===== 车库 ===== */
.sc-garage {
    background: #050811;
}

.sc-garage__rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 44px;
}

.sc-car {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--sc-line);
    background: linear-gradient(180deg, #101728, #0a0f1c);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
    transition: border-color 0.25s, transform 0.25s;
}

.sc-car:hover {
    border-color: rgba(255, 196, 0, 0.5);
    transform: translateY(-4px);
}

.sc-car__img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #070b14;
}

.sc-car__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sc-car__body {
    padding: 20px 20px 26px;
}

.sc-car__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sc-car__top h3 {
    font-family: var(--sc-font-display);
    font-size: 18px;
    text-transform: uppercase;
    color: #fff;
}

.sc-car__class {
    padding: 4px 8px;
    font-family: var(--sc-font-head);
    font-size: 9.5px;
    letter-spacing: 0.16em;
    color: var(--sc-gold);
    box-shadow: inset 0 0 0 1px rgba(255, 196, 0, 0.42);
}

.sc-car__desc {
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--sc-muted);
}

.sc-stats {
    display: grid;
    gap: 9px;
    margin-top: 16px;
}

.sc-stat {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 10px;
}

.sc-stat span {
    font-family: var(--sc-font-head);
    font-size: 9.5px;
    letter-spacing: 0.1em;
    white-space: nowrap;
    color: #7f8da6;
}

.sc-stat__bar {
    position: relative;
    height: 6px;
    overflow: hidden;
    background: #151d30;
    box-shadow: inset 0 0 0 1px #202c46;
}

.sc-stat__bar i {
    position: absolute;
    inset: 0 auto 0 0;
    display: block;
    background: linear-gradient(90deg, #ff9500, #ffc400);
}

.sc-stat__bar i.is-cyan {
    background: linear-gradient(90deg, #0d8bb0, #29d3ff);
}

/* ===== 系统清单 ===== */
.sc-systems {
    background:
        radial-gradient(circle at 88% 16%, rgba(155, 77, 255, 0.1), transparent 50%),
        #070b15;
}

.sc-systems__grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: clamp(30px, 5vw, 64px);
    align-items: start;
}

.sc-rack {
    margin-top: 32px;
    border-top: 1px solid #1b2540;
}

.sc-rack__row {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 18px 4px;
    border-bottom: 1px solid #1b2540;
    transition: background 0.2s;
}

.sc-rack__row:hover {
    background: rgba(255, 196, 0, 0.04);
}

.sc-rack__i {
    font-family: var(--sc-font-display);
    font-size: 13px;
    color: var(--sc-gold);
}

.sc-rack__row strong {
    display: block;
    font-family: var(--sc-font-head);
    font-size: 14.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #eaf0ff;
}

.sc-rack__row p {
    margin-top: 5px;
    max-width: 540px;
    font-size: 13px;
    line-height: 1.58;
    color: #8592ab;
}

.sc-rack__tag {
    font-family: var(--sc-font-head);
    font-size: 9.5px;
    letter-spacing: 0.15em;
    color: var(--sc-cyan);
    white-space: nowrap;
}

.sc-module {
    position: sticky;
    top: 96px;
    overflow: hidden;
    border: 1px solid var(--sc-line);
    background: linear-gradient(180deg, #101728, #080c17);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.sc-module img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.sc-module__cap {
    padding: 18px 20px 24px;
    border-top: 1px solid rgba(255, 196, 0, 0.25);
}

.sc-module__cap span {
    font-family: var(--sc-font-head);
    font-size: 9.5px;
    letter-spacing: 0.2em;
    color: var(--sc-gold);
}

.sc-module__cap h3 {
    margin-top: 8px;
    font-family: var(--sc-font-display);
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
}

.sc-module__cap p {
    margin-top: 7px;
    font-size: 12.5px;
    line-height: 1.55;
    color: #8592ab;
}

/* ===== 下载 CTA ===== */
.sc-cta {
    position: relative;
    padding: clamp(60px, 7vw, 96px) 0;
    background:
        radial-gradient(circle at 50% 130%, rgba(255, 150, 0, 0.3), transparent 62%),
        #05070f;
    border-top: 1px solid rgba(255, 196, 0, 0.18);
}

.sc-cta__inner {
    text-align: center;
}

.sc-cta h2 {
    font-family: var(--sc-font-display);
    font-size: clamp(28px, 4.4vw, 52px);
    line-height: 1.1;
    text-transform: uppercase;
    background: linear-gradient(180deg, #fff6d0, #ffc400 55%, #ff7a00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sc-cta p {
    margin-top: 14px;
    font-size: 14px;
    color: #93a1b8;
}

.sc-cta__btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

/* ===== 响应式 ===== */
@media (max-width: 980px) {
    .sc-control__grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .sc-phone {
        max-width: 300px;
    }
    .sc-control__body {
        max-width: 100%;
    }
    .sc-garage__rail {
        grid-template-columns: 1fr 1fr;
    }
    .sc-systems__grid {
        grid-template-columns: 1fr;
    }
    .sc-module {
        position: static;
        max-width: 380px;
    }
}

@media (max-width: 640px) {
    .sc-hero {
        min-height: 520px;
    }
    .sc-hero__shade {
        background:
            linear-gradient(0deg, #05070f 6%, rgba(5, 7, 15, 0.55) 60%, rgba(5, 7, 15, 0.75) 100%);
    }
    .sc-hero__tag {
        font-size: 14px;
    }
    .sc-hud {
        display: none;
    }
    .sc-phone__badge {
        display: none;
    }
    .sc-garage__rail {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
    }
    .sc-car {
        min-width: 78%;
        scroll-snap-align: start;
    }
    .sc-rack__row {
        grid-template-columns: 38px 1fr;
        gap: 12px;
    }
    .sc-rack__tag {
        display: none;
    }
}
