/* =====================================================
   REGPOOL WEB STYLES
   Estilos basados en el logo y diseño existente
   ===================================================== */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --black: #000000;
    
    /* Gradientes */
    --primary-gradient: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    --secondary-gradient: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    
    /* Sombras */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    
    /* Bordes */
    --border-radius: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 1rem;
}

/* =====================================================
   LOGO ANIMATIONS
   ===================================================== */

.logo-container {
    position: relative;
    display: inline-block;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border: 3px solid var(--black);
    border-radius: 50%;
    position: relative;
    background: var(--white);
    animation: logoFloat 3s ease-in-out infinite;
}

.pool-ladder {
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    width: 2px;
    height: 16px;
    background: var(--black);
}

.pool-ladder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -3px;
    width: 8px;
    height: 2px;
    background: var(--black);
}

.water-lines {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 12px;
}

.water-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--black);
    border-radius: 1px;
    animation: waterFlow 2s ease-in-out infinite;
}

.water-line:nth-child(1) {
    bottom: 0;
    animation-delay: 0s;
}

.water-line:nth-child(2) {
    bottom: 4px;
    animation-delay: 0.3s;
}

.water-line:nth-child(3) {
    bottom: 8px;
    animation-delay: 0.6s;
}

.checkmark-circle {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: #e9ecef;
    border: 1px solid var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: checkmarkPulse 2s ease-in-out infinite;
}

.checkmark-circle i {
    font-size: 8px;
    color: var(--black);
    transform: rotate(45deg);
}

.logo-text {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 0.5rem;
}

/* Logo Animations */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes waterFlow {
    0%, 100% { opacity: 0.7; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.1); }
}

@keyframes checkmarkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* =====================================================
   NAVIGATION
   ===================================================== */

.navbar {
    backdrop-filter: blur(10px);
    background: rgba(0, 123, 255, 0.95) !important;
    transition: all 0.3s ease;
}

.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-buttons .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Floating Card Animation */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.dashboard-preview {
    background: var(--white);
    border: none;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: all 0.3s ease;
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg) scale(1.02);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

@keyframes float {
    0%, 100% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0px); }
    50% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(-10px); }
}

/* =====================================================
   SECTIONS
   ===================================================== */

.section-padding {
    padding: 80px 0;
}

.section-title {
    color: var(--dark-color);
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* =====================================================
   FEATURE CARDS
   ===================================================== */

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* =====================================================
   REGULATION CARDS
   ===================================================== */

.regulation-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    height: 100%;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.regulation-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.regulation-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.regulation-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.regulation-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.regulation-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.regulation-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.regulation-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* =====================================================
   TARGET CARDS
   ===================================================== */

.target-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.target-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.target-card:hover::before {
    transform: scaleX(1);
}

.target-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.target-icon {
    width: 70px;
    height: 70px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.target-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.target-card:hover .target-icon {
    background: var(--primary-gradient);
    transform: scale(1.1);
}

.target-card:hover .target-icon i {
    color: var(--white);
}

.target-card h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.target-card p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   CASE STUDY CARDS
   ===================================================== */

.case-study-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    height: 100%;
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-study-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.case-study-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.case-study-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.case-study-header h5 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.case-study-description {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.case-study-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.case-study-stats .stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

/* =====================================================
   STEP CARDS
   ===================================================== */

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-xl);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.step-card:hover::before {
    opacity: 0.05;
}

.step-card > * {
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.step-card:hover .step-icon {
    background: var(--primary-gradient);
    transform: scale(1.1);
}

.step-card:hover .step-icon i {
    color: var(--white);
}

.step-card h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-card p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   DEMO SECTION
   ===================================================== */

.demo-section {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.demo-section h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.demo-section .btn {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.demo-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--light-color);
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: var(--dark-color) !important;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .feature-card,
    .target-card,
    .step-card {
        padding: 1.5rem;
    }
    
    .demo-section {
        padding: 2rem;
    }
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--primary-gradient);
}

.bg-gradient-secondary {
    background: var(--secondary-gradient);
}

.shadow-custom {
    box-shadow: var(--shadow);
}

.shadow-custom-lg {
    box-shadow: var(--shadow-lg);
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */

[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* =====================================================
   LOADING ANIMATIONS
   ===================================================== */

.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   PROCESS CARDS (Funcionamiento page)
   ===================================================== */

.process-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    height: 100%;
    position: relative;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.process-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: var(--shadow);
}

.process-content {
    margin-top: 1rem;
}

.process-content h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-content li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--secondary-color);
}

.process-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* =====================================================
   TECH CARDS (Funcionamiento page)
   ===================================================== */

.tech-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.tech-icon i {
    font-size: 2rem;
    color: var(--white);
}

.tech-card:hover .tech-icon {
    transform: scale(1.1) rotate(5deg);
}

.tech-card h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tech-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.tech-card li {
    padding: 0.5rem 0;
    color: var(--secondary-color);
    position: relative;
    padding-left: 1.5rem;
}

.tech-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* =====================================================
   WORKFLOW CONTAINER (Funcionamiento page)
   ===================================================== */

.workflow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
}

.workflow-step {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 200px;
    transition: all 0.3s ease;
    position: relative;
}

.workflow-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.workflow-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.workflow-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.workflow-step:hover .workflow-icon {
    transform: scale(1.1);
}

.workflow-step h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.workflow-step p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin: 0;
}

.workflow-arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* =====================================================
   BENEFIT CARDS (Funcionamiento page)
   ===================================================== */

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    height: 100%;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.benefit-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.benefit-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.benefit-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.benefit-stats .stat-item {
    text-align: center;
    flex: 1;
}

/* =====================================================
   DEMO CONTAINER (Funcionamiento page)
   ===================================================== */

.demo-container {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.demo-preview {
    padding: 3rem;
    text-align: center;
}

.demo-header h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.demo-header p {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.demo-feature {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.demo-feature:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.demo-feature i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.demo-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =====================================================
   CONTACT FORM STYLES
   ===================================================== */

.contact-container {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.contact-header {
    margin-bottom: 2rem;
}

.contact-form {
    position: relative;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.form-label i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.form-control.is-valid {
    border-color: var(--success-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.94-.94 3.03-3.03-1.06-1.06-3.03 3.03-.94.94z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid {
    border-color: var(--danger-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4m0-1.4-1.4 1.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--danger-color);
}

.form-text {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.form-check {
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--dark-color);
    font-weight: 500;
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* =====================================================
   CONTACT CARDS
   ===================================================== */

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-card h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-card .text-muted {
    font-size: 0.9rem;
    margin: 0;
}

/* =====================================================
   FORM ANIMATIONS
   ===================================================== */

.form-control,
.form-select {
    animation: slideInUp 0.6s ease;
}

.form-group:nth-child(1) .form-control { animation-delay: 0.1s; }
.form-group:nth-child(2) .form-control { animation-delay: 0.2s; }
.form-group:nth-child(3) .form-control { animation-delay: 0.3s; }
.form-group:nth-child(4) .form-control { animation-delay: 0.4s; }
.form-group:nth-child(5) .form-control { animation-delay: 0.5s; }
.form-group:nth-child(6) .form-control { animation-delay: 0.6s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   SUBMIT BUTTON STYLES
   ===================================================== */

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* =====================================================
   ALERT STYLES
   ===================================================== */

.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid var(--danger-color);
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid var(--warning-color);
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border-left: 4px solid var(--info-color);
}

/* =====================================================
   MODAL STYLES
   ===================================================== */

.modal-content {
    border: none;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: var(--primary-gradient);
    color: var(--white);
    border-bottom: none;
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 2rem;
    line-height: 1.6;
}

.modal-body h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-body h6:first-child {
    margin-top: 0;
}

.modal-body ul {
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 2rem;
}

/* =====================================================
   CUSTOM SCROLLBAR
   ===================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
} 

/* =====================================================
   LEGAL SECTION STYLES
   ===================================================== */

/* Legal Hero Section */
.legal-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.legal-breadcrumb {
    margin-top: 2rem;
}

.legal-breadcrumb .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
}

.legal-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.legal-breadcrumb .breadcrumb-item.active {
    color: var(--white);
}

/* Legal Cards */
.legal-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.legal-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.legal-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.legal-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.legal-card h3 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.legal-card-body p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.legal-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.legal-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.legal-features li i {
    color: var(--success-color);
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

/* Compliance Cards */
.compliance-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.compliance-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.compliance-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.compliance-icon i {
    font-size: 2rem;
    color: var(--white);
}

.compliance-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.compliance-card p {
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.6;
}

/* Regulation Cards */
.regulation-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.regulation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.regulation-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.regulation-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.regulation-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.regulation-header h3 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.regulation-subtitle {
    color: var(--secondary-color);
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
}

.regulation-content h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.regulation-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.regulation-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-color);
}

.regulation-list li:last-child {
    border-bottom: none;
}

.regulation-compliance {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--success-color);
}

.regulation-compliance h5 {
    color: var(--success-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.regulation-compliance p {
    margin: 0;
    color: var(--secondary-color);
}

/* Standard Cards */
.standard-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.standard-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.standard-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.standard-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.standard-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.standard-table {
    margin-bottom: 1rem;
}

.standard-table .table {
    margin-bottom: 0;
}

.standard-table th {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-weight: 600;
}

.standard-content {
    color: var(--secondary-color);
}

.standard-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.standard-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-color);
}

.standard-list li:last-child {
    border-bottom: none;
}

.standard-note {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--info-color);
    display: flex;
    align-items: flex-start;
}

.standard-note i {
    color: var(--info-color);
    margin-right: 0.5rem;
    margin-top: 0.125rem;
}

.standard-note p {
    margin: 0;
    color: var(--dark-color);
}

/* Compliance Features */
.compliance-feature {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.compliance-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.compliance-feature h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.compliance-feature p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--dark-color);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Protocol Cards */
.protocol-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.protocol-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.protocol-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.protocol-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.protocol-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.protocol-content {
    color: var(--secondary-color);
}

.protocol-list {
    list-style: none;
    padding: 0;
}

.protocol-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-color);
}

.protocol-list li:last-child {
    border-bottom: none;
}

/* Update Cards */
.update-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.update-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.update-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.update-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.update-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.update-content {
    color: var(--secondary-color);
}

.update-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.update-list {
    list-style: none;
    padding: 0;
}

.update-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-color);
}

.update-list li:last-child {
    border-bottom: none;
}

/* Privacy Cards */
.privacy-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border-left: 4px solid var(--info-color);
}

.privacy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.privacy-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.privacy-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--info-color) 0%, #0d6efd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.privacy-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.privacy-card h3 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.privacy-content p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.privacy-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.privacy-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.privacy-features li i {
    color: var(--success-color);
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

/* Data Cards */
.data-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.data-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.data-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.data-icon i {
    font-size: 2rem;
    color: var(--white);
}

.data-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.data-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.data-list li {
    padding: 0.5rem 0;
    color: var(--dark-color);
    border-bottom: 1px solid #f8f9fa;
}

.data-list li:last-child {
    border-bottom: none;
}

.data-purpose {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
}

.data-purpose p {
    margin: 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Legal Basis Cards */
.legal-basis-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.legal-basis-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.basis-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.basis-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.basis-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.basis-content {
    color: var(--secondary-color);
}

.basis-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.basis-list {
    list-style: none;
    padding: 0;
}

.basis-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-color);
}

.basis-list li:last-child {
    border-bottom: none;
}

/* Rights Cards */
.right-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.right-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.right-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.right-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.right-card h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.right-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.rights-info {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-top: 2rem;
}

.rights-info h4 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.additional-rights {
    list-style: none;
    padding: 0;
}

.additional-rights li {
    padding: 0.5rem 0;
    color: var(--dark-color);
    border-bottom: 1px solid #f8f9fa;
}

.additional-rights li:last-child {
    border-bottom: none;
}

/* Security Cards */
.security-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.security-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.security-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.security-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.security-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.security-content {
    color: var(--secondary-color);
}

.security-list {
    list-style: none;
    padding: 0;
}

.security-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-color);
}

.security-list li:last-child {
    border-bottom: none;
}

/* Retention Cards */
.retention-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.retention-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.retention-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.retention-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.retention-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.retention-content {
    color: var(--secondary-color);
}

.retention-list {
    list-style: none;
    padding: 0;
}

.retention-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-color);
}

.retention-list li:last-child {
    border-bottom: none;
}

/* Terms Cards */
.terms-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border-left: 4px solid var(--warning-color);
}

.terms-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.terms-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.terms-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--warning-color) 0%, #ff8c00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.terms-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.terms-card h3 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.terms-content p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.terms-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.terms-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.terms-features li i {
    color: var(--success-color);
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--dark-color);
    border-bottom: 1px solid #f8f9fa;
}

.service-list li:last-child {
    border-bottom: none;
}

/* Responsibility Cards */
.responsibility-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.responsibility-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.responsibility-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.responsibility-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.responsibility-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.responsibility-content {
    color: var(--secondary-color);
}

.responsibility-list {
    list-style: none;
    padding: 0;
}

.responsibility-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-color);
}

.responsibility-list li:last-child {
    border-bottom: none;
}

/* Prohibited Cards */
.prohibited-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.prohibited-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.prohibited-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.prohibited-header i {
    font-size: 2rem;
    color: var(--danger-color);
    margin-right: 1rem;
}

.prohibited-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.prohibited-content {
    color: var(--secondary-color);
}

.prohibited-list {
    list-style: none;
    padding: 0;
}

.prohibited-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-color);
}

.prohibited-list li:last-child {
    border-bottom: none;
}

/* IP Cards */
.ip-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.ip-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.ip-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ip-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.ip-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.ip-content {
    color: var(--secondary-color);
}

.ip-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.ip-list {
    list-style: none;
    padding: 0;
}

.ip-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-color);
}

.ip-list li:last-child {
    border-bottom: none;
}

/* Availability Cards */
.availability-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.availability-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.availability-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.availability-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.availability-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.availability-content {
    color: var(--secondary-color);
}

.availability-list {
    list-style: none;
    padding: 0;
}

.availability-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-color);
}

.availability-list li:last-child {
    border-bottom: none;
}

/* Liability Cards */
.liability-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.liability-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.liability-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.liability-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.liability-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.liability-content {
    color: var(--secondary-color);
}

.liability-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.liability-list {
    list-style: none;
    padding: 0;
}

.liability-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-color);
}

.liability-list li:last-child {
    border-bottom: none;
}

/* Termination Cards */
.termination-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.termination-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.termination-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.termination-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.termination-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.termination-content {
    color: var(--secondary-color);
}

.termination-list {
    list-style: none;
    padding: 0;
}

.termination-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-color);
}

.termination-list li:last-child {
    border-bottom: none;
}

/* Cookie Cards */
.cookie-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border-left: 4px solid var(--warning-color);
}

.cookie-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cookie-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cookie-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--warning-color) 0%, #ff8c00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.cookie-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.cookie-card h3 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.cookie-content p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cookie-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.cookie-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.cookie-features li i {
    color: var(--success-color);
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

/* Cookie Type Cards */
.cookie-type-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.cookie-type-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.type-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.type-icon i {
    font-size: 2rem;
    color: var(--white);
}

.cookie-type-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.cookie-type-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.type-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.type-list li {
    padding: 0.5rem 0;
    color: var(--dark-color);
    border-bottom: 1px solid #f8f9fa;
}

.type-list li:last-child {
    border-bottom: none;
}

/* Cookie Detail Cards */
.cookie-detail-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.cookie-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.detail-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.detail-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.detail-content {
    color: var(--secondary-color);
}

.cookie-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary-color);
}

.cookie-item:last-child {
    margin-bottom: 0;
}

.cookie-item h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cookie-item p {
    margin: 0.25rem 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Management Cards */
.management-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.management-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.management-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.management-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.management-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.management-content {
    color: var(--secondary-color);
}

.management-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.management-list {
    list-style: none;
    padding: 0;
}

.management-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-color);
}

.management-list li:last-child {
    border-bottom: none;
}

/* Duration Cards */
.duration-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.duration-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.duration-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.duration-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.duration-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.duration-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.duration-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.duration-list li {
    padding: 0.5rem 0;
    color: var(--dark-color);
    border-bottom: 1px solid #f8f9fa;
}

.duration-list li:last-child {
    border-bottom: none;
}

/* Third Party Cards */
.third-party-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.third-party-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.third-party-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.third-party-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.third-party-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.third-party-content {
    color: var(--secondary-color);
}

.third-party-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.third-party-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.third-party-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-color);
}

.third-party-list li:last-child {
    border-bottom: none;
}

.third-party-note {
    background: #fff3cd;
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--warning-color);
    display: flex;
    align-items: flex-start;
    margin-top: 1rem;
}

.third-party-note i {
    color: var(--warning-color);
    margin-right: 0.5rem;
    margin-top: 0.125rem;
}

.third-party-note p {
    margin: 0;
    color: var(--dark-color);
    font-size: 0.9rem;
}

/* Contact Options */
.contact-options {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-options .btn {
    min-width: 200px;
}

/* =====================================================
   DOCUMENTATION SECTION STYLES
   ===================================================== */

/* Documentation Hero */
.docs-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    overflow: hidden;
}

.docs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.docs-breadcrumb {
    margin-top: 2rem;
}

.docs-breadcrumb .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
}

.docs-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.docs-breadcrumb .breadcrumb-item.active {
    color: var(--white);
}

/* Documentation Cards */
.docs-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.docs-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.docs-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.docs-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.docs-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.docs-card h3 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.docs-content p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.docs-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.docs-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.docs-features li i {
    color: var(--success-color);
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

/* Quick Start Cards */
.quick-start-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.quick-start-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon i {
    font-size: 2rem;
    color: var(--white);
}

.quick-start-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.quick-start-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.step-list li {
    padding: 0.5rem 0;
    color: var(--dark-color);
    border-bottom: 1px solid #f8f9fa;
}

.step-list li:last-child {
    border-bottom: none;
}

/* Feature Documentation Cards */
.feature-doc-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-doc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.feature-doc-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-doc-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.feature-doc-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.feature-doc-content h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-doc-content p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.feature-doc-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.feature-doc-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-color);
}

.feature-doc-list li:last-child {
    border-bottom: none;
}

/* Practice Cards */
.practice-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.practice-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.practice-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.practice-icon i {
    font-size: 2rem;
    color: var(--white);
}

.practice-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.practice-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.practice-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.practice-list li {
    padding: 0.5rem 0;
    color: var(--dark-color);
    border-bottom: 1px solid #f8f9fa;
}

.practice-list li:last-child {
    border-bottom: none;
}

/* Video Cards */
.video-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.video-thumbnail i {
    font-size: 4rem;
    color: var(--white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.video-thumbnail:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.video-content {
    padding: 1.5rem;
}

.video-content h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.video-content p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.video-duration {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Download Cards */
.download-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.download-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.download-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.download-content {
    flex: 1;
}

.download-content h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.download-content p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.download-meta span {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.download-meta i {
    margin-right: 0.25rem;
}

/* =====================================================
   FAQ SECTION STYLES
   ===================================================== */

/* FAQ Hero */
.faq-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.faq-breadcrumb {
    margin-top: 2rem;
}

.faq-breadcrumb .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
}

.faq-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.faq-breadcrumb .breadcrumb-item.active {
    color: var(--white);
}

/* Search Container */
.search-container {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    z-index: 2;
}

.search-input {
    padding-left: 3rem;
    padding-right: 4rem;
    border-radius: var(--border-radius-lg);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 60, 114, 0.25);
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-tag {
    background: var(--light-color);
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    border: 1px solid #e9ecef;
}

.search-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* FAQ Category Cards */
.faq-category-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.faq-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.faq-category-card.active {
    background: var(--primary-color);
    color: var(--white);
}

.faq-category-card.active .category-icon {
    background: var(--white);
}

.faq-category-card.active .category-icon i {
    color: var(--primary-color);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.category-icon i {
    font-size: 2rem;
    color: var(--white);
}

.faq-category-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-category-card p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.question-count {
    background: var(--light-color);
    color: var(--dark-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
}

/* FAQ Accordion */
.faq-accordion {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-category {
    border-bottom: 1px solid #e9ecef;
}

.faq-category:last-child {
    border-bottom: none;
}

.category-title {
    background: var(--light-color);
    color: var(--dark-color);
    padding: 1.5rem 2rem;
    margin: 0;
    font-weight: 600;
    font-size: 1.25rem;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid #f8f9fa;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    background: var(--white);
    color: var(--dark-color);
    border: none;
    padding: 1.5rem 2rem;
    font-weight: 600;
    text-align: left;
    transition: all 0.3s ease;
}

.accordion-button:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 1.5rem 2rem;
    background: var(--white);
    color: var(--secondary-color);
    line-height: 1.6;
}

.accordion-body p {
    margin-bottom: 1rem;
}

.accordion-body ul {
    margin-bottom: 1rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
}

/* Highlight for search results */
.highlight {
    background: #fff3cd;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

/* =====================================================
   HELP SECTION STYLES
   ===================================================== */

/* Help Hero */
.help-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    overflow: hidden;
}

.help-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.help-breadcrumb {
    margin-top: 2rem;
}

.help-breadcrumb .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
}

.help-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.help-breadcrumb .breadcrumb-item.active {
    color: var(--white);
}

/* Support Cards */
.support-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.support-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.support-icon i {
    font-size: 2rem;
    color: var(--white);
}

.support-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.support-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.support-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.support-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.support-features li i {
    color: var(--success-color);
    margin-right: 0.5rem;
    font-size: 0.875rem;
    width: 16px;
}

/* Troubleshoot Cards */
.troubleshoot-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.troubleshoot-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.troubleshoot-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    cursor: pointer;
    padding: 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.troubleshoot-header:hover {
    background: var(--primary-color);
    color: var(--white);
}

.troubleshoot-header i {
    font-size: 2rem;
    margin-right: 1rem;
}

.troubleshoot-header h4 {
    margin: 0;
    font-weight: 600;
}

.troubleshoot-content {
    padding: 0 1rem;
}

.problem-item {
    margin-bottom: 2rem;
}

.problem-item:last-child {
    margin-bottom: 0;
}

.problem-item h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.problem-item h5 i {
    color: var(--warning-color);
    margin-right: 0.5rem;
}

.solution-list {
    list-style: none;
    padding: 0;
}

.solution-list li {
    padding: 0.5rem 0;
    color: var(--dark-color);
    border-bottom: 1px solid #f8f9fa;
    position: relative;
    padding-left: 1.5rem;
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.solution-list li:last-child {
    border-bottom: none;
}

/* Knowledge Base Cards */
.kb-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.kb-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.kb-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.kb-icon i {
    font-size: 2rem;
    color: var(--white);
}

.kb-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.kb-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.kb-topics {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.kb-topics li {
    padding: 0.5rem 0;
    color: var(--dark-color);
    border-bottom: 1px solid #f8f9fa;
    position: relative;
    padding-left: 1.5rem;
}

.kb-topics li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.kb-topics li:last-child {
    border-bottom: none;
}

/* Status Card */
.status-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.status-indicator {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.status-indicator.online {
    color: var(--success-color);
}

.status-indicator.warning {
    color: var(--warning-color);
}

.status-indicator.offline {
    color: var(--danger-color);
}

.status-indicator i {
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

.status-time {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.status-time i {
    margin-right: 0.5rem;
}

.status-services {
    margin-bottom: 2rem;
}

.service-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.service-status:last-child {
    border-bottom: none;
}

.service-name {
    display: flex;
    align-items: center;
    color: var(--dark-color);
    font-weight: 500;
}

.service-name i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.service-status-indicator {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.service-status-indicator.online {
    color: var(--success-color);
}

.service-status-indicator.warning {
    color: var(--warning-color);
}

.service-status-indicator.offline {
    color: var(--danger-color);
}

.service-status-indicator i {
    margin-right: 0.5rem;
}

.status-footer {
    text-align: center;
}

/* Contact Option Cards */
.contact-option-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-option-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 2rem;
    color: var(--white);
}

.contact-option-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-option-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-info {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-size: 0.875rem;
}

.contact-info i {
    color: var(--primary-color);
}

/* Chat Modal */
.chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.chat-modal-content {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
}

.chat-modal-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-modal-header h4 {
    margin: 0;
    font-weight: 600;
}

.chat-modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chat-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-modal-body {
    padding: 2rem;
    max-height: 400px;
    overflow-y: auto;
}

.chat-loading {
    text-align: center;
    padding: 2rem;
}

.chat-messages {
    margin-bottom: 1rem;
}

.chat-message {
    display: flex;
    margin-bottom: 1rem;
}

.chat-message.agent {
    flex-direction: row;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    flex-shrink: 0;
}

.chat-content {
    background: var(--light-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    max-width: 70%;
}

.chat-content p {
    margin: 0 0 0.5rem 0;
    color: var(--dark-color);
}

.chat-time {
    font-size: 0.75rem;
    color: var(--secondary-color);
}

.chat-input {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.chat-input input {
    flex: 1;
}

.chat-input button {
    padding: 0.5rem 1rem;
}

/* Toast Notifications */
.toast {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.toast-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.toast-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.toast-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.toast-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design for Documentation, FAQ, and Help Sections */
@media (max-width: 768px) {
    .docs-card,
    .faq-category-card,
    .support-card,
    .troubleshoot-card,
    .kb-card,
    .contact-option-card {
        padding: 1.5rem;
    }
    
    .docs-icon,
    .category-icon,
    .support-icon,
    .kb-icon,
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .docs-icon i,
    .category-icon i,
    .support-icon i,
    .kb-icon i,
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .step-icon,
    .practice-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-icon i,
    .practice-icon i {
        font-size: 1.5rem;
    }
    
    .status-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .service-status {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .contact-options {
        flex-direction: column;
    }
    
    .contact-options .btn {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .docs-card,
    .faq-category-card,
    .support-card,
    .troubleshoot-card,
    .kb-card,
    .contact-option-card {
        padding: 1rem;
    }
    
    .docs-header,
    .feature-doc-header,
    .troubleshoot-header {
        flex-direction: column;
        text-align: center;
    }
    
    .docs-icon,
    .feature-doc-header i,
    .troubleshoot-header i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .search-tags {
        justify-content: center;
    }
    
    .category-title {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .accordion-button,
    .accordion-body {
        padding: 1rem;
    }
    
    .chat-modal-content {
        width: 95%;
        margin: 1rem;
    }
}

/* =====================================================
   PUBLIC VERSION AND STICKERS SECTION
   ===================================================== */

.public-access-card,
.stickers-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.public-access-card:hover,
.stickers-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.public-access-icon,
.stickers-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.public-access-icon i,
.stickers-icon i {
    color: var(--white);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.public-access-card:hover .public-access-icon i,
.stickers-card:hover .stickers-icon i {
    opacity: 1;
    transform: scale(1.1);
}

.public-access-card h3,
.stickers-card h3 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.public-access-card .lead,
.stickers-card .lead {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    line-height: 1.6;
}

.public-features,
.stickers-benefits {
    margin-top: 1.5rem;
}

.feature-item,
.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.feature-item i,
.benefit-item i {
    color: var(--success-color);
    margin-right: 0.75rem;
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-item span,
.benefit-item span {
    line-height: 1.4;
}

.stickers-card .btn-light {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.stickers-card .btn-light:hover {
    background: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.qr-demo-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.qr-demo-section h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.qr-steps {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.qr-step {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.qr-step-number {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.qr-step p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Responsive adjustments for public version section */
@media (max-width: 768px) {
    .public-access-card,
    .stickers-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .qr-steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .qr-step {
        min-width: auto;
        max-width: none;
    }
    
    .qr-step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .public-access-card,
    .stickers-card {
        padding: 1rem;
    }
    
    .public-access-card h3,
    .stickers-card h3 {
        font-size: 1.5rem;
    }
    
    .feature-item,
    .benefit-item {
        font-size: 0.9rem;
    }
    
    .qr-demo-section {
        padding: 1.5rem;
    }
    
    .qr-step p {
        font-size: 0.85rem;
    }
}

/* =====================================================
   TOASTR CUSTOM STYLES
   ===================================================== */

/* Personalizar Toastr para que coincida con el diseño de RegPool */
#toast-container > .toast {
    background-image: none !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    padding: 15px 20px;
}

#toast-container > .toast.toast-success {
    background-color: #28a745;
    color: white;
}

#toast-container > .toast.toast-error {
    background-color: #dc3545;
    color: white;
}

#toast-container > .toast.toast-warning {
    background-color: #ffc107;
    color: #212529;
}

#toast-container > .toast.toast-info {
    background-color: #17a2b8;
    color: white;
}

/* Iconos personalizados para Toastr */
#toast-container > .toast.toast-success::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
}

#toast-container > .toast.toast-error::before {
    content: '\f071';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
}

#toast-container > .toast.toast-warning::before {
    content: '\f06a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
}

#toast-container > .toast.toast-info::before {
    content: '\f05a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
}

/* Animaciones suaves */
#toast-container > .toast {
    transition: all 0.3s ease;
}

#toast-container > .toast:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    #toast-container {
        top: 20px !important;
        right: 20px !important;
        left: 20px !important;
        width: auto !important;
    }
    
    #toast-container > .toast {
        width: 100% !important;
        margin-bottom: 10px;
    }
}

/* =====================================================
   NEWS AND SEO SECTION STYLES
   ===================================================== */

.news-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.news-category {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-date {
    color: var(--secondary-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.news-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.news-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-tags {
    margin-top: auto;
}

.news-tags .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 15px;
    background-color: var(--light-color);
    color: var(--secondary-color);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.news-tags .badge:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Detailed Articles */
.detailed-articles {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-top: 3rem;
}

.detailed-article {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.detailed-article:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.detailed-article h4 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.detailed-article .lead {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.detailed-article p {
    color: var(--secondary-color);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.detailed-article strong {
    color: var(--dark-color);
    font-weight: 700;
}

.detailed-article ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.detailed-article li {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.detailed-article h5 {
    color: var(--dark-color);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* SEO Optimization */
.news-card .news-image img[alt*="registro piscina RD 742/2013"],
.news-card .news-image img[alt*="software control piscina pública"],
.news-card .news-image img[alt*="evitar sanciones control piscinas"],
.news-card .news-image img[alt*="gestión piscinas hoteles normativa"] {
    transition: opacity 0.3s ease;
}

.news-card:hover .news-image img[alt*="registro piscina RD 742/2013"],
.news-card:hover .news-image img[alt*="software control piscina pública"],
.news-card:hover .news-image img[alt*="evitar sanciones control piscinas"],
.news-card:hover .news-image img[alt*="gestión piscinas hoteles normativa"] {
    opacity: 0.9;
}

/* Responsive Design for News Section */
@media (max-width: 768px) {
    .news-card {
        margin-bottom: 1.5rem;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 1.25rem;
    }
    
    .news-title {
        font-size: 1.1rem;
    }
    
    .news-excerpt {
        font-size: 0.9rem;
    }
    
    .detailed-articles {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .detailed-article h4 {
        font-size: 1.3rem;
    }
    
    .detailed-article .lead {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .news-tags .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .detailed-articles {
        padding: 1rem;
    }
    
    .detailed-article {
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* =====================================================
   KEYWORD HIGHLIGHTING STYLES
   ===================================================== */

.keyword-highlight {
    background-color: #fff3cd;
    color: #856404;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
    font-weight: 600;
}

.keyword-search-highlight {
    background-color: #d4edda;
    color: #155724;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
    font-weight: 700;
    border: 2px solid #28a745;
    animation: keywordPulse 2s ease-in-out;
}

@keyframes keywordPulse {
    0% {
        background-color: #d4edda;
        transform: scale(1);
    }
    50% {
        background-color: #c3e6cb;
        transform: scale(1.05);
    }
    100% {
        background-color: #d4edda;
        transform: scale(1);
    }
}

/* Modal de búsqueda de palabras clave */
#keywordSearchModal .modal-body {
    max-height: 400px;
    overflow-y: auto;
}

.keyword-btn {
    transition: all 0.3s ease;
    border-radius: 20px;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

.keyword-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Botón flotante de búsqueda */
.btn-outline-primary.btn-sm {
    border-radius: 25px;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.btn-outline-primary.btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive para resaltado */
@media (max-width: 768px) {
    .keyword-highlight,
    .keyword-search-highlight {
        font-size: 0.9rem;
        padding: 0.05rem 0.1rem;
    }
    
    .keyword-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
} 