/* Legal Pages Styles - Privacy Policy & Terms and Conditions */

:root {
    --indigo: #2F3C7E;
    --soft-yellow: #FFC72C;
    --white: #FFFFFF;
    --dark-grey: #2B2B2B;
    --light-grey: #f8f9fa;
}

.legal-page-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px 60px;
    position: relative;
}

.legal-page-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.legal-page-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.legal-page-header {
    background: linear-gradient(135deg, var(--indigo) 0%, #4a5a9e 100%);
    padding: 50px 40px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.legal-page-header i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.legal-page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.last-updated {
    font-size: 0.95rem;
    opacity: 0.85;
    margin: 0;
}

/* Content */
.legal-page-content {
    padding: 50px 60px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    text-align: center;
}

/* Sections */
.legal-section {
    margin-bottom: 50px;
    position: relative;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--soft-yellow) 0%, #e6b325 100%);
    color: var(--indigo);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(255, 199, 44, 0.3);
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--indigo);
    margin-bottom: 20px;
    line-height: 1.3;
}

.legal-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--indigo);
    margin-top: 25px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section h3 i {
    color: var(--soft-yellow);
    font-size: 1.2rem;
}

.legal-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--indigo);
    margin-bottom: 10px;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.legal-section ul li {
    padding: 10px 0 10px 35px;
    position: relative;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.legal-section ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--soft-yellow);
    font-size: 0.9rem;
}

.legal-section ul li i {
    margin-right: 8px;
    color: var(--soft-yellow);
}

/* Info Cards */
.info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--light-grey);
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid var(--soft-yellow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-card-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--soft-yellow) 0%, #e6b325 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card-icon i {
    font-size: 1.8rem;
    color: var(--indigo);
}

.info-card-content h4 {
    margin: 0 0 8px 0;
    color: var(--indigo);
}

.info-card-content p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* Highlight Boxes */
.highlight-box {
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.highlight-box h4 {
    color: #1976D2;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-box h4 i {
    color: #2196F3;
}

.highlight-box p {
    margin: 0;
    color: #555;
}

.highlight-box.warranty-highlight {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border-left: 4px solid var(--soft-yellow);
}

.highlight-box.warranty-highlight h4 {
    color: var(--indigo);
}

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.warning-box i {
    font-size: 1.5rem;
    color: #ff9800;
    flex-shrink: 0;
    margin-top: 3px;
}

.warning-box p {
    margin: 0;
    color: #856404;
}

/* Note Text */
.note-text {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #6c757d;
    font-size: 0.95rem;
    color: #555;
    font-style: italic;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.right-item {
    text-align: center;
    padding: 25px;
    background: var(--light-grey);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.right-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.right-item i {
    font-size: 2.5rem;
    color: var(--soft-yellow);
    margin-bottom: 15px;
}

.right-item h4 {
    color: var(--indigo);
    margin: 10px 0;
}

.right-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.service-category {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.service-category:hover {
    border-color: var(--soft-yellow);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-category i {
    font-size: 2.5rem;
    color: var(--soft-yellow);
    margin-bottom: 15px;
}

.service-category h4 {
    color: var(--indigo);
    margin: 10px 0;
    font-size: 1.1rem;
}

.service-category p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Contact Section */
.contact-section {
    background: var(--light-grey);
    padding: 40px;
    border-radius: 16px;
    margin-top: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--soft-yellow);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--indigo);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}

/* Footer */
.legal-page-footer {
    background: var(--light-grey);
    padding: 40px;
    text-align: center;
    border-top: 3px solid var(--soft-yellow);
}

.legal-page-footer p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
}

.btn-back-home {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--soft-yellow) 0%, #e6b325 100%);
    color: var(--indigo);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 199, 44, 0.3);
}

.btn-back-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 199, 44, 0.4);
    color: var(--indigo);
    text-decoration: none;
}

/* Links */
.legal-page-content a {
    color: #2196F3;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-page-content a:hover {
    color: #1976D2;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .legal-page-content {
        padding: 40px 40px;
    }

    .legal-page-header h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .rights-grid,
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .legal-page-section {
        padding: 60px 15px 40px;
    }

    .legal-page-header {
        padding: 40px 25px;
    }

    .legal-page-header i {
        font-size: 50px;
    }

    .legal-page-header h1 {
        font-size: 1.75rem;
    }

    .legal-page-content {
        padding: 30px 25px;
    }

    .intro-text {
        font-size: 1rem;
    }

    .section-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .legal-section h2 {
        font-size: 1.4rem;
    }

    .legal-section h3 {
        font-size: 1.15rem;
    }

    .info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .rights-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding: 30px 20px;
    }

    .legal-page-footer {
        padding: 30px 20px;
    }
}

@media (max-width: 575.98px) {
    .legal-page-header {
        padding: 30px 20px;
    }

    .legal-page-header i {
        font-size: 40px;
    }

    .legal-page-header h1 {
        font-size: 1.5rem;
    }

    .legal-page-content {
        padding: 25px 20px;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .info-card-icon {
        width: 50px;
        height: 50px;
    }

    .info-card-icon i {
        font-size: 1.5rem;
    }

    .btn-back-home {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}
