/* 
 * 黔顺云官网样式 - High-end Blue Theme 
 * Version: 2.0
 */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-blue: #0f172a;
    --light-blue: #f0f9ff;
    --gradient-blue: linear-gradient(135deg, #0061ff 0%, #60efff 100%);
    --gradient-dark: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    overflow-x: hidden;
    color: #334155;
    background-color: #f8fafc;
}

/* 导航栏 */
#mainNav {
    transition: all 0.3s ease-in-out;
    padding: 20px 0;
    background: transparent;
}

#mainNav.navbar-scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#mainNav .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

#mainNav .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: #fff !important;
}

#mainNav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: #60efff;
    transition: all 0.3s;
    transform: translateX(-50%);
}

#mainNav .nav-link:hover::after {
    width: 100%;
}

.pill-btn {
    border-radius: 50px;
    transition: all 0.3s ease;
}

.pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    overflow: hidden;
    background: var(--dark-blue);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: 0;
}

.hero-bg-overlay::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(96, 239, 255, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.hero-bg-overlay::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 97, 255, 0.2) 0%, transparent 70%);
    bottom: 0;
    left: -100px;
    border-radius: 50%;
}

.text-gradient-blue {
    background: var(--gradient-blue);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-image-box {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.floating-anim {
    animation: float 6s ease-in-out infinite;
}

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

/* 悬浮卡片 */
.floating-card {
    position: absolute;
    z-index: 3;
    min-width: 220px;
    border: 1px solid var(--glass-border);
}

.floating-card.card-1 {
    top: 10%;
    right: -20px;
    animation: float 5s ease-in-out infinite 1s;
}

.floating-card.card-2 {
    bottom: 10%;
    left: -20px;
    animation: float 7s ease-in-out infinite 0.5s;
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box.sm {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.icon-box.lg {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
}

/* Wave Divider */
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

@media (min-width: 768px) {
    .wave-bottom svg {
        height: 150px;
    }
}

/* Section Common */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.ls-2 {
    letter-spacing: 2px;
}

/* Feature Cards */
.feature-card {
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

.bg-purple { background-color: #6f42c1; }
.text-purple { color: #6f42c1; }

/* Scenario Cards */
.scenario-card {
    border: none;
    transition: all 0.3s;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.scenario-img-wrapper {
    height: 240px;
}

.scenario-img-wrapper img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.scenario-card:hover .scenario-img-wrapper img {
    transform: scale(1.1);
}

.scenario-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    opacity: 0.9;
}

/* Partners */
.grayscale-wrapper .partner-item {
    transition: all 0.3s;
    opacity: 0.5;
}

.grayscale-wrapper .partner-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    background: var(--dark-blue);
}

.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/tech-bg.jpg') center center;
    background-size: cover;
    opacity: 0.2;
}

/* Footer */
.footer a {
    transition: color 0.2s;
}

.hover-white:hover {
    color: #fff !important;
}

.hover-primary:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}
