/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background-color: rgba(10, 10, 10, 0.98);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #4a9eff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4a9eff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-button {
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-button.primary {
    background: #4a9eff;
    color: #fff;
}

.nav-button.primary:hover {
    background: #6bb0ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.nav-button.secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(74, 158, 255, 0.5);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Responsive Header */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }
    
    .nav-actions {
        display: none;
    }
}

/* Main Content */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.15) 0%, rgba(10, 10, 10, 0.95) 50%, rgba(74, 158, 255, 0.1) 100%);
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(74, 158, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search {
    margin-top: 2rem;
}

.hero-search-form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.search-label {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
}

.search-select {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.search-select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(74, 158, 255, 0.5);
}

.search-select:focus {
    outline: none;
    border-color: #4a9eff;
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.2);
}

.search-select option {
    background: #1a1a1a;
    color: #fff;
}

.search-button {
    padding: 0.75rem 2.5rem;
    background: #4a9eff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.search-button:hover {
    background: #6bb0ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

.search-button:active {
    transform: translateY(0);
}

@media screen and (max-width: 768px) {
    .hero-section {
        padding: 4rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .search-input-group {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .search-select {
        width: 100%;
        min-width: auto;
    }
    
    .search-button {
        width: 100%;
    }
    
    .search-label {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Features Section */
.features-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow: 0 10px 30px rgba(74, 158, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(74, 158, 255, 0.3);
}

.feature-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-cta {
    display: inline-block;
    color: #4a9eff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.feature-cta:hover {
    color: #6bb0ff;
}

@media screen and (max-width: 768px) {
    .features-section {
        padding: 3rem 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
}

/* Educational Section */
.educational-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #1a1a2e 0%, #0a0a0a 100%);
}

.educational-container {
    max-width: 1200px;
    margin: 0 auto;
}

.educational-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

.educational-intro {
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.educational-benefits {
    margin-bottom: 4rem;
}

.educational-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.educational-persuasive {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-style: italic;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 158, 255, 0.3);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.benefit-text {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

.usp-section {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.usp-list {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.usp-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.usp-check {
    color: #4a9eff;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.usp-content {
    color: #ccc;
    line-height: 1.7;
    font-size: 1.05rem;
}

.usp-content strong {
    color: #fff;
    font-weight: 600;
}

.educational-cta {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(74, 158, 255, 0.2);
}

.cta-text {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .educational-section {
        padding: 3rem 1.5rem;
    }
    
    .educational-main-title {
        font-size: 2rem;
    }
    
    .educational-intro {
        font-size: 1rem;
    }
    
    .educational-subtitle {
        font-size: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .usp-section {
        padding: 2rem 1.5rem;
    }
}

/* Trust Signals Section */
.trust-signals-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.05) 0%, rgba(10, 10, 10, 0.95) 100%);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.trust-badge {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 158, 255, 0.3);
    transform: translateY(-3px);
}

.badge-icon {
    font-size: 2.5rem;
    color: #4a9eff;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(74, 158, 255, 0.3);
}

.badge-content {
    flex: 1;
}

.badge-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.badge-text {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.trusted-by-section {
    text-align: center;
    margin-bottom: 4rem;
}

.trusted-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.trusted-subtitle {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.trusted-logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.trusted-logo-item:hover {
    opacity: 1;
}

.trusted-logo {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.trusted-logo-item:hover .trusted-logo {
    filter: grayscale(100%) brightness(0) invert(1) brightness(1.2);
}

.community-stats-preview {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-title {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #4a9eff;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media screen and (max-width: 768px) {
    .trust-signals-section {
        padding: 3rem 1.5rem;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
    }
    
    .trusted-title {
        font-size: 2rem;
    }
    
    .trusted-logos {
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
}

.testimonials-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow: 0 10px 30px rgba(74, 158, 255, 0.2);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-name {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author-role {
    color: #888;
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 1.5rem;
    }
    
    .testimonials-title {
        font-size: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
}

/* Map Section */
.map-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 600px;
    overflow: hidden;
}

.map-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Leaflet map container */
#mapContainer {
    width: 100%;
    height: 100%;
}

/* Hide Leaflet attribution control for cleanliness */
.leaflet-control-attribution {
    display: none !important;
}

/* Marker cluster styling with CocoaHub logo */
.marker-cluster {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

.marker-cluster-small {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

.marker-cluster-medium {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

.marker-cluster-large {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

.marker-cluster div {
    background-image: url('/img/cocohub_logo_heart_64.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent !important;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 1;
    box-shadow: none !important;
}

.marker-cluster-small div {
    width: 40px;
    height: 40px;
    font-size: 12px;
    line-height: 1;
}

.marker-cluster-medium div {
    width: 50px;
    height: 50px;
    font-size: 14px;
    line-height: 1;
}

.marker-cluster-large div {
    width: 60px;
    height: 60px;
    font-size: 16px;
    line-height: 1;
}

/* Custom marker styles */
.space-marker,
.space-marker-logo {
    background: transparent;
    border: none;
}

.marker-pin {
    cursor: pointer;
    transition: transform 0.2s;
}

.marker-pin:hover {
    transform: scale(1.2);
}

.marker-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.marker-logo-container:hover {
    transform: scale(1.15);
}

.marker-logo-container img {
    display: block;
    cursor: pointer;
}

/* Leaflet popup customization */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    padding: 0;
}

.leaflet-popup-content {
    margin: 0;
    padding: 15px;
    min-width: 200px;
}

.popup-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.popup-logo {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
}

.popup-body {
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.6;
}

.popup-body div {
    margin: 5px 0;
}

.popup-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.popup-link {
    color: #4a9eff;
    text-decoration: none;
    font-size: 13px;
}

.popup-link:hover {
    text-decoration: underline;
}

.popup-link.instagram {
    color: #e4405f;
}

/* Globe Controls */
.globe-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.control-btn {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.control-btn:active {
    transform: scale(0.95);
}

/* Node Popup Modal */
.node-popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.node-popup.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #ff4444;
}

.popup-content h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.5rem;
}

.popup-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.popup-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.popup-content p {
    color: #666;
    line-height: 1.8;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Continent Filter Section */
/* Dashboard Section */
.dashboard-section {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.1) 0%, rgba(10, 10, 10, 0.9) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    max-width: 600px;
    margin: 0 auto;
}

.dashboard-card:hover {
    border-color: rgba(74, 158, 255, 0.5);
    box-shadow: 0 12px 40px rgba(74, 158, 255, 0.2);
    transform: translateY(-2px);
}

.dashboard-icon {
    font-size: 3.5rem;
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(74, 158, 255, 0.5));
}

.dashboard-content {
    flex: 1;
}

.dashboard-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.dashboard-count {
    color: #4a9eff;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(74, 158, 255, 0.5);
}

.dashboard-scope {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 500;
}

.continent-filter-section {
    padding: 2rem;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.continent-filter-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.continent-filter-label {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.continent-select {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.continent-select:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(74, 158, 255, 0.3);
}

.continent-select:focus {
    outline: none;
    border-color: #4a9eff;
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.2);
}

.continent-select option {
    background-color: #1a1a2e;
    color: #fff;
}

.continent-select .continent-option {
    font-weight: bold;
    background-color: rgba(74, 158, 255, 0.2);
    padding: 0.5rem;
}

.continent-select .country-option {
    padding-left: 2rem;
}

/* Spaces Grid Section */
.spaces-section {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #1a1a2e 0%, #0a0a0a 100%);
    min-height: 100vh;
}

.spaces-container {
    max-width: 1400px;
    margin: 0 auto;
}

.spaces-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 600;
}

.spaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0;
}

.space-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.space-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow: 0 10px 30px rgba(74, 158, 255, 0.2);
}

.space-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.space-logo-container {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.space-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.space-header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.space-name {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.space-country {
    background: rgba(74, 158, 255, 0.2);
    color: #4a9eff;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.space-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}

.space-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ccc;
    font-size: 0.9rem;
}

.info-label {
    color: #888;
    font-weight: 500;
}

.info-value {
    color: #fff;
    font-weight: 600;
}

.space-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
    align-self: flex-start;
}

.space-badge.hybrid {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.space-card-footer {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.space-link {
    color: #4a9eff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.space-link:hover {
    color: #6bb3ff;
    text-decoration: underline;
}

.space-link.instagram {
    color: #e4405f;
}

.space-link.instagram:hover {
    color: #ff6b8a;
}

/* Placeholder styles for missing data */
.space-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 158, 255, 0.2);
    color: #4a9eff;
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 10px;
    text-transform: uppercase;
}

.space-country-placeholder {
    opacity: 0.5;
    font-style: italic;
}

.info-value-placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
    font-style: italic;
    font-weight: 400;
}

.space-link-placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    font-style: italic;
}

/* Responsive Spaces Grid */
@media screen and (max-width: 768px) {
    .dashboard-section {
        padding: 1.5rem 1rem;
    }
    
    .dashboard-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .dashboard-icon {
        font-size: 2.5rem;
    }
    
    .dashboard-count {
        font-size: 2rem;
    }
    
    .spaces-section {
        padding: 3rem 1rem;
    }

    .spaces-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .spaces-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .space-card {
        padding: 1.25rem;
    }
}

/* Responsive Map */
@media screen and (max-width: 768px) {
    .map-section {
        height: 60vh;
        min-height: 400px;
        max-height: 600px;
    }

    .globe-controls {
        top: 10px;
        right: 10px;
    }

    .control-btn {
        padding: 10px 12px;
        font-size: 1rem;
    }

    .popup-content {
        padding: 1.5rem;
        max-width: 90%;
    }
}

@media screen and (max-width: 480px) {
    .map-section {
        height: 50vh;
        min-height: 350px;
    }
}

/* Side Panel Styles */
.side-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.side-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 450px;
    max-width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    z-index: 2001;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.side-panel.active {
    transform: translateX(0);
}

.side-panel-header {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
}

.side-panel-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.side-panel-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ff4444;
    transform: rotate(90deg);
}

.side-panel-content {
    flex: 1;
    padding: 0;
    overflow-y: auto;
}

.side-panel-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    min-height: 200px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #4a9eff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.side-panel-body {
    padding: 2rem;
}

.side-panel-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-panel-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.side-panel-title {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.side-panel-location {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.location-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.location-item:last-child {
    border-bottom: none;
}

.location-label {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-value {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.side-panel-meta {
    margin-bottom: 2rem;
}

.side-panel-section-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(74, 158, 255, 0.3);
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 158, 255, 0.3);
}

.meta-label {
    color: #888;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.badge-hybrid {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

.side-panel-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.cta-telegram:hover {
    background: linear-gradient(135deg, #0099dd 0%, #0077aa 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.cta-explore {
    background: linear-gradient(135deg, #4a9eff 0%, #2d7fd8 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

.cta-explore:hover {
    background: linear-gradient(135deg, #6bb0ff 0%, #4a9eff 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

.cta-explore.disabled {
    background: rgba(255, 255, 255, 0.1);
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
}

.cta-explore.disabled:hover {
    transform: none;
    box-shadow: none;
}

.side-panel-links {
    margin-bottom: 2rem;
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(74, 158, 255, 0.3);
    transform: translateX(4px);
}

.link-item svg {
    flex-shrink: 0;
    color: #4a9eff;
}

.side-panel-placeholders {
    margin-top: 2rem;
}

.placeholder-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.placeholder-text {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
    text-align: center;
}

/* Responsive Side Panel */
@media screen and (max-width: 1024px) {
    .side-panel {
        width: 75%;
    }
}

@media screen and (max-width: 768px) {
    .side-panel {
        width: 100%;
    }
    
    .side-panel-body {
        padding: 1.5rem;
    }
    
    .side-panel-title {
        font-size: 1.5rem;
    }
    
    .meta-grid {
        grid-template-columns: 1fr;
    }
    
    .side-panel-logo {
        width: 60px;
        height: 60px;
    }
}

@media screen and (max-width: 480px) {
    .side-panel-body {
        padding: 1rem;
    }
    
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced Responsive Design */
@media screen and (max-width: 1024px) {
    .space-name-hero {
        font-size: 2.5rem;
    }
    
    .space-location-hero {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .space-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .space-logo-hero {
        width: 150px;
        height: 150px;
    }
    
    .space-name-hero {
        font-size: 2rem;
    }
    
    .space-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .description-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .amenities-list {
        grid-template-columns: 1fr;
    }
    
    .visa-info-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .space-hero-content {
        padding: 1rem;
    }
    
    .space-logo-hero {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }
    
    .space-name-hero {
        font-size: 1.75rem;
    }
    
    .space-location-hero {
        font-size: 1rem;
    }
    
    .space-section {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .description-card {
        padding: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .visa-card {
        padding: 1.5rem;
    }
}

/* Loading States */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Lazy Loading for Cards */
.lazy-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lazy-card.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Lazy loading for images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Enhanced Transitions */
* {
    transition-property: color, background-color, border-color, transform, opacity, box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #4a9eff;
    outline-offset: 2px;
}

/* Footer Styles */
.footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Newsletter Section */
.footer-newsletter {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.newsletter-text {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #4a9eff;
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.2);
}

.newsletter-input::placeholder {
    color: #888;
}

.newsletter-button {
    padding: 1rem 2rem;
    background: #4a9eff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-button:hover {
    background: #6bb0ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

/* Footer Links Section */
.footer-links-section {
    margin-bottom: 3rem;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-column-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #4a9eff;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #4a9eff;
}

.social-icon {
    font-size: 1.2rem;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright {
    color: #888;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-legal-link {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: #4a9eff;
}

.footer-separator {
    color: #888;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Featured In Section */
.featured-section {
    text-align: center;
    padding: 2rem 0;
}

.featured-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.featured-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.featured-logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.featured-logo-item:hover {
    opacity: 1;
}

.featured-logo {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.featured-logo-item:hover .featured-logo {
    filter: grayscale(100%) brightness(0) invert(1) brightness(1.2);
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
    .footer {
        padding: 2rem 1rem;
    }
    
    .featured-logos {
        gap: 2rem;
    }
    
    .featured-logo {
        max-width: 100px;
        max-height: 50px;
    }
    
    .featured-logo-item {
        height: 50px;
    }
}

@media screen and (max-width: 480px) {
    .featured-logos {
        gap: 1.5rem;
    }
    
    .featured-logo {
        max-width: 80px;
        max-height: 40px;
    }
    
    .featured-logo-item {
        height: 40px;
    }
    
    .featured-title {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .side-panel,
    .action-button {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
}
