:root {
    --font-primary: 'Hanken Grotesk', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

* {
    font-family: var(--font-primary) !important;
}

.heading-font,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading) !important;
}

/* Override existing root - Clean & Sophisticated */
:root {
    --xxcrm-blue: #000000;
    --xxcrm-dark: #111111;
    --xxcrm-slate: #666666;
    --xxcrm-bg-soft: #ffffff;
}

.premium-section {
    padding-top: 100px;
    padding-bottom: 0px;
}

/* Hero Section Wrapper - Fundo branco */
.hero-section-wrapper {
    background: #fff;
    padding: 100px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

/* Hero Premium Card - Soft & Sophisticated */
.hero-premium {
    background: #ffffff;
    color: var(--xxcrm-dark);
    overflow: visible;
    border-radius: 40px;
    /* Generous rounding */
    padding: 70px 60px 200px 60px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    border: 1px solid #f0f0f0;
    margin-bottom: 0;
    animation: fadeInUp 0.8s ease-out;
}

.hero-premium h1,
.hero-premium p {
    color: var(--xxcrm-dark) !important;
}

.hero-premium .hero-highlight {
    background: #f0f0f0 !important;
    color: #000000 !important;
}

.hero-premium:after {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    pointer-events: none;
}

/* Conteúdo centralizado */
.hero-content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content-centered .hero-highlight {
    justify-content: center;
    margin-bottom: 20px;
}

.hero-content-centered .hero-actions {
    justify-content: center;
}

.hero-content-centered .hero-metrics {
    justify-content: center;
    max-width: 600px;
    margin: 32px auto 0;
}

.hero-content-centered h1 {
    font-size: 64px;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.hero-content-centered p {
    margin-bottom: 0;
    line-height: 1.8;
    font-size: 19px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Imagem que transborda - 50% dentro, 50% fora */
.hero-image-overflow {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: -180px auto 0;
    z-index: 2;
    padding: 0 20px;
}

.hero-image-overflow img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    background: transparent;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15)) grayscale(100%);
    transform: scale(1.15);
    transition: transform 0.1s ease-out;
    will-change: transform;
    opacity: 0.9;
}

.hero-premium p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-highlight {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
    gap: 12px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.btn-premium {
    border-radius: 16px;
    padding: 18px 36px;
    font-weight: 600;
    font-size: 16px;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-premium.primary {
    background: #000000;
    color: #ffffff;
    border-radius: 30px;
    padding: 16px 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-premium.secondary {
    background: #ffffff;
    color: #000000;
    border: 1px solid #eeeeee;
    border-radius: 30px;
}

.btn-premium.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-premium.primary:hover::before {
    left: 100%;
}

.btn-premium.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.btn-premium.secondary {
    background-color: rgba(255, 255, 255, 1);
    background: linear-gradient(90deg, rgba(191, 191, 191, 1) 0%, rgba(128, 128, 128, 1) 100%);
    background-image: none;
    color: #111111;
    border: 1px solid rgba(143, 143, 143, 0.25);
    backdrop-filter: blur(10px);
}

.btn-premium.secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(143, 143, 143, 0.5);
    color: #111111;
    transform: translateY(-2px);
}

.hero-metrics {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.hero-metrics div {
    flex: 1;
}

.hero-metrics h3 {
    font-size: 34px;
    margin-bottom: 8px;
}

.trusted-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    align-items: center;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid #e5ebf5;
    background: #fff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.05);
    margin-top: 80px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.logo-chip {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    font-weight: 600;
    color: var(--xxcrm-dark);
    background: #f9fbff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: all 0.3s ease;
}

.logo-chip:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

.logo-chip span {
    display: inline-block;
}

.logo-chip .partner-logo {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-chip:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
    padding-bottom: 50px;
}

.section-heading h2 {
    font-size: 48px;
    color: var(--xxcrm-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-heading p {
    color: var(--xxcrm-slate);
    font-size: 19px;
    line-height: 1.7;
    margin-top: 16px;
}

.grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.card-premium {
    padding: 36px;
    border-radius: 24px;
    border: 1px solid #e5ebf5;
    background: #fff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card-premium h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 600;
}

.card-premium p {
    color: var(--xxcrm-slate);
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.2);
}

.badge-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.05);
    display: grid;
    place-items: center;
    color: var(--xxcrm-blue);
    font-weight: 700;
    margin-bottom: 18px;
}

.badge-icon svg {
    width: 24px;
    height: 24px;
    stroke: #000000;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.glow-card {
    background: #000000;
    color: #fff;
    border: none;
}

.glow-card .badge-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.glow-card .badge-icon svg {
    stroke: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.stat-card {
    padding: 30px;
    border-radius: 24px;
    border: 1px solid #e5ebf5;
    background: #fff;
    text-align: center;
}

.stat-card h3 {
    font-size: 40px;
    color: var(--xxcrm-dark);
    margin-bottom: 6px;
}

.workflow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.workflow-step {
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #f8faff;
    transition: all .3s ease;
}

.workflow-step span {
    display: inline-block;
    background: #fff;
    color: var(--xxcrm-blue);
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 14px;
}

.workflow-step:hover {
    background: #fff;
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.testimonial-card {
    padding: 34px;
    border-radius: 24px;
    border: 1px solid #e5ebf5;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    height: 100%;
}

/* Testimonials 3D Container */
.testimonials-3d-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
    perspective: 1000px;
}

.testimonial-3d-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.testimonial-3d-content {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5ebf5;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.testimonial-3d-card:hover .testimonial-3d-content {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.3);
}

.testimonial-quote-icon {
    color: var(--xxcrm-blue);
    opacity: 0.2;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.testimonial-3d-card:hover .testimonial-quote-icon {
    transform: scale(1.1);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 24px 0;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #111111, #444444);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 16px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 4px;
    font-family: 'Hanken Grotesk', sans-serif;
}

.author-info span {
    font-size: 14px;
    color: #6b7280;
}

/* 3D Effect on Hover */
.testimonial-3d-card[data-testimonial="1"]:hover {
    transform: rotateY(5deg) rotateX(-2deg) translateZ(20px);
}

.testimonial-3d-card[data-testimonial="2"]:hover {
    transform: rotateY(-5deg) rotateX(-2deg) translateZ(20px);
}

.testimonial-3d-card[data-testimonial="3"]:hover {
    transform: rotateY(3deg) rotateX(-2deg) translateZ(20px);
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-3d-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .testimonial-3d-content {
        padding: 32px;
    }

    .testimonial-3d-card:hover {
        transform: translateY(-8px);
    }
}

.cta-premium {
    background: #000000;
    border-radius: 32px;
    padding: 70px 60px;
    color: #fff;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
}

.cta-premium h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.cta-premium p {
    color: rgba(255, 255, 255, 0.75);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

    50% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.3);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Header adjustments */
.main-header .main-menu .navigation>li>a {
    font-weight: 400 !important;
    font-size: 16px !important;
}

.main-header .theme-btn,
.sticky-header .theme-btn {
    border-radius: 12px !important;
    padding: 8px 20px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.main-header .navigation>li>a svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.main-header .navigation>li>a:hover svg {
    opacity: 1;
}

.sticky-header .main-menu .navigation>li>a {
    font-weight: 400 !important;
}

@media (max-width: 991px) {
    .hero-section-wrapper {
        padding: 100px 0 80px 0;
    }

    .hero-premium {
        padding: 50px 30px 140px 30px;
    }

    .hero-content-centered h1 {
        font-size: 42px;
    }

    .hero-image-overflow {
        margin-top: -120px;
    }

    .hero-image-overflow img {
        transform: scale(1.1);
    }

    .hero-content-centered .hero-metrics {
        flex-direction: column;
        gap: 24px;
    }

    .trusted-logos {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        margin-top: 60px;
    }
}

@media (max-width: 767px) {
    .hero-section-wrapper {
        padding: 90px 0 60px 0;
    }

    .hero-premium {
        padding: 40px 20px 100px 20px;
    }

    .hero-content-centered h1 {
        font-size: 32px;
    }

    .hero-image-overflow {
        margin-top: -80px;
        padding: 0 10px;
    }

    .hero-image-overflow img {
        transform: scale(1.05);
    }

    .hero-content-centered {
        max-width: 100%;
    }

    .trusted-logos {
        margin-top: 40px;
    }
}

/* Garantir que o logo seja visível */
.main-header .logo-box .logo img,
.sticky-header .logo img,
.mobile-menu .nav-logo img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: 60px !important;
    height: auto !important;
    width: auto !important;
    min-width: 100px !important;
}

.main-header .logo-box,
.sticky-header .logo,
.mobile-menu .nav-logo {
    display: block !important;
    visibility: visible !important;
    min-width: 100px !important;
}

.main-header .logo-box .logo a,
.sticky-header .logo a,
.mobile-menu .nav-logo a {
    display: inline-block !important;
    min-width: 100px !important;
}

.main-header .logo-box .logo,
.sticky-header .logo {
    min-width: 100px !important;
    min-height: 40px !important;
}

/* Footer Refinements */
.main-footer .widget-section {
    background-color: #f5f5f5 !important;
}

/* Layout do footer - logo à esquerda, links à direita */
.main-footer .footer-row-layout {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    flex-wrap: wrap;
}

/* Coluna do logo - extremo esquerdo */
.main-footer .footer-logo-column {
    padding-right: 80px;
    flex: 0 0 auto;
    max-width: 450px;
    min-width: 400px;
}

/* Grupo de colunas de links - extremo direito */
.main-footer .footer-links-group {
    display: flex !important;
    flex-wrap: wrap;
    gap: 40px;
    flex: 1;
    justify-content: flex-end;
    align-items: flex-start;
}

.main-footer .footer-links-group .footer-column {
    padding-left: 0;
    padding-right: 0;
    flex: 0 0 auto;
}

.main-footer .footer-widget.links-widget {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.main-footer .footer-links-group .col-lg-2 {
    max-width: 180px;
}

.main-footer .footer-links-group .col-lg-3 {
    max-width: 220px;
}

.main-footer .footer-links-group .col-lg-4 {
    max-width: 250px;
}

/* Responsivo */
@media (max-width: 991px) {
    .main-footer .footer-row-layout {
        flex-direction: column;
    }

    .main-footer .footer-logo-column {
        padding-right: 0;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .main-footer .footer-links-group {
        justify-content: flex-start;
        gap: 30px;
        width: 100%;
    }

    .main-footer .footer-links-group .footer-column {
        max-width: 100%;
    }
}

.main-footer .links-widget .links-list {
    font-size: 14px !important;
}

.main-footer .links-widget .links-list li {
    font-size: 14px !important;
    line-height: 26px !important;
    margin-bottom: 12px !important;
}

.main-footer .widget-title h4 {
    font-size: 18px !important;
    margin-bottom: 20px !important;
}

.main-footer .logo-widget p {
    font-size: 14px !important;
    line-height: 22px !important;
}

/* Link XXCRM azul */
.footer-bottom p a,
.footer-bottom .copyright a {
    color: #000000 !important;
    text-decoration: none;
}

.footer-bottom p a:hover,
.footer-bottom .copyright a:hover {
    color: #111111 !important;
    text-decoration: underline;
}

/* Ícones das redes sociais - melhorar tamanho e estilo */
.main-footer .social-links {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.main-footer .social-links li {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.main-footer .social-links li a {
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #111111 !important;
    position: relative !important;
    z-index: 1 !important;
}

.main-footer .social-links li a i,
.main-footer .social-links li a .icon-14,
.main-footer .social-links li a .icon-15,
.main-footer .social-links li a .icon-16,
.main-footer .social-links li a .icon-17 {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 18px !important;
    color: #111111 !important;
    position: relative !important;
    z-index: 3 !important;
    line-height: 38px !important;
}

.main-footer .social-links li a:hover i,
.main-footer .social-links li a:hover .icon-14,
.main-footer .social-links li a:hover .icon-15,
.main-footer .social-links li a:hover .icon-16,
.main-footer .social-links li a:hover .icon-17 {
    color: #ffffff !important;
}

.main-footer .social-links li a::before {
    z-index: 0 !important;
}

.main-footer .social-links li a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    color: #ffffff !important;
}

.main-footer .social-links li a:hover::before {
    z-index: 0 !important;
}

/* Garantir que os links apareçam */
.main-footer .widget-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.main-footer .links-list {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.main-footer .links-list li {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    list-style: none !important;
}

.main-footer .links-list li a {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #111111 !important;
    text-decoration: none !important;
}

.main-footer .links-list li a:hover {
    color: #000000 !important;
    text-decoration: none !important;
}

/* Corrigir ícone scroll-to-top */
.scroll-to-top {
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.scroll-to-top span.fa-arrow-up {
    display: block !important;
    font-size: 18px !important;
    line-height: 50px !important;
    color: #ffffff !important;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    text-align: center;
}

.scroll-to-top span.fa-arrow-up:before {
    content: "\f062";
    font-family: "FontAwesome" !important;
    font-weight: normal;
    font-style: normal;
    display: inline-block;
}

/* FAQ Component - Estilo shadcn */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item.active {
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #111111;
    font-family: 'Hanken Grotesk', sans-serif;
    transition: all 0.2s ease;
}

.faq-question:hover {
    color: #000000;
}

.faq-question span {
    flex: 1;
    padding-right: 16px;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #6b7280;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #000000;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px 24px;
}

.faq-answer p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding-top: 8px;
}

@media (max-width: 768px) {
    .faq-container {
        gap: 8px;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 16px 20px;
    }
}

/* Feature Grid - Estilo shadcn */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #000000 0%, #333333 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    border-color: #000000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 48px;
    font-weight: 800;
    color: #f3f4f6;
    line-height: 1;
    font-family: 'Hanken Grotesk', sans-serif;
    z-index: 0;
}

.feature-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f7ff;
    color: #000000;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 12px 0;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    font-family: 'Hanken Grotesk', sans-serif;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 32px;
    }

    .feature-card {
        padding: 24px;
    }

    .feature-number {
        font-size: 36px;
        top: 20px;
        right: 20px;
    }

    .feature-card h3 {
        font-size: 18px;
    }
}

/* Demo Page */
.demo-hero {
    background: #f4f6fb;
    padding-top: 100px;
}

.demo-hero-card {
    background: radial-gradient(circle at top right, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.85));
    border-radius: 32px;
    padding: 70px 60px;
    color: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.demo-hero-card .hero-highlight {
    justify-content: center;
    margin-bottom: 16px;
}

.demo-hero-card h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
}

.demo-hero-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    max-width: 760px;
    margin: 0 auto 32px auto;
}

.demo-hero-metrics {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.demo-hero-metrics div h3 {
    font-size: 36px;
    margin: 0;
}

.demo-cards-section {
    background: #ffffff;
}

.demo-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.demo-card {
    border-radius: 28px;
    border: 1px solid #e5ebf5;
    padding: 32px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(11, 33, 75, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.demo-card:after {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    pointer-events: none;
}

.demo-card h3 {
    font-size: 22px;
    margin: 0;
}

.demo-card p {
    margin: 0;
    color: #4b5674;
}

.demo-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.12);
    color: #111111;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
}

.demo-card-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-card-highlights li {
    padding-left: 28px;
    position: relative;
    color: #1b253f;
}

.demo-card-highlights li:before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    position: absolute;
    left: 0;
    top: 4px;
    border: 2px solid #111111;
}

.demo-credentials {
    background: #f5f7fb;
    border-radius: 20px;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.demo-credentials span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #6f7b9b;
    letter-spacing: 0.5px;
}

.demo-credentials strong {
    font-size: 16px;
    color: #0b1428;
}

.demo-card-footer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-premium.ghost {
    background: transparent;
    border: 1px solid rgba(11, 33, 75, 0.15);
    color: #0b1428;
}

.btn-premium.ghost.copied,
.copy-credentials.copied {
    border-color: #22c55e;
    color: #22c55e;
}

@media (max-width: 768px) {
    .demo-hero-card {
        padding: 48px 28px;
    }

    .demo-hero-metrics {
        gap: 20px;
    }

    .demo-credentials {
        flex-direction: column;
    }

    .demo-card-footer {
        flex-direction: column;
    }
}


/* ===== SCROLL ANIMATIONS ===== */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Adicionar delay escalonado para elementos em grid */
.scroll-fade-in:nth-child(1) {
    transition-delay: 0.1s;
}

.scroll-fade-in:nth-child(2) {
    transition-delay: 0.2s;
}

.scroll-fade-in:nth-child(3) {
    transition-delay: 0.3s;
}

.scroll-fade-in:nth-child(4) {
    transition-delay: 0.4s;
}

/* ===== MELHORIAS ADICIONAIS ===== */

/* CTA Premium - Mais impactante */
.cta-premium {
    background: #000000;
    border-radius: 32px;
    padding: 80px 60px;
    color: #fff;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.cta-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-premium h2 {
    font-size: 52px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cta-premium p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 19px;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.cta-premium .hero-actions {
    position: relative;
    z-index: 1;
}

/* Trusted Logos - Mais refinado */
.trusted-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    align-items: center;
    padding: 36px;
    border-radius: 24px;
    border: 1px solid #e5ebf5;
    background: linear-gradient(135deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.1);
    margin-top: 80px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.logo-chip {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    color: var(--xxcrm-dark);
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 2px 8px rgba(0, 0, 0, 0.04);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
}

.logo-chip:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.2);
}

/* Stats Card - Mais visual */
.stat-card {
    padding: 36px;
    border-radius: 24px;
    border: 1px solid #e5ebf5;
    background: linear-gradient(135deg, #ffffff 0%, #f9fbff 100%);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.stat-card h3 {
    font-size: 48px;
    color: var(--xxcrm-blue);
    margin-bottom: 8px;
    font-weight: 800;
    background: linear-gradient(135deg, #111111, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card p {
    color: var(--xxcrm-slate);
    font-weight: 600;
}

/* Glow Card - Mais impactante */
.glow-card {
    background: #111111;
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

.glow-card h3,
.glow-card p {
    position: relative;
    z-index: 1;
}

.glow-card p {
    color: rgba(255, 255, 255, 0.85);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ===== ACESSIBILIDADE ===== */

/* Respeitar preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-premium {
        animation: none !important;
    }

    .btn-premium.primary {
        animation: none !important;
    }

    .scroll-fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Melhorar foco para navegação por teclado */
.btn-premium:focus-visible,
.faq-question:focus-visible {
    outline: 3px solid #000000;
    outline-offset: 3px;
}

/* ===== SECÇÃO PLANOS E PREÇOS ===== */

/* Cards de Planos - Desktop */
.pricing-cards-desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.pricing-card {
    background: #fff;
    border: 1px solid #e5ebf5;
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.3);
}

.pricing-card-popular {
    border: 2px solid var(--xxcrm-blue);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.pricing-card-popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #000000, #333333);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e5ebf5;
}

.pricing-badge {
    font-size: 16px;
    font-weight: 600;
    color: var(--xxcrm-dark);
    margin-bottom: 20px;
    display: block;
}

.pricing-price {
    margin-bottom: 12px;
}

.price-main {
    font-size: 48px;
    font-weight: 800;
    color: var(--xxcrm-dark);
    line-height: 1;
    display: block;
}

.price-sub {
    font-size: 18px;
    color: var(--xxcrm-slate);
    font-weight: 500;
}

.price-alt {
    font-size: 15px;
    color: var(--xxcrm-slate);
    margin-bottom: 20px;
}

.pricing-description {
    color: var(--xxcrm-slate);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.pricing-features {
    flex: 1;
    margin-bottom: 32px;
}

.includes-basic {
    font-size: 14px;
    font-weight: 600;
    color: var(--xxcrm-blue);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5ebf5;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--xxcrm-dark);
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    padding-left: 28px;
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--xxcrm-blue);
    font-weight: 700;
    font-size: 18px;
}

.pricing-cta {
    margin-top: auto;
}

.pricing-cta .btn-premium {
    width: 100%;
    justify-content: center;
}

/* Versão Mobile Curta */
.pricing-cards-mobile {
    display: none;
}

.pricing-mobile-card {
    background: #fff;
    border: 1px solid #e5ebf5;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.pricing-mobile-popular {
    border: 2px solid var(--xxcrm-blue);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02), rgba(255, 255, 255, 1));
}

.mobile-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.mobile-plan-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--xxcrm-dark);
}

.mobile-plan-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--xxcrm-blue);
}

.pricing-mobile-card .btn-premium.mobile {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
}

/* Tabela Comparativa */
.pricing-comparison-table {
    margin: 80px 0 60px;
}

.pricing-comparison-table h3 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--xxcrm-dark);
    margin-bottom: 40px;
    padding-top: 70px;
}

.comparison-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid #e5ebf5;
    background: #fff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table thead {
    background: linear-gradient(135deg, #000000, #333333);
    color: #fff;
}

.comparison-table th {
    padding: 20px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th:first-child {
    border-top-left-radius: 16px;
}

.comparison-table th:last-child {
    border-top-right-radius: 16px;
    border-right: none;
}

.comparison-table th.popular-col {
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e5ebf5;
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: #f8faff;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 16px;
    font-size: 15px;
    color: var(--xxcrm-dark);
    border-right: 1px solid #e5ebf5;
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--xxcrm-slate);
}

.comparison-table td:last-child {
    border-right: none;
}

.comparison-table td.popular-col {
    background: rgba(0, 0, 0, 0.03);
    font-weight: 600;
    color: var(--xxcrm-blue);
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table td:not(:first-child):not(.popular-col) {
    color: var(--xxcrm-slate);
}

/* Nota Importante */
.pricing-notes {
    background: #f8faff;
    border-radius: 16px;
    padding: 32px;
    margin: 60px 0;
    border: 1px solid #e5ebf5;
}

.pricing-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.pricing-notes li {
    color: var(--xxcrm-dark);
    font-size: 15px;
    line-height: 1.6;
    padding-left: 0;
}

.pricing-notes li strong {
    color: var(--xxcrm-blue);
    font-weight: 600;
}

/* Micro-secção Pagamentos */
.payment-methods {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #e5ebf5;
    margin-top: 60px;
}

.payment-methods h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--xxcrm-dark);
    margin-bottom: 24px;
}

.payment-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.payment-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e5ebf5;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 15px;
    color: var(--xxcrm-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.payment-badge span:first-child {
    font-size: 24px;
}

.payment-note {
    color: var(--xxcrm-slate);
    font-size: 14px;
    margin: 0;
    font-style: italic;
}

/* Responsividade Planos */
@media (max-width: 991px) {
    .pricing-cards-desktop {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-card-popular {
        transform: scale(1);
    }

    .pricing-card-popular:hover {
        transform: translateY(-8px);
    }

    .pricing-comparison-table {
        margin: 60px 0 40px;
    }

    .pricing-notes ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .pricing-cards-desktop {
        display: none;
    }

    .pricing-cards-mobile {
        display: block;
        margin-bottom: 40px;
    }

    .pricing-comparison-table h3 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .comparison-table {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }

    .price-main {
        font-size: 36px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .payment-badges {
        flex-direction: column;
        align-items: stretch;
    }

    .payment-badge {
        justify-content: center;
    }
}

/* ===== RESPONSIVIDADE ADICIONAL ===== */

@media (max-width: 1200px) {
    .hero-content-centered h1 {
        font-size: 56px;
    }

    .section-heading h2 {
        font-size: 42px;
    }

    .cta-premium h2 {
        font-size: 44px;
    }
}

@media (max-width: 991px) {
    .premium-section {
        padding: 80px 0;
    }

    .hero-section-wrapper {
        padding: 120px 0 80px 0;
    }

    .hero-premium {
        padding: 60px 40px 160px 40px;
    }

    .hero-content-centered h1 {
        font-size: 48px;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .cta-premium {
        padding: 60px 40px;
    }

    .cta-premium h2 {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    .premium-section {
        padding: 60px 0;
    }

    .hero-section-wrapper {
        padding: 100px 0 60px 0;
    }

    .hero-premium {
        padding: 50px 24px 120px 24px;
    }

    .hero-content-centered h1 {
        font-size: 36px;
        letter-spacing: -0.01em;
    }

    .hero-content-centered p {
        font-size: 17px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .section-heading p {
        font-size: 17px;
    }

    .btn-premium {
        padding: 16px 28px;
        font-size: 15px;
    }

    .cta-premium {
        padding: 50px 24px;
    }

    .cta-premium h2 {
        font-size: 32px;
    }

    .cta-premium p {
        font-size: 17px;
    }

    .stat-card h3 {
        font-size: 40px;
    }

    .trusted-logos {
        padding: 24px;
        gap: 16px;
    }

    .logo-chip {
        padding: 16px;
        font-size: 13px;
    }
}

/* ===== MELHORIAS DE PERFORMANCE ===== */

/* Usar will-change para animações frequentes */
.btn-premium,
.card-premium,
.stat-card,
.logo-chip {
    will-change: transform;
}

/* Otimizar renderização de sombras */
.hero-premium,
.cta-premium,
.card-premium {
    transform: translateZ(0);
    backface-visibility: hidden;
}