* {
    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;
    background: #f5f5f7;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.card-header {
    text-align: center;
    margin-bottom: 36px;
}

.card-header h2 {
    font-size: 26px;
    color: #000;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.subtitle {
    color: #86868b;
    font-size: 15px;
    font-weight: 400;
}

.info-box {
    background: #fafafa;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 32px;
    border: 1px solid #f0f0f0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.info-item:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.info-item .label {
    color: #86868b;
    font-size: 15px;
}

.info-item .value {
    color: #1d1d1f;
    font-weight: 400;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #1d1d1f;
    font-weight: 400;
    margin-bottom: 10px;
    font-size: 15px;
}

.form-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.2s;
    outline: none;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.hint {
    display: block;
    color: #86868b;
    font-size: 13px;
    margin-top: 8px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #007aff;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

.submit-btn:hover {
    background: #0051d5;
}

.submit-btn:active {
    transform: scale(0.98);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.notice {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e8e8ed;
}

.notice h3 {
    color: #1d1d1f;
    font-size: 15px;
    margin-bottom: 14px;
    font-weight: 500;
}

.notice ul {
    list-style: none;
}

.notice li {
    color: #86868b;
    font-size: 14px;
    padding: 7px 0;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.notice li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007aff;
    font-weight: bold;
}

.footer {
    text-align: center;
    margin-top: 24px;
    color: #86868b;
    font-size: 13px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    z-index: 1000;
    animation: fadeIn 0.25s;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 36px 32px 28px;
    max-width: 340px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-icon {
    margin: 0 auto 20px;
    width: 56px;
    height: 56px;
}

.modal-content h2 {
    color: #1d1d1f;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.modal-message {
    color: #86868b;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.modal-btn {
    width: 100%;
    padding: 14px;
    background: #ff3b30;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-btn:hover {
    background: #e6342a;
}

.modal-btn:active {
    transform: scale(0.98);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    body {
        padding: 16px;
        align-items: flex-start;
        padding-top: 40px;
    }
    
    .card {
        padding: 32px 24px;
    }
    
    .card-header {
        margin-bottom: 28px;
    }
    
    .card-header h2 {
        font-size: 24px;
    }
    
    .info-box {
        padding: 16px 18px;
        margin-bottom: 28px;
    }
    
    .info-item {
        padding: 9px 0;
    }
    
    .form-group input {
        font-size: 16px;
        padding: 14px;
    }
    
    .submit-btn {
        padding: 15px;
        font-size: 17px;
    }
    
    .notice {
        margin-top: 28px;
        padding-top: 28px;
    }
    
    .modal-content {
        padding: 32px 28px 24px;
    }
}
