/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 背景视频容器 */
.bg-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 主容器 */
.main-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 20px;
    padding-top: 40px;
    background-color: transparent;
}

/* Logo容器 */
.logo-container {
    margin-bottom: 15%;
}

.shopify-logo {
    width: 240px;
    height: auto;
}

/* 白色框 */
.white-box {
    background-color: white;
    padding: 30px;
    border-radius: 40px;
    text-align: left;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 475px;
    width: 100%;
}

.white-box h1 {
    font-size: 40px;
    font-weight: bold;
    color: #333;
    line-height: 1.1;
}

.white-box p {
    font-size: 20px;
    color: #666;
    margin-bottom: 10px;
}

/* 黑色框 */
.black-box {
    background-color: black;
    padding: 12px;
    border-radius: 40px;
    text-align: left;
    max-width: 475px;
    width: 100%;
}

.start-free-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: 16px;
}

.marketing-text {
    color: #999;
    font-size: 12px;
    margin-bottom: 15px;
    margin-left: 16px;
}

/* 邮件输入容器 */
.email-input-container {
    display: flex;
    align-items: center;
    background-color: #333;
    border-radius: 30px;
    padding: 5px;
    border: 2px solid #7b7878;
}

.email-input {
    flex: 1;
    background-color: transparent;
    border: none;
    color: white;
    padding: 10px 15px;
    font-size: 24px;
    outline: none;
}

.email-input::placeholder {
    color: #999;
}

.submit-button {
    background-color: white;
    color: black;
    border: none;
    border-radius: 3px;
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #f0f0f0;
}

/* 品牌Logo部分 */
.brands-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.brand-logo {
    max-height: 30px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* 下方内容部分 */
.bottom-content {
    background-color: white;
    padding: 80px 20px;
    margin-top: 0;
}

/* 内容部分 */
.content-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 80px;
    padding: 0 20px;
    max-width: 1200px;
    width: 100%;
    margin: 80px auto 80px;
}

.content-card {
    flex: 1;
    max-width: 500px;
    text-align: center;
}

.video-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hover-video {
    width: 100%;
    height: 375px;
    display: block;
    background-color: #f4f4f4;
}

.content-card h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.content-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* AI助手卡片样式 */
.card-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    background-color: #f9f9f9;
        height: 375px;
}

.ai-assistant {
    text-align: center;
}

.ai-header {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.ai-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.ai-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7B61FF, #FF6B6B);
}

.ai-avatar {
    margin-bottom: 20px;
}

.ai-message {
    text-align: center;
}

.ai-greeting {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.ai-question {
    font-size: 18px;
    font-weight: bold;
    color: #7B61FF;
}

/* 第三部分标题样式 */
.testimonial-section {
    background-color: white;
    padding: 100px 20px;
    text-align: left;
    border-top: 1px solid #d5d5d5;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-content {
    max-width: 875px;
}

.testimonial-quote {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
    margin-bottom: 30px;
    font-style: normal;
}

.testimonial-author {
    font-size: 16px;
    color: #999;
}

/* 第三部分内容样式 */
.cta-section {
    background-color: #37009e;
    padding: 80px 20px;
    text-align: center;
    margin-top: 0;
    border-radius: 10px;
    max-width: 1000px;
    margin: 0 auto 80px;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.shopify-logo-white {
    margin-bottom: 30px;
}

.cta-title {
    font-size: 32px;
    font-weight: bold;
    color: white;
}

.cta-subtitle {
    font-size: 34px;
    color: white;
    margin-bottom: 30px;
}

.cta-form {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    max-width: 450px;
    margin: 0 auto 20px;
}

.cta-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 16px;
    outline: none;
}

.cta-button {
    background-color: black;
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    padding: 15px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button svg {
    width: 20px;
    height: 20px;
}

.cta-disclaimer {
    font-size: 12px;
    color: white;
    opacity: 0.8;
}

/* 第四部分FAQ样式 */
.faq-section {
    background-color: white;
    padding: 100px 20px;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-title {
    font-size: 44px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
}

.faq-items {
    max-width: 875px;
}

.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

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

.faq-question {
    font-size: 22px;
    color: #333;
    flex: 1;
}

.faq-toggle {
    background-color: black;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faq-toggle.active {
    background-color: white;
    color: black;
    border: 2px solid #000;
}

.faq-answer {
    margin-top: 15px;
    padding-bottom: 20px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    margin-bottom: 15px;
    line-height: 1.5;
    color: #666;
}

.faq-answer ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
    color: #666;
}

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

/* 页脚样式 */
.footer {
    background-color: white;
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.footer-logo {
    flex: 1;
    min-width: 150px;
}

.shopify-logo-footer {
    width: 140px;
    height: auto;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #333;
}

/* 悬浮黑色框样式 */
.floating-black-box {
    background-color: black;
    padding: 12px;
    border-radius: 40px;
    text-align: left;
    max-width: 475px;
    width: 100%;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.floating-black-box.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.floating-black-box .start-free-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: 16px;
}

.floating-black-box .marketing-text {
    color: #999;
    font-size: 12px;
    margin-bottom: 15px;
    margin-left: 16px;
}

.floating-black-box .email-input-container {
    display: flex;
    align-items: center;
    background-color: #333;
    border-radius: 30px;
    padding: 5px;
    border: 2px solid #7b7878;
}

.floating-black-box .email-input {
    flex: 1;
    background-color: transparent;
    border: none;
    color: white;
    padding: 10px 15px;
    font-size: 24px;
    outline: none;
}

.floating-black-box .email-input::placeholder {
    color: #999;
}

.floating-black-box .icon {
    cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .white-box,
    .black-box {
        max-width: 90%;
    }
    
    .white-box h1 {
        font-size: 20px;
    }
    
    .white-box p {
        font-size: 14px;
    }
    
    .start-free-text {
        font-size: 16px;
    }
    
    .brands-container {
        gap: 20px;
    }
    
    .brand-logo {
        max-height: 25px;
    }
    
    .content-section {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }
    
    .content-card {
        max-width: 90%;
    }
    
    .content-card h2 {
        font-size: 20px;
    }
    
    .content-card p {
        font-size: 14px;
    }
    
    .bottom-content {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 10px;
    }
    
    .logo-container {
        margin-bottom: 30px;
    }
    
    .shopify-logo {
        width: 120px;
    }
    
    .white-box {
        padding: 20px;
    }
    
    .black-box {
        padding: 20px;
    }
    
    .brands-container {
        gap: 15px;
    }
    
    .brand-logo {
        max-height: 20px;
    }
    
    .content-section {
        margin-top: 60px;
        gap: 40px;
    }
    
    .content-card h2 {
        font-size: 18px;
    }
    
    .content-card p {
        font-size: 13px;
    }
    
    .bottom-content {
        padding: 40px 10px;
    }
    
    .testimonial-section {
        padding: 60px 10px;
    }
    
    .testimonial-quote {
        font-size: 24px;
    }
    
    .testimonial-author {
        font-size: 14px;
    }
    
    .faq-section {
        padding: 60px 10px;
    }
    
    .faq-title {
        font-size: 24px;
    }
    
    .faq-question {
        font-size: 16px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    /* FAQ部分响应式 */
    .faq-section {
        padding: 60px 10px;
    }
    
    .faq-title {
        font-size: 24px;
    }
    
    .faq-question {
        font-size: 16px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
    
    .faq-answer li {
        font-size: 14px;
    }
    
    /* 悬浮黑色框响应式 */
    .floating-black-box {
        max-width: 90%;
        padding: 10px;
    }
    
    .floating-black-box .start-free-text {
        font-size: 18px;
    }
    
    .floating-black-box .email-input {
        font-size: 16px;
    }
}