:root {
    --primary-color: #4F46E5;
    --primary-dark: #4338CA;
    --secondary-color: #7C3AED;
    --text-color: #1F2937;
    --text-light: #6B7280;
    --bg-color: #F9FAFB;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --font-inter: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-inter);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.header-container {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-color);
    gap: 10px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-color);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    gap: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background: rgba(79, 70, 229, 0.05);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

.btn-secondary {
    background: var(--white);
    color: var(--text-color);
    border: 1px solid #E5E7EB;
}

.btn-secondary:hover {
    border-color: var(--text-light);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: #F3F4F6;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(79, 70, 229, 0.1), transparent 40%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid #E5E7EB;
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.central-shield {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    animation: pulse 3s infinite ease-in-out;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 160px;
    animation: float 6s ease-in-out infinite;
    z-index: 5;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.icon-amazon {
    background-color: #FF9900;
}

.icon-shopify {
    background-color: #95BF47;
}

.icon-ebay {
    background-color: #E53238;
}

.icon-jd {
    background-color: #E1251B;
}

.icon-taobao {
    background-color: #FF5000;
}

.icon-pdd {
    background-color: #E02E24;
}

.card-text {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
}

.status-safe {
    font-size: 0.75rem;
    color: #10B981;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 20%;
    right: 5%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
}

.card-4 {
    top: 5%;
    left: 45%;
    animation-delay: 1.5s;
}

.card-5 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3.5s;
}

.card-6 {
    top: 45%;
    left: 0%;
    transform: translateX(-20%);
    animation-delay: 2.5s;
}

.card-7 {
    bottom: 50%;
    right: 0%;
    transform: translateX(20%);
    animation-delay: 4.5s;
}

.card-4 {
    top: 5%;
    left: 45%;
    animation-delay: 1.5s;
}

.card-5 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3.5s;
}

.card-6 {
    top: 45%;
    left: 0%;
    transform: translateX(-20%);
    /* Slight offset */
    animation-delay: 2.5s;
}

.glow-effect {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #FAFAFA;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.feature-card:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #E5E7EB;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
}

/* Solutions Section */
.solutions-section {
    padding: 100px 0;
}

.solution-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.solution-content {
    flex: 1;
}

.solution-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    fill: #10B981;
    flex-shrink: 0;
    margin-top: 2px;
}

.solution-image {
    flex: 1;
}

.browser-mockup {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.mockup-header {
    background: #F3F4F6;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #E5E7EB;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #EF4444;
}

.yellow {
    background: #F59E0B;
}

.green {
    background: #10B981;
}

.mockup-url {
    background: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-light);
    flex: 1;
    margin-left: 10px;
    text-align: center;
}

.mockup-body {
    height: 300px;
    background: #F9FAFB;
    display: flex;
    padding: 20px;
    gap: 20px;
}

.ui-sidebar {
    width: 60px;
    background: #DBEAFE;
    border-radius: 8px;
    height: 100%;
}

.ui-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ui-card {
    height: 30%;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
    color: var(--white);
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-container p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1F2937;
    color: #F3F4F6;
    padding: 80px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid #374151;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-logo p {
    color: #9CA3AF;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.link-group h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.link-group a {
    display: block;
    color: #9CA3AF;
    margin-bottom: 0.75rem;
}

.link-group a:hover {
    color: var(--white);
}

.copyright {
    padding-top: 20px;
    text-align: center;
    color: #6B7280;
    font-size: 0.875rem;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(124, 58, 237, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-bottom,
.reveal-left,
.reveal-right {
    opacity: 0;
}

.reveal-bottom.active {
    animation: fadeInUp 0.8s ease-out forwards;
}

.reveal-left.active {
    animation: fadeInUp 0.8s ease-out forwards;
    /* Simplified to fade up for consistency */
}

.reveal-right.active {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }

    .nav-menu,
    .header-actions {
        display: none;
        /* Mobile menu implementation needed if required */
    }

    .menu-toggle {
        display: block;
        /* Typically hidden on desktop */
    }

    .hero-container,
    .solution-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        margin-top: 40px;
    }

    .solution-list li {
        text-align: left;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-links {
        gap: 30px;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}