/* ==========================
   HERO - Dual Brand Identity with Real Contour Lines
========================== */

.hero{

    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2F6 100%);
    position: relative;
    overflow: hidden;

}

/* ============================================
   CONTOUR LINE BACKGROUND - VISIBLE IN HERO BACKGROUND
============================================ */

.hero-contours{

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.12; /* Visible but subtle */

}

.hero-contours svg{

    width: 100%;
    height: 100%;
    animation: contourFlow 25s ease-in-out infinite alternate;

}

@keyframes contourFlow{

    0%{
        transform: scale(1) rotate(0deg) translateX(0) translateY(0);
    }
    33%{
        transform: scale(1.02) rotate(1deg) translateX(1%) translateY(-1%);
    }
    66%{
        transform: scale(0.98) rotate(-0.5deg) translateX(-1%) translateY(1%);
    }
    100%{
        transform: scale(1) rotate(0deg) translateX(0.5%) translateY(-0.5%);
    }

}

/* ============================================
   HERO GRID LAYOUT
============================================ */

.hero-grid{

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;

}

/* ============================================
   HERO CONTENT
============================================ */

.hero-content{

    max-width: 600px;

}

.hero-badge{

    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 50px;
    color: var(--primary);
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.1);

}

.badge-dot{

    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    animation: pulse-dot 2s infinite;

}

@keyframes pulse-dot{

    0%, 100%{ opacity: 1; transform: scale(1); }
    50%{ opacity: .5; transform: scale(1.2); }

}

.hero h1{

    font-size: 4.2rem;
    line-height: 1.1;
    color: var(--secondary);

}

.hero h1 .highlight{

    color: var(--primary);
    position: relative;
    display: inline-block;

}

.hero h1 .highlight::after{

    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    opacity: 0.2;
    border-radius: 2px;

}

.hero p{

    margin: 1.8rem 0 2.5rem;
    font-size: 1.2rem;
    max-width: 500px;
    color: var(--text-light);

}

.hero-buttons{

    display: flex;
    gap: 1rem;

}

.hero-stats{

    display: flex;
    gap: 3rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);

}

.stat-item{

    display: flex;
    flex-direction: column;

}

.stat-number{

    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);

}

.stat-label{

    font-size: .9rem;
    color: var(--text-light);

}

/* ============================================
   HERO VISUAL - Clean Map (NO CONTOURS)
============================================ */

.hero-visual{

    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;

}

.map-placeholder{

    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    z-index: 3;

}

/* ============================================
   CLEAN MAP - NO CONTOURS, JUST GRID
============================================ */

.clean-map{

    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(180deg, 
        #f0f4f8 0%, 
        #e8edf3 30%, 
        #dfe6ee 60%, 
        #d5dde8 100%
    );

}

/* Simple grid - no contours */
.clean-map .map-grid{

    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;

}

/* ============================================
   URBAN PLANNING OVERLAY
============================================ */

.urban-overlay{

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;

}

/* City block grid */
.urban-grid{

    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;

}

.urban-dot{

    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 2px;
    opacity: 0.15;
    animation: float-dot 4s ease-in-out infinite;

}

.urban-dot:nth-child(2){

    animation-delay: 1.3s;
    width: 10px;
    height: 10px;
    background: var(--secondary);
    opacity: 0.1;

}

.urban-dot:nth-child(3){

    animation-delay: 2.5s;
    width: 4px;
    height: 4px;
    background: var(--primary-dark);
    opacity: 0.2;

}

.urban-dot:nth-child(4){

    animation-delay: 0.7s;
    width: 8px;
    height: 8px;
    background: var(--primary);
    opacity: 0.12;

}

@keyframes float-dot{

    0%, 100%{ transform: translateY(0) scale(1); }
    50%{ transform: translateY(-8px) scale(1.2); }

}

/* ============================================
   MAP PIN - Center Focus
============================================ */

.map-pin{

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    animation: float-pin 3s ease-in-out infinite;

}

@keyframes float-pin{

    0%, 100%{ transform: translate(-50%, -50%) translateY(0); }
    50%{ transform: translate(-50%, -50%) translateY(-10px); }

}

/* ============================================
   MAP DETAILS - Cartographic Elements
============================================ */

.map-coordinates{

    position: absolute;
    bottom: 12px;
    right: 16px;
    z-index: 3;
    font-family: 'Inter', monospace;
    font-size: 0.65rem;
    color: rgba(37, 99, 235, 0.4);
    letter-spacing: 0.5px;
    pointer-events: none;
    font-weight: 500;
    text-align: right;
    line-height: 1.5;

}

.map-scale{

    position: absolute;
    bottom: 12px;
    left: 16px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    opacity: 0.4;

}

.map-scale .scale-bar{

    width: 60px;
    height: 2px;
    background: var(--secondary);
    position: relative;

}

.map-scale .scale-bar::after{

    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 2px;
    height: 8px;
    background: var(--secondary);

}

.map-scale .scale-bar::before{

    content: '';
    position: absolute;
    top: -3px;
    right: 0;
    width: 2px;
    height: 8px;
    background: var(--secondary);

}

.map-scale .scale-label{

    font-size: 0.6rem;
    color: var(--text-light);
    font-weight: 500;

}