/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4F8EFF;
    --primary-dark: #2B6FE8;
    --primary-light: #EBF3FF;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;
    --border-color: #E5E5E5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 
                 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-white);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

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

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

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-3d-element {
    position: absolute;
    top: 50%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.3);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0.1);stop-opacity:1" /></linearGradient></defs><rect x="40" y="40" width="120" height="120" rx="20" fill="url(%23grad1)" transform="rotate(15 100 100)"/><rect x="60" y="60" width="80" height="80" rx="10" fill="rgba(255,255,255,0.2)"/></svg>') no-repeat center;
    background-size: contain;
    transform: translateY(-50%);
    animation: rotate3d 30s linear infinite;
}

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

@keyframes rotate3d {
    from {
        transform: translateY(-50%) rotate(0deg);
    }
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 700px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--bg-white);
}

.title-highlight {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 16px;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-button {
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--bg-white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

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

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--bg-white);
    position: relative;
    margin-top: -60px;
    z-index: 20;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    background: var(--bg-white);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

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

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-unit {
    font-size: 24px;
    font-weight: 600;
}

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

/* Solutions Section */
.solutions-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.industry-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

.tab-button {
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-button:hover {
    color: var(--primary-color);
    border-color: var(--primary-light);
}

.tab-button.active {
    color: var(--bg-white);
    background: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.solutions-carousel {
    position: relative;
}

.solution-item {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.solution-item.active {
    display: block;
}

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

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-white);
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 60px;
}

.solution-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.solution-image:hover img {
    transform: scale(1.05);
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.carousel-prev,
.carousel-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.solution-text {
    padding: 20px 0;
}

.solution-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.solution-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: var(--bg-white);
    background: var(--primary-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.learn-more:hover {
    background: var(--primary-dark);
    transform: translateX(4px);
}

.arrow-icon {
    font-size: 20px;
    transition: var(--transition);
}

.learn-more:hover .arrow-icon {
    transform: translateX(4px);
}

.brands-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    transition: var(--transition);
}

.brand-logo:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* More Brands Section */
.more-brands-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: var(--bg-light);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.brand-item:hover {
    background: var(--bg-white);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: var(--bg-white);
}

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

.footer-section h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 28px;
    }
    
    .hero-3d-element {
        width: 400px;
        height: 400px;
    }
    
    .solution-content {
        gap: 40px;
        padding: 40px;
    }
    
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        min-height: auto;
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-3d-element {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 32px 24px;
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .industry-tabs {
        gap: 12px;
    }
    
    .tab-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 24px;
    }
    
    .solution-title {
        font-size: 24px;
    }
    
    .solution-description {
        font-size: 15px;
    }
    
    .brands-showcase {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 16px;
        padding: 24px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px;
    }
    
    .brand-item {
        padding: 24px 16px;
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .title-highlight {
        padding: 6px 16px;
    }
    
    .cta-button {
        padding: 14px 32px;
        font-size: 16px;
    }
    
    .stats-grid {
        padding: 24px 16px;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .tab-button {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .solution-content {
        padding: 24px 16px;
    }
    
    .solution-title {
        font-size: 20px;
    }
    
    .solution-description {
        font-size: 14px;
    }
    
    .brands-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--bg-white);
}

/* Focus States */
button:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

