* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.language-switcher {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.lang-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: white;
    color: #667eea;
    border-color: white;
    font-weight: 600;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1em;
    opacity: 0.9;
    font-weight: 300;
}

section {
    padding: 40px 30px;
    border-bottom: 1px solid #e5e7eb;
}

section:last-of-type {
    border-bottom: none;
}

h2 {
    color: #667eea;
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: 600;
}

.info-box {
    background: #f3f4f6;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.info-box p {
    font-size: 1.05em;
    line-height: 1.8;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    gap: 20px;
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.step-content h3 {
    color: #374151;
    margin-bottom: 8px;
    font-size: 1.2em;
}

.step-content p {
    color: #6b7280;
    font-size: 0.95em;
}

.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .data-grid {
        grid-template-columns: 1fr;
    }
}

.data-box {
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.data-box.delete {
    background: #fee;
    border: 2px solid #fca5a5;
}

.data-box.retain {
    background: #fef9e7;
    border: 2px solid #fbbf24;
}

.data-box h3 {
    color: #374151;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.data-box ul {
    list-style: none;
    padding-left: 0;
}

.data-box ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #4b5563;
}

.data-box ul li:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #667eea;
    font-weight: bold;
}

.note {
    margin-top: 15px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    font-size: 0.9em;
    color: #6b7280;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-size: 1em;
}

.required {
    color: #ef4444;
}

.form-group input[type="email"],
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    color: #6b7280;
}

.phone-input-container {
    display: flex;
    gap: 10px;
}

.country-code-select {
    flex: 0 0 auto;
    min-width: 150px;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1em;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.country-code-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.phone-number-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.phone-number-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.verify-code-container {
    display: flex;
    gap: 10px;
}

.verify-code-container input {
    flex: 1;
}

.send-code-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.3s, box-shadow 0.3s;
}

.send-code-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

.send-code-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 15px 15px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8em;
    color: white;
}

.modal-body {
    padding: 30px;
}

.warning-text {
    font-size: 1.2em;
    font-weight: 600;
    color: #374151;
    margin-bottom: 20px;
}

.warning-box {
    background: #fef2f2;
    border: 2px solid #fca5a5;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.warning-box p {
    margin: 0 0 10px 0;
    color: #991b1b;
    font-weight: 600;
}

.warning-box ul {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 0 0;
}

.warning-box ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #7f1d1d;
}

.warning-box ul li:before {
    content: "⚠";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.confirm-question {
    font-size: 1.1em;
    font-weight: 600;
    color: #374151;
    text-align: center;
    margin-top: 20px;
}

.modal-footer {
    padding: 20px 30px 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.cancel-btn,
.confirm-delete-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cancel-btn {
    background: #f3f4f6;
    color: #374151;
}

.cancel-btn:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.confirm-delete-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.confirm-delete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

footer {
    background: #f9fafb;
    padding: 30px;
    text-align: center;
    color: #6b7280;
}

footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 15px;
    font-size: 0.9em;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 15px;
    }

    header {
        padding: 30px 20px;
    }

    header h1 {
        font-size: 2em;
    }
    
    .language-switcher {
        position: static;
        justify-content: center;
        margin-bottom: 20px;
    }

    section {
        padding: 30px 20px;
    }

    h2 {
        font-size: 1.5em;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .verify-code-container {
        flex-direction: column;
    }
    
    .phone-input-container {
        flex-direction: column;
    }
    
    .country-code-select {
        width: 100%;
    }
    
    .send-code-btn {
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .cancel-btn,
    .confirm-delete-btn {
        width: 100%;
    }
}
