/* ============================================
   银润电子商务 - 企业官网样式
   ============================================ */

/* === Reset & Foundation === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg-deep: #050B18;
    --color-bg-primary: #0A1628;
    --color-bg-card: #0F1D32;
    --color-bg-card-hover: #142540;
    --color-accent: #00D4FF;
    --color-accent-dim: rgba(0, 212, 255, 0.15);
    --color-accent-glow: rgba(0, 212, 255, 0.3);
    --color-purple: #7B61FF;
    --color-purple-dim: rgba(123, 97, 255, 0.15);
    --color-text-primary: #E8EDF5;
    --color-text-secondary: #8899B0;
    --color-text-muted: #5A6D85;
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(0, 212, 255, 0.2);
    --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition-fast: 0.2s ease;
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-deep);
    color: var(--color-text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

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

/* === Scroll Animations === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--delay, 0s);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(5, 11, 24, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-purple));
    border-radius: 1px;
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--color-text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(5, 11, 24, 0.4) 0%,
        rgba(5, 11, 24, 0.7) 50%,
        rgba(5, 11, 24, 1) 100%
    );
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--color-accent);
    background: var(--color-accent-dim);
    border: 1px solid rgba(0, 212, 255, 0.2);
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-purple) 50%, #FF6B9D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.9;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), #0099CC);
    color: #fff;
    box-shadow: 0 4px 25px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(0, 212, 255, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-dim);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-text-primary);
}

.stat-suffix {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-accent);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 4px;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--color-text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.mouse-wheel {
    width: 3px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    animation: mouseScroll 2s ease-in-out infinite;
}

@keyframes mouseScroll {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(6px); }
}

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

/* === Section Common === */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
}

.section-desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
    max-width: 550px;
    margin: 0 auto;
    font-weight: 300;
}

/* === Services Section === */
.services {
    padding: 120px 0;
    position: relative;
    background: var(--color-bg-primary);
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 40px 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: default;
}

.service-card:hover {
    border-color: var(--color-border-hover);
    background: var(--color-bg-card-hover);
    transform: translateY(-4px);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--color-accent-dim) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    color: var(--color-accent);
    margin-bottom: 24px;
    padding: 10px;
    background: var(--color-accent-dim);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-tags span {
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}

/* === Products Section === */
.products {
    padding: 120px 0;
    position: relative;
    background: var(--color-bg-deep);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.product-showcase:last-child {
    margin-bottom: 0;
}

.product-showcase.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.product-showcase.reverse .product-info {
    order: 2;
}

.product-showcase.reverse .product-image {
    order: 1;
}

.product-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    background: var(--color-purple-dim);
    color: var(--color-purple);
    border: 1px solid rgba(123, 97, 255, 0.2);
    margin-bottom: 16px;
}

.product-name {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.product-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* Product Image Frame */
.image-frame {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.image-frame:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 40px var(--color-accent-dim);
    border-color: var(--color-border-hover);
}

.frame-dots {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
}

.frame-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.frame-dots span:nth-child(1) { background: #FF5F57; }
.frame-dots span:nth-child(2) { background: #FEBC2E; }
.frame-dots span:nth-child(3) { background: #28C840; }

.image-frame img {
    width: 100%;
    display: block;
}

/* === About Section === */
.about {
    padding: 120px 0;
    background: var(--color-bg-primary);
    position: relative;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--color-text-primary);
}

.about-text em {
    color: var(--color-accent);
    font-style: normal;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.value-item:hover {
    border-color: var(--color-border-hover);
    background: var(--color-bg-card-hover);
}

.value-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.value-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

/* About Visual Grid */
.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.visual-card {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.visual-card:hover {
    transform: translateY(-4px);
}

.visual-card.v1 {
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.08), rgba(0, 212, 255, 0.02));
    border-color: rgba(0, 212, 255, 0.15);
}

.visual-card.v2 {
    background: linear-gradient(145deg, rgba(123, 97, 255, 0.08), rgba(123, 97, 255, 0.02));
    border-color: rgba(123, 97, 255, 0.15);
}

.visual-card.v3 {
    background: linear-gradient(145deg, rgba(255, 107, 157, 0.08), rgba(255, 107, 157, 0.02));
    border-color: rgba(255, 107, 157, 0.15);
}

.visual-card.v4 {
    background: linear-gradient(145deg, rgba(40, 200, 64, 0.08), rgba(40, 200, 64, 0.02));
    border-color: rgba(40, 200, 64, 0.15);
}

.v-number {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.v1 .v-number { color: var(--color-accent); }
.v2 .v-number { color: var(--color-purple); }
.v3 .v-number { color: #FF6B9D; }
.v4 .v-number { color: #28C840; }

.v-number span {
    font-size: 1rem;
    font-weight: 600;
}

.v-label {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

/* === Advantage Section === */
.advantage {
    padding: 120px 0;
    background: var(--color-bg-deep);
    position: relative;
}

.advantage::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

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

.adv-card {
    padding: 36px 28px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.adv-card:hover {
    border-color: var(--color-border-hover);
    background: var(--color-bg-card-hover);
    transform: translateY(-4px);
}

.adv-num {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 97, 255, 0.15));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.adv-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.adv-card p {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* === Contact Section === */
.contact {
    padding: 120px 0;
    background: var(--color-bg-deep);
}

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

.contact-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.contact-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: var(--color-accent-dim);
    color: var(--color-accent);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.contact-sub {
    font-size: 0.78rem !important;
    color: var(--color-text-muted) !important;
    margin-top: 4px;
}

/* === Footer === */
.footer {
    padding: 60px 0 0;
    background: var(--color-bg-primary);
    border-top: 1px solid var(--color-border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.footer-desc {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: 12px;
}

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

.footer-col h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-bottom a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--color-accent);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .product-showcase,
    .product-showcase.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-showcase.reverse .product-info,
    .product-showcase.reverse .product-image {
        order: unset;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .advantage-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(5, 11, 24, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .section-title {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .visual-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.8rem;
    }
}
