/* ===== NOISE TEXTURE ===== */
.noise::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
    pointer-events: none;
    z-index: 1;
}

/* ===== MOCKUP BACKGROUND EFFECTS ===== */
.mock-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.mock-bg-left,
.mock-bg-right {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(88px);
    opacity: 0.9;
    mix-blend-mode: screen;
    transform: translateY(-6%);
}

.mock-bg-left {
    left: 6%;
    top: 18%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 60, 80, 0.28), rgba(124, 58, 237, 0.06) 45%, transparent 60%);
    animation: bgFloatLeft 8s ease-in-out infinite;
}

.mock-bg-right {
    right: 6%;
    top: 18%;
    background: radial-gradient(circle at 80% 30%, rgba(20, 200, 120, 0.28), rgba(56, 189, 248, 0.06) 45%, transparent 60%);
    animation: bgFloatRight 9s ease-in-out infinite;
}

@keyframes bgFloatLeft {
    0% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(8px) translateX(-6px);
    }

    100% {
        transform: translateY(0) translateX(0);
    }
}

@keyframes bgFloatRight {
    0% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(6px) translateX(6px);
    }

    100% {
        transform: translateY(0) translateX(0);
    }
}

/* faixa central energÃ©tica (stream) */
.mock-bg-center {
    position: absolute;
    left: 50%;
    top: 38%;
    transform: translateX(-50%) skewX(-12deg);
    width: 780px;
    height: 220px;
    border-radius: 120px;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.9), rgba(99, 102, 241, 0.6) 40%, rgba(56, 189, 248, 0.5) 70%, rgba(34, 197, 94, 0.25));
    filter: blur(44px);
    opacity: 0.95;
    mix-blend-mode: screen;
    animation: streamShift 10s linear infinite;
    background-size: 300% 100%;
}

@keyframes streamShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 1024px) {
    .mock-bg-center {
        display: none;
    }

    .mock-bg-left,
    .mock-bg-right {
        opacity: 0.5;
        width: 320px;
        height: 320px;
    }
}

/* ===== ANIMATED GRADIENT MESH ===== */
.mesh-gradient {
    background: radial-gradient(ellipse at 15% 25%, rgba(124, 58, 237, 0.25) 0%, transparent 50%), radial-gradient(ellipse at 85% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 50% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%), radial-gradient(ellipse at 70% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 40%), linear-gradient(180deg, #0A0118 0%, #120328 50%, #0A0118 100%);
    animation: meshShift 12s ease-in-out infinite alternate;
}

@keyframes meshShift {
    0% {
        background-position: 0% 0%, 100% 0%, 50% 100%, 70% 50%, 0% 0%;
    }

    100% {
        background-position: 20% 10%, 70% 30%, 30% 70%, 50% 40%, 0% 0%;
    }
}

/* ===== GLOW ORB ===== */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform;
}

/* ===== GLASS CARD ===== */
.glass {
    background: rgba(20, 7, 38, 0.5);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(124, 58, 237, 0.12);
}

/* ===== 3D CARD HOVER ===== */
.card-3d {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.card-3d:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.15), 0 0 0 1px rgba(124, 58, 237, 0.2);
}

/* ===== GRADIENT TEXT ===== */
.text-gradient {
    background: linear-gradient(135deg, #A78BFA 0%, #60A5FA 50%, #38BDF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-warm {
    background: linear-gradient(135deg, #C4B5FD 0%, #A78BFA 50%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BORDER BEAM ===== */
.border-beam {
    position: relative;
    overflow: hidden;
}

.border-beam::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #A78BFA, #60A5FA, transparent);
    animation: beamSlide 4s linear infinite;
}

@keyframes beamSlide {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* ===== SHIMMER TEXT ===== */
.shimmer {
    background: linear-gradient(110deg, rgba(167, 139, 250, 0) 30%, rgba(167, 139, 250, 0.3) 50%, rgba(167, 139, 250, 0) 70%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    animation: shimmerSlide 3s ease-in-out infinite;
}

@keyframes shimmerSlide {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===== CTA PULSE ===== */
.cta-glow {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.5);
    animation: ctaPulse 2.5s infinite;
}

@keyframes ctaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.5);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(124, 58, 237, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0);
    }
}

/* ===== TYPING CURSOR ===== */
.typing-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: #A78BFA;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* ===== NAVBAR ===== */
.nav-scrolled {
    background: rgba(10, 1, 24, 0.9) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

/* ===== FAQ ===== */
.faq-answer {
    max-height: 0 !important;
    overflow: hidden;
    transition: max-height 0.36s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.24s ease;
    opacity: 0;
    pointer-events: none;
}

.faq-answer.open {
    max-height: 1200px !important;
    opacity: 1;
    pointer-events: auto;
}

/* inner wrapper holds padding and text so outer height animation is smooth */
.faq-answer-inner {
    padding: 0.75rem 1.5rem 1rem;
    /* px-6 pb-4 */
}

/* Smooth inner reveal */
.faq-answer-inner {
    transform: translateY(-6px);
    opacity: 0;
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.faq-answer.open .faq-answer-inner {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.06s;
}

/* FAQ icon transition */
.faq-btn svg,
.faq-btn [data-lucide] {
    transition: transform 0.28s ease;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* ===== SCROLL PROGRESS ===== */
#scroll-progress {
    transform-origin: left;
    transform: scaleX(0);
}

/* ===== GSAP INITIAL STATES (set by JS) ===== */
.gs-hidden {
    opacity: 0;
}

section.bg-surface-light.py-section {
    padding-top: 5em;
    padding-bottom: 5em;
}

p.text-lg.text-gray-500.gs-hidden {
    padding-bottom: 20px;
}

#recursos {
    padding-top: 6em;
    padding-bottom: 6em;
}

#recursos h2 {
    margin-bottom: 1em;
}

section.bg-surface-dark.noise.relative.py-section.overflow-hidden {
    padding-top: 5em;
    padding-bottom: 5em;
}

section.bg-surface-dark.noise.relative.py-section.overflow-hidden h2 {
    padding-bottom: 1em;
}

#precos {
    padding-top: 5em;
    padding-bottom: 5em;
}

p.text-gray-500.gs-hidden {
    margin-bottom: 2em;
}

#faq {
    padding-top: 4em;
    padding-bottom: 4em;
}

section.relative.py-section.overflow-hidden {
    padding-top: 2em;
    padding-bottom: 2em;
}

#como-funciona h2 {
    margin-bottom: 1em;
}

#faq h2 {
    margin-bottom: 1em;
}

section.mesh-gradient.noise.relative.h-screen.flex.items-center.pt-16.overflow-hidden {
    height: 100%;
}

#mobile-menu {
    background: #0c031deb;
    height: 100vh;
}

/* ===== MOCKUP PHONES & CHAT STYLES ===== */
.phone {
    position: relative;
    width: 330px;
    height: 520px;
    border-radius: 18px;
}

.phone-frame {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    z-index: 10;
    overflow: hidden;
}

.phone-top {
    padding: 6px 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 12;
}

.phone-screen {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 8px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 440px;
    overflow: hidden;
    z-index: 12;
}

/* ===== PHONE HEADER (estilo WhatsApp) ===== */
.phone-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 4px;
    z-index: 14;
}

.phone-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
}

.phone-avatar-red {
    background: linear-gradient(135deg, rgba(255, 80, 80, 0.95), rgba(200, 40, 40, 0.85));
    box-shadow: 0 6px 18px rgba(255, 80, 80, 0.12);
}

.phone-avatar-green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(16, 185, 129, 0.85));
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.12);
}

.contact-info {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.contact-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.contact-status {
    font-size: 0.72rem;
    opacity: 0.95;
}

.phone-actions i {
    opacity: 0.92;
}

/* SVG dentro do avatar */
.phone-avatar svg {
    width: 20px;
    height: 20px;
    display: block;
    color: #fff;
}

.phone-avatar svg [fill="currentColor"] {
    fill: currentColor;
}

.phone-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(96px);
    z-index: 2;
    top: 6%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.95;
    animation: float 6s ease-in-out infinite;
}

.phone-glow-red {
    background: radial-gradient(circle at 30% 30%, rgba(255, 80, 80, 0.22), rgba(255, 40, 40, 0.06) 40%, transparent 60%);
}

.phone-glow-green {
    background: radial-gradient(circle at 70% 30%, rgba(34, 197, 94, 0.22), rgba(16, 185, 129, 0.06) 40%, transparent 60%);
}

@keyframes float {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }

    100% {
        transform: translateX(-50%) translateY(0);
    }
}

.bubble {
    display: inline-block;
    padding: 10px 12px;
    border-radius: 16px;
    max-width: 85%;
    font-size: 0.95rem;
    line-height: 1.2;
    color: #E6E6E8;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.bubble.incoming {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.04);
    color: #e6e6e6;
    border-radius: 14px 14px 14px 6px;
}

.bubble.outgoing {
    align-self: flex-end;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.12), rgba(34, 197, 94, 0.06));
    border: 1px solid rgba(34, 197, 94, 0.12);
    color: #dffbf0;
    border-radius: 14px 14px 6px 14px;
}

.bubble.small {
    padding: 6px 10px;
    font-size: 0.85rem;
}

.bubble.muted {
    color: #ff9b9b;
    background: rgba(255, 80, 80, 0.03);
    border: 1px dashed rgba(255, 80, 80, 0.12);
    align-self: flex-start;
}

.bubble.note {
    opacity: 0.9;
    font-weight: 600;
}

.bubble.typing {
    display: flex;
    gap: 6px;
    align-items: center;
    background: transparent;
    border: none;
    padding: 6px 8px;
}

.bubble.typing .dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: blink-dot 1s infinite;
    opacity: 0.9;
}

.bubble.typing .dot:nth-child(2) {
    animation-delay: 0.12s;
}

.bubble.typing .dot:nth-child(3) {
    animation-delay: 0.24s;
}

.phone.phone-fast.relative.rounded-3xl.overflow-hidden {
    border: 2px solid;
    border-color: #43e0cb;
    box-shadow: 0 0 38px 0px #43e0cb59;
}

.phone.phone-fast .border-beam::after {
    content: '';
    position: absolute;
    top: -11px;
    left: -100%;
    width: 34px;
    height: 11px;
    border-radius: 100%;
    background: linear-gradient(90deg, #43e0cb, #ffffff, #ffffff, #43e0cb);
    animation: beamSlide 4s linear infinite;
    box-shadow: 0 -3px 17px #7effee;
}

.phone.phone-slow .border-beam::after {
    content: '';
    position: absolute;
    top: -11px;
    left: -100%;
    width: 34px;
    height: 11px;
    border-radius: 100%;
    background: linear-gradient(90deg, #43e0cb, #ffffff, #ffffff, #43e0cb);
    animation: beamSlide 4s linear infinite;
    box-shadow: 0 -3px 17px #e52020;
}

.phone.phone-slow.relative.rounded-3xl.overflow-hidden {
    border: 2px solid;
    border-color: #e52020;
    box-shadow: 0 0 38px 0px #e5202045;
}

.icons-esrquerda svg {
    width: 40px;
    height: 40px;
    fill: #ff4f4f;
}

.icons-direita svg {
    width: 40px;
    height: 40px;
    fill: #43e0cb;
    margin-right: 10px;
}

.cards-mockups {
    position: absolute;
    display: flex;
    width: 100%;
    padding: 0 20px;
    justify-content: space-between;
}

.icons-esrquerda {
    padding: 10px;
    background: #e5202026;
    margin: 10px;
    border-radius: 15px;
    border: 1px solid;
    border-color: #e5202073;
}

.icons-direita {
    padding: 7px 4px;
    background: #43e0cb3d;
    margin: 10px;
    border-radius: 15px;
    border: 1px solid;
    border-color: #41d6c4;
    display: flex;
    width: 150px;
}

.card-direita {
    position: relative;
    left: 13px;
}

p.text-3xl.md\:text-4xl.font-serif.text-white {
    font-size: 22px !important;
    text-align: left;
}

.title-tempo.text-3xl.md\:text-4xl.font-serif.text-white {
    display: flex;
    justify-content: flex-start;
}

.title-tempo.text-3xl.md\:text-4xl.font-serif.text-white p {
    font-size: 22px;
    padding-right: 8px;
}

p.text-xs.text-white\/60.mt-1 {
    text-align: left;
    font-size: 14px;
    line-height: 1.3;
}

.icon-vantagem svg {
    margin-right: 10px;
    width: 60px;
    height: 60px;
    fill: #55abf9;
}

.topicos-vantagens {
    display: flex;
    align-items: center;
}

section.relative.py-10.md\:py-14.bg-gradient-to-r.from-primary-deeper.via-primary-dark.to-secondary-dark.noise.overflow-hidden .max-w-7xl.mx-auto.px-4.sm\:px-6.lg\:px-8.relative.z-10 {
    border: 1px solid;
    padding: 30px;
    border-radius: 30px;
    border-color: #ffffff21;
}

a.inline-flex.items-center.justify-center.gap-2.border.border-gray-600.hover\:border-primary\/50.text-gray-300.hover\:text-white.px-7.py-3.rounded-full.font-medium.text-sm.transition-all.min-h-\[44px\] {
    padding-right: 37px;
    padding-left: 37px;
}


@keyframes blink-dot {
    0% {
        transform: translateY(0);
        opacity: 0.45;
    }

    50% {
        transform: translateY(-6px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 0.45;
    }
}

/* Responsividade dos mockups */
@media (max-width: 1024px) {
    .phone {
        transform: scale(0.9);
    }
}

@media (max-width: 768px) {
    .lg\:grid-cols-12 {
        grid-template-columns: 1fr !important;
    }

    .lg\:col-span-4 {
        grid-column: span 1 / span 1 !important;
    }

    .phone {
        transform: scale(0.78);
        margin-bottom: 1rem;
    }

    .phone-frame {
        width: 220px;
        height: 420px;
    }

    .phone-screen {
        height: 360px;
    }

    .font-serif.text-5xl {
        font-size: 2.2rem;
    }

    /* ===== SIDE CARDS (advantage / disadvantage) ===== */
    .mockside-right,
    .mockside-left {
        position: absolute;
        top: 40px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        z-index: 5;
    }

    .mockside-right {
        right: -220px;
        align-items: flex-start;
    }

    .mockside-left {
        left: -220px;
        align-items: flex-end;
    }

    .adv-card {
        width: 220px;
        display: flex;
        gap: 12px;
        align-items: center;
        padding: 12px;
        border-radius: 12px;
        background: linear-gradient(180deg, rgba(20, 7, 38, 0.7), rgba(20, 7, 38, 0.45));
        border: 1px solid rgba(34, 197, 94, 0.08);
        box-shadow: 0 10px 30px rgba(16, 185, 129, 0.06);
    }

    .adv-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-weight: 700;
        font-size: 1.1rem;
    }

    .adv-body .adv-title {
        font-weight: 700;
        color: #fff;
        font-size: 0.95rem;
    }

    .adv-body .adv-sub {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.72);
    }

    .disadv-card {
        width: 160px;
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: flex-end;
        padding: 8px;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.35);
        border: 1px solid rgba(255, 80, 80, 0.06);
    }

    .disadv-card .icon {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-weight: 700;
    }

    .disadv-card .icon.red {
        background: linear-gradient(135deg, rgba(255, 80, 80, 0.95), rgba(200, 40, 40, 0.85));
    }

    .disadv-card .text {
        font-size: 0.82rem;
        color: rgba(255, 255, 255, 0.88);
    }

    .cards-mockups {
        position: absolute;
        display: flex;
        width: 100%;
        height: 100%;
        padding: 0 20px;
        flex-direction: column;
        justify-content: space-between;
    }

    .card-esquerda {
        display: flex;
        justify-content: center;
        position: relative;
        top: 30px;
    }

    .card-direita {
        position: relative;
        left: 0;
        bottom: 50px;
        display: flex;
        justify-content: center;
    }

    .icons-direita {
        padding: 4px 3px;
        background: #43e0cb3d;
        margin: 5px;
        border-radius: 15px;
        border: 1px solid;
        border-color: #41d6c4;
        display: flex;
        width: 100px;
        height: 47px;
        align-items: center;
    }

    .icons-direita svg {
        margin-right: 4px;
    }

    .icons-direita p {
        font-size: 10px;
    }

    .icon-vantagem svg {
        margin-right: 10px;
        width: 31px;
        height: 31px;
        fill: #55abf9;
    }

    p.text-3xl.md\:text-4xl.font-serif.text-white {
        font-size: 13px !important;
        text-align: left;
        line-height: 1;
    }

    p.text-xs.text-white\/60.mt-1 {
        text-align: left;
        font-size: 10px;
        line-height: 1;
    }

    .title-tempo.text-3xl.md\:text-4xl.font-serif.text-white p {
        font-size: 12px;
        padding-right: 0;
    }

    .title-tempo.text-3xl.md\:text-4xl.font-serif.text-white {
        display: block;
        justify-content: flex-start;
        text-align: left;
        line-height: 1;
    }

    /* Hide side cards on small screens */
    @media (max-width: 1024px) {

        .mockside-right,
        .mockside-left {
            display: none;
        }
    }
}

@media(max-width:1400px){
    .cards-mockups {
    visibility: hidden;
}
}