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

:root {
    --color-text: #1d1d1f;
    --color-text-secondary: #6e6e73;
    --color-bg: #ffffff;
    --color-bg-secondary: #f5f5f7;
    --color-accent: #0071e3;
    --color-accent-hover: #0077ed;
    --color-border: #d2d2d7;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;
    --spacing-xxl: 120px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 113, 227, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 113, 227, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(237, 237, 237, 0.3);
    backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo {
    font-size: 16px;
    font-weight: 500;
    color: #555556;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: #0071e3;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: #555556;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Hero Section - V4 Style with Gradient Orbs */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 40px 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #0066FF, #00CCFF);
    top: -200px;
    left: -200px;
    animation-duration: 18s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    bottom: -250px;
    right: -250px;
    animation-duration: 22s;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #00CCFF, #6366f1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 25s;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    z-index: 2;
    position: relative;
}

/* V4 Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.1);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    padding: 10px;
}

.title-line.highlight {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--color-text-secondary);
    margin-bottom: 48px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
    color: var(--color-text);
    border: 2px solid var(--color-border);
    background: rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(0, 102, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

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

.stat-number {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #0066FF 0%, #00CCFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
    display: inline-block;
}

.stat-number span {
    font-size: 32px;
}

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

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--color-border), transparent);
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

.scroll-hint span {
    font-size: 11px;
    color: var(--color-text-secondary);
    letter-spacing: 1px;
}

/* Product Sections */
.product-section {
    padding: var(--spacing-xxl) var(--spacing-md);
    overflow: hidden;
}

.bg-light {
    background: var(--color-bg);
}

.bg-dark {
    background: var(--color-text);
    color: var(--color-bg);
}

.bg-dark .product-title,
.bg-dark .product-subtitle {
    color: var(--color-bg);
}

.bg-dark .product-description {
    color: rgba(255, 255, 255, 0.7);
}

.bg-dark .product-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-bg);
    border-color: rgba(255, 255, 255, 0.3);
}

.bg-dark .product-image {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bg-dark .product-image:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.product-container.reverse {
    direction: rtl;
}

.product-container.reverse > * {
    direction: ltr;
}

.product-content {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.product-title {
    font-size: clamp(26px, 3vw, 35px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.product-subtitle {
    font-size: clamp(17px, 2vw, 21px);
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

.product-description {
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

.product-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 113, 227, 0.1);
    color: var(--color-accent);
    font-size: 14px;
    border-radius: 16px;
    border: 1px solid rgba(0, 113, 227, 0.2);
    margin-top: var(--spacing-sm);
}

.product-links {
    margin: var(--spacing-md) 0;
}

.link-arrow {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: transform 0.3s;
    display: inline-block;
}

.link-arrow:hover {
    transform: translateX(4px);
}

.product-visual {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.product-image {
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* About Section */
.about-section {
    padding: var(--spacing-xxl) var(--spacing-md);
    background: var(--color-bg-secondary);
}

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

.about-title {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.about-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 16px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease-out forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:nth-child(2) {
    animation-delay: 0.1s;
}

.about-card:nth-child(3) {
    animation-delay: 0.2s;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.about-card h3 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.about-card p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-xxl) var(--spacing-md);
    background: var(--color-bg);
}

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

.contact-title {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.contact-item:nth-child(1) { animation-delay: 0s; }
.contact-item:nth-child(2) { animation-delay: 0.1s; }
.contact-item:nth-child(3) { animation-delay: 0.2s; }

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--color-accent);
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 113, 227, 0.08);
    border-radius: 12px;
    color: var(--color-accent);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-text {
    flex: 1;
}

.contact-text h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text);
}

.contact-text p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}

.contact-text a {
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-text a:hover {
    opacity: 0.7;
}

.contact-qrcode {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out 0.5s forwards;
}

.qrcode-box {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.qrcode-box img {
    width: 200px;
    height: 200px;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.qrcode-label {
    margin-top: var(--spacing-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* Footer */
.footer {
    background: var(--color-bg-secondary);
    padding: var(--spacing-lg) var(--spacing-md);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: var(--color-text-secondary);
    font-size: 14px;
    margin: var(--spacing-xs) 0;
}

.footer-content a {
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-content a:hover {
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero {
        min-height: 80vh;
    }

    .product-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .product-container.reverse {
        direction: ltr;
    }

    .product-section {
        padding: var(--spacing-xl) var(--spacing-md);
    }

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

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

    .contact-qrcode {
        order: -1;
    }

    .qrcode-box img {
        width: 160px;
        height: 160px;
    }

    .product-image {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 18px;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .nav-links {
        gap: 12px;
    }

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

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}