/* ============================================================
   MOYSIZ Landing Page Styles
   Public Showcase and Conversion Design
   ============================================================ */

/* ---------- Hero Section ---------- */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: var(--sp-20) var(--sp-8);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.15), transparent 40%),
                radial-gradient(circle at 20% 70%, rgba(99, 102, 241, 0.15), transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
    align-items: center;
    max-width: var(--content-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: var(--fs-hero);
    line-height: 1.1;
    margin-bottom: var(--sp-6);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: var(--sp-10);
    max-width: 600px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.mockup-container {
    width: 300px;
    height: 600px;
    background: #000;
    border: 8px solid #1a1d2e;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    position: relative;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    padding: var(--sp-6);
    display: flex;
    flex-direction: column;
}

/* ---------- Stats Section ---------- */
.stats-section {
    padding: var(--sp-16) var(--sp-8);
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-8);
    max-width: var(--content-max-width);
    margin: 0 auto;
    text-align: center;
}

.stat-item .stat-value {
    font-size: 3rem;
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--sp-2);
}

.stat-item .stat-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: var(--fs-micro);
}

/* ---------- How It Works ---------- */
.how-it-works {
    padding: var(--sp-24) var(--sp-8);
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-10);
    margin-top: var(--sp-16);
    position: relative;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-6);
    font-size: 32px;
    color: var(--accent-primary);
    transition: var(--transition-all);
}

.step-card:hover .step-icon {
    transform: scale(1.1);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

/* ---------- Coverage Map ---------- */
.map-section {
    padding: var(--sp-24) var(--sp-8);
    background: radial-gradient(circle at center, #11131f 0%, #0a0c14 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.map-mesh-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    opacity: 0.5;
    animation: mesh-drift 20s linear infinite;
}

@keyframes mesh-drift {
    from { background-position: 0 0; }
    to { background-position: 50px 50px; }
}

.map-container {
    max-width: 1000px;
    margin: var(--sp-12) auto 0;
    position: relative;
    z-index: 1;
}

.uz-map-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.2));
    transition: var(--duration-slow);
}

/* Hotspots */
.map-hotspot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    transform: translate(-50%, -50%);
    transition: var(--transition-all);
}

.map-hotspot::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0.4;
    animation: hotspot-pulse 2s infinite;
}

@keyframes hotspot-pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(2.5); opacity: 0; }
}

.map-hotspot:hover {
    background: white;
    box-shadow: 0 0 20px white;
    transform: translate(-50%, -50%) scale(1.5);
}

/* Detail Cards */
.map-detail-card {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 180px;
    background: rgba(10, 12, 20, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--sp-4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-all);
    pointer-events: none;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10;
}

.map-hotspot:hover .map-detail-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.map-detail-card h4 {
    font-size: var(--fs-small);
    color: var(--text-primary);
    margin-bottom: 4px;
}

.map-detail-card p {
    font-size: var(--fs-micro);
    color: var(--text-secondary);
    margin: 0;
}

.map-detail-card .stat {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Specific Positions - Aligned to Uzbekistan map outline */
.hotspot-nukus         { top: 32%; left: 23%; }
.hotspot-xorazm        { top: 47%; left: 25%; }
.hotspot-navoi         { top: 51%; left: 46%; }
.hotspot-bukhara       { top: 57%; left: 41%; }
.hotspot-samarkand     { top: 58%; left: 55%; }
.hotspot-qashqadaryo   { top: 67%; left: 50%; }
.hotspot-jizzax        { top: 52%; left: 60%; }
.hotspot-sirdaryo      { top: 48%; left: 64%; }
.hotspot-tashkent-vil  { top: 41%; left: 67%; }
.hotspot-tashkent-city { top: 44%; left: 71%; }
.hotspot-namangan      { top: 48%; left: 76%; }
.hotspot-andijan       { top: 52%; left: 82%; }
.hotspot-fergana       { top: 56%; left: 78%; }

.map-overlay-text {
    position: absolute;
    bottom: var(--sp-8);
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    color: white;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
    letter-spacing: 0.2em;
    pointer-events: none;
    opacity: 0.6;
    text-transform: uppercase;
}

/* ---------- Features ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
    padding: var(--sp-16) 0;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: var(--sp-20) var(--sp-8);
    background: var(--bg-secondary);
}

.testimonial-card {
    height: 100%;
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--sp-6);
    font-size: 1.1rem;
}

/* ---------- FAQ ---------- */
.faq-section {
    padding: var(--sp-20) var(--sp-8);
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--sp-4);
    border-bottom: 1px solid var(--border-default);
}

.faq-trigger {
    width: 100%;
    padding: var(--sp-6) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-bottom: 0;
}

.faq-item.active .faq-content {
    max-height: 200px;
    padding-bottom: var(--sp-6);
}

/* ---------- Footer ---------- */
.landing-footer {
    padding: var(--sp-20) var(--sp-8) var(--sp-10);
    border-top: 1px solid var(--border-default);
    background: #05060a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-12);
    max-width: var(--content-max-width);
    margin: 0 auto;
}

/* ---------- Mobile Responsive ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
