/* 开云 - Kaiyun(中国)官方网站 style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6c63ff;
    --secondary: #ff6584;
    --accent: #00d2ff;
    --bg: #ffffff;
    --text: #1a1a2e;
    --card-bg: rgba(255,255,255,0.8);
    --glass: rgba(255,255,255,0.2);
    --shadow: 0 8px 32px rgba(0,0,0,0.1);
    --gradient: linear-gradient(135deg, #6c63ff 0%, #ff6584 100%);
    --radius: 20px;
    --transition: all 0.3s ease;
}

.dark-mode {
    --bg: #0f0f1a;
    --text: #e0e0e0;
    --card-bg: rgba(30,30,50,0.8);
    --glass: rgba(255,255,255,0.05);
    --shadow: 0 8px 32px rgba(0,0,0,0.5);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

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

header {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
}

.dark-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text);
    padding: 8px;
    border-radius: 50%;
    background: var(--glass);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(108,99,255,0.2) 0%, transparent 70%);
    animation: heroGlow 10s ease-in-out infinite;
}

@keyframes heroGlow {
    0%,100% { transform: translate(0,0); }
    50% { transform: translate(30px,30px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(108,99,255,0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108,99,255,0.6);
}

.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 40px 0;
}

.banner-slide {
    display: none;
    padding: 60px 20px;
    background: var(--gradient);
    color: white;
    border-radius: var(--radius);
    text-align: center;
    animation: fadeIn 0.8s ease;
}

.banner-slide.active {
    display: block;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}

.banner-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(108,99,255,0.3);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card p {
    color: var(--text);
    opacity: 0.8;
}

.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    margin-top: 10px;
    font-size: 1.1rem;
}

.testimonial {
    text-align: center;
    padding: 40px;
    background: var(--card-bg);
    border-radius: var(--radius);
    margin: 20px 0;
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(108,99,255,0.1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 20px;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-item {
    padding: 20px;
    text-align: center;
    background: var(--card-bg);
    border-radius: var(--radius);
}

footer {
    background: #0f0f1a;
    color: #aaa;
    padding: 60px 0 30px;
}

footer .grid {
    gap: 40px;
}

footer h4 {
    color: white;
    margin-bottom: 20px;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 10px;
}

footer a {
    color: #aaa;
}

footer a:hover {
    color: white;
}

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

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    display: none;
    z-index: 999;
    transition: var(--transition);
}

.back-to-top.visible {
    display: block;
}

.back-to-top:hover {
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    nav ul { display: none; flex-direction: column; background: var(--card-bg); position: absolute; top: 70px; left: 0; right: 0; padding: 20px; gap: 15px; backdrop-filter: blur(20px); }
    nav ul.open { display: flex; }
    .nav-toggle { display: block; }
    .section-title { font-size: 2rem; }
}

.svg-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.product-card svg, .advantage-card svg, .solution-card svg {
    width: 80px;
    height: 80px;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    padding: 20px 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text);
    opacity: 0.6;
}

.search-entry {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.search-entry input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    background: var(--card-bg);
    color: var(--text);
    backdrop-filter: blur(10px);
}

.search-entry button {
    padding: 12px 30px;
    border-radius: 50px;
    background: var(--gradient);
    color: white;
    border: none;
    cursor: pointer;
}