/* GeoSignals shared site styles — extracted from index.html and shared by all pages */

/* 1. 全局背景：深空呼吸感 */
@keyframes breathe-bg {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

body {
    background: linear-gradient(-45deg, #020617, #0f172a, #1e1b4b, #020617);
    background-size: 400% 400%;
    animation: breathe-bg 20s ease infinite;
    font-family: 'Inter', sans-serif;
    color: #f8fafc;
    transition: all 0.5s ease;
}

.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}

/* 2. 卡片呼吸：微弱脉冲 */
@keyframes subtle-pulse {

    0%,
    100% {
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
        border-color: rgba(51, 65, 85, 0.5);
    }

    50% {
        box-shadow: 0 25px 60px -12px rgba(59, 130, 246, 0.1);
        border-color: rgba(59, 130, 246, 0.3);
    }
}

.cyber-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    animation: subtle-pulse 8s ease-in-out infinite;
}

/* 3. 动态 Logo 核心 */
@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 12s linear infinite;
}

@keyframes core-pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.animate-core-pulse {
    animation: core-pulse 4s ease-in-out infinite;
}

/* 4. 发光光柱 (Shine Effect) */
@keyframes shine {
    from {
        left: -150%;
    }

    to {
        left: 150%;
    }
}

.shine-effect {
    position: relative;
    overflow: hidden !important;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    animation: shine 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: 5;
}

.score-circle {
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.5s ease;
    stroke-linecap: round;
}

.theme-gold {
    border-color: #facc15 !important;
    box-shadow: 0 0 60px rgba(250, 204, 21, 0.15) !important;
}

.text-gold {
    color: #facc15 !important;
    text-shadow: 0 0 15px rgba(250, 204, 21, 0.6);
}

.status-dead {
    filter: grayscale(1) opacity(0.5);
}

.diag-text {
    font-size: 10px;
    line-height: 1.4;
    margin-top: 4px;
    display: block;
}

.evidence-desc {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 10px;
    line-height: 1.6;
}

.cta-feature-tag {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    color: #93c5fd;
}

.service-pill {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-card {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 24px;
    padding: 24px;
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(14, 165, 233, 0.08));
    border-color: rgba(96, 165, 250, 0.65);
    box-shadow: 0 0 35px rgba(37, 99, 235, 0.16);
}

.case-card {
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
    padding: 24px;
}

.proof-pill {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.18);
    color: #bae6fd;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

button.proof-pill {
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

button.proof-pill:hover {
    background: rgba(14, 165, 233, 0.18);
    border-color: rgba(125, 211, 252, 0.5);
    transform: translateY(-1px);
}

.case-shot {
    max-height: 520px;
    object-fit: cover;
    object-position: top;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 20px 45px rgba(2, 6, 23, 0.42);
}

.hero-panel {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.78));
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 28px;
    padding: clamp(24px, 5vw, 48px);
    box-shadow: 0 28px 80px rgba(2, 6, 23, 0.38);
}

.trial-panel {
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.98), rgba(239, 246, 255, 0.96));
    color: #0f172a;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.22);
}

.trial-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #334155;
    font-size: 13px;
    line-height: 1.45;
}

.outcome-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 16px;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.showcase-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(14px);
}

.showcase-modal.is-open {
    display: flex;
}

.showcase-shell {
    width: min(1180px, 100%);
    max-height: 92vh;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #020617;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.58);
}

.showcase-frame-wrap {
    height: min(68vh, 720px);
    background: #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.showcase-frame {
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.showcase-sample-btn {
    width: 100%;
    text-align: left;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.8);
    color: #cbd5e1;
    padding: 14px;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.showcase-sample-btn.is-active,
.showcase-sample-btn:hover {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(96, 165, 250, 0.7);
    color: #fff;
}

@media (max-width: 768px) {
    .showcase-shell {
        max-height: 94vh;
        overflow-y: auto;
    }

    .showcase-frame-wrap {
        height: 62vh;
    }
}

/* ============================================================
   Shared header / nav / footer (multi-page)
   ============================================================ */

.site-header {
    width: 100%;
    max-width: 72rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 1.25rem;
    position: relative;
    z-index: 40;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 14px;
}

.site-nav a {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 8px;
    border-radius: 8px;
    transition: color 0.18s ease, background 0.18s ease;
    white-space: nowrap;
}

.site-nav a:hover {
    color: #fff;
    background: rgba(59, 130, 246, 0.12);
}

.site-nav a.is-active {
    color: #22d3ee;
}

.nav-toggle {
    display: none;
    border: 1px solid #334155;
    color: #94a3b8;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        margin-top: 12px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        width: 100%;
        padding: 10px 8px;
        border-radius: 10px;
    }
}

.site-footer {
    width: 100%;
    max-width: 72rem;
    margin-top: 4rem;
    border-top: 1px solid #1e293b;
    padding: 2.5rem 0 1.5rem;
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
}

.site-footer a {
    color: #94a3b8;
    transition: color 0.18s ease;
}

.site-footer a:hover {
    color: #fff;
}

.footer-heading {
    color: #cbd5e1;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 12px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: #94a3b8;
}

.breadcrumb a:hover {
    color: #fff;
}

/* ============================================================
   Contact / lead form
   ============================================================ */

.gs-form-panel {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 28px;
    padding: clamp(22px, 4vw, 40px);
    box-shadow: 0 28px 80px rgba(2, 6, 23, 0.38);
}

.gs-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
    margin-bottom: 6px;
}

.gs-field input[type="text"],
.gs-field input[type="email"],
.gs-field textarea {
    width: 100%;
    background: rgba(2, 6, 23, 0.8);
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    transition: border-color 0.18s ease;
}

.gs-field input:focus,
.gs-field textarea:focus {
    outline: none;
    border-color: #22d3ee;
}

.gs-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    padding: 12px 14px;
    cursor: pointer;
    color: #cbd5e1;
    font-size: 13px;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.gs-check:hover {
    border-color: rgba(96, 165, 250, 0.5);
}

.gs-check input {
    margin-top: 2px;
    accent-color: #2563eb;
}

.gs-check.is-checked {
    background: rgba(37, 99, 235, 0.16);
    border-color: rgba(96, 165, 250, 0.65);
    color: #fff;
}

/* Honeypot field — visually hidden but present for bots */
.gs-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.gs-form-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(14, 165, 233, 0.08));
    border: 1px solid rgba(52, 211, 153, 0.4);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
}

.gs-form-fallback {
    grid-column: 1 / -1;
    background: rgba(14, 116, 144, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.38);
    border-radius: 16px;
    padding: 18px;
    color: #cbd5e1;
}

.gs-form-fallback:focus {
    outline: 2px solid rgba(34, 211, 238, 0.55);
    outline-offset: 3px;
}

.gs-form-fallback h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.gs-form-fallback p {
    font-size: 12px;
    line-height: 1.65;
}

.gs-form-fallback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.gs-fallback-primary,
.gs-fallback-secondary {
    min-height: 40px;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.gs-fallback-primary {
    display: inline-flex;
    align-items: center;
    background: #0891b2;
    color: #fff;
}

.gs-fallback-secondary {
    border: 1px solid #475569;
    background: #1e293b;
    color: #fff;
}

.step-strip {
    display: flex;
    gap: 4px;
    align-items: flex-start;
}

.step-num {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
