body {
    font-family: 'PingFang SC', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}
header {
    background: linear-gradient(135deg, #007bff, #00c4ff);
    color: white;
    text-align: center;
    padding: 40px 20px;
}
header h1 {
    font-size: clamp(1.8em, 5vw, 2.5em);
    margin: 0;
}
header p {
    font-size: clamp(1em, 3vw, 1.2em);
    margin: 10px 0;
}
.cta-btn {
    background: #ff6f61;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: clamp(1em, 2.5vw, 1.1em);
    display: inline-block;
    margin-top: 15px;
}
.cta-btn:hover {
    background: #e55a50;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.section h2 {
    color: #007bff;
    font-size: clamp(1.5em, 4vw, 1.8em);
    margin-bottom: 15px;
    text-align: center;
}
.progress-section {
    text-align: center;
}
.progress-bar {
    background: #e0e0e0;
    border-radius: 10px;
    height: 40px;
    overflow: hidden;
    margin: 20px 0;
    position: relative;
}
.progress {
    background: linear-gradient(90deg, #007bff, #00c4ff);
    height: 100%;
    transition: width 0.5s ease-in-out;
    z-index: 0;
}
.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff ;
    font-weight: bold;
    font-size: clamp(1em, 2.5vw, 1.2em);
    
    white-space: nowrap;
    
    padding: 6px 12px;
    border-radius: 6px;
    z-index: 1;
}
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.plan {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}
.plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.plan h3 {
    color: #007bff;
    font-size: clamp(1.3em, 3.5vw, 1.5em);
    margin: 10px 0;
}
.plan .price {
    font-size: clamp(1.6em, 4vw, 2em);
    color: #ff6f61;
    margin: 10px 0;
}
.plan ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}
.plan ul li {
    margin: 8px 0;
    font-size: clamp(0.9em, 2.5vw, 1em);
    color: #555;
}
.plan .btn {
    background: #ff6f61;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: clamp(1em, 2.5vw, 1.1em);
    border: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
}
.plan .btn:hover {
    background: #e55a50;
}
.form-section {
    max-width: 600px;
    margin: 0 auto;
}
.form-group {
    margin: 20px 0;
}
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    font-size: clamp(0.9em, 2.5vw, 1em);
}
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-size: clamp(0.9em, 2.5vw, 1em);
    box-sizing: border-box;
}
/* Style for A plan and all next step buttons in forms */
#email-form-a .btn, .next-step-btn-blue {
    background: #007bff; /* A计划按钮蓝色 */
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: clamp(1em, 2.5vw, 1.1em);
    border: none;
    cursor: pointer;
    display: block;
    margin: 15px auto;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
#email-form-a .btn:hover, .next-step-btn-blue:hover {
    background: #0056b3; /* 悬停深蓝色 */
}
/* Ensure B plan submit button also uses the blue style */
#email-form-b button[type="submit"].btn {
    background: #007bff; /* B计划提交按钮蓝色 */
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: clamp(1em, 2.5vw, 1.1em);
    border: none;
    cursor: pointer;
    display: block;
    margin: 15px auto;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
#email-form-b button[type="submit"].btn:hover {
    background: #0056b3; /* 悬停深蓝色 */
}

.success-message {
    color: #007bff;
    font-size: clamp(0.9em, 2.5vw, 1em);
    text-align: center;
    margin: 15px 0;
}
.wechat-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 20px 0;
}
.wechat-step, .invite-step {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}
.wechat-step h3, .invite-step h3, .wechat-step h4 {
    color: #007bff;
    font-size: clamp(1em, 2.5vw, 1.2em);
    margin: 10px 0;
}
.qrcode {
    max-width: 400px;
    width: 100%;
    margin: 20px auto;
    display: block;
}

 

.invite {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 20px 0;
}
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}
.footer a {
    color: #00c4ff;
    text-decoration: none;
    margin: 0 10px;
}
.footer a:hover {
    text-decoration: underline;
}

header .slogan {
    color: #ffffff;
    font-size: clamp(0.9em, 2vw, 1em);
    font-weight: 500;
    text-align: left;
    padding-left: 20px;
    margin-bottom: 10px;
}
@media (max-width: 768px) {
    header .slogan {
        text-align: center;
        padding-left: 0;
        font-size: clamp(0.8em, 1.8vw, 0.9em);
    }
}

@media (max-width: 768px) {
    header {
        padding: 30px 15px;
    }
    .container {
        padding: 15px;
    }
    .section {
        padding: 15px;
        margin: 15px 0;
    }
    .plans, .wechat-steps, .invite {
        grid-template-columns: 1fr;
    }
    .plan {
        margin: 10px 0;
    }
    .form-section {
        max-width: 100%;
    }
    .progress-bar {
        height: 36px;
    }
    .progress-text {
        font-size: clamp(0.9em, 2vw, 1em);
        padding: 4px 10px;
    }
    .plan .btn, #email-form-a .btn, .next-step-btn-blue { /* Adjusted to include new class */
        padding: 10px 20px;
        font-size: 1em;
    }
}
@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }
    header p {
        font-size: 0.9em;
    }
    .cta-btn, .plan .btn, #email-form-a .btn, .next-step-btn-blue { /* Adjusted to include new class */
        padding: 10px 20px;
        font-size: 1em;
    }
    .progress-text {
        font-size: clamp(0.8em, 1.8vw, 0.9em);
        padding: 3px 8px;
    }
    .form-group input {
        padding: 10px;
    }
}

.email-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.email-table th, .email-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    font-size: clamp(0.9em, 2vw, 1em);
}
.email-table th {
    background: #f5f5f5;
    color: #007bff;
    font-weight: bold;
}
.email-table tr.highlight {
    background: #e6ffed; /* 浅绿色高亮 */
}
.delete-btn {
    background: #ff6f61;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: clamp(1em, 2.5vw, 1.1em);
    border: none;
    cursor: pointer;
    display: block;
    margin: 15px auto;
    width: 100%;
    max-width: 200px;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.5;
}
.delete-btn:hover {
    background: #e55a50;
}
@media (max-width: 768px) {
    .email-table th, .email-table td {
        padding: 8px;
        font-size: clamp(0.8em, 1.8vw, 0.9em);
    }
    .delete-btn {
        padding: 10px 20px;
        font-size: 1em;
    }
}