/* Legal Information Page - Modern Professional Design */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #fafbfc;
}

/* Hero Section */
.legal-hero {
    background: linear-gradient(135deg, #E62A38 0%, #dc3545 100%);
    padding: 80px 0 60px;
    margin-top: 80px;
    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;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    line-height: 1.4;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Legal Content Section */
.legal-content {
    background: #fafbfc;
    position: relative;
    padding: 60px 0;
}

.legal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, #fafbfc 0%, transparent 100%);
    z-index: 1;
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #E62A38, #dc3545);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #718096;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Legal Sections */
.legal-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.legal-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
}

/* Legal Points */
.legal-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.legal-point {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.legal-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #E62A38, #dc3545);
    border-radius: 0 2px 2px 0;
}

.legal-point:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    transform: translateX(8px);
    box-shadow: 0 10px 40px rgba(230, 42, 56, 0.15);
}

.point-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E62A38, #dc3545);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(230, 42, 56, 0.3);
    transition: all 0.3s ease;
}

.point-icon.warning {
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    box-shadow: 0 8px 25px rgba(246, 173, 85, 0.3);
}

.legal-point:hover .point-icon {
    transform: scale(1.1) rotate(5deg);
}

.point-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.point-content p {
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 400;
}

/* Privacy Subsections */
.privacy-subsections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.privacy-subsection {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2rem;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.privacy-subsection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #E62A38, #dc3545);
}

.privacy-subsection:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(230, 42, 56, 0.1);
}

.subsection-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    position: relative;
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-list li {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1rem;
}

.privacy-list li:before {
    content: "✓";
    color: #E62A38;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

.privacy-list li:last-child {
    margin-bottom: 0;
}

/* Disclaimer Points */
.disclaimer-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.disclaimer-point {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef5e7 0%, #fed7aa 100%);
    border-radius: 18px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.disclaimer-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f6ad55, #ed8936);
    border-radius: 0 2px 2px 0;
}

.disclaimer-point:hover {
    background: linear-gradient(135deg, #fed7aa 0%, #fbbf24 100%);
    transform: translateX(8px);
    box-shadow: 0 10px 40px rgba(246, 173, 85, 0.2);
}

/* Contact Information */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #E62A38, #dc3545);
}

.contact-item:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(230, 42, 56, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E62A38, #dc3545);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(230, 42, 56, 0.3);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.contact-details p {
    color: #4a5568;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Legal Note */
.legal-note {
    background: linear-gradient(135deg, #fef5e7 0%, #fed7aa 100%);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 2.5rem;
    position: relative;
    overflow: hidden;
}

.legal-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f6ad55, #ed8936);
}

.note-icon {
    color: #d97706;
    font-size: 1.4rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.legal-note p {
    color: #92400e;
    margin: 0;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .legal-section {
        padding: 3rem;
    }
    
    .privacy-subsections {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 991.98px) {
    .legal-hero {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .legal-section {
        padding: 2rem;
    }
    
    .privacy-subsections {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .legal-hero {
        padding: 50px 0 30px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .legal-section {
        padding: 1.5rem;
    }
    
    .legal-point {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .point-icon {
        margin: 0 auto;
    }
    
    .disclaimer-point {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .legal-section {
        padding: 1rem;
    }
    
    .point-content h4 {
        font-size: 1.1rem;
    }
    
    .point-content p {
        font-size: 0.9rem;
    }
    
    .privacy-subsection {
        padding: 1.5rem;
    }
}

/* Enhanced Mobile Experience */
@media (max-width: 767.98px) {
    .legal-point:hover,
    .disclaimer-point:hover,
    .contact-item:hover {
        transform: none;
    }
    
    .legal-point:hover {
        background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    }
    
    .disclaimer-point:hover {
        background: linear-gradient(135deg, #fed7aa 0%, #fbbf24 100%);
    }
    
    .contact-item:hover {
        background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    }
}

/* Smooth Animations */
.legal-section {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Hover Effects */
.legal-point:hover .point-icon,
.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #E62A38, #dc3545);
    border-radius: 5px;
    border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #dc3545, #c82333);
}

/* Loading States */
.legal-section {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.legal-section:nth-child(1) { animation-delay: 0.1s; }
.legal-section:nth-child(2) { animation-delay: 0.2s; }
.legal-section:nth-child(3) { animation-delay: 0.3s; }
.legal-section:nth-child(4) { animation-delay: 0.4s; }

/* Focus States for Accessibility */
.legal-point:focus,
.disclaimer-point:focus,
.contact-item:focus {
    outline: 2px solid #E62A38;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .legal-hero {
        background: white !important;
        color: black !important;
        padding: 20px 0 !important;
        margin-top: 0 !important;
    }
    
    .legal-section {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        page-break-inside: avoid;
    }
    
    .point-icon,
    .contact-icon,
    .note-icon {
        background: #ccc !important;
        color: #333 !important;
    }
}
