/**
 * 闪电云控主题 - 主样式文件
 */

/* ========================================
   导航栏样式
   ======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 15px 0;
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-logo-link {
    display: block;
    line-height: 0;
}

.custom-logo {
    max-height: 50px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.navbar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.navbar-nav li {
    margin: 0;
}

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

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

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

.navbar-nav a:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    gap: 15px;
}

/* ========================================
   Hero区域样式
   ======================================== */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 100px 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.9) 0%, rgba(74, 144, 226, 0.8) 50%, rgba(123, 104, 238, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-white);
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.hero-tagline {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-features {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ========================================
   产品简介区域
   ======================================== */
.intro-section {
    background: var(--bg-white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.intro-image {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.intro-image img {
    width: 100%;
    height: auto;
}

/* ========================================
   核心优势区域
   ======================================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.advantage-item h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.pricing-note {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffe5a0 100%);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #856404;
}

/* ========================================
   功能卡片区域
   ======================================== */
.feature-card {
    text-align: center;
}

.feature-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

/* ========================================
   团队管理区域
   ======================================== */
.team-feature-item {
    padding: 25px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-feature-item:hover {
    box-shadow: var(--shadow-md);
}

.team-feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.team-feature-item p {
    margin: 0;
    color: var(--text-light);
}

.team-summary {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 40px;
    color: var(--text-dark);
}

/* ========================================
   适用场景区域
   ======================================== */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.scenario-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.scenario-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.scenario-item h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* ========================================
   计费方式区域
   ======================================== */
.pricing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-item {
    padding: 20px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

/* ========================================
   FAQ手风琴
   ======================================== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--bg-white);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    margin: 0;
    color: var(--text-light);
}

/* ========================================
   联系我们区域
   ======================================== */
.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-dark);
}

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

.contact-item {
    padding: 40px 30px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 150px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    max-width: 100%;
    height: auto;
}

.contact-item h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-item p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.cta-footer {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ========================================
   页脚样式
   ======================================== */
.site-footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: var(--text-white);
}

.footer-widgets {
    padding: 60px 0 40px;
}

.footer-widgets .widget {
    margin-bottom: 30px;
}

.footer-widgets .widget-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-widgets ul {
    list-style: none;
    padding: 0;
}

.footer-widgets ul li {
    margin-bottom: 10px;
}

.footer-widgets a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-widgets a:hover {
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-menu a:hover {
    color: var(--text-white);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 992px) {
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .navbar-menu.active {
        max-height: 500px;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .navbar-actions {
        width: 100%;
        margin-top: 15px;
    }

    .navbar-actions .btn {
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-description,
    .hero-features {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .advantages-grid,
    .scenarios-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-menu {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
