:root {
    --rosa: #F36AAF;
    --magenta: #A844A1;
    --roxo: #5C53A4;
    --azul: #4E9DD6;
    --verde-limao: #C3D941;
    --amarelo: #F4D44D;
    --degrade-principal: linear-gradient(90deg, var(--azul), var(--verde-limao));
    --cor-texto: #343a40;
    --cor-fundo: #f8f9fa;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--cor-texto);
    background-color: #fff;
}

.navbar {
    transition: background-color 0.3s ease-in-out;
    background-color: rgba(255, 255, 255);
}

.navbar-scrolled {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    max-height: 40px;
}

.nav-link {
    font-weight: 500;
}

.btn-cta {
    background-color: var(--verde-limao);
    border-color: var(--verde-limao);
    color: var(--cor-texto);
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(195, 217, 65, 0.4);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(195, 217, 65, 0.6);
    color: var(--cor-texto);
}

.btn-cta-gradient {
    background-image: linear-gradient(90deg, var(--rosa), var(--magenta), var(--roxo));
    border: none;
    color: white;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-cta-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(92, 83, 164, 0.4);
}

#hero {
    padding: 10rem 0;
    background-color: var(--cor-fundo);
}

#hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
}

#hero .subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Modifier para páginas legais (Terms and Privacy) */
.legal-content h3 {
    margin-top: 2rem;
}
.legal-content p,
.legal-content li {
    color: #6c757d;
    font-weight: 500;
}

#hero .hero-clients {
    margin-top: 3rem;
    gap: 1.5rem;
}

#hero .hero-clients img {
    max-height: 45px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

#hero .hero-clients img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    #hero {
        padding: 8rem 0 6rem 0;
    }
    #hero h1 {
        font-size: 2.5rem;
    }
    #hero .hero-clients {
        gap: 1rem;
    }
    #hero .hero-clients img {
        max-height: 35px;
    }
    #hero .subtitle {
        max-width: 100%;
    }
}

.section-title {
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    color: #6c757d;
}

.service-card {
    border: none;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.service-card .card-icon {
    font-size: 3rem;
    background: linear-gradient(90deg, var(--rosa), var(--magenta), var(--roxo));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

#stats {
    background-color: var(--cor-fundo);
}

.stat-item h3 {
    font-weight: 800;
    font-size: 3.5rem;
    color: var(--roxo);
}

#clients .client-logo {
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

#clients .client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

#pricing .card {
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

#pricing .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

#pricing .card-popular {
    border-color: var(--roxo);
    border-width: 2px;
    transform: scale(1.05);
}

#pricing .card-popular:hover {
    transform: scale(1.07);
}

#pricing .badge-popular {
    background-color: var(--roxo);
}

#pricing .price {
    font-size: 2.5rem;
    font-weight: 700;
}

#pricing .price-period {
    font-size: 1rem;
    color: #6c757d;
}

#pricing .price-subtext{
    font-size: 0.9rem;
    color: #6c757d;
}

#pricing .feature-list {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

#pricing .feature-list li {
    margin-bottom: 0.75rem;
    color: #6c757d;
    font-weight: 500;
}

#pricing .feature-list i {
    color: var(--verde-limao);
    margin-right: 0.5rem;
}

#onboarding .timeline {
    position: relative;
    padding: 2rem 0;
}

#onboarding .timeline::before {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--cor-fundo);
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
}

#onboarding .timeline-item {
    padding: 1rem 2rem;
    position: relative;
    width: 50%;
}

#onboarding .timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 4rem;
    text-align: right;
}

#onboarding .timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 4rem;
}

#onboarding .timeline-content {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: .5rem;
    box-shadow: 0 4px 25px rgba(0,0,0,0.07);
}

#onboarding .timeline-dot {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 4px solid var(--roxo);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--roxo);
}

#onboarding .timeline-item:nth-child(odd) .timeline-dot {
    right: -12.5px;
}

#onboarding .timeline-item:nth-child(even) .timeline-dot {
    left: -12.5px;
}

@media (max-width: 768px) {
    #onboarding .timeline::before {
        left: 12.5px;
    }
    #onboarding .timeline-item, #onboarding .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 3rem;
        padding-right: 1rem;
        text-align: left;
    }
    #onboarding .timeline-item:nth-child(odd) {
        padding-right: 1rem;
        text-align: left;
    }
    #onboarding .timeline-item .timeline-dot, #onboarding .timeline-item:nth-child(odd) .timeline-dot, #onboarding .timeline-item:nth-child(even) .timeline-dot {
        left: 0;
    }
}

#faq .accordion-button:not(.collapsed) {
    background-color: var(--roxo);
    color: white;
}

#faq .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(92, 83, 164, 0.3);
}

footer {
    background-color: #343a40;
    color: #adb5bd;
}

footer a {
    color: #f8f9fa;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--verde-limao);
}

footer .social-icon {
    font-size: 1.5rem;
}

/* Animation Classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    .fade-in-section {
        transition: none !important;
        transform: none !important;
    }
}

/* Browser Mockup Hero Section */
.browser-mockup {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    transform: perspective(1000px) rotateX(4deg) scale(0.98);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.6s ease;
}

.browser-mockup:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1);
    box-shadow: 0 35px 65px rgba(0,0,0,0.3);
}

.browser-header {
    background-color: #f1f3f4;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.dot.close { background-color: #ff5f56; }
.dot.minimize { background-color: #ffbd2e; }
.dot.maximize { background-color: #27c93f; }

.browser-address {
    background-color: #ffffff;
    border-radius: 6px;
    flex-grow: 1;
    margin-left: 20px;
    padding: 6px 15px;
    font-size: 0.85rem;
    color: #6c757d;
    max-width: 350px;
    margin-right: auto;
    font-weight: 500;
    text-align: left;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.browser-content {
    display: block;
    width: 100%;
    height: auto;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

@media (max-width: 768px) {
    .browser-address {
        display: none;
    }
    .browser-mockup {
        transform: none;
    }
}

/* Hub Flow Section Styles */
.hub-flow .flow-step {
    background-color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 2rem 1.5rem;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.hub-flow .flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.hub-flow .flow-step .icon {
    margin-bottom: 1rem;
    display: inline-block;
}

.hub-flow .flow-step .icon i {
    font-size: 2.5rem;
    background: linear-gradient(90deg, var(--rosa), var(--magenta), var(--roxo));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hub-flow .flow-step h6 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--cor-texto);
    font-size: 1.15rem;
}

.hub-flow .flow-step p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0;
}
