﻿:root {
    --primary-purple: #7C3AED;
    --primary-light: #A78BFA;
    --secondary-orange: #F59E0B;
    --accent-cyan: #06B6D4;
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-lighter: #F3F4F6;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --border-color: #E5E7EB;
    --success-green: #10B981;
    --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(124, 58, 237, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(5deg) scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-purple);
}

.nav-menu a:hover::after {
    width: 80%;
}

.nav-menu a.active {
    color: var(--primary-purple);
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 80%;
}

.nav-menu .btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 0.6rem;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu .btn-primary::after {
    display: none;
}

.nav-menu .btn-primary:hover {
    background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-menu .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

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

.btn-ghost:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 50%, #F3F4F6 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@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 {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 3rem 1rem;
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.section {
    padding: 6rem 0;
    position: relative;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card p {
    color: var(--text-gray);
    line-height: 1.7;
}

footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 3rem 0;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .nav-menu .btn {
        width: 100%;
        justify-content: center;
    }
}

.nav-menu li {
    animation: menuItemSlideIn 0.5s ease-out backwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.05s; }
.nav-menu li:nth-child(2) { animation-delay: 0.1s; }
.nav-menu li:nth-child(3) { animation-delay: 0.15s; }
.nav-menu li:nth-child(4) { animation-delay: 0.2s; }
.nav-menu li:nth-child(5) { animation-delay: 0.25s; }
.nav-menu li:nth-child(6) { animation-delay: 0.3s; }
.nav-menu li:nth-child(7) { animation-delay: 0.35s; }
.nav-menu li:nth-child(8) { animation-delay: 0.4s; }

@keyframes menuItemSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu a:not(.btn-primary) {
    position: relative;
}

.nav-menu a:not(.btn-primary)::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -8px;
    transform: translateY(-50%) scaleX(0);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-purple);
    transition: transform 0.3s ease;
}

.nav-menu a:not(.btn-primary):hover::before,
.nav-menu a:not(.btn-primary).active::before {
    transform: translateY(-50%) scaleX(1);
}

.nav-menu .btn-primary {
    position: relative;
    overflow: hidden;
}

.nav-menu .btn-primary::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.nav-menu .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.nav-menu .btn-primary span {
    position: relative;
    z-index: 1;
}

.logo span {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.logo:hover span {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body {
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.06;
    z-index: -1;
    filter: blur(1px);
}

body.page-home::before {
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1920&h=1080&fit=crop&q=80');
}

body.page-about::before {
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&h=1080&fit=crop&q=80');
}

body.page-platform::before {
    background-image: url('https://images.unsplash.com/photo-1518432031352-d6fc5c10da5a?w=1920&h=1080&fit=crop&q=80');
}

body.page-solutions::before {
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1920&h=1080&fit=crop&q=80');
}

body.page-customers::before {
    background-image: url('https://images.unsplash.com/photo-1556155092-490a1ba16284?w=1920&h=1080&fit=crop&q=80');
}

body.page-pricing::before {
    background-image: url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?w=1920&h=1080&fit=crop&q=80');
}

body.page-resources::before {
    background-image: url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?w=1920&h=1080&fit=crop&q=80');
}

body.page-contact::before {
    background-image: url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1920&h=1080&fit=crop&q=80');
}

body.page-privacy::before {
    background-image: url('https://images.unsplash.com/photo-1563986768609-322da13575f3?w=1920&h=1080&fit=crop&q=80');
}

body.page-terms::before {
    background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1920&h=1080&fit=crop&q=80');
}

body.page-cookies::before {
    background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1920&h=1080&fit=crop&q=80');
}

body.page-security::before {
    background-image: url('https://images.unsplash.com/photo-1555949963-aa79dcee981c?w=1920&h=1080&fit=crop&q=80');
}

.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(249, 250, 251, 0.97) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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


/* SVG图标样式 - 符合品牌风格 */
.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-radius: 16px;
    position: relative;
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1;
}

.icon-rocket {
    fill: none;
    stroke: url(#iconGradient);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-brain {
    fill: url(#iconGradient);
}

.icon-chart {
    fill: none;
    stroke: url(#iconGradient);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-shield {
    fill: none;
    stroke: url(#iconGradient);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-users {
    fill: none;
    stroke: url(#iconGradient);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-lightbulb {
    fill: none;
    stroke: url(#iconGradient);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-target {
    fill: none;
    stroke: url(#iconGradient);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-gear {
    fill: none;
    stroke: url(#iconGradient);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-cloud {
    fill: none;
    stroke: url(#iconGradient);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-database {
    fill: none;
    stroke: url(#iconGradient);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-phone {
    fill: none;
    stroke: url(#iconGradient);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-book {
    fill: none;
    stroke: url(#iconGradient);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-code {
    fill: none;
    stroke: url(#iconGradient);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-award {
    fill: none;
    stroke: url(#iconGradient);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-globe {
    fill: none;
    stroke: url(#iconGradient);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

