/*
  1688代购系统 - 赛博朋克风格
  Website 54 - Cyberpunk Style
*/

:root {
    --neon-cyan: #00f0ff;
    --neon-pink: #ff00ff;
    --neon-yellow: #f0ff00;
    --neon-red: #ff0040;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(0, 240, 255, 0.05);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --text-primary: #e0e0e0;
    --text-secondary: #888;
    --border-glow: rgba(0, 240, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Cyberpunk Background */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.cyber-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(10, 10, 15, 0.9);
    border-bottom: 1px solid var(--border-glow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cyber-logo {
    text-decoration: none;
}

.logo-glitch {
    font-size: 24px;
    font-weight: 900;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
    position: relative;
}

.logo-glitch::before,
.logo-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.logo-glitch::before {
    color: var(--neon-pink);
    animation: glitch-1 2s infinite linear alternate-reverse;
}

.logo-glitch::after {
    color: var(--neon-cyan);
    animation: glitch-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-1 {
    0% { clip-path: inset(20% 0 60% 0); transform: translate(-2px, 1px); }
    20% { clip-path: inset(10% 0 70% 0); transform: translate(2px, -1px); }
    40% { clip-path: inset(50% 0 30% 0); transform: translate(-2px, 2px); }
    60% { clip-path: inset(30% 0 50% 0); transform: translate(2px, -2px); }
    80% { clip-path: inset(70% 0 10% 0); transform: translate(-1px, 1px); }
    100% { clip-path: inset(40% 0 40% 0); transform: translate(1px, -1px); }
}

@keyframes glitch-2 {
    0% { clip-path: inset(60% 0 20% 0); transform: translate(2px, -1px); }
    20% { clip-path: inset(70% 0 10% 0); transform: translate(-2px, 1px); }
    40% { clip-path: inset(30% 0 50% 0); transform: translate(2px, 2px); }
    60% { clip-path: inset(50% 0 30% 0); transform: translate(-2px, -2px); }
    80% { clip-path: inset(10% 0 70% 0); transform: translate(1px, 1px); }
    100% { clip-path: inset(40% 0 40% 0); transform: translate(-1px, 1px); }
}

.cyber-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.cyber-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.cyber-nav a::before {
    content: '[';
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-right: 5px;
    color: var(--neon-cyan);
}

.cyber-nav a::after {
    content: ']';
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-left: 5px;
    color: var(--neon-cyan);
}

.cyber-nav a:hover,
.cyber-nav a.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.cyber-nav a:hover::before,
.cyber-nav a:hover::after,
.cyber-nav a.active::before,
.cyber-nav a.active::after {
    opacity: 1;
}

.cyber-toggle {
    display: none;
    background: none;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
}

/* Hero Section */
.cyber-hero {
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
}

.cyber-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--neon-cyan);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.cyber-title {
    margin-bottom: 25px;
}

.title-main {
    display: block;
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--neon-pink);
    letter-spacing: 8px;
    margin-top: 10px;
}

.cyber-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.cyber-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cyber-btn.primary {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    border: none;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.cyber-btn.primary:hover {
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.8);
    transform: translateY(-2px);
}

.cyber-btn.secondary {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
}

.cyber-btn.secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

/* Hologram Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram {
    position: relative;
    width: 350px;
    height: 350px;
}

.holo-ring {
    position: absolute;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    opacity: 0.6;
    animation: rotate 10s linear infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation-duration: 15s;
}

.ring-2 {
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
    border-color: var(--neon-pink);
    animation-direction: reverse;
    animation-duration: 12s;
}

.ring-3 {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    border-color: var(--neon-yellow);
    animation-duration: 8s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.holo-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.holo-stat {
    margin-bottom: 30px;
}

.holo-num {
    font-size: 64px;
    font-weight: 900;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
}

.holo-label {
    display: block;
    font-size: 14px;
    color: var(--neon-pink);
    letter-spacing: 3px;
}

.holo-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.holo-line {
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-cyan), transparent);
    animation: line-scan 2s ease-in-out infinite;
}

.holo-line:nth-child(2) { animation-delay: 0.2s; width: 160px; }
.holo-line:nth-child(3) { animation-delay: 0.4s; width: 180px; }
.holo-line:nth-child(4) { animation-delay: 0.6s; width: 140px; }

@keyframes line-scan {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid var(--neon-pink);
    font-size: 12px;
    font-weight: 700;
    color: var(--neon-pink);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 40px;
    font-weight: 900;
}

/* Features */
.cyber-features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.cyber-card {
    position: relative;
    padding: 35px 25px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glow);
    border-radius: 4px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.cyber-card:hover::before {
    left: 100%;
}

.cyber-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
    transform: translateY(-5px);
}

.card-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--neon-pink);
    opacity: 0.5;
    margin-bottom: 15px;
}

.card-icon {
    font-size: 42px;
    margin-bottom: 18px;
}

.cyber-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--neon-cyan);
}

.cyber-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Stats */
.cyber-stats {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid var(--border-glow);
    background: var(--bg-glass);
    transition: all 0.4s ease;
}

.stat-box:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.stat-value {
    font-size: 48px;
    font-weight: 900;
    color: var(--neon-cyan);
    display: inline;
}

.stat-suffix {
    font-size: 28px;
    font-weight: 700;
    color: var(--neon-pink);
}

.stat-label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Audience */
.cyber-audience {
    padding: 100px 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.user-card {
    padding: 35px 25px;
    border: 1px solid var(--border-glow);
    background: var(--bg-glass);
    text-align: center;
    transition: all 0.4s ease;
}

.user-card:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.2);
}

.user-avatar {
    font-size: 48px;
    margin-bottom: 20px;
}

.user-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.user-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.user-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.user-tags span {
    padding: 4px 12px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    font-size: 11px;
    color: var(--neon-cyan);
    text-transform: uppercase;
}

/* Workflow */
.cyber-workflow {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.3);
}

.workflow-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
}

.track-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-pink), transparent);
    transform: translateY(-50%);
}

.workflow-step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 10;
}

.step-marker {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--bg-dark);
    border: 2px solid var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Contact */
.cyber-contact {
    padding: 80px 0;
}

.contact-wrapper {
    padding: 60px;
    border: 2px solid var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
    text-align: center;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--neon-cyan);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.method {
    display: flex;
    align-items: center;
    gap: 15px;
}

.method-icon {
    font-size: 24px;
    color: var(--neon-pink);
}

.method-value {
    font-size: 18px;
    font-weight: 600;
}

/* Footer */
.cyber-footer {
    padding: 40px 0 20px;
    border-top: 1px solid var(--border-glow);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.glitch-text {
    font-size: 22px;
    font-weight: 900;
    color: var(--neon-cyan);
    position: relative;
    display: inline-block;
}

.footer-brand p {
    font-size: 12px;
    color: var(--neon-pink);
    letter-spacing: 3px;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-cyan);
}

/* Footer Contact Info - Always Visible */
.footer-contact {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
}

.footer-contact-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--neon-cyan);
    margin-bottom: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-contact-item .contact-icon {
    font-size: 16px;
    width: 24px;
    text-align: center;
}

.footer-contact-item .contact-text {
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: var(--text-secondary);
}

/* Page Hero Section - Used in sub-pages */
.page-hero {
    min-height: 60vh;
    padding: 140px 0 60px;
    display: flex;
    align-items: center;
    text-align: center;
}

.page-hero .container {
    max-width: 900px;
    margin: 0 auto;
}

.page-hero .hero-content {
    text-align: center;
}

.page-hero .hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 30px;
    font-size: 14px;
    color: var(--neon-cyan);
    margin-bottom: 20px;
}

.page-hero .hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-hero .hero-title .title-line {
    display: block;
}

.page-hero .hero-title .title-highlight {
    color: var(--neon-cyan);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.page-hero .hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Benefits Section - Used in sub-pages */
.benefits-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.3);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.benefit-card {
    padding: 35px 25px;
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    text-align: center;
    transition: all 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.benefit-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--neon-cyan);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.benefit-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .cyber-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-grid,
    .stats-grid,
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-track {
        flex-wrap: wrap;
        gap: 30px;
    }

    .track-line {
        display: none;
    }

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

@media (max-width: 768px) {
    .cyber-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        padding: 20px;
    }

    .cyber-nav.active {
        display: block;
    }

    .cyber-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .cyber-toggle {
        display: block;
    }

    .title-main {
        font-size: 40px;
    }

    .title-sub {
        font-size: 18px;
        letter-spacing: 4px;
    }

    .page-hero {
        padding: 120px 0 40px;
        min-height: 50vh;
    }

    .page-hero .hero-title {
        font-size: 32px;
    }

    .features-grid,
    .stats-grid,
    .audience-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        flex-direction: column;
        gap: 25px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-contact {
        width: 100%;
        max-width: 300px;
        min-width: auto;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .benefit-value {
        font-size: 32px;
    }
}
