/* Import base styles */
@import url('index.css');

/* Page Hero */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 140px 0 100px;
    text-align: center;
    color: white;
    overflow: hidden;
}

.page-hero::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;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #f7fafc);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content */
.page-content {
    padding: 80px 0;
    background: #f7fafc;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #667eea;
}

.legal-section h3 {
    font-size: 1.5rem;
    color: #4a5568;
    margin: 2rem 0 1rem;
}

.legal-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.2rem;
}

.legal-section ul {
    margin: 1rem 0 1.5rem 2rem;
}

.legal-section li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 0.8rem;
}

.legal-section a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-section strong {
    color: #2d3748;
    font-weight: 600;
}

.legal-section em {
    display: block;
    padding: 1.5rem;
    background: #f7fafc;
    border-left: 4px solid #667eea;
    border-radius: 8px;
    margin-top: 2rem;
    font-style: normal;
    color: #4a5568;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 70px;
    }

    .page-hero h1 {
        font-size: 2.5rem;
        letter-spacing: -0.5px;
    }

    .legal-content {
        padding: 2rem;
    }

    .legal-section h2 {
        font-size: 1.6rem;
    }

    .legal-section h3 {
        font-size: 1.3rem;
    }

    .legal-section ul {
        margin-left: 1.5rem;
    }
}
/* Mobile-only elements - hidden on desktop */
.mobile-menu-brand,
.mobile-search-wrapper {
    display: none;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    /* Mobile-only elements - show on mobile */
    .mobile-menu-brand,
    .mobile-search-wrapper {
        display: block;
    }
    
    /* Mobile Menu Brand */
    .mobile-menu-brand {
        position: relative;
        z-index: 5;
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 30px 25px 20px;
        animation: fadeInLeft 0.5s ease 0.1s backwards;
    }
    
    .mobile-menu-brand .logo-icon {
        width: 55px;
        height: 55px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.6rem;
    }
    
    .mobile-menu-brand .logo-content {
        color: white;
    }
    
    .mobile-menu-brand .logo-name {
        font-size: 1.4rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        display: block;
    }
    
    .mobile-menu-brand .logo-tagline {
        opacity: 0.9;
        font-size: 0.8rem;
        display: block;
    }
    
    /* Mobile Search */
    .mobile-search-wrapper {
        position: relative;
        z-index: 5;
        margin: 0 25px 30px;
        animation: fadeInUp 0.5s ease 0.2s backwards;
    }
    
    .mobile-search-form {
        display: flex;
        align-items: center;
        background: white;
        border-radius: 16px;
        padding: 14px 20px;
        gap: 15px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }
    
    .mobile-search-form:focus-within {
        border-color: #667eea;
        box-shadow: 0 8px 30px rgba(102, 126, 234, 0.25);
        transform: translateY(-2px);
    }
    
    .mobile-search-form i {
        color: #667eea;
        font-size: 1.2rem;
    }
    
    .mobile-search-form input {
        flex: 1;
        border: none;
        background: transparent;
        padding: 0;
        font-size: 1rem;
        color: #2d3748;
    }
    
    .mobile-search-form input:focus {
        outline: none;
    }
    
    .mobile-search-form input::placeholder {
        color: #718096;
    }
    
    /* Animations */
    @keyframes fadeInLeft {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
/* Newsletter Success Modal */
.newsletter-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.newsletter-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.newsletter-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease;
    overflow: hidden;
}

.newsletter-modal-header {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    text-align: center;
    color: white;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: successPulse 0.6s ease;
}

.success-icon i {
    color: #4ade80;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.newsletter-modal-body {
    padding: 2rem;
    text-align: center;
}

.newsletter-modal-body h3 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 700;
}

.newsletter-modal-body p {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.modal-features {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
}

.modal-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.modal-feature i {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.modal-feature span {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 600;
    text-align: center;
}

.modal-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

.modal-btn i {
    font-size: 1rem;
}

/* Animations */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .newsletter-modal-content {
        margin: 1rem;
        border-radius: 16px;
    }
    
    .newsletter-modal-header {
        padding: 1.5rem;
    }
    
    .success-icon {
        font-size: 3rem;
    }
    
    .newsletter-modal-body {
        padding: 1.5rem;
    }
    
    .newsletter-modal-body h3 {
        font-size: 1.5rem;
    }
    
    .modal-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-feature {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    
    .modal-feature i {
        margin-bottom: 0;
        margin-right: 0.5rem;
    }
}
/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}