.features-section {
    padding: 80px 50px;
    box-sizing: border-box;
    background-color: #03070b;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: rgba(10, 17, 24, 0.5);
    border: 1px solid rgba(197, 168, 128, 0.1);
    padding: 40px 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(197, 168, 128, 0.05);
}

.card-num {
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-style: italic;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.map-section {
    padding: 80px 50px;
    box-sizing: border-box;
    background-color: #050b11;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    background: rgba(10, 17, 24, 0.4);
    border: 1px solid rgba(197, 168, 128, 0.2);
    box-sizing: border-box;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

#canvas-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light);
    font-size: 0.9rem;
    letter-spacing: 3px;
    font-weight: 400;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.8s ease;
}

@media (max-width: 768px) {
    .map-section {
        padding: 40px 20px;
    }
    .map-wrapper {
        height: 400px;
    }
}


.map-hud {
    position: absolute;
    z-index: 5;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-muted);
    font-size: 0.65rem;
    letter-spacing: 2px;
    pointer-events: none;
    text-transform: uppercase;
}

.hud-top-left {
    top: 30px;
    left: 30px;
    background: rgba(10, 17, 24, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 168, 128, 0.15);
    padding: 20px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.hud-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.6rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.hud-pulse {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--accent-color);
    animation: hudPulseAnim 2s infinite;
}

.hud-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--text-light);
    margin: 0 0 5px 0;
    letter-spacing: 1px;
    text-transform: none;
}

.hud-coords {
    margin: 0;
    color: var(--text-muted);
    font-weight: 400;
}

.hud-top-right {
    top: 30px;
    right: 30px;
    opacity: 0.5;
}

.hud-bottom-left {
    bottom: 30px;
    left: 30px;
    opacity: 0.5;
}

.hud-bottom-right {
    bottom: 30px;
    right: 30px;
    opacity: 0.5;
}

@keyframes hudPulseAnim {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(197, 168, 128, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(197, 168, 128, 0);
    }
}

@media (max-width: 768px) {
    .hud-top-left {
        top: 15px;
        left: 15px;
        padding: 12px 16px;
    }
    .hud-title {
        font-size: 0.95rem;
    }
    .hud-top-right, .hud-bottom-left, .hud-bottom-right {
        display: none;
    }
}

.cta-section {
    padding: 100px 50px;
    box-sizing: border-box;
    background-color: #03070b;
    display: flex;
    justify-content: center;
}

.cta-card {
    width: 100%;
    max-width: 1000px;
    background: radial-gradient(circle at top, #121820 0%, #080d13 100%);
    border: 1px solid rgba(197, 168, 128, 0.25);
    padding: 80px 40px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cta-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    margin: 0 0 25px 0;
    letter-spacing: 1px;
}

.cta-title span {
    font-style: italic;
    color: var(--accent-color);
}

.cta-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 45px auto;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.btn-cta-primary {
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: var(--bg-color);
    padding: 16px 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-cta-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.4);
}

.btn-cta-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 16px 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-cta-secondary:hover {
    border-color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 20px;
    }
    .cta-card {
        padding: 60px 20px;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .btn-cta-primary, .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
        box-sizing: border-box;
        text-align: center;
    }
}

.hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #050b11;
}

.parallax-layer {
    position: absolute;
    left: 0;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    will-change: transform;
}

.layer-sea {
    bottom: 0;
    top: auto;
    height: 65%;
    background-image: linear-gradient(to bottom, rgba(5, 11, 17, 1) 0%, rgba(5, 11, 17, 0.95) 15%, rgba(5, 11, 17, 0) 50%, rgba(5, 11, 17, 1) 100%),
                      url('/static/img/hero/sea.png');
    z-index: 2;
}

.layer-yacht {
    top: auto;
    bottom: 0;
    height: 35%;
    background-image: url('/static/img/hero/yacht.png');
    background-size: contain;
    background-position: center bottom;
    z-index: 3;
    filter: brightness(0.9) contrast(1.02);
}

.hero-content {
    position: relative;
    z-index: 10;
    margin-top: -8vh;
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 0 25px 0;
    letter-spacing: 1px;
    text-shadow: 0 4px 20px rgba(5, 11, 17, 0.9), 0 0 40px rgba(5, 11, 17, 0.6);
}

.hero-title span {
    font-style: italic;
    color: var(--accent-color);
}

.hero-desc {
    font-size: 1.15rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow:
        0 0 8px rgba(5, 11, 17, 1),
        0 2px 16px rgba(5, 11, 17, 1),
        0 4px 40px rgba(5, 11, 17, 1);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .hero-section {
        height: 75vh;
        background-image: linear-gradient(to bottom, rgba(5, 11, 17, 0.5) 0%, rgba(5, 11, 17, 0.95) 100%);
    }

}