﻿:root {
    --orange-1: #ff3d00;
    --orange-2: #ff5100;
    --orange-3: #ff6a14;
    --orange-4: #ff8a1f;
    --orange-soft: #ffe6da;
    --black: #151515;
    --text: #242424;
    --muted: #565656;
    --white: #ffffff;
    --footer: #181818;
    --shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
    --orange-shadow: 0 22px 55px rgba(255, 81, 0, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 710px;
    padding: 48px 0 42px;
    color: var(--white);
    background: radial-gradient(circle at 78% 32%, rgba(255, 255, 255, 0.15), transparent 28%), linear-gradient(135deg, var(--orange-1) 0%, var(--orange-2) 43%, var(--orange-4) 100%);
}

.hero-pattern {
    position: absolute;
    pointer-events: none;
    opacity: 0.22;
}

.hero-pattern-left {
    top: 0;
    left: 0;
    width: 210px;
    height: 250px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.72) 2px, transparent 2px);
    background-size: 18px 18px;
}

.hero-rings {
    position: absolute;
    right: -220px;
    bottom: -230px;
    width: 980px;
    height: 650px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.13);
    transform: rotate(-15deg);
}

    .hero-rings::before,
    .hero-rings::after {
        content: "";
        position: absolute;
        inset: 42px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .hero-rings::after {
        inset: 84px;
    }

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.96fr 1.04fr;
    gap: 40px;
    align-items: center;
}

.logo {
    width: 130px;
    margin-bottom: 55px;
}

.hero h1 {
    max-width: 620px;
    margin: 0 0 26px;
    font-size: clamp(48px, 5.2vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.hero p {
    max-width: 560px;
    margin: 0;
    font-size: clamp(18px, 1.8vw, 23px);
    line-height: 1.42;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 34px;
}

    .download-buttons a {
        display: inline-flex;
        text-decoration: none;
        border-radius: 12px;
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
        transition: transform 0.2s ease, filter 0.2s ease;
    }

        .download-buttons a:hover {
            transform: translateY(-3px);
            filter: brightness(0.98);
        }

    .download-buttons img {
        height: 58px;
        width: auto;
    }

/* PHONE */
.hero-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 610px;
}

/* 
  Contenedor ajustado para NO tapar detalles de la captura.
  Se eliminó el notch y se usa object-fit: contain para mostrar la imagen completa.
*/
.phone-frame {
    position: relative;
    width: min(390px, 72vw);
    aspect-ratio: 9 / 18.7;
    padding: 10px;
    border-radius: 42px;
    background: linear-gradient(145deg, #111 0%, #3a3a3a 48%, #080808 100%);
    box-shadow: var(--shadow);
    transform: rotate(5deg);
}

    .phone-frame::before {
        content: "";
        position: absolute;
        inset: 5px;
        border-radius: 38px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        pointer-events: none;
        z-index: 2;
    }

    .phone-frame img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        background: #ff5100;
        border-radius: 34px;
    }

.phone-notch {
    display: none;
}

/* BENEFITS */
.benefits {
    padding: 62px 0 72px;
    background: radial-gradient(circle at 50% 0%, rgba(255, 100, 20, 0.08), transparent 32%), #ffffff;
    text-align: center;
}

    .benefits h2 {
        margin: 0 0 36px;
        color: var(--black);
        font-size: clamp(30px, 3.4vw, 42px);
        line-height: 1.1;
        letter-spacing: -0.035em;
        font-weight: 900;
    }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.benefit-card {
    text-align: left;
    min-height: 190px;
    padding: 32px 30px 28px;
    border: 1px solid rgba(255, 110, 42, 0.13);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--orange-shadow);
}

.accent-line {
    display: block;
    width: 54px;
    height: 5px;
    margin-bottom: 22px;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--orange-1), var(--orange-4));
}

.benefit-card h3 {
    margin: 0 0 14px;
    color: var(--black);
    font-size: 25px;
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 900;
}

.benefit-card p {
    margin: 0;
    color: var(--text);
    font-size: 17px;
    line-height: 1.38;
}

/* FINAL CTA */
.final-cta {
    padding: 40px 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-1) 0%, var(--orange-2) 52%, var(--orange-4) 100%);
}

.final-cta-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 44px;
    align-items: center;
}

.final-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(34px, 3.8vw, 50px);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.final-copy p {
    max-width: 610px;
    margin: 0;
    font-size: 19px;
    line-height: 1.28;
    font-weight: 600;
}

.final-buttons {
    margin-top: 0;
}

/* FOOTER */
.site-footer {
    background: radial-gradient(circle at 20% 0%, rgba(255, 98, 20, 0.16), transparent 24%), var(--footer);
    color: var(--white);
    padding: 30px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 28px;
    align-items: center;
}

.footer-logo {
    width: 78px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 34px;
    flex-wrap: wrap;
}

    .footer-links a {
        color: rgba(255, 255, 255, 0.88);
        text-decoration: none;
        font-size: 15px;
    }

        .footer-links a:hover {
            color: var(--white);
        }

.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    white-space: nowrap;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .hero {
        padding: 38px 0 58px;
    }

    .hero-grid,
    .final-cta-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 38px;
    }

    .hero p {
        margin: 0 auto;
    }

    .download-buttons {
        justify-content: center;
    }

    .hero-phone {
        min-height: 0;
        margin-top: 26px;
    }

    .phone-frame {
        width: min(350px, 78vw);
        transform: rotate(3deg);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .final-buttons {
        margin-top: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .site-footer p {
        white-space: normal;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 30px, 1180px);
    }

    .hero {
        min-height: auto;
        padding-top: 30px;
    }

    .logo {
        width: 112px;
        margin-bottom: 34px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero p {
        font-size: 18px;
    }

    .download-buttons img {
        height: 52px;
    }

    .hero-phone {
        margin-top: 18px;
    }

    .phone-frame {
        width: min(310px, 84vw);
        border-radius: 38px;
    }

        .phone-frame img {
            border-radius: 30px;
        }

    .benefits {
        padding: 52px 0 58px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .benefit-card {
        text-align: center;
        min-height: auto;
        padding: 28px 24px;
    }

    .accent-line {
        margin-left: auto;
        margin-right: auto;
    }

    .final-cta {
        padding: 48px 0;
        text-align: center;
    }

    .final-copy p {
        font-size: 18px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}


/* Store badges normalized from uploaded PNG files */
.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-top: 34px;
}

.store-badge-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    text-decoration: none;
    border-radius: 10px;
    line-height: 0;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

    .store-badge-link:hover {
        transform: translateY(-3px);
        filter: brightness(0.98);
        box-shadow: 0 22px 42px rgba(0, 0, 0, 0.18);
    }

.store-badge {
    display: block;
    height: 64px;
    width: auto;
    object-fit: contain;
}

.final-buttons {
    margin-top: 0;
}

@media (max-width: 620px) {
    .download-buttons {
        gap: 12px;
    }

    .store-badge-link {
        height: 56px;
    }

    .store-badge {
        height: 56px;
    }
}
