/* 
  Chat DanMKT - Project Styles 
  Theme: Dark Mode Premium
*/

:root {
    /* Colors */
    --bg-primary: #020617;
    /* slate-950 */
    --bg-secondary: #0f172a;
    /* slate-900 */
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --primary: #25D366;
    /* WhatsApp Green */
    --secondary: #6366f1;
    /* Indigo */
    --accent: #06b6d4;
    /* Cyan */
    --white: #ffffff;

    /* Fonts */
    --font-main: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 20px;
    --container-width: 1200px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: var(--font-main);
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-padding);
}

/* Typography */
.text-gradient {
    background: linear-gradient(135deg, var(--white) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center {
    text-align: center;
}

/* Features Section */
.features .icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
    position: relative;
}

.features .icon::before,
.features .icon::after {
    content: none !important;
}

.features .icon svg {
    stroke-width: 1.5px;
}

/* Benefits (Stats) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-item p {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Steps Section */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    transition: var(--transition);
}

.step:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-4px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.4);
}

@media (min-width: 1024px) {
    .steps-container::after {
        content: '';
        position: absolute;
        top: 50px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--secondary), transparent);
        z-index: 0;
    }
}

@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
    }
}

.text-accent {
    color: var(--accent);
}

.text-secondary {
    color: var(--text-secondary);
}

h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px) scale(1.03);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #1aad55);
    color: #0a1a0f;
}

.btn-primary:hover {
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.25);
}

.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--bg-primary);
    border-color: var(--white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 18px 0;
}

header.scrolled {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    border-bottom: 1px solid var(--card-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Hide header CTA button on mobile — replaced by sticky bottom bar */
    .header-cta {
        display: none;
    }

    /* Hide floating WhatsApp bubble on mobile — sticky bottom bar handles it */
    .whatsapp-float {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(2, 6, 23, 0.97);
        backdrop-filter: blur(20px);
        padding: 20px 24px;
        border-bottom: 1px solid var(--card-border);
        gap: 16px;
    }
}

/* Hero Section — Fullscreen */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    overflow: hidden;
}

/* Subtle background glow */
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
    padding: 40px 24px;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    max-width: 580px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    animation: PULSE-DOT 2s infinite;
}

@keyframes PULSE-DOT {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.prova-social {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--card-border);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .hero {
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 40px;
        align-items: flex-start;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-top: 60px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .prova-social {
        justify-content: center;
    }
}

/* Channels Marquee */
.channels-bar {
    background: var(--bg-secondary);
    padding: 32px 0;
    overflow: hidden;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.marquee {
    width: 100%;
    display: flex;
}

.marquee-content {
    display: flex;
    gap: 60px;
    animation: MARQUEE 25s linear infinite;
    white-space: nowrap;
    align-items: center;
}

.channel-item {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0.5;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.04em;
}

.channel-item:hover {
    opacity: 1;
    color: var(--accent);
}

/* Card & Grid */
.bg-alt {
    background-color: var(--bg-secondary);
}

.grid-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 2rem;
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(6, 182, 212, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Problems Section */
.problem-card .icon {
    font-size: 2rem;
    color: var(--accent);
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
    position: relative;
}

.problem-card .icon::before,
.problem-card .icon::after {
    content: none !important;
}

.problem-card .icon svg {
    stroke-width: 1.5px;
}

.problem-card h3 {
    font-size: 1rem;
    margin-bottom: 0;
    text-align: center;
    color: var(--text-primary);
    font-weight: 500;
}

/* Testimonials */
.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.testimonial-card p {
    font-size: 0.97rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.stars {
    color: #fbbf24;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--card-border);
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.user-info strong {
    display: block;
    font-size: 0.95rem;
}

/* Investment / Pricing Section */
.investment-cta-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.investment-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    flex: 1;
    min-width: 260px;
    max-width: 340px;
    transition: var(--transition);
}

.investment-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.investment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(99, 102, 241, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent);
}

.investment-plus {
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-secondary);
    opacity: 0.5;
    line-height: 1;
}

@media (max-width: 640px) {
    .investment-plus {
        display: block;
        text-align: center;
        width: 100%;
    }
}

/* Accordion FAQ */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: rgba(6, 182, 212, 0.2);
}

.accordion-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 16px;
}

.accordion-header h3 {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 500;
}

.accordion-header .icon {
    font-size: 1.4rem;
    font-weight: 300;
    transition: var(--transition);
    flex-shrink: 0;
    color: var(--text-secondary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
}

.accordion-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    transition: max-height 1s ease-in-out;
    padding-bottom: 20px;
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.accordion-item.active {
    border-color: rgba(6, 182, 212, 0.2);
}

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #0d0b2a 100%);
    padding: 120px 20px;
    border-top: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-final h2 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Footer */
footer {
    background: #010409;
    padding: 80px 0 40px;
    border-top: 1px solid var(--card-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-info {
        grid-column: 1 / -1;
    }
}

@media (max-width: 540px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

footer h4 {
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    font-weight: 600;
}

footer ul li {
    margin-bottom: 0.6rem;
}

footer ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

footer ul li a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-icons a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(6, 182, 212, 0.08);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

@media (max-width: 540px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   Mobile Sticky Bottom CTA Bar
   Only visible on mobile/tablet (<= 1024px)
   ========================================= */
.mobile-cta-bar {
    display: none;
    /* hidden on desktop */
}

@media (max-width: 1024px) {

    /* Extra bottom space so content isn't hidden behind the bar */
    body {
        padding-bottom: 80px;
    }

    /* Push the floating WhatsApp button above the CTA bar */
    .whatsapp-float {
        bottom: 96px;
    }

    .mobile-cta-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        background: rgba(2, 6, 23, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--card-border);
        padding: 12px 20px;
        align-items: center;
        justify-content: center;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
    }

    .mobile-cta-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        width: 100%;
        max-width: 480px;
    }

    .mobile-cta-text {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-primary);
        line-height: 1.3;
        flex: 1;
    }

    .mobile-cta-btn {
        flex-shrink: 0;
        padding: 10px 18px;
        font-size: 0.85rem;
        white-space: nowrap;
        border-radius: 8px;
    }
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--primary), #1aad55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.whatsapp-float::after {
    content: 'Fale conosco';
    position: absolute;
    right: 70px;
    background: var(--white);
    color: var(--bg-primary);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:hover::after {
    opacity: 1;
}

.pulse {
    animation: PULSE 2.5s infinite;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes MARQUEE {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes PULSE {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        transform: scale(1.08);
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Legal Pages */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal-page .legal-updated {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.legal-body h2 {
    text-align: left;
    font-size: 1.35rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.legal-body p,
.legal-body li {
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.legal-body ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.legal-body ul li {
    margin-bottom: 0.5rem;
}

.legal-body a {
    color: var(--accent);
    text-decoration: underline;
}