/* Ada 用户协议 - 经典居中卡片式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
    min-height: 100vh;
}

.container {
    max-width: 850px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

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

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.header h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.header .app-name {
    font-size: 1.4em;
    opacity: 0.95;
    font-weight: 400;
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
}

.effective-date {
    background: #f0f4ff;
    padding: 20px 40px;
    border-left: 5px solid #667eea;
    margin: 0;
    font-weight: 700;
    color: #667eea;
    text-align: center;
    font-size: 1.1em;
}

.content {
    padding: 50px 45px;
}

.intro {
    font-size: 1.15em;
    color: #34495e;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    border-radius: 15px;
    border-left: 6px solid #764ba2;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
}

.section {
    margin-bottom: 45px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.section:hover {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-3px);
}

.section h2 {
    color: #667eea;
    font-size: 2em;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f0f4ff;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section h2::before {
    content: '▶';
    color: #764ba2;
    font-size: 0.7em;
}

.section h3 {
    color: #764ba2;
    font-size: 1.4em;
    margin: 25px 0 15px 0;
    font-weight: 700;
}

.section p {
    margin-bottom: 18px;
    color: #4a5568;
    line-height: 1.9;
}

.section ul {
    margin: 20px 0 20px 35px;
    list-style: none;
}

.section li {
    margin-bottom: 12px;
    color: #4a5568;
    line-height: 1.8;
    position: relative;
    padding-left: 25px;
}

.section li::before {
    content: '●';
    color: #667eea;
    font-size: 1.2em;
    position: absolute;
    left: 0;
}

.highlight-box, .important-box, .info-box, .success-box {
    padding: 25px 30px;
    margin: 25px 0;
    border-radius: 12px;
    border-left: 6px solid;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.highlight-box {
    background: linear-gradient(135deg, #fff9e6 0%, #fff4cc 100%);
    border-left-color: #ffc107;
}

.important-box {
    background: linear-gradient(135deg, #ffe6e6 0%, #ffd4d4 100%);
    border-left-color: #dc3545;
}

.info-box {
    background: linear-gradient(135deg, #e6f7ff 0%, #d1ecff 100%);
    border-left-color: #17a2b8;
}

.success-box {
    background: linear-gradient(135deg, #e6f9e6 0%, #d4f4d4 100%);
    border-left-color: #28a745;
}

.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 45px;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid #667eea;
    padding-bottom: 2px;
}

.footer a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

strong {
    color: #667eea;
    font-weight: 700;
}

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

    .header {
        padding: 40px 25px;
    }

    .header h1 {
        font-size: 2.2em;
    }

    .content {
        padding: 30px 25px;
    }

    .section {
        padding: 20px;
    }

    .section h2 {
        font-size: 1.6em;
    }
}
