﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f7fa; /* 浅灰蓝色背景 */
    margin: 0 auto;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box {
    position: relative;
    width: 100%;
    max-width: 800px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0.5;
    z-index: -1;
}

.box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(200, 230, 201, 0.6), rgba(129, 199, 132, 0.3)); /* 绿色渐变 */
    z-index: -1;
}

.title-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

/* AI Diagnosis Card Styles */
.ai-diagnosis-card {
    background: linear-gradient(135deg, #b39ddb, #d1c4e9);
    border-radius: 20px;
    padding: 20px;
    margin: 20px auto;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: #333;
    position: relative;
    overflow: hidden;
}

.ai-diagnosis-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.card-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #4a148c;
    text-align: center;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(74, 20, 140, 0.3);
    padding-bottom: 8px;
}

.card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.accuracy-section {
    text-align: left;
}

.accuracy-number {
    font-size: 32px;
    font-weight: bold;
    color: #4a148c;
    line-height: 1;
}

.accuracy-label {
    font-size: 14px;
    font-weight: 600;
    color: #6a1b9a;
    margin-top: 2px;
}

.question-section {
    text-align: right;
    flex: 1;
    margin-left: 15px;
}

.question-section p {
    font-size: 14px;
    color: #4a148c;
    margin-bottom: 10px;
    font-weight: 500;
}

.check-now-btn {
    background: linear-gradient(135deg, #ffeb3b, #ffc107);
    border: none;
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 5px;
}

.check-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.pointer-icon {
    font-size: 16px;
    animation: pointBounce 1.5s infinite;
}

@keyframes pointBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.card-footer {
    text-align: center;
    margin-top: 10px;
}

.card-footer p {
    font-size: 12px;
    color: #6a1b9a;
    font-style: italic;
}

.professor-banner {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin: 10px auto;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.title-img {
    width: 100%;
    padding: 10px 0;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 阴影稍浅 */
}

.p-title {
    font-size: clamp(1.5rem, 5vw, 1.8rem);
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #4caf50, #29b6f6); /* 绿到浅蓝渐变 */
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.con-box {
    background-color: rgba(255, 255, 255, 0.9); /* 白色半透明 */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(129, 199, 132, 0.3); /* 浅绿色边框 */
    width: 100%;
    max-width: 700px;
    margin: 20px 0;
    animation: slideDown 1s ease-out;
}

.word-box .title {
    font-size: clamp(1.2rem, 4vw, 1.4rem);
    font-weight: bold;
    color: #1a3c34; /* 深绿标题 */
    margin-bottom: 15px;
}

.word-box .con {
    font-size: clamp(0.9rem, 3vw, 1rem);
    color: #37474f; /* 深灰蓝色文字 */
    line-height: 1.6;
}

.word-box .con span {
    color: #ffca28; /* 保留高亮黄色 */
    font-weight: bold;
}

.word-box .con p {
    margin-bottom: 10px;
}

.checkbox-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: clamp(0.9rem, 3vw, 1rem);
    color: #37474f; /* 深灰蓝色 */
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #4caf50; /* 绿色边框 */
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.8);
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: #29b6f6; /* 浅蓝色选中 */
    border-color: #29b6f6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: cover;
}

.btu {
    margin: 10px auto;
    width: 100%;
    height: auto;
    line-height: 48px;
    background: linear-gradient(90deg, #4caf50, #29b6f6); /* 绿到浅蓝 */
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    font-size: clamp(0.9rem, 3vw, 1rem);
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.btu:hover {
    background: linear-gradient(90deg, #29b6f6, #4caf50); /* 反向渐变 */
    transform: translateY(-2px);
}

.cta-button {
    background: linear-gradient(90deg, #66bb6a, #4fc3f7); /* 稍亮的绿色到蓝色 */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cta-button:hover {
    background: linear-gradient(90deg, #4fc3f7, #66bb6a);
}

.whatsapp-icon {
    display: inline-flex;
    align-items: center;
}

.sha {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes scalePulse {
    0% {
        transform: scale(0.9);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(0.9);
    }
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95); /* 白色半透明 */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    text-align: center;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .popup {
        max-width: 500px;
    }
}

.popup-content {
    font-size: clamp(1rem, 3.5vw, 1.1rem);
    color: #1a3c34; /* 深绿色文字 */
    margin-bottom: 20px;
}

.popup .btu {
    width: auto;
    padding: 0 20px;
    display: inline-block;
    animation: scalePulse 1.5s ease-in-out infinite;
}

.popup .btu:hover {
    animation-play-state: paused;
    transform: translateY(-2px);
}

.remarks {
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    color: #546e7a; /* 灰蓝色 */
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
    background-color: rgba(227, 242, 253, 0.95);
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(129, 199, 132, 0.2);
    max-width: 90%;
    margin-bottom: 20px;
}

#error-message {
    display: none;
    color: #d32f2f;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    margin-top: 10px;
    text-align: center;
    padding: 8px;
    border-radius: 5px;
    background-color: rgba(211, 47, 47, 0.1);
}

#backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

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

@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .image-row {
        flex-direction: column;
        gap: 15px;
        margin: 15px auto;
    }

    .title-img-half {
        width: 100%;
        padding: 5px 0;
    }

    .ai-banner-container {
        width: 98%;
        margin: 15px auto;
        max-width: none;
    }

    .future-investment-card {
        padding: 25px 20px !important;
        margin: 6px !important;
    }

    .ai-header {
        flex-direction: column !important;
        gap: 15px !important;
        margin-bottom: 25px !important;
        padding: 15px 0 !important;
        margin: -5px -10px 20px -10px !important;
    }

    .bull-logo {
        width: 50px !important;
        height: 40px !important;
        border: 2px solid rgba(255, 255, 255, 0.8) !important;
    }

    .main-title {
        font-size: 24px !important;
        line-height: 1.1 !important;
        letter-spacing: 0.3px !important;
    }

    .accuracy-section {
        padding: 20px !important;
        margin-bottom: 20px !important;
    }

    .accuracy-big {
        font-size: 32px !important;
    }

    .accuracy-text {
        font-size: 16px !important;
        margin-bottom: 15px !important;
        letter-spacing: 1.5px !important;
    }

    .question-text {
        font-size: 18px !important;
    }

    .trial-text, .whatsapp-text, .strategy-text {
        font-size: 14px !important;
        padding: 12px 15px !important;
    }

    .ai-diagnosis-card {
        width: 95%;
        max-width: 300px;
        padding: 15px;
        margin: 15px auto;
    }

    .card-header h2 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .accuracy-number {
        font-size: 28px;
    }

    .accuracy-label {
        font-size: 12px;
    }

    .question-section p {
        font-size: 13px;
    }

    .check-now-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .card-footer p {
        font-size: 11px;
    }

    .professor-banner {
        font-size: 12px;
        padding: 8px 15px;
        width: 95%;
        max-width: 300px;
    }

    .title-img {
        max-height: 150px;
    }

    .p-title {
        padding: 10px 15px;
    }

    .con-box {
        padding: 15px;
    }

    .btu {
        max-width: 100%;
    }

    #error-message {
        padding: 6px;
        margin: 8px 0;
    }

    .ai-header {
        flex-direction: column !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }

    .bull-logo {
        width: 40px !important;
        height: 32px !important;
    }
}

@media (min-width: 1200px) {
    .ai-banner-container {
        max-width: 900px;
    }

    .future-investment-card {
        padding: 45px 40px;
    }

    .ai-header {
        padding: 25px 0;
        margin: -15px -20px 30px -20px;
        gap: 25px;
    }

    .bull-logo {
        width: 70px;
        height: 58px;
    }

    .main-title {
        font-size: 36px;
        letter-spacing: 0.8px;
    }

    .accuracy-section {
        padding: 30px;
        margin-bottom: 30px;
    }

    .accuracy-big {
        font-size: 48px;
    }

    .accuracy-text {
        font-size: 20px;
        letter-spacing: 2.5px;
    }

    .question-text {
        font-size: 22px;
    }

    .trial-text, .whatsapp-text, .strategy-text {
        font-size: 16px;
        padding: 18px 25px;
    }
}

/* AI Banner Container Styles - New Card Design */
.ai-banner-container {
    width: 95%;
    max-width: 700px;
    margin: 20px auto 0 auto;

    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Roboto', 'Arial', sans-serif;
    position: relative;
}

.ai-banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.future-investment-card {
    padding: 35px 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.ai-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-radius: 15px;
    margin: -10px -15px 25px -15px;
}

.bull-logo {
    background: linear-gradient(145deg, #FFD700 0%, #FFCD00 50%, #FFC400 100%);
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.bull-logo img {
    width: 85%;
    height: auto;
    object-fit: contain;
}

.main-title {
    font-size: 48px;
    font-weight: 800;
    color: #000;
    line-height: 1.2;
    margin: 0;
    text-align: center;
    font-family: 'Roboto', 'Arial', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.accuracy-section {
    background: linear-gradient(135deg, #e8f5e8, #e3f2fd);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.accuracy-section::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #4caf50, #29b6f6);
    border-radius: 18px;
    z-index: -1;
}

.accuracy-big {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, #4caf50, #29b6f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Roboto', 'Arial', sans-serif;
}

.accuracy-text {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #388e3c, #1976d2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    margin-bottom: 18px;
    font-family: 'Roboto', 'Arial', sans-serif;
}

.question-text {
    font-size: 20px;
    font-weight: 600;
    color: #2c5aa0;
    line-height: 1.3;
    font-family: 'Roboto', 'Arial', sans-serif;
}

.info-sections {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trial-text, .whatsapp-text, .strategy-text {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    margin: 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(41, 182, 246, 0.08));
    border-radius: 12px;
    border-left: 5px solid transparent;
    border-image: linear-gradient(135deg, #4caf50, #29b6f6) 1;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 500;
    position: relative;
}

.trial-text::before, .whatsapp-text::before, .strategy-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(135deg, #4caf50, #29b6f6);
    border-radius: 0 12px 12px 0;
}

.trial-text {
    font-weight: 600;
    color: #2e7d32;
}

.whatsapp-text {
    color: #1976d2;
    font-weight: 600;
}

.strategy-text {
    color: #37474f;
    font-weight: 500;
}

/* Image Row Styles for Side by Side Layout */
.image-row {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 700px;
    justify-content: center;
    align-items: stretch;
}

.title-img-half {
    width: calc(50% - 10px);
    object-fit: cover;
    display: block;
    border-radius: 8px;
}