/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Fiery Ocean Color Palette */
    --primary-color: #8B1538;
    --primary-dark: #5D0E26;
    --secondary-color: #D2334A;
    --accent-color: #F4E4BC;
    --text-primary: #1E3A5F;
    --text-secondary: #6B8CAE;
    --text-light: #9BABC8;
    --bg-primary: #ffffff;
    --bg-secondary: #F8F9FB;
    --bg-dark: #1E3A5F;
    --border-color: #E6EBF0;
    --success-color: #10b981;
    --warning-color: #F4E4BC;
    --danger-color: #D2334A;
    
    --gradient-primary: linear-gradient(135deg, #8B1538 0%, #D2334A 100%);
    --gradient-secondary: linear-gradient(135deg, #D2334A 0%, #F4E4BC 100%);
    --gradient-accent: linear-gradient(135deg, #1E3A5F 0%, #6B8CAE 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(30, 58, 95, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(30, 58, 95, 0.12), 0 2px 4px -1px rgba(30, 58, 95, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(30, 58, 95, 0.15), 0 4px 6px -2px rgba(30, 58, 95, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(30, 58, 95, 0.15), 0 10px 10px -5px rgba(30, 58, 95, 0.08);
}

/* ==================== LEGAL CONTENT ==================== */
.legal-content {
    padding: 60px 0;
}

.update-info {
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.update-info i {
    color: var(--primary-color);
    font-size: 20px;
}

/* Table of Contents */
.table-of-contents {
    background: white;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}

.table-of-contents h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-of-contents h3 i {
    color: var(--primary-color);
}

.table-of-contents ul {
    list-style: none;
}

.table-of-contents li {
    margin-bottom: 12px;
}

.table-of-contents a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.table-of-contents a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Content Sections */
.content-section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    scroll-margin-top: 140px;
}

.intro {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    border-left: 4px solid var(--primary-color);
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 500;
}

.content-section h2 {
    color: var(--text-primary);
    font-size: 32px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--border-color);
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.section-content {
    margin-top: 25px;
}

.section-content p {
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-secondary);
}

/* Info Boxes */
.info-box {
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
}

.info-box h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box h4 i {
    color: var(--primary-color);
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 8px 0;
    color: var(--text-secondary);
}

.info-list strong {
    color: var(--text-primary);
}

/* Data Categories */
.data-category {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.data-category:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.data-category h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.data-category h4 i {
    color: var(--primary-color);
    font-size: 20px;
}

.data-category p {
    color: var(--text-secondary);
    margin: 0;
}

/* Purpose List */
.purpose-list {
    list-style: none;
}

.purpose-list li {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.purpose-list li:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.purpose-list i {
    color: var(--success-color);
    font-size: 24px;
    flex-shrink: 0;
}

.purpose-list strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 5px;
}

/* Transfer Boxes */
.transfer-box {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.transfer-box h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.transfer-box h4 i {
    color: var(--primary-color);
}

.transfer-box ul {
    list-style: none;
}

.transfer-box li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.transfer-box li:last-child {
    border-bottom: none;
}

.transfer-box strong {
    color: var(--text-primary);
}

/* Method Boxes */
.method-box {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.method-box h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.method-box h4 i {
    color: var(--primary-color);
}

.method-box ul {
    list-style: none;
}

.method-box li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.method-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Highlight Text */
.highlight-text {
    background: var(--accent-color);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.highlight-text i {
    color: var(--primary-color);
    font-size: 24px;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.right-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

.right-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.right-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.right-icon i {
    color: white;
    font-size: 24px;
}

.right-card h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.right-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Application Info */
.application-info {
    background: var(--gradient-secondary);
    border: none;
    border-left: 4px solid var(--primary-color);
}

.application-methods {
    list-style: none;
    margin: 20px 0;
}

.application-methods li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
}

.application-methods i {
    color: var(--primary-color);
    font-size: 20px;
}

.note {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.note i {
    color: var(--warning-color);
}

/* Legal CTA */
.legal-cta {
    background: var(--gradient-accent);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    color: white;
    margin-top: 40px;
    box-shadow: var(--shadow-xl);
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
}

.cta-icon i {
    font-size: 40px;
}

.legal-cta h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.legal-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow-lg);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.back-to-top i {
    font-size: 20px;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .content-section {
        padding: 25px;
    }

    .content-section h2 {
        font-size: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .rights-grid {
        grid-template-columns: 1fr;
    }

    .legal-cta {
        padding: 30px 20px;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float a {
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .table-of-contents {
        padding: 20px;
    }
}

