/* ========== 通用基础 ========== */
html { overflow-x: hidden; }
body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #333;
    margin: 0;
    position: relative;
    overflow-x: hidden;
}

/* ========== 弹窗 ========== */
.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 500px;
    max-width: 90%;
    height: 450px;
    margin: auto;
}
.popup-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== Hero 区块 ========== */
.hero-bg {
    background-color: #17151B;
    height: 700px;
    color: #fff;
    position: relative;
}
#aurora-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding-top: 40px;
    justify-content: space-between;
}
.hero-left {
    flex: 1;
    max-width: 900px;
    padding-right: 50px;
    text-align: left;
}
.logo {
    width: 150px;
    margin-bottom: 60px;
    display: block;
}

.know-what {
    background: linear-gradient(90deg, #00E6A0, #9EB0FF);
    background-clip: text;           
    -webkit-background-clip: text;    
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 24px;
}

.main-title {
    background: linear-gradient(90deg, #684DEE, #9EB0FF, #00E6A0);
    background-clip: text;           
    -webkit-background-clip: text;    
    -webkit-text-fill-color: transparent;
    font-size: 48px;

}
.desc {
    font-size: 18px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 600px;
}

/* ----- Hero 搜索 ----- */
.search-area {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}
.search-box-wrapper {
    position: relative;
    width: 560px;
    border-radius: 28px;
}
.search-box-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(90deg, #684DEE, #9EB0FF, #00E6A0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}
.search-input-new {
    width: 70%;
    height: 56px;
    background: transparent;
    border: none;
    border-radius: 28px;
    padding: 0 140px 0 24px;
    color: #fff;
    font-size: 16px;
    outline: none;
    position: relative;
    z-index: 2;
}
.search-input-new::placeholder { color: #aaa; }
.ai-mode-button {
    position: absolute;
    right: 6px;
    top: 6px;
    height: 44px;
    padding: 0 20px;
    background: linear-gradient(90deg, #E0E7FF, #D1FBEF);
    border: 1px solid #fff;
    border-radius: 22px;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
    transition: all 0.3s ease;
}
.ai-mode-button:hover {
    background: linear-gradient(90deg, #D1FBEF, #E0E7FF);
    border-color: #D1FBEF;
}
.ai-icon { display: inline-block; height: 24px; }

.free-trial-button-new {
    height: 56px;
    padding: 0 30px;
    background: #4216FB;
    color: #fff;
    border: none;
    border-radius: 28px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}
.free-trial-button-new:hover { background: #6845FC; }

/* ----- Hero 合作伙伴 ----- */
.partners-section { margin-top: 20px; }
.trusted-text {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
}
.partners-logos-new {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: visible;
}
.partners-logos-new img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    flex-shrink: 0;
}

/* ----- Hero 右侧表单 ----- */
.hero-right {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}
.hero-right .form-container {
    width: 100%;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 20px;
    overflow: hidden;
}
.hero-right iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* ========== Section 通用 ========== */
.section1,
.section2,
.section3,
.section4 {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding-bottom: 50px;
    padding-top: 50px;
}
.section1-bg {
    width: 100%;
    background-color: #17151B;
    height: 550px;
}
.section1-bg-top {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-color: #17151B;
    display: block;
}
.section1-bg-bottom {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    display: block;
}
.section1 {
    position: relative;
    top: -300px;
    z-index: 1;
}
.section4-bg {
    background-color: #17151B;
    height: 500px;
}
.section2,
.section3 { background-color: #fff; }
.section4 {
    background: transparent;
    position: relative;
    top: -200px;
}

/* ----- 标题/文字 ----- */
h2 { font-size: 40px; margin-bottom: 20px; }
p { font-size: 18px; margin-top: 0; }

.section1 h2 { margin-top: 50px !important; }
.section1 p { color: #fff; }

/* ----- 图片 ----- */
.section1-img,
.section-img { width: 902px; margin-top: 30px; }

/* ----- 按钮 ----- */
.cta-button {
    cursor: pointer;
    width: 216px;
    height: 64px;
    background: #4216FB;
    border-radius: 35px;
    border: none;
    color: #fff;
    margin-top: 20px;
    font-size: 18px;
}
.cta-button:hover { background-color: #6845FC !important; }

/* ========== 页脚 ========== */
.huise { background-color: #17151B; }
.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 900px;
    color: #585858;
    margin: 0 auto;
}
.foot p { font-size: 14px; }

/* ========== 工具类 ========== */
.jianbian {
    background: linear-gradient(to right, #684DEE, #00E6A0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.desc { max-width: 880px; }   /* 与 banner3 对齐用 */

/* ========== 谷歌一键登录电话表单弹窗 - V9 Step Progress ========== */
.phone-form-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.phone-form-modal-v9 {
    position: relative;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn-v9 {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-btn-v9:hover {
    color: #333;
    background: rgba(0,0,0,0.05);
}

.modal-container-v9 {
    background: white;
    border-radius: 20px;
    padding: 40px;
    width: 480px;
    max-width: 90vw;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.progress-steps-v9 {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.step-v9 {
    width: 40px;
    height: 4px;
    background: #e5e5e5;
    border-radius: 2px;
}

.step-v9.active-v9 {
    background: linear-gradient(135deg, #684DEE, #00E6A0);
}

.step-label-v9 {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}

.modal-title-v9 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-align: center;
}

.modal-subtitle-v9 {
    font-size: 15px;
    color: #666;
    text-align: center;
    margin-bottom: 28px;
}

.form-label-v9 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.phone-input-container-v9 {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.country-code-selector-v9 {
    position: relative;
    flex-shrink: 0;
}

.selected-country-v9 {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 12px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    cursor: pointer;
    background: white;
    transition: all 0.2s;
    min-width: 110px;
}

.selected-country-v9:hover {
    border-color: #684DEE;
}

.country-flag-v9 {
    width: 24px;
    height: 24px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

.country-code-v9 {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.dropdown-arrow-v9 {
    font-size: 10px;
    color: #999;
    margin-left: auto;
}

.country-dropdown-v9 {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 240px;
    overflow-y: auto;
    z-index: 100;
    min-width: 280px;
}

.country-dropdown-v9.show {
    display: block;
}

.country-item-v9 {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.country-item-v9:hover {
    background: #f5f5f5;
}

.country-item-v9 .country-flag-v9 {
    width: 24px;
    height: 24px;
}

.country-name-v9 {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.country-item-v9 .country-code-v9 {
    font-size: 14px;
    color: #666;
}

.phone-number-input-v9 {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s;
}

.phone-number-input-v9:focus {
    outline: none;
    border-color: #684DEE;
    box-shadow: 0 0 0 3px rgba(104, 77, 238, 0.1);
}

.error-message-v9 {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 8px;
    margin-bottom: 12px;
    display: none;
}

.submit-btn-v9 {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #684DEE, #00E6A0);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-btn-v9:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(104, 77, 238, 0.4);
}

@media (max-width: 768px) {
    .modal-container-v9 {
        padding: 32px 24px;
        width: 90vw;
    }
    
    .modal-title-v9 {
        font-size: 22px;
    }
    
    .phone-input-container-v9 {
        flex-direction: column;
        gap: 12px;
    }
    
    .selected-country-v9 {
        width: 100%;
    }
}
/* ========== V7: 左下角动画徽章样式 - Gradient Indigo ========== */
.trial-badge-v2 {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInFromLeft 0.6s ease-out 1s forwards;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.badge-trigger-v2 {
    background: linear-gradient(135deg, #684DEE, #00E6A0);
    padding: 14px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(104, 77, 238, 0.4);
    transition: all 0.3s;
    animation: pulse-glow-v2 2s infinite;
    cursor: pointer;
}

@keyframes pulse-glow-v2 {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(104, 77, 238, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 48px rgba(104, 77, 238, 0.6), 0 0 20px rgba(0, 230, 160, 0.4);
        transform: scale(1.05);
    }
}

.badge-trigger-v2:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 48px rgba(104, 77, 238, 0.6);
}

.badge-icon-v2 {
    font-size: 20px;
    animation: bounce-v2 2s infinite;
}

@keyframes bounce-v2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.badge-text-v2 {
    font-weight: 700;
    font-size: 14px;
    color: white;
}

.badge-days-v2 {
    background: rgba(255,255,255,0.3);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

/* 展开面板 - Gradient Indigo 主题 */
.badge-panel-v2 {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-radius: 20px;
    padding: 24px;
    width: 320px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.3);
    border: 1px solid rgba(99, 102, 241, 0.4);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.3s;
}

.panel-header-v2 {
    text-align: center;
    margin-bottom: 16px;
}

.panel-title-v2 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.panel-subtitle-v2 {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
}

.trial-highlight-v2 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 14px;
}

.features-mini-v2 {
    list-style: none;
    margin: 16px 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
}

.features-mini-v2 li {
    padding: 6px 0;
    font-size: 13px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.features-mini-v2 li::before {
    content: "✓";
    color: #a78bfa;
    font-weight: bold;
    flex-shrink: 0;
}

/* Google 按钮容器 */
.google-btn-container-v2 {
    margin-top: 16px;
}

.google-btn-container-v2 .g_id_signin {
    display: flex;
    justify-content: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .trial-badge-v2 {
        bottom: 20px;
        left: 20px;
    }
    
    .badge-panel-v2 {
        width: 300px;
        max-width: calc(100vw - 40px);
    }
    
    .badge-trigger-v2 {
        padding: 12px 20px;
    }
    
    .badge-text-v2 {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .badge-panel-v2 {
        width: 280px;
        padding: 20px;
    }
    
    .panel-title-v2 {
        font-size: 16px;
    }
}