:root {
    --color-blue: var(--cp-primary, #3498db);
    --color-green: var(--cp-accent, #2ecc71);
    --color-dark: var(--cp-text, #2c3e50);
    --color-light: var(--cp-surface-soft, #ecf0f1);
    --color-white: #ffffff;
    --color-gray: var(--cp-muted, #95a5a6);
    --shadow: var(--cp-shadow-soft, 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1));
    --shadow-hover: var(--cp-shadow-card, 0 10px 25px rgba(0, 0, 0, 0.1));
    --border-radius: var(--cp-radius, 8px);
    --max-width: 1200px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--color-dark);
    background: linear-gradient(145deg, #f5f9ff, #e8f2ff, #f0f7ff, #dceeff);
    background-size: 400% 400%;
    animation: gradientShiftSoft 20s ease infinite;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.agreement {
    padding: 2rem 0 4rem;
}

.agreement__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-dark);
    position: relative;
    padding-bottom: 1rem;
}

.agreement__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--color-blue);
    border-radius: 2px;
}

.agreement__content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    padding: 3rem;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.agreement__content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--color-dark);
}

.agreement__content p:last-child {
    margin-bottom: 0;
}

.agreement__list {
    margin: 1.5rem 0 2rem 2rem;
    list-style: none;
}

.agreement__list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.8rem;
    color: var(--color-dark);
}

.agreement__list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-blue);
    font-size: 0.9rem;
}

.agreement__highlight {
    background: linear-gradient(145deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
    border-left: 4px solid var(--color-blue);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.agreement__highlight p {
    margin-bottom: 0;
    font-weight: 500;
}

.agreement__highlight a {
    color: var(--color-blue);
    text-decoration: none;
    font-weight: 600;
}

.agreement__highlight a:hover {
    text-decoration: underline;
}

.agreement__signature {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(145deg, #f0f7ff, #e8f2ff);
    border-radius: var(--border-radius);
    text-align: center;
    font-style: italic;
    border: 1px dashed var(--color-blue);
}

.agreement__signature p {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--color-dark);
}

.agreement__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(52, 152, 219, 0.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    font-size: 0.95rem;
    text-decoration: none;
}

.btn--primary {
    background: var(--color-blue);
    color: white;
    box-shadow: var(--shadow);
}

.btn--primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--outline {
    border: 1px solid var(--color-blue);
    color: var(--color-blue);
    background: transparent;
}

.btn--outline:hover {
    background: var(--color-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

@keyframes gradientShiftSoft {
    0% { background-position: 0% 0%; }
    33% { background-position: 50% 50%; }
    66% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.fade-enter {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-enter-left {
    transform: translateX(-30px);
}

.fade-enter-right {
    transform: translateX(30px);
}

.fade-enter.fade-enter-active {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .agreement__title {
        font-size: 2.2rem;
    }
    
    .agreement__content {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .agreement {
        padding: 1rem 0 3rem;
    }
    
    .agreement__title {
        font-size: 1.8rem;
    }
    
    .agreement__content {
        padding: 1.8rem;
    }
    
    .agreement__list {
        margin-left: 1rem;
    }
    
    .agreement__list li {
        padding-left: 1.6rem;
        font-size: 0.95rem;
    }
    
    .agreement__footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
}

@media (max-width: 480px) {
    .agreement__title {
        font-size: 1.5rem;
    }
    
    .agreement__content {
        padding: 1.5rem;
    }
    
    .agreement__list li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .agreement__highlight {
        padding: 1rem;
    }
    
    .agreement__signature {
        padding: 1rem;
    }
    
    .agreement__signature p {
        font-size: 0.95rem;
    }
}

@media print {
    .header, .footer, .breadcrumbs, .agreement__footer {
        display: none;
    }
    
    .agreement {
        padding: 0;
    }
    
    .agreement__content {
        box-shadow: none;
        padding: 0;
        background: white;
    }
    
    .agreement__title::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body,
    .fade-enter {
        animation: none;
        transition: none;
    }
}