/* Global Styles */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #454E5F;
    --dark-text: #111827;
    --medium-text: #374151;
    --light-text: #4B5563;
    --lighter-text: #9CA3AF;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --success-color: #10B981;
    --warning-color: #FBBF24;
    --error-color: #EF4444;
    --border-radius: 8px;
    --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);
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --section-spacing: 120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.5;
    color: var(--dark-text);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    color: var(--dark-text);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--medium-text);
}

section {
    padding: var(--section-spacing) 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    position: relative;
    overflow: hidden;
}

section:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.02;
    z-index: -1;
    transform: scale(1.1);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section:nth-child(even) {
    background-color: var(--bg-light);
}

.section-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 700px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    line-height: 1.5;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:hover:after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: rgba(0, 82, 255, 0.05);
    transform: translateY(-2px);
}

/* Header & Navigation */
header {
    position: relative;
    padding: 1.5rem 0 6rem;
    background-image: url('../img/header-bg.svg');
    background-position: right top;
    background-repeat: no-repeat;
    background-size: 50%;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.86);
    transition: all 0.3s ease;
}

.header-scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6rem;
}

.logo h1 {
    font-size: 1.75rem;
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), #00B7FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: var(--medium-text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(37, 99, 235, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 100%;
    transform: translateZ(0);
    transition: transform 0.3s ease;
}

/* Trusted By Section */
.trusted-by {
    padding: 3rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

.trusted-by h3 {
    color: var(--lighter-text);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    align-items: center;
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: grayscale(100%);
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Solutions Section */
.solutions {
    text-align: center;
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    text-align: left;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.solution-card:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: height 0.3s ease;
    z-index: -1;
}

.solution-card:hover:after {
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.solution-card .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2);
}

.solution-card .icon:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: skewX(-25deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.solution-card:hover .icon:after {
    transform: skewX(-25deg) translateX(100%);
}

.solution-card h3 {
    margin-bottom: 1rem;
}

.solution-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.learn-more {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.learn-more:after {
    content: '→';
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.learn-more:hover:after {
    transform: translateX(5px);
}

/* Platform Section */
.platform {
    display: grid;
    grid-template-columns: 1fr;
}

.platform .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.platform-features {
    margin-top: 2rem;
}

.feature {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.feature:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature p {
    margin-bottom: 1rem;
}

.feature-link {
    font-weight: 600;
}

.platform-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Use Cases Section */
.use-cases {
    text-align: center;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.use-case-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.use-case-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.use-case-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    background-color: rgba(0, 82, 255, 0.1);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.use-case-cta {
    margin-top: 2rem;
}

/* Testimonials Section */
.testimonials {
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: left;
}

.quote {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.attribution {
    color: var(--lighter-text);
    font-weight: 500;
}

/* Contact Section */
.contact {
    text-align: center;
}

.contact h2 {
    margin-bottom: 1rem;
}

.contact p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
footer {
    background-color: var(--bg-light);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #00B7FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo p {
    color: var(--light-text);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h3 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--medium-text);
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 0.75rem;
}

.link-group ul li a {
    color: var(--light-text);
    transition: color 0.2s ease;
}

.link-group ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--lighter-text);
    font-size: 0.875rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--lighter-text);
}

.legal-links a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .solution-cards, 
    .use-case-grid, 
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 0 4rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .hero {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .platform .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-content h2 {
        font-size: 2.25rem;
    }
    
    .solution-cards, 
    .use-case-grid, 
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* 动态文字渐变 */
.text-gradient {
    background-size: 200% 200%;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 6s infinite alternate;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* 旋转文字效果 */
.rotating-words {
    position: relative;
    height: 1.5em;
    overflow: hidden;
    display: block;
    margin-top: 0.5rem;
}

.rotating-words span {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    animation: rotateWords 12s ease-in-out infinite;
    font-size: 2.5rem;
    font-weight: 800;
}

.rotating-words span:nth-child(1) {
    animation-delay: 0s;
}

.rotating-words span:nth-child(2) {
    animation-delay: 4s;
}

.rotating-words span:nth-child(3) {
    animation-delay: 8s;
}

@keyframes rotateWords {
    0%, 16.6%, 100% { 
        opacity: 0; 
        transform: translateY(25px);
        filter: blur(5px);
    }
    
    20%, 45% { 
        opacity: 1; 
        transform: translateY(0); 
        filter: blur(0);
    }
    
    50%, 66.6% { 
        opacity: 0; 
        transform: translateY(-25px);
        filter: blur(5px);
    }
}

/* 进度条动画 */
.progress-bar {
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0;
    transition: width 1.5s ease-out;
    border-radius: 4px;
    position: relative;
}

.solution-card.animate .progress {
    width: 78%;
}

/* 动态分割线 */
.section-divider {
    height: 1px;
    background: var(--border-color);
    margin: 3rem auto;
    width: 80%;
    position: relative;
    overflow: hidden;
}

.section-divider:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 1s ease;
}

.section-divider.visible:after {
    transform: translateX(0);
} 