:root {
    --primary-purple: #2E1A5F;
    --primary-teal: #3BBCA8;
    --bg-light: #f9f9f9;
    --text-dark: #333;
    --text-gray: #666;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    margin: 0;
    padding-top: 100px; /* Espacio para el Navbar fijo */
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 1366px) {
    .container { max-width: 920px; }
}

/* --- CABECERA --- */
.terms-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #4a2c8c 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    border-radius: 0 0 50px 50px;
    margin-bottom: 50px;
}

.terms-header h1 {
    font-family: 'Poltawski Nowy', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.terms-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* --- CONTENIDO --- */
.intro-box {
    text-align: center;
    margin-bottom: 50px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.intro-box h2 {
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 15px;
}

.terms-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.term-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid transparent;
}

.term-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-teal);
}

.term-icon {
    font-size: 1.5rem;
    color: var(--primary-teal);
    background: rgba(59, 188, 168, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.term-text h3 {
    color: var(--primary-purple);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.term-text p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* --- BOTÓN FINAL --- */
.action-box {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 80px;
    padding: 30px;
}

.action-box p {
    margin-bottom: 25px;
    font-weight: 500;
}

.btn-accept {
    display: inline-block;
    background-color: var(--primary-purple);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 26, 95, 0.3);
}

.btn-accept:hover {
    background-color: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 188, 168, 0.4);
}

/* --- ANIMACIONES CSS (Clases base) --- */
.reveal-left, .reveal-right, .fade-in {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.fade-in { transform: translateY(20px); }

.visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .terms-header { padding: 50px 0; margin-bottom: 35px; }
    .terms-header h1 { font-size: 2.2rem; }
    .intro-box { padding: 25px; }
}

@media (max-width: 768px) {
    .term-item { flex-direction: column; text-align: center; align-items: center; }
    .term-item:hover { border-left: none; border-top: 4px solid var(--primary-teal); }
    .terms-header h1 { font-size: 2rem; }
    .terms-header p { font-size: 1rem; }
    .action-box { margin-top: 40px; margin-bottom: 60px; }
}