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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui,-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ddd;
    background-color: #fff;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 1rem;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
    background: #111;
    backdrop-filter: blur(12px);
    /* border: 1px solid rgba(155,155,155,1); */
    border-radius: 5rem;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 116px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.logo-icon img {
    width: 116px;
    height: 28px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #D8DEE9;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    color: #7C9EB2;
    border: 2px solid #7C9EB2;
}

.btn-outline:hover {
    opacity: 0.8;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    padding: 9rem 1rem 2rem;
    text-align: center;
}

.hero-bg {
    /* background-image: url('./images/hero-bg.png'); */
    background-size: auto 80%;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: #000;
    background-color: #fff;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #000;
}

.gradient-text {
    background: linear-gradient(135deg, #666, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #666;
}

.hero-feature-item svg {
    color: #666;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Brands Logos Stytles */
.brands-logo {
    padding: 3rem 1rem;
}

.brands-logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
}

.brands-logo-item {
    width: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brands-logo-item img {
    width: 100%;
    height: 100%;
}

.brands-logo-item img:hover {
    transform: scale(1.05);
    transition: transform 0.3s;
}

.brands-logo-item span {
    font-size: 0.875rem;
    color: #666;
    font-weight: bold;
    margin-top: 0.5rem;
}

/* User Case Styles */
.user-case {
    padding: 4rem 1rem 5rem;
}

.user-case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.user-case-item {
    width: 100%;
    overflow: hidden;
}

.user-case-item:hover {
    transform: scale(1.05);
    transition: transform 0.3s;
}

.user-case-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 12px;
}

.user-case-image img {
    width: 100%;
    height: 100%;
}

/* Section Styles */
.section-header {
    width: 100%;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Features Section */
.features {
    padding: 5rem 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.feature-card {
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card img {
    width: 100%;
    height: auto;
}


.feature-card {
    display: flex;
    gap: 1.5rem;
}

.feature-content h2 {
    font-size: 3rem;
    font-weight: bold;
    line-height: 3.6rem;
    color: #000;
    margin-bottom: 2rem;
}

.feature-content p {
    color: #666;
    margin-bottom: 3rem;
}


/* Use Cases Section */

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.case-card {
    border-radius: 12px;
    overflow: hidden;
    background-color: #121826;
    border: 1px solid rgba(216, 222, 233, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.4);
}

.case-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem;
    color: white;
}

.case-overlay h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #EBCB8B;
    margin-bottom: 0.5rem;
}

.case-overlay p {
    font-size: 0.875rem;
    color: #D8DEE9;
}

/* Pricing Section */
.pricing {
    padding: 5rem 1rem;
}

.plans 
{
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}
        
.plan-card {
    background: #f8f8f8;
    border-radius: 16px;
    padding: 20px 20px;
    flex: 1;
    min-width: 220px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
        
.plan-card.popular {
    border: 3px solid #000000;
    transform: scale(1.03);
}

.plan-card.popular .popular-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: #000;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 10px 40px;
    transform: rotate(45deg);
    width: 150px;
    text-align: center;
}

.plan-name {
    font-size: 1.4rem;
    /* font-weight: 700; */
    /* margin-bottom: 15px; */
}

.starter .plan-name {
    color: #000;
}

.plan-card.popular .plan-name,.pro .plan-name,.premium .plan-name{
    color: #000000;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    /* margin: 15px 0; */
}

.starter .price {
    color: #000;
}

.pro .price {
    color: #000;
}

.premium .price {
    color: #000;
}

.billing-cycle {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
    margin-left: 4px;
}

.plan-description {
    margin-top: 20px;
    color: #333;
    font-size: 1rem;
    /* min-height: 60px; */
}

.plan-features {
    margin: 25px 0;
    flex-grow: 1;
    color: #333;
}

.plan-features li {
    list-style: none;
    padding: 5px 0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.plan-features li i {
    color: #000000;
    margin-right: 10px;
    font-size: 1rem;
}
        
        .comparison {
            margin-top: 70px;
            background: #f8f8f8;
            border-radius: 16px;
            padding: 30px;
        }
        
        .comparison h2 {
            text-align: center;
            margin-bottom: 30px;
            font-size: 2rem;
            color: #000;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
        }
        
        th, td {
            padding: 12px 10px;
            text-align: left;
            border-bottom: 1px solid #e2e8f0;
            font-size: 0.9rem;
        }

        td {
            color: #666
        }
        
        th {
            font-weight: 600;
            color: #333;
        }
        
        thead th {
            background: #f8fafc;
        }
        
        tbody tr:last-child td {
            border-bottom: none;
        }
        
        .feature-name {
            font-weight: 500;
        }
        
        .fa-check {
            color: #000000;
            font-size: 1rem;
        }
        
        .fa-times {
            color: #ccc;
            font-size: 1rem;
        }


/* feedback Section */
.feedback {
    padding: 5rem 1rem;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feedback-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.feedback-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.feedback-header .avatar {
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    overflow: hidden;
}

.feedback-header .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h4 {
    font-weight: 600;
    color: #111;
}

.user-info p {
    font-size: 0.875rem;
    color: #999;
}

blockquote {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
    opacity: 0.9;
    text-align: center;
}

.rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.star {
    color: #EBCB8B;
    font-size: 1rem;
}

/* Q&A板块容器 */
        .qa-section {
            padding: 5rem 1rem;
        }
        
        
        /* 问题项样式 */
        .qa-item {
            margin-bottom: 15px;
            overflow: hidden;
            transition: all 0.3s ease;
            border-radius: 12px;
            border: 1px solid #000;
        }
        
        .qa-item:not(:last-child) {
            margin-bottom: 20px;
        }
        
        .qa-item.active {
            /* border-radius: 12px; */
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        }
        
        /* 问题标题样式 */
        .question {
            padding: 20px 25px;
            background-color: #f8f8f8;
            cursor: pointer;
            border-radius: 12px 12px 0 0;
            color:#000;
            font-weight: 600;
            font-size: 18px;
            display: flex;
            align-items: center;
            position: relative;
            transition: background-color 0.2s;
        }
        
        .question:hover {
            color: #fff;
            background-color: #111;
        }
        
        .question:after {
            content: '+';
            position: absolute;
            right: 20px;
            font-size: 24px;
            color: #000;
            transition: transform 0.3s;
        }
        
        .question.active:after {
            content: '-';
            transform: rotate(180deg);
        }
        
        /* 答案样式 */
        .answer {
            padding: 0 25px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
            line-height: 1.6;
            color: #333;
            background-color: #fff;
        }
        
        .answer.show {
            padding: 20px 25px;
            max-height: 500px; /* 根据实际内容调整 */
        }
        
        .answer-content {
            padding: 15px 0;
        }

/* CTA Section */
.cta {
    padding: 5rem 1rem;
    background-color: #222;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.cta-actions input {
    width: 280px;
    padding: 1rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    background-color: #fff;
    color: #111;
}

.cta-actions p {
    font-size: 1.3rem;
    color: #fff;
}

.cta-actions button {
    background-color: #111;
    color: #fff;
}

@media (min-width: 640px) {
    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* Footer */
.footer {
    padding: 3rem 1rem 1rem;
    background-color: #111;
    border-top: 1px solid rgba(216, 222, 233, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
    }
}

.footer-brand p {
    color: #666;
    margin-top: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.link-group h4 {
    font-weight: 600;
    color: #D8DEE9;
    margin-bottom: 1rem;
}

.link-group a {
    display: block;
    color: #666;
    font-size: 0.8rem;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.link-group a:hover {
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    margin-top: 10rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(216, 222, 233, 0.1);
    color: #666;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: #444;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
        gap: 10px;
    }

    .nav-wrapper {
        padding: 1rem 0.5rem 1rem 0;
    }

    .nav.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #111;
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1rem;
        border-radius: 2rem;
        margin-top: 10px;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .container {
        padding: 0;
    }

    .header {
        left: 1rem;
        right: 1rem;
    }

    .hero-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brands-logo-grid {
        justify-content: space-evenly;
        gap: 1rem;
    }

    .brands-logo-item {
        width: 4rem;
    }

    .brands-logo-item span {
        font-size: 0.65rem;
    }

    .user-case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .features {
        padding: 1rem 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .feature-card {
        padding: 0;
    }

    .feature-content h2 {
        font-size: clamp(2rem, 5vw, 4rem);
        line-height: 2.4rem;
    }
    
    .plans {
        justify-content: center;
    }

    .plan-name {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    .price {
        font-size: 2rem;
        margin: 0;
    }

    .plan-description {
        font-size: 0.8rem;
        margin: 0;
    }

    .plan-features {
        margin: 0;
        font-size: 1rem;
    }

    .comparison {
        margin-top: 10px;
        padding: 30px 0;
    }

    .comparison table {
        font-size: 0.6rem;
    }

    .comparison table thead th {
        font-size: 0.68rem;
    }

    .comparison table tbody td {
        font-size: 0.6rem;
    }
}

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

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus {
    /* outline: 2px solid #000; */
    /* outline-offset: 2px; */
    /* border-radius: 2px; */
}

/* Loading states */
img {
    transition: opacity 0.3s;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

