/* ══════════════════════════════════════════════════════
   CURADA Landing V2 — Layout & Component Overrides
   Complementa landing.css sin romper estilos existentes
══════════════════════════════════════════════════════ */

/* ── Global page wrapper ── */
.landing-body {
    overflow-x: hidden;
}

/* ── Shared container ── */
.lv2-container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ══════════ HERO ══════════ */
.lv2-hero {
    padding-top: 140px;
    padding-bottom: 80px;
    width: 100%;
}

.lv2-hero .lv2-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
    text-align: center;
}

/* Left col: copy -> now Center col */
.lv2-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
}

.lv2-hero-copy .pill-badge { margin-bottom: 28px; }
.lv2-hero-copy .hero-headline { 
    font-size: clamp(3rem, 6vw, 5.5rem); 
    text-align: center; 
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 800;
}
.lv2-hero-copy .hero-description { 
    text-align: center; 
    max-width: 650px; 
    margin: 24px 0 40px; 
    font-size: 1.15rem;
}

/* CTA row */
.lv2-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.lv2-btn-sec {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(74,144,217,0.35);
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--secondary-accent);
    transition: var(--transition);
    background: rgba(74,144,217,0.05);
}
.lv2-btn-sec:hover {
    background: rgba(74,144,217,0.12);
    border-color: var(--secondary-accent);
    box-shadow: 0 0 20px rgba(74,144,217,0.2);
}

.lv2-btn-ghost {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--surface-border);
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-secondary);
    transition: var(--transition);
    background: rgba(255,255,255,0.03);
}
.lv2-btn-ghost:hover {
    border-color: rgba(255,255,255,0.2);
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
}

/* Right col: UI visual -> now Bottom visual */
.lv2-hero-visual {
    position: relative;
    height: 500px;
    width: 100%;
    max-width: 1100px;
    perspective: 1200px;
}

.lv2-hero-visual .ui-glassmorphism {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    transform: rotateX(5deg) scale(1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.lv2-hero-visual:hover .ui-glassmorphism {
    transform: rotateX(0deg) scale(1.02);
}

/* UI body inside hero widget */
.lv2-ui-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 28px 28px;
    height: calc(100% - 44px);
    align-items: center;
}

.lv2-eco-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--secondary-accent);
    font-family: var(--font-display);
    margin-bottom: 16px;
}

.lv2-eco-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

/* Stats col inside widget */
.lv2-stats-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lv2-ring-wrap {
    position: relative;
    width: 100px;
    height: 100px;
}

.lv2-ring-wrap .ring-svg {
    width: 100%;
    height: 100%;
}

.lv2-mini-row {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Status indicator */
.lv2-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #10b981;
    font-weight: 600;
}
.status-dot {
    width: 6px; height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 5px #10b981;
    animation: pulse 2s infinite;
}

/* ══════════ STATS BAR ══════════ */
.lv2-stats-bar {
    background: var(--bg-surface);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}
.lv2-stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(244,123,32,0.03) 50%, transparent);
    pointer-events: none;
}

.lv2-stats-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
}

.lv2-stat {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.lv2-stat-divider {
    width: 1px;
    height: 48px;
    background: var(--surface-border);
    flex-shrink: 0;
}

/* Inherit stat-num / stat-lbl / stat-suffix from landing.css */

/* ══════════ BENTO & SECTIONS ══════════ */
.bento-section .lv2-container,
.how-it-works .lv2-container {
    padding-top: 0;
    padding-bottom: 0;
}

.bento-section {
    padding: 80px 0;
}

.how-it-works {
    padding: 100px 0;
}

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 900px) {
    .lv2-hero .lv2-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .lv2-hero-copy {
        align-items: center;
        text-align: center;
    }
    .lv2-hero-copy .hero-headline,
    .lv2-hero-copy .hero-description { text-align: center; }
    .lv2-hero-copy .hero-description { max-width: 100%; }

    .lv2-cta-row {
        justify-content: center;
    }

    .lv2-hero-visual {
        height: 300px;
        width: 100%;
    }

    .lv2-stats-inner {
        flex-wrap: wrap;
        gap: 28px;
        justify-content: center;
    }
    .lv2-stat { flex: 0 0 40%; }
    .lv2-stat-divider { display: none; }

    .bento-grid { grid-template-columns: 1fr !important; }
    .grid-3 { grid-template-columns: 1fr !important; }

    .lv2-container { padding: 0 20px; }
    .lv2-hero { padding-top: 110px; padding-bottom: 48px; }
}

@media (max-width: 600px) {
    .lv2-ui-body { grid-template-columns: 1fr; }
    .lv2-stats-col { display: none; }
    .lv2-stat { flex: 0 0 45%; }
}
