/* ================= RESET BÁSICO ================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f3f4f6;
    color: #111827;
}

/* ================= HEADER ================= */
header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
}

.logo {
    font-weight: 700;
    font-size: 20px;
    color: #111827;
}

.logo span {
    color: #8b5cf6;
}

header nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

header nav a {
    text-decoration: none;
    font-size: 14px;
    color: #374151;
}

header nav a:hover {
    color: #111827;
}

.creator-btn {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #8b5cf6;
    color: #8b5cf6;
    font-weight: 600;
    text-decoration: none;
}

.creator-btn:hover {
    background: #8b5cf6;
    color: #ffffff;
}

/* ================= HERO ================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: 60px 40px 80px;
}

.hero-with-image {
    min-height: 380px;
}

/* Fondo degradado del hero */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(110, 0, 255, 0.32), transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 140, 0.28), transparent 60%),
        linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

/* Contenido principal del hero */
.hero-inner-img {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

/* Columna izquierda (texto) */
.hero-left {
    flex: 1.2;
    color: #f9fafb;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.4);
    border: 1px solid rgba(249, 250, 251, 0.18);
    color: #e5e7eb;
    font-size: 13px;
    margin-right: 8px;
    margin-bottom: 6px;
}

.hero-left h1 {
    font-size: 48px;
    line-height: 1.15;
    margin: 14px 0 12px;
}

.hero-left .sub {
    font-size: 18px;
    color: #e5e7eb;
    max-width: 540px;
}

/* Botones del hero */
.hero-buttons {
    margin-top: 20px;
    margin-bottom: 24px; /* espacio con las categorías */
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn.purple {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
    box-shadow: 0 18px 45px rgba(139, 92, 246, 0.55);
}

.btn.purple:hover {
    opacity: 0.95;
}

.btn.outline {
    background: transparent;
    border: 1px solid rgba(249, 250, 251, 0.6);
    color: #f9fafb;
}

.btn.outline:hover {
    background: rgba(17, 24, 39, 0.45);
}

/* Chips de categorías debajo de los botones */
.hero-cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-cats span {
    font-size: 13px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.6);
    color: #e5e7eb;
}

/* Columna derecha (imagen tipo tarjeta) */

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-phone {
    width: 260px;
    max-width: 100%;
    border-radius: 32px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(249, 250, 251, 0.7);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.7);
}

.hero-phone img {
    width: 100%;
    height: 360px;
    border-radius: 26px;
    object-fit: cover;
    display: block;
    filter: none !important; /* que NO se vea borrosa esta */
}

/* ================= FOTO TIPO INSTAGRAM ================= */

.featured-instagram {
    max-width: 960px;
    margin: 40px auto 10px;
    padding: 0 16px;
    text-align: center;
}

.featured-instagram h2 {
    font-size: 26px;
    margin-bottom: 6px;
}

.featured-sub {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 18px;
}

.insta-wrapper {
    max-width: 380px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 4px;
    background: radial-gradient(circle at 0 0, #f97316, transparent 55%),
                radial-gradient(circle at 100% 100%, #ec4899, transparent 55%),
                #111827;
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.35);
}

.insta-photo {
    width: 100%;
    border-radius: 20px;
    display: block;
    object-fit: cover;
}

/* blur fuerte solo aquí */
.blur-strong {
    filter: blur(7px);
}

/* ================= CATEGORÍAS ================= */

.categories {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 16px;
    text-align: center;
}

.categories h2 {
    font-size: 26px;
    margin-bottom: 8px;
}

.categories-sub {
    font-size: 16px;
    color: #4b5563;
    max-width: 640px;
    margin: 0 auto 24px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.cat-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 16px 18px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.cat-icon {
    font-size: 22px;
    margin-bottom: 6px;
}

.cat-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.cat-card p {
    font-size: 14px;
    color: #4b5563;
}

.categories-note {
    margin-top: 16px;
    font-size: 16px;
    color: #6b7280;
}

/* ================= CÓMO FUNCIONA ================= */

.how {
    max-width: 960px;
    margin: 30px auto 40px;
    padding: 0 16px;
    text-align: center;
}

.how h2 {
    font-size: 26px;
    margin-bottom: 6px;
}

.how-sub {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 18px;
}

.how-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.how-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    text-align: left;
}

.how-box h3 {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 700;
}

.how-box ul {
    margin-top: 12px;
    padding-left: 18px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.5;
}

.how-box ul li {
    margin-bottom: 6px;
}

/* numerito redondo dentro de how-box */
.num {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #8b5cf6;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

/* ================= CONTACTO ================= */

.contact-home {
    max-width: 960px;
    margin: 30px auto 40px;
    padding: 20px 16px 26px;
    text-align: center;
    background: #111827;
    color: #e5e7eb;
    border-radius: 18px;
}

.contact-home h2 {
    font-size: 26px;
    margin-bottom: 6px;
}

.contact-home p {
    font-size: 16px;
}

.contact-mail {
    font-size: 18px;
    font-weight: 700;
    margin-top: 6px;
}

.contact-note {
    margin-top: 4px;
    font-size: 14px;
    color: #9ca3af;
}

/* ================= FOOTER ================= */

footer {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    padding: 18px 16px 22px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    header {
        padding: 12px 18px;
    }

    .hero {
        padding: 40px 18px 50px;
    }

    .hero-inner-img {
        flex-direction: column;
        text-align: center;
    }

    .hero-left {
        order: 1;
    }

    .hero-right {
        order: 0;
        margin-bottom: 16px;
    }

    .hero-left .sub {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-cats {
        justify-content: center;
    }

    .hero-phone img {
        height: 320px;
    }

    .how-box {
        text-align: left;
    }
}
