/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 480px; /* 手机端为主 */
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 20px 0;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-image {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.profile-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.title {
    font-size: 1rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
}

.subtitle {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 400;
    display: flex;
    align-items: center;
}

/* Introduction Section */
.introduction {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 20px 0;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.introduction h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 15px;
    text-align: left;
    letter-spacing: 0.01em;
}

/* Form Section */
.form-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 20px 0;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-description {
    font-size: 1rem;
    color: #718096;
    text-align: center;
    margin-bottom: 30px;
}

.investment-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Radio Styles */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: #fff;
}

.radio-label:hover {
    border-color: #667eea;
    background: #f7fafc;
    transform: translateY(-1px);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #667eea;
    background: #667eea;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.radio-text {
    font-size: 0.95rem;
    color: #2d3748;
    line-height: 1.3;
    font-weight: 500;
    flex: 1;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    margin: 20px 0;
    padding: 30px 25px;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

/* PC端居中显示 */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
        padding: 0 40px;
    }
    
    .header {
        padding: 30px;
    }
    
    .profile-section {
        gap: 25px;
    }
    
    .avatar-placeholder {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }
    
    .profile-info h1 {
        font-size: 2.2rem;
    }
    
    .title {
        font-size: 1.1rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .introduction,
    .form-section {
        padding: 35px;
    }
    
    .introduction h2,
    .form-container h2 {
        font-size: 1.8rem;
    }
    
    .intro-content p {
        font-size: 1.05rem;
    }
    
    .form-description {
        font-size: 1.1rem;
    }
    
    .cta-section {
        padding: 40px 35px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
}

/* 大屏幕优化 */
@media (min-width: 1024px) {
    .container {
        max-width: 700px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header,
.introduction,
.form-section,
.cta-section {
    animation: fadeInUp 0.6s ease-out;
}

/* Form Validation Styles */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #e53e3e;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #38a169;
}

/* Loading State */
.submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 图标样式优化 */
h2 svg {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

h2:hover svg {
    opacity: 1;
}

.title svg,
.subtitle svg {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.title:hover svg,
.subtitle:hover svg {
    opacity: 1;
}

/* 触摸优化 */
@media (hover: none) and (pointer: coarse) {
    .radio-label:hover {
        transform: none;
    }
    
    .submit-btn:hover,
    .whatsapp-btn:hover {
        transform: none;
    }
    
    h2:hover svg,
    .title:hover svg,
    .subtitle:hover svg {
        opacity: 0.8;
    }
}