@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Orbitron', system-ui, sans-serif;
    background: #0a0a0f;
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* Cyber Grid Background */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: 
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    perspective: 500px;
}

.cyber-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, #0a0a0f 70%);
}

/* Scan Lines */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    animation: scanMove 8s linear infinite;
}

@keyframes scanMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
}

/* Website Badge */
.website-badge {
    padding: 12px 60px;
    border: 2px solid #ffd700;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.website-badge:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.3),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

.website-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 0.1em;
    text-shadow: 
        0 0 5px rgba(255, 215, 0, 0.5),
        0 0 10px rgba(255, 215, 0, 0.3);
}

.website-badge:hover .website-text {
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.3);
}

/* Neon Glow Effects */
.neon-text {
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px currentColor;
}

.neon-pink { color: #ff2a6d; }
.neon-cyan { color: #05d9e8; }
.neon-yellow { color: #f9f002; }
.neon-purple { color: #d300c5; }

/* Glitch Effect */
.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.3s infinite linear alternate-reverse;
    color: #ff2a6d;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.3s infinite linear alternate-reverse;
    color: #05d9e8;
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(40% 0 61% 0); transform: translate(-2px, 2px); }
    20% { clip-path: inset(92% 0 1% 0); transform: translate(2px, -1px); }
    40% { clip-path: inset(43% 0 1% 0); transform: translate(-1px, 3px); }
    60% { clip-path: inset(25% 0 58% 0); transform: translate(3px, 1px); }
    80% { clip-path: inset(54% 0 7% 0); transform: translate(-3px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(25% 0 58% 0); transform: translate(3px, -1px); }
    20% { clip-path: inset(54% 0 7% 0); transform: translate(-2px, 2px); }
    40% { clip-path: inset(92% 0 1% 0); transform: translate(1px, -3px); }
    60% { clip-path: inset(40% 0 61% 0); transform: translate(-3px, 1px); }
    80% { clip-path: inset(43% 0 1% 0); transform: translate(2px, 3px); }
}

/* Cyber Badge */
.cyber-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 28px;
    background: rgba(5, 217, 232, 0.05);
    border: 1px solid rgba(5, 217, 232, 0.3);
    position: relative;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    transition: all 0.3s ease;
}

.cyber-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(5, 217, 232, 0.2), transparent);
    animation: badgeScan 3s linear infinite;
}

@keyframes badgeScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.cyber-badge:hover {
    background: rgba(5, 217, 232, 0.1);
    border-color: rgba(5, 217, 232, 0.6);
    box-shadow: 0 0 30px rgba(5, 217, 232, 0.3);
}

.badge-icon {
    width: 10px;
    height: 10px;
    background: #05d9e8;
    animation: pulse 2s ease-in-out infinite;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 20px;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.05em;
}

.hero-line {
    display: block;
    position: relative;
}

.hero-line-1 {
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.hero-line-2 {
    color: transparent;
    -webkit-text-stroke: 2px #05d9e8;
    animation: strokePulse 3s ease-in-out infinite;
}

@keyframes strokePulse {
    0%, 100% { -webkit-text-stroke: 2px #05d9e8; }
    50% { -webkit-text-stroke: 3px #ff2a6d; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Cyber Card */
.cyber-card {
    position: relative;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(5, 217, 232, 0.2);
    padding: 50px 40px;
    clip-path: polygon(
        0 20px, 20px 0, calc(100% - 20px) 0, 100% 20px,
        100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px)
    );
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #05d9e8, #ff2a6d, transparent);
    animation: lineScan 3s linear infinite;
}

@keyframes lineScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.cyber-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 217, 232, 0.05) 0%, transparent 50%, rgba(255, 42, 109, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cyber-card:hover::after {
    opacity: 1;
}

.cyber-card:hover {
    border-color: rgba(5, 217, 232, 0.6);
    box-shadow: 
        0 0 40px rgba(5, 217, 232, 0.2),
        0 0 80px rgba(255, 42, 109, 0.1),
        inset 0 0 40px rgba(5, 217, 232, 0.05);
    transform: translateY(-10px);
}

.card-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #05d9e8;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.card-corner-tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.card-corner-tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.card-corner-bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.card-corner-br { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.cyber-card:hover .card-corner { opacity: 1; }

/* Card Icon */
.card-icon {
    width: 80px;
    height: 80px;
    background: rgba(5, 217, 232, 0.1);
    border: 1px solid rgba(5, 217, 232, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #05d9e8, #ff2a6d);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cyber-card:hover .card-icon::before { opacity: 1; }

.cyber-card:hover .card-icon {
    background: rgba(5, 217, 232, 0.2);
    box-shadow: 0 0 30px rgba(5, 217, 232, 0.3);
}

/* Cyber Form */
.cyber-input {
    width: 100%;
    padding: 20px 25px;
    background: rgba(5, 5, 10, 0.95);
    border: 1px solid rgba(5, 217, 232, 0.2);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.cyber-input:focus {
    outline: none;
    border-color: #05d9e8;
    box-shadow: 
        0 0 20px rgba(5, 217, 232, 0.3),
        inset 0 0 20px rgba(5, 217, 232, 0.1);
}

.cyber-input::placeholder { 
    color: rgba(255, 255, 255, 0.3);
}

/* 确保表单区域在扫描线之上 */
.cyber-card {
    position: relative;
    z-index: 100;
}

.cyber-card > * {
    position: relative;
    z-index: 101;
}

/* Cyber Button */
.cyber-btn {
    position: relative;
    padding: 20px 50px;
    background: linear-gradient(135deg, #ff2a6d 0%, #d300c5 100%);
    border: none;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.cyber-btn:hover::before { left: 100%; }

.cyber-btn:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 40px rgba(255, 42, 109, 0.5),
        0 0 60px rgba(211, 0, 197, 0.3);
}

/* Cyber Outline Button */
.cyber-btn-outline {
    position: relative;
    padding: 20px 50px;
    background: transparent;
    border: 2px solid rgba(5, 217, 232, 0.5);
    color: #05d9e8;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-btn-outline:hover {
    background: rgba(5, 217, 232, 0.1);
    border-color: #05d9e8;
    box-shadow: 
        0 0 30px rgba(5, 217, 232, 0.3),
        inset 0 0 30px rgba(5, 217, 232, 0.1);
    color: #fff;
}

/* Map Section */
.cyber-map {
    position: relative;
    height: 500px;
    background: rgba(10, 10, 15, 0.9);
    border: 1px solid rgba(5, 217, 232, 0.3);
    clip-path: polygon(
        0 30px, 30px 0, calc(100% - 30px) 0, 100% 30px,
        100% calc(100% - 30px), calc(100% - 30px) 100%, 30px 100%, 0 calc(100% - 30px)
    );
    overflow: hidden;
}

.cyber-map::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, rgba(5, 217, 232, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(5, 217, 232, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
}

.marker-ring {
    position: absolute;
    inset: 0;
    border: 2px solid #ff2a6d;
    border-radius: 50%;
    animation: ringExpand 2s ease-out infinite;
}

.marker-ring:nth-child(2) { animation-delay: 0.5s; }
.marker-ring:nth-child(3) { animation-delay: 1s; }

@keyframes ringExpand {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.marker-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: #ff2a6d;
    border-radius: 50%;
    box-shadow: 0 0 30px #ff2a6d;
}

/* Transport Links */
.transport-link {
    position: relative;
    padding: 30px 25px;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(5, 217, 232, 0.2);
    text-align: center;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.transport-link:hover {
    background: rgba(5, 217, 232, 0.1);
    border-color: rgba(5, 217, 232, 0.6);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(5, 217, 232, 0.2);
}

.transport-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(5, 217, 232, 0.1);
    border: 1px solid rgba(5, 217, 232, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s ease;
}

.transport-link:hover .transport-icon {
    background: rgba(5, 217, 232, 0.2);
    box-shadow: 0 0 20px rgba(5, 217, 232, 0.3);
}

/* Social Icons */
.social-icon {
    position: relative;
    width: 70px;
    height: 70px;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(5, 217, 232, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: rgba(10, 10, 15, 0.9);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 0;
}

.social-icon:hover::before { background: rgba(5, 217, 232, 0.2); }

.social-icon i { position: relative; z-index: 1; }

.social-icon:hover {
    transform: translateY(-12px) rotate(30deg);
    border-color: #ff2a6d;
    box-shadow: 
        0 0 30px rgba(255, 42, 109, 0.5),
        0 0 50px rgba(5, 217, 232, 0.3);
}

.social-icon:hover i {
    color: #ff2a6d;
    text-shadow: 0 0 20px #ff2a6d;
}

/* FAQ Section */
.faq-item {
    position: relative;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(5, 217, 232, 0.15);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(5, 217, 232, 0.4);
    box-shadow: 0 0 30px rgba(5, 217, 232, 0.1);
}

.faq-item.active {
    border-color: rgba(255, 42, 109, 0.5);
    box-shadow: 0 0 40px rgba(255, 42, 109, 0.15);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-answer {
    padding: 0 30px 25px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.9;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: faqOpen 0.3s ease;
}

@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CTA Section */
.cta-section {
    position: relative;
    background: rgba(10, 10, 15, 0.9);
    border: 1px solid rgba(5, 217, 232, 0.3);
    clip-path: polygon(
        0 40px, 40px 0, calc(100% - 40px) 0, 100% 40px,
        100% calc(100% - 40px), calc(100% - 40px) 100%, 40px 100%, 0 calc(100% - 40px)
    );
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(255, 42, 109, 0.1) 0%, transparent 50%),
        linear-gradient(225deg, rgba(5, 217, 232, 0.1) 0%, transparent 50%);
}

.cta-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
}

/* Stats */
.stat-item {
    position: relative;
    text-align: center;
    padding: 40px 30px;
    border-right: 1px solid rgba(5, 217, 232, 0.2);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: #05d9e8;
    text-shadow: 0 0 30px rgba(5, 217, 232, 0.5);
    line-height: 1;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Divider */
.cyber-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(5, 217, 232, 0.5), rgba(255, 42, 109, 0.5), transparent);
    position: relative;
}

.cyber-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #0a0a0f;
    border: 2px solid #05d9e8;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: divPulse 2s ease-in-out infinite;
}

@keyframes divPulse {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(180deg); }
}

/* Scroll Indicator */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: scrollFloat 2s ease-in-out infinite;
}

@keyframes scrollFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: rgba(5, 217, 232, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); }
    .cyber-card { padding: 35px 25px; }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(5, 217, 232, 0.2);
        padding: 25px 20px;
    }
    .stat-item:last-child { border-bottom: none; }
    .stat-number { font-size: 3rem; }
    .cyber-map { height: 400px; }
    .cta-section { clip-path: none; }
}

::selection { background: rgba(255, 42, 109, 0.4); color: #fff; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0f; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #05d9e8, #ff2a6d);
    border-radius: 4px;
}
