:root {
    --primary-color: #8A2BE2;
    --primary-hover: #6A1B9A;
    --secondary-color: #6c757d;
    --accent-color: #17a2b8;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --secondary-bg: #2c2c2c;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
    --border-color: #333333;
    --border-light: #444444;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.5);
    --gradient-blue: linear-gradient(135deg, #8A2BE2 0%, #6A1B9A 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
}
* {
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.site-content-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    position: relative;
}

.site-content-container .container {
    background: var(--gradient-dark);
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    padding: 50px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.site-content-container .container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.site-content-container .container > * {
    position: relative;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.site-content-container .container {
    animation: fadeInUp 0.8s ease-out;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 30px;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.page-header h1 {
    font-size: 3em;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 15px 0;
    background: var(--gradient-blue);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 123, 255, 0.3);
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.page-header p {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin: 0 0 10px 0;
    font-weight: 400;
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

.page-header .last-updated {
    font-size: 0.95em;
    color: var(--text-muted);
    font-style: italic;
    font-weight: 300;
    display: inline-block;
    padding: 8px 16px;
    background: var(--secondary-bg);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    animation: slideInLeft 0.8s ease-out 0.6s both;
}

.page-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05em;
}

.content-section {
    margin-bottom: 45px;
    opacity: 1 !important; 
    transform: translateY(0) !important; 
    transition: all 0.6s ease;
}

.js-loaded.intersection-observer-supported .content-section {
    opacity: 0;
    transform: translateY(20px);
}

.js-loaded.intersection-observer-supported .content-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.content-section h2 {
    font-size: 2.2em;
    font-weight: 600;
    color: var(--text-primary);
    margin: 40px 0 25px 0;
    position: relative;
    padding-left: 20px;
}

.content-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 40px;
    background: var(--gradient-blue);
    border-radius: 3px;
}

.content-section h3 {
    font-size: 1.6em;
    font-weight: 500;
    color: var(--text-primary);
    margin: 30px 0 20px 0;
    position: relative;
    padding-left: 15px;
}

.content-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 25px;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 0.8;
}

.content-section p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    text-align: justify;
    line-height: 1.8;
}

.content-section ul {
    margin-bottom: 25px;
    padding-left: 0;
    list-style: none;
}

.content-section ul li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 30px;
    line-height: 1.7;
}

.content-section ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8em;
    top: 2px;
}

.content-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.content-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.content-section a:hover {
    color: var(--primary-hover);
    border-bottom-color: var(--primary-hover);
    text-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

.whatsapp-link {
    color: #25D366 !important;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    margin: 5px 0;
}

.whatsapp-link:hover {
    color: #128C7E !important;
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-link::before {
    content: '📱';
    margin-right: 8px;
}

.contact-info {
    margin: 30px 0;
    padding: 25px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-blue);
}

.contact-info strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1em;
}

.contact-info p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.highlight-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.highlight-card:hover::before {
    transform: scaleX(1);
}

.cta-button {
    display: inline-block;
    background: var(--gradient-blue);
    color: var(--text-primary);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    border: none;
    cursor: pointer;
    font-size: 1em;
    margin: 10px 5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--text-primary);
    text-decoration: none;
}

.highlight-section {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--secondary-bg) 100%);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.highlight-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.03;
    pointer-events: none;
}

.content-section ol {
    margin-bottom: 25px;
    padding-left: 0;
    counter-reset: item;
    list-style: none;
}

.content-section ol li {
    margin-bottom: 15px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 50px;
    line-height: 1.7;
    counter-increment: item;
}

.content-section ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--gradient-blue);
    color: var(--text-primary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9em;
    box-shadow: var(--shadow-light);
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    border-bottom: 1px dotted var(--primary-color);
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 250px;
    background-color: var(--card-bg);
    color: var(--text-primary);
    text-align: center;
    border-radius: 8px;
    padding: 10px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    margin-left: -125px;
    opacity: 0;
    transition: opacity 0.3s;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-medium);
    font-size: 0.9em;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.icon-section {
    display: flex;
    align-items: flex-start;
    margin: 25px 0;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.icon-section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.icon-section .icon {
    font-size: 2em;
    margin-right: 20px;
    color: var(--primary-color);
    min-width: 60px;
    text-align: center;
}

.icon-section .content {
    flex: 1;
}

.icon-section .content h3 {
    margin: 0 0 10px 0;
    color: var(--text-primary);
    font-size: 1.3em;
}

.icon-section .content p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.breadcrumb {
    background: var(--secondary-bg);
    padding: 15px 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid var(--border-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-hover);
}

.breadcrumb .separator {
    color: var(--text-muted);
    margin: 0 10px;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.styled-table th,
.styled-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.styled-table th {
    background: var(--gradient-blue);
    color: var(--text-primary);
    font-weight: 600;
}

.styled-table tr:hover {
    background: var(--secondary-bg);
}

.alert {
    padding: 20px;
    margin: 25px 0;
    border-radius: 10px;
    border: 1px solid;
    position: relative;
    padding-left: 50px;
}

.alert::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.alert-info {
    background: rgba(0, 123, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--text-secondary);
}

.alert-info::before {
    background: var(--primary-color);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: var(--warning-color);
    color: var(--text-secondary);
}

.alert-warning::before {
    background: var(--warning-color);
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: var(--success-color);
    color: var(--text-secondary);
}

.alert-success::before {
    background: var(--success-color);
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background: var(--card-bg);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.faq-question:hover {
    background: var(--secondary-bg);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--card-bg);
}

.faq-answer.show {
    padding: 20px;
    max-height: 500px;
}

code {
    background: var(--secondary-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
    border: 1px solid var(--border-light);
}

.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 40px 0;
}

.divider.thick {
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media print {
    .site-content-container .container {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .page-header h1 {
        color: #000 !important;
    }
    
    .content-section h2,
    .content-section h3 {
        color: #000 !important;
    }
    
    .whatsapp-link {
        color: #000 !important;
    }
}

@media (max-width: 768px) {
    .site-content-container {
        margin: 30px auto;
        padding: 0 15px;
    }
    
    .site-content-container .container {
        padding: 30px;
        border-radius: 15px;
    }
    
    .page-header h1 {
        font-size: 2.2em;
    }
    
    .page-header p {
        font-size: 1.1em;
    }
    
    .content-section h2 {
        font-size: 1.8em;
        padding-left: 15px;
    }
    
    .content-section h2::before {
        width: 4px;
        height: 30px;
    }
    
    .content-section h3 {
        font-size: 1.4em;
    }
    
    .content-section ul li {
        padding-left: 25px;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .page-content {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .site-content-container .container {
        padding: 25px;
        border-radius: 12px;
    }
    
    .page-header {
        margin-bottom: 35px;
    }
    
    .page-header h1 {
        font-size: 1.9em;
    }
    
    .page-header p {
        font-size: 1em;
    }
    
    .content-section h2 {
        font-size: 1.6em;
        margin: 30px 0 20px 0;
    }
    
    .content-section h3 {
        font-size: 1.3em;
        margin: 25px 0 15px 0;
    }
    
    .content-section {
        margin-bottom: 35px;
    }
    
    .contact-info {
        padding: 18px;
    }
    
    .whatsapp-link {
        padding: 10px 18px;
        font-size: 0.95em;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.content-section a:focus,
.whatsapp-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color) !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #9932CC;
        --primary-hover: #6A1B9A;
        --card-bg: #1e1e1e;
        --secondary-bg: #2a2a2a;
        --text-primary: #ffffff;
        --text-secondary: #e8e8e8;
        --border-color: #404040;
    }
}

.no-js .content-section {
    opacity: 1 !important;
    transform: none !important;
}

noscript .content-section {
    opacity: 1 !important;
    transform: none !important;
}

