/* 首页：卫星轨道与交通地图视觉 */

.hero-satellite {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(0, 191, 165, 0.35), transparent 45%),
                linear-gradient(120deg, #031226, #051f3a 60%, #020c1d 100%);
}

.hero-satellite .space-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

#satellite-orbit {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-satellite .hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 80% 15%, rgba(0, 191, 165, 0.25), transparent 45%);
    mix-blend-mode: screen;
}

.hero-satellite .container {
    position: relative;
    z-index: 2;
}

.hero-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.8rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.hero-content p {
    color: var(--text-soft);
    margin-bottom: 1rem;
}

.signal-pulse {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--secondary);
    position: relative;
    margin-bottom: 1rem;
}

.signal-pulse::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    border: 1px solid rgba(255, 87, 34, 0.6);
    animation: signalWave 1.8s infinite ease-out;
}

.coordinates {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: var(--font-code);
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}

.coord {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 82, 204, 0.12);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.hero-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-legend span::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.35rem;
    background: currentColor;
}

.hero-data {
    display: grid;
    gap: 1rem;
}

.hero-card {
    padding: 1.25rem 1.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(2, 6, 12, 0.5);
    backdrop-filter: blur(14px);
}

.hero-card .label {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
}

.hero-card .value {
    font-size: 2.4rem;
    font-family: var(--font-code);
}

.hero-card .value span {
    font-size: 0.85rem;
    color: var(--accent-light);
    margin-left: 0.35rem;
}

.hero-data-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.hero-data-strip span {
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--text-soft);
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
}

.scroll-indicator::after {
    content: '';
    display: block;
    width: 1px;
    height: 32px;
    margin: 0.4rem auto 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6));
}

/* 首页概览 */
.overview-panels {
    background: linear-gradient(180deg, rgba(5, 12, 28, 0.95), rgba(4, 10, 22, 0.98));
    position: relative;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.overview-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(2, 7, 18, 0.85);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.overview-card h3 {
    font-size: 1.4rem;
    margin: 0;
}

.overview-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
    color: var(--text-soft);
}

.overview-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: var(--accent);
}

.overview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.overview-actions a {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-light);
    border: 1px solid rgba(0, 191, 165, 0.3);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
}

/* 核心优势 */
.advantages-signal {
    background: linear-gradient(180deg, rgba(0, 82, 204, 0.08), rgba(10, 25, 41, 0.85));
}

.signal-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}

.signal-grid::-webkit-scrollbar {
    height: 6px;
}

.signal-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

.signal-card {
    flex: 1 1 0;
    min-width: 200px;
    padding: 1.8rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(5, 15, 30, 0.9);
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

.signal-card::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 191, 165, 0.45), transparent 70%);
    top: -60px;
    right: -60px;
    opacity: 0.5;
}

.signal-card .card-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.signal-strength {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0.8rem;
}

.signal-strength .bar {
    width: 8px;
    height: 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    animation: floatPulse 2.4s ease-in-out infinite;
}

.signal-strength .bar:nth-child(2) { height: 24px; animation-delay: 0.15s; }
.signal-strength .bar:nth-child(3) { height: 30px; animation-delay: 0.3s; }
.signal-strength .bar:nth-child(4) { height: 36px; animation-delay: 0.45s; background: var(--accent); }

/* 产品展示 */
.device-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.device-card {
    display: grid;
    gap: 1.2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.5rem;
    background: rgba(4, 12, 24, 0.9);
}

.device-image {
    position: relative;
}

.spec-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 191, 165, 0.15);
    border: 1px solid rgba(0, 191, 165, 0.35);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
}

.device-specs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
    color: var(--text-soft);
}

/* 数据驾驶舱 */
.live-dashboard {
    background: linear-gradient(180deg, rgba(3, 8, 18, 0.95), rgba(2, 4, 10, 0.85));
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.dashboard-hero h2 {
    margin-top: 0.6rem;
}

.dashboard-list {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.dashboard-list li {
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 12, 26, 0.65);
}

.dashboard-list strong {
    display: block;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.dashboard-panels {
    display: grid;
    gap: 1.2rem;
}

.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.widget {
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 12, 26, 0.9);
    text-align: center;
}

.widget-icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.widget-value {
    font-size: 2rem;
    font-family: var(--font-code);
}

.dashboard-updates {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 12, 22, 0.85);
    padding: 1.5rem;
}

.dashboard-updates h4 {
    margin-top: 0;
}

.update-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.update-pills span {
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 191, 165, 0.35);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* 应用地图 */
.map-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.map-visual {
    background: rgba(5, 15, 30, 0.6);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.map-visual svg {
    width: 100%;
    height: auto;
}

.gx-shape {
    fill: rgba(0, 82, 204, 0.35);
    stroke: rgba(0, 191, 165, 0.8);
    stroke-width: 2;
}

.route-line {
    fill: none;
    stroke: var(--route-line);
    stroke-width: 3;
    stroke-dasharray: 6 10;
    animation: dash 14s linear infinite;
}

.marker-dot {
    fill: var(--secondary);
    stroke: #fff;
    stroke-width: 2;
    opacity: 0.4;
    transition: var(--transition);
}

.marker-dot.active {
    transform: scale(1.4);
    opacity: 1;
}

.map-markers {
    display: grid;
    gap: 1rem;
}

.marker-card {
    padding: 1.2rem 1.4rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(3, 9, 20, 0.85);
}

.marker-card.active {
    border-color: rgba(0, 191, 165, 0.45);
}

/* 案例 */
.cases-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.case-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(2, 7, 16, 0.9);
}

.case-card img {
    height: 210px;
    object-fit: cover;
    border-radius: 0;
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    margin-bottom: 0.5rem;
}

/* 新闻 & 合作 */
.glass-panel {
    position: relative;
}

.partner-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    align-items: center;
}

.partner-strip img {
    width: 90px;
    opacity: 0.75;
}

/* CTA */
.cta-panel {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, rgba(0, 82, 204, 0.35), rgba(0, 191, 165, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Stack layout */
.stack-layout {
    background: linear-gradient(180deg, rgba(0, 53, 130, 0.08), rgba(0, 15, 38, 0.9));
}

.stack-showcase {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 2rem;
}

.stack-layers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.layer-card {
    padding: 1.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(3, 11, 26, 0.9);
}

.layer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.layer-index {
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.stack-roadmap {
    display: grid;
    gap: 1rem;
}

.roadmap-card {
    padding: 1.3rem 1.4rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(2, 7, 18, 0.9);
}

.roadmap-card span {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
}

.roadmap-card h4 {
    margin: 0.4rem 0;
}

@keyframes floatPulse {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-6px); opacity: 1; }
}

@keyframes signalWave {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

@keyframes dash {
    to {
        stroke-dashoffset: -160;
    }
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .map-container {
        grid-template-columns: 1fr;
    }

    .overview-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-grid,
    .stack-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .signal-grid {
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .signal-card {
        min-width: 260px;
    }
}

@media (max-width: 1024px) {
    .stack-showcase {
        grid-template-columns: 1fr;
    }

    .stack-roadmap {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}
