/* home.css — estilos propios de la landing principal (/) */

/* ===================================================
   Hero visual — dos columnas
   =================================================== */
.hero--home {
    padding: 88px 0 96px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero--home::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -160px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary) 22%, transparent) 0%, transparent 70%);
    pointer-events: none;
}

.hero--home .hero__inner {
    max-width: none;
    display: flex;
    align-items: center;
    gap: 64px;
}

.hero__copy {
    flex: 1;
    min-width: 0;
}

.hero--home .hero__subtitle {
    margin-left: 0;
    margin-right: 0;
    max-width: 480px;
}

.hero--home .hero__actions {
    justify-content: flex-start;
}

.hero--home .hero__note {
    text-align: left;
}

/* Mockup de teléfono */
.hero__visual {
    flex-shrink: 0;
    width: 280px;
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-frame {
    width: 250px;
    border-radius: 36px;
    padding: 10px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow:
        0 24px 60px color-mix(in srgb, var(--primary) 18%, transparent),
        0 4px 16px rgba(0, 0, 0, 0.18);
}

.phone-frame img {
    display: block;
    width: 100%;
    border-radius: 28px;
    object-fit: cover;
}

.hero__visual-tag {
    position: absolute;
    bottom: 28px;
    left: -18px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
}

/* ===================================================
   Sección Producto propio
   =================================================== */
.product-section {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.product-card {
    display: flex;
    align-items: center;
    gap: 56px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    max-width: 940px;
    margin: 0 auto;
}

.product-card__phone {
    flex-shrink: 0;
    width: 190px;
}

.product-card__phone img {
    display: block;
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.product-card__content {
    flex: 1;
    min-width: 0;
}

.product-card__tag {
    display: inline-block;
    background-color: var(--accent-subtle);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.product-card__title {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: var(--text);
}

.product-card__text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 480px;
}

.product-card__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.product-card__meta .tech-pill {
    font-size: 12px;
    padding: 6px 14px;
}

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 900px) {
    .hero--home .hero__inner {
        gap: 40px;
    }

    .hero__visual {
        width: 220px;
    }

    .phone-frame {
        width: 200px;
    }

    .product-card {
        padding: 40px;
        gap: 40px;
    }

    .product-card__phone {
        width: 160px;
    }
}

@media (max-width: 760px) {
    .hero--home {
        text-align: center;
        padding: 64px 0 72px;
    }

    .hero--home .hero__inner {
        flex-direction: column;
        gap: 48px;
    }

    .hero--home .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero--home .hero__actions {
        justify-content: center;
    }

    .hero--home .hero__note {
        text-align: center;
    }

    .hero__visual-tag {
        left: 50%;
        transform: translateX(-50%);
        bottom: -16px;
    }

    .product-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
        gap: 32px;
    }

    .product-card__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .product-card__text {
        max-width: none;
    }

    .product-card__meta {
        justify-content: center;
    }

    .product-card__phone {
        width: 170px;
    }
}

/* ===================================================
   Footer links
   =================================================== */
.footer__links {
    display: flex;
    gap: 20px;
}

.footer__link:link,
.footer__link:visited {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer__link:hover,
.footer__link:active {
    color: var(--text);
}
