/* OptiSearch — Landing R$197 */

:root {
    --bg: #000000;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.07);
    --purple: #a855f7;
    --purple-bright: #c084fc;
    --purple-deep: #7c3aed;
    --purple-neon: rgba(168, 85, 247, 0.55);
    --purple-glow-sm: 0 0 16px rgba(168, 85, 247, 0.45);
    --purple-glow-md: 0 0 28px rgba(168, 85, 247, 0.35), 0 0 56px rgba(124, 58, 237, 0.2);
    --purple-glow-lg: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 60px rgba(124, 58, 237, 0.25), 0 0 100px rgba(168, 85, 247, 0.1);
    --text: #ffffff;
    --text-muted: #888888;
    --radius: 16px;
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-price: 'Unbounded', sans-serif;
    --section-gap: 64px;
    --content-max: 640px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Background */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.bg-glow--hero {
    width: 480px;
    height: 480px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    filter: blur(50px);
}

.bg-glow--cta {
    width: 360px;
    height: 360px;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    filter: blur(60px);
}

/* Buttons */
.btn-neon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 50%, var(--purple-bright) 100%);
    border: 1px solid rgba(192, 132, 252, 0.4);
    box-shadow: var(--purple-glow-md);
    transition: transform 0.2s, box-shadow 0.3s;
    isolation: isolate;
}

.btn-neon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--purple-deep), var(--purple-bright));
    opacity: 0.35;
    filter: blur(12px);
    z-index: -1;
}

.btn-neon span {
    position: relative;
    z-index: 1;
}

.btn-neon:active {
    transform: scale(0.97);
}

.btn-neon--sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-neon--lg {
    width: 100%;
    max-width: 360px;
    padding: 18px 32px;
    font-size: 16px;
    box-shadow: var(--purple-glow-lg);
}

.btn-neon--pulse {
    animation: btn-pulse 2s ease-in-out infinite;
}

@keyframes btn-pulse {
    0%, 100% {
        box-shadow: var(--purple-glow-md), 0 0 0 0 rgba(168, 85, 247, 0.55);
        transform: scale(1);
    }

    50% {
        box-shadow: var(--purple-glow-lg), 0 0 0 10px rgba(168, 85, 247, 0);
        transform: scale(1.02);
    }
}

.btn-neon--pulse::before {
    animation: btn-pulse-glow 2s ease-in-out infinite;
}

@keyframes btn-pulse-glow {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
    .btn-neon--pulse,
    .btn-neon--pulse::before {
        animation: none;
    }
}

/* Hero */
.hero {
    position: relative;
    z-index: 1;
    padding: 56px 24px var(--section-gap);
}

.hero__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 7vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero__accent {
    color: var(--purple-bright);
}

.hero__visual {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
}

.hero__offer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 3;
    margin-bottom: -52px;
}

.hero__offer-old {
    font-size: 15px;
    color: var(--text-muted);
}

.hero__offer-old s {
    text-decoration: line-through;
    text-decoration-color: rgba(168, 85, 247, 0.5);
}

.hero__offer-by {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple-bright);
}

/* Price display */
.price-tag {
    display: inline-flex;
    align-items: flex-start;
    font-family: var(--font-price);
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-tag__currency {
    font-weight: 600;
    color: var(--purple-bright);
    margin-top: 0.4em;
    margin-right: 3px;
}

.price-tag__value {
    font-weight: 800;
    background: linear-gradient(165deg, #ffffff 0%, var(--purple-bright) 55%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 28px rgba(168, 85, 247, 0.55));
}

.price-tag--hero .price-tag__currency {
    font-size: clamp(1.1rem, 4.5vw, 1.4rem);
}

.price-tag--hero .price-tag__value {
    font-size: clamp(3.5rem, 16vw, 5rem);
}

.price-tag--lg .price-tag__currency {
    font-size: clamp(1rem, 3.5vw, 1.25rem);
}

.price-tag--lg .price-tag__value {
    font-size: clamp(2.75rem, 13vw, 4rem);
}

.price-tag--sm .price-tag__currency {
    font-size: 0.85rem;
    margin-top: 0.25em;
}

.price-tag--sm .price-tag__value {
    font-size: 1.75rem;
    filter: none;
    -webkit-text-fill-color: #fff;
    background: none;
    color: #fff;
}

.stat-card--active .price-tag__currency,
.stat-card--active .price-tag__value {
    -webkit-text-fill-color: #fff;
    background: none;
    color: #fff;
    filter: none;
}

.hero-showcase {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 320px;
    padding-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-showcase__backdrop {
    position: absolute;
    inset: 0;
}

.hero-showcase__card {
    position: absolute;
    width: 34%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    opacity: 0.8;
}

.hero-showcase__card--tl {
    top: 6%;
    left: 2%;
    transform: rotate(-14deg);
}

.hero-showcase__card--tr {
    top: 4%;
    right: 0;
    transform: rotate(12deg);
}

.hero-showcase__card--bl {
    bottom: 4%;
    left: 0;
    transform: rotate(-8deg);
}

.hero-showcase__card--br {
    bottom: 6%;
    right: 2%;
    transform: rotate(10deg);
}

.hero-showcase__phone {
    position: relative;
    z-index: 2;
    width: 88%;
    max-width: 323px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(168, 85, 247, 0.35));
}

.hero__lead {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 28px;
}

.hero__actions {
    width: 100%;
    max-width: 360px;
    margin-bottom: 20px;
}

.hero__actions .btn-neon {
    width: 100%;
}

.hero__note {
    font-size: 13px;
    color: #666;
}

/* Stats */
.stats {
    position: relative;
    z-index: 1;
    padding: 0 24px var(--section-gap);
}

.stats__grid {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
}

.stat-card--active {
    background: linear-gradient(135deg, var(--purple-deep), var(--purple));
    border-color: rgba(192, 132, 252, 0.5);
    box-shadow: var(--purple-glow-md);
}

.stat-card--active .stat-card__num,
.stat-card--active .stat-card__label {
    color: #fff;
}

.stat-card__num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    color: var(--text);
}

.stat-card__label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.stat-card:not(.stat-card--active) .stat-card__num {
    color: var(--purple-bright);
}

/* Features */
.features {
    position: relative;
    z-index: 1;
    padding: 0 24px var(--section-gap);
}

.features__title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 4.5vw, 1.75rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
}

.features__grid {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.feature-card__title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card__text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* CTA block */
.cta-block {
    position: relative;
    z-index: 1;
    padding: 0 24px var(--section-gap);
}

.cta-block__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--purple-glow-sm);
}

.cta-block__headline {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-block__price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
}

.cta-block__from {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(168, 85, 247, 0.4);
    padding-top: 0.5em;
}

.cta-block__note {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 36px;
}

/* WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 48px;
    height: 48px;
    z-index: 150;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.whatsapp-button img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Desktop */
@media (min-width: 768px) {
    :root {
        --section-gap: 80px;
    }

    .hero {
        padding-top: 80px;
        padding-left: 48px;
        padding-right: 48px;
    }

    .hero__visual {
        margin-bottom: 36px;
    }

    .hero__offer {
        margin-bottom: -64px;
    }

    .hero-showcase {
        max-width: 480px;
        height: 380px;
        padding-top: 56px;
    }

    .hero-showcase__card {
        width: 30%;
        border-radius: 12px;
        opacity: 0.85;
    }

    .hero-showcase__phone {
        max-width: 360px;
    }

    .hero__lead {
        font-size: 17px;
        margin-bottom: 32px;
    }

    .stats,
    .features,
    .cta-block {
        padding-left: 48px;
        padding-right: 48px;
    }

    .stats__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .features__grid {
        flex-direction: row;
        gap: 20px;
    }

    .feature-card { flex: 1; }

    .cta-block__inner {
        padding: 56px 48px;
    }
}
