/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-shrink: 0;
    display: block;
    background: transparent;
}

.logo-text {
    display: inline-block;
}

.logo-badge {
    background: #e63946;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav button, nav a {
    background: none;
    border: none;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
    font-size: 14px;
}

nav button:hover, nav a:hover {
    color: #e63946;
}

/* Credit Badge */
.credit-badge {
    display: inline-flex;
    align-items: center;
    background: #fff5f5;
    padding: 4px 10px;
    border-radius: 50px;
    margin-left: 8px;
    font-size: 13px;
    color: #e63946;
    border: 1px solid #e63946;
    transition: all 0.3s;
}

.credit-badge i {
    margin-left: 4px;
    font-size: 12px;
}

.credit-badge:hover {
    background: #e63946;
    color: white;
}

/* User Menu */
.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    z-index: 1000;
    overflow: hidden;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.user-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-header {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    background: #fff5f5;
}

.user-menu-credits {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #e63946;
    margin-bottom: 8px;
}

.user-menu-credits i {
    font-size: 18px;
}

.user-menu-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-top: 4px;
}

.low-credits-warning {
    padding: 12px 16px;
    background: #fff3cd;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    border-bottom: 1px solid #e0e0e0;
}

.low-credits-warning i {
    color: #ffc107;
}

.watermark-info {
    padding: 12px 16px;
    background: #d1ecf1;
    color: #0c5460;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    border-bottom: 1px solid #e0e0e0;
}

.watermark-info i {
    color: #17a2b8;
}

.user-menu-items {
    padding: 8px 0;
}

.user-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    cursor: pointer;
    gap: 12px;
}

.user-menu-item:hover {
    background: #fff5f5;
    color: #e63946;
}

.user-menu-item i {
    width: 20px;
    text-align: center;
    color: #666;
}

.user-menu-item:hover i {
    color: #e63946;
}

.btn-primary {
    background: #e63946;
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 14px;
}

.btn-primary:hover {
    background: #d62828;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
}

.mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 60px 20px;
    background: white;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #d4f4dd;
    color: #2d7d4a;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    color: #000;
}

.hero h1 .highlight {
    color: #e63946;
}

.hero p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.hero p strong {
    color: #333;
    font-weight: 600;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: #555;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.features-list li::before {
    content: "✓";
    color: #2ecc71;
    font-weight: bold;
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-secondary {
    border: 2px solid #e63946;
    color: #e63946;
    background: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-secondary:hover {
    background: #fff5f5;
}

.hero-right {
    position: relative;
    min-height: 400px;
}

/* Hero Comparison - Copiado do index principal */
.hero-comparison-container {
    width: 100%;
    position: relative;
}

.hero-image-comparison-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 400px !important; /* Altura fixa para garantir visibilidade */
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #f0f0f0 !important; /* Background cinza para debug */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

.hero-comparison-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero-after-image {
    z-index: 1 !important;
}

.hero-before-image {
    z-index: 2 !important;
    transition: none !important;
}

.hero-comparison-slider {
    position: absolute !important;
    top: 0 !important;
    left: 50%;
    width: 4px !important;
    height: 100% !important;
    background: #e63946 !important;
    transform: translateX(-50%);
    z-index: 10 !important;
    cursor: ew-resize !important;
    transition: none !important;
    pointer-events: auto !important;
}

.hero-comparison-slider:hover {
    background: #c1121f !important;
}

.hero-comparison-slider::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 44px !important;
    height: 44px !important;
    background: #e63946 !important;
    border: 4px solid white !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    pointer-events: auto !important;
}

.hero-comparison-labels {
    position: absolute !important;
    top: 20px !important;
    left: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    padding: 0 24px !important;
    pointer-events: none !important;
    z-index: 11 !important;
}

.hero-before-label,
.hero-after-label {
    background: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    backdrop-filter: blur(4px) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Upload Box */
.upload-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 3px dashed #dee2e6;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-box:hover {
    border-color: #e63946;
    background: white;
}

.upload-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.upload-box h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #333;
}

.upload-box p {
    color: #666;
    font-size: 14px;
}

/* Preview Container */
.preview-container {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.preview-container img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 16px;
}

#request-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
    margin-bottom: 16px;
}

#request-input:focus {
    outline: none;
    border-color: #e63946;
}

/* Result Container */
.result-container {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.result-container img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 16px;
}

.result-actions {
    display: flex;
    gap: 12px;
}

/* Truth Section */
.truth {
    background: #1a1f2e;
    color: white;
    padding: 80px 20px;
}

.truth h2 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 900;
}

.truth h2 .highlight {
    color: #e63946;
}

.truth-subtitle {
    text-align: center;
    color: #aaa;
    margin-bottom: 60px;
    font-size: 16px;
}

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

.truth-card {
    border: 1px solid #333;
    padding: 32px;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
}

.truth-card-icon {
    font-size: 32px;
    margin-bottom: 16px;
    color: #e63946;
    display: flex;
    align-items: center;
    justify-content: center;
}

.truth-card-icon i {
    color: #e63946;
    font-size: 32px;
}

.truth-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
}

.truth-card p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    background: white;
    padding: 80px 20px;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: #000;
}

.section-title .highlight {
    color: #000;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    color: #999;
    margin-bottom: 60px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

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

.benefit-card {
    text-align: center;
    padding: 32px 24px;
}

.benefit-number {
    font-size: 56px;
    font-weight: 900;
    color: #e63946;
    margin-bottom: 12px;
}

.benefit-label {
    color: #666;
    font-size: 13px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
}

.benefit-card p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

/* Partners Section */
.partners {
    background: white;
    padding: 80px 20px;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.partners-carousel {
    overflow: hidden;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 60px;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.partners-track {
    display: flex;
    gap: 60px;
    animation: scroll-partners 50s linear infinite;
    width: fit-content;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-partners {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 30px));
    }
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 120px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.partner-item:hover {
    opacity: 1;
}

.partner-logo {
    width: 100px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    max-width: 100%;
    max-height: 100%;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%);
}

.partner-logo-text {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fafafa;
}

.partner-item:hover .partner-logo-text {
    color: #333;
    border-color: #ccc;
    background: white;
}

.partner-name {
    font-size: 13px;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Testimonials Section */
.testimonials {
    background: #fafafa;
    padding: 100px 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 0;
    transition: all 0.3s ease;
    border: none;
    border-top: 2px solid #e63946;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-content {
    margin-bottom: 32px;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    font-style: normal;
    font-weight: 400;
}

.testimonial-content strong {
    color: #000;
    font-weight: 600;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid #e8e8e8;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #e8e8e8;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-initial {
    color: #666;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.testimonial-role {
    font-size: 13px;
    color: #999;
    margin: 0;
    font-weight: 400;
}

/* Pricing Section */
.pricing {
    background: white;
    padding: 80px 20px;
}

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

.pricing-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.pricing-card.popular {
    border-color: #e63946;
    background: #fff5f5;
    transform: scale(1.05);
}

.pricing-card.popular::before {
    content: "Mais Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #e63946;
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 700;
}

.pricing-card-subtitle {
    color: #999;
    font-size: 12px;
    margin-bottom: 20px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 900;
    color: #333;
    margin-bottom: 8px;
}

.pricing-period {
    color: #999;
    font-size: 12px;
    margin-bottom: 32px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    list-style: none;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li::before {
    content: "✓";
    color: #2ecc71;
    font-weight: bold;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #e63946 0%, #d62828 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
}

.cta p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.btn-white {
    background: white;
    color: #e63946;
    padding: 14px 32px;
    border-radius: 25px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: #1a1f2e;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e63946;
}

.footer-bottom {
    color: #666;
    font-size: 12px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #e63946;
}

.modal-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #e63946;
}

.modal-icon i {
    color: #e63946;
    font-size: 3rem;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.modal-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.google-login-btn {
    width: 100%;
    padding: 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.google-login-btn:hover {
    border-color: #e63946;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cpf-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.cpf-input:focus {
    outline: none;
    border-color: #e63946;
}

.payment-methods {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.payment-method {
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-method:hover {
    border-color: #e63946;
    background: #fff5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.15);
}

.payment-method-icon {
    font-size: 2rem;
    color: #e63946;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}

.payment-method-icon i {
    color: #e63946;
    font-size: 2rem;
}

.qr-container {
    text-align: center;
    padding: 2rem;
}

#qr-code {
    margin: 1rem auto;
}

.pix-code {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    word-break: break-all;
    margin: 1rem 0;
    font-family: monospace;
    font-size: 0.85rem;
}

.loading {
    text-align: center;
    padding: 3rem;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e63946;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Credit Card Form Styles */
.credit-card-modal .modal-content {
    max-width: 600px;
}

.credit-card-modal form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.credit-card-modal .cpf-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    margin-bottom: 0;
    transition: all 0.3s;
    background: white;
    color: #333;
}

.credit-card-modal .cpf-input:focus {
    outline: none;
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.credit-card-modal select.cpf-input {
    cursor: pointer;
}

.credit-card-modal .btn-primary {
    background: #e63946;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.credit-card-modal .btn-primary:hover {
    background: #c92a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.credit-card-modal .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Bottom Sheet Dialogs */
.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 3000;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
}

.bottom-sheet.active {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
}

.bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.bottom-sheet-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bottom-sheet-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.bottom-sheet-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.bottom-sheet-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.3s;
}

.bottom-sheet-close:hover {
    color: #e63946;
}

.bottom-sheet-content {
    padding: 1.5rem;
}

.bottom-sheet-image-preview {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: #f5f5f5;
}

.bottom-sheet-result-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: #f5f5f5;
}

.bottom-sheet-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.bottom-sheet-actions .btn-primary,
.bottom-sheet-actions .btn-secondary {
    flex: 1;
}

/* Comparison Slider Styles */
.result-comparison-container {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    position: relative;
    min-height: 300px;
    max-height: 500px;
}

.image-comparison-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: 500px;
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.after-image {
    z-index: 1;
}

.before-image {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.comparison-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #e63946;
    transform: translateX(-50%);
    z-index: 10;
    cursor: ew-resize;
    transition: background 0.2s;
}

.comparison-slider:hover {
    background: #c1121f;
}

.comparison-slider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #e63946;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.comparison-labels {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 11;
}

.before-label,
.after-label {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* Responsive para comparison */
@media (max-width: 768px) {
    .result-comparison-container {
        min-height: 250px;
        max-height: 400px;
    }
    
    .image-comparison-wrapper {
        min-height: 250px;
        max-height: 400px;
    }
    
    .comparison-labels {
        padding: 0 10px;
    }
    
    .before-label,
    .after-label {
        font-size: 11px;
        padding: 4px 8px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 36px;
    }
    
    .hero-image-comparison-wrapper {
        height: 300px;
    }
    
    .hero-comparison-labels {
        padding: 0 16px;
    }
    
    .hero-before-label,
    .hero-after-label {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .hero-comparison-slider::before {
        width: 36px;
        height: 36px;
        border-width: 3px;
    }

    nav {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
        margin-left: auto !important;
        margin-right: 8px !important;
    }
    
    nav button:not(#login-btn-nav) {
        display: none !important;
    }
    
    /* Mostrar botão de login no header mobile quando logado */
    nav #login-btn-nav {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        background: none !important;
        border: none !important;
        color: #666 !important;
        font-weight: 500 !important;
        cursor: pointer !important;
        font-size: 12px !important;
        padding: 6px 10px !important;
    }
    
    nav #login-btn-nav img,
    nav #login-btn-nav i {
        width: 20px !important;
        height: 20px !important;
        flex-shrink: 0 !important;
    }
    
    nav #login-btn-nav span:not(.credit-badge) {
        display: none !important;
    }
    
    nav #login-btn-nav .credit-badge {
        font-size: 10px !important;
        padding: 2px 6px !important;
        margin-left: 0 !important;
    }

    .menu-toggle {
        display: block;
    }
    
    /* Ajustar layout do header no mobile */
    .header-content {
        gap: 8px !important;
        position: relative !important;
    }
    
    .logo {
        font-size: 18px !important;
        flex-shrink: 0 !important;
    }

    .truth h2, .section-title, .cta h2 {
        font-size: 32px;
    }

    .partners {
        padding: 60px 20px;
    }

    .partners-carousel {
        overflow: hidden;
        margin-top: 40px;
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }

    .partners-track {
        gap: 40px;
        animation: scroll-partners 35s linear infinite;
        will-change: transform;
        backface-visibility: hidden;
        transform: translateZ(0);
    }

    .partner-item {
        min-width: 100px;
        flex-shrink: 0;
    }

    .credit-card-modal .modal-content {
        max-width: 95%;
        padding: 2rem 1.5rem;
    }

    .credit-card-modal form > div[style*="grid"] {
        grid-template-columns: 1fr !important;
    }

    .partner-logo {
        width: 70px;
        height: 42px;
        filter: grayscale(100%);
    }

    .partner-item:hover .partner-logo {
        filter: grayscale(100%);
    }

    .partner-name {
        font-size: 11px;
    }

    .testimonials {
        padding: 60px 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }

    .testimonial-content {
        margin-bottom: 20px;
    }

    .testimonial-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .testimonial-author {
        padding-top: 16px;
        gap: 12px;
    }

    .testimonial-avatar {
        width: 40px;
        height: 40px;
    }

    .testimonial-info h3 {
        font-size: 14px;
    }

    .testimonial-role {
        font-size: 12px;
    }

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

    .mobile-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid #f0f0f0;
        padding: 20px;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu button, .mobile-menu a {
        padding: 12px;
        text-align: left;
        color: #666;
        background: none;
        border: none;
        cursor: pointer;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }
    
    /* Estilo específico para botão de login/logado no mobile */
    #login-btn-mobile {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
        padding: 12px 16px !important;
        border-radius: 8px !important;
        background: #f8f9fa !important;
        border: 1px solid #e0e0e0 !important;
        margin-bottom: 8px !important;
    }
    
    #login-btn-mobile img,
    #login-btn-mobile i {
        flex-shrink: 0 !important;
        width: 24px !important;
        height: 24px !important;
    }
    
    #login-btn-mobile span:not(.credit-badge) {
        flex: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-weight: 600 !important;
        color: #333 !important;
    }
    
    #login-btn-mobile .credit-badge {
        margin-left: auto !important;
        flex-shrink: 0 !important;
        font-size: 12px !important;
        padding: 4px 8px !important;
    }
}

/* Floating Button para Mobile */
.floating-edit-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #e63946 0%, #d62828 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
    z-index: 2500;
    transition: all 0.3s ease;
    align-items: center;
    gap: 8px;
}

.floating-edit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(230, 57, 70, 0.5);
}

.floating-edit-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .floating-edit-btn {
        display: flex;
        bottom: 20px;
        right: 16px;
    }

    .floating-dashboard-btn {
        display: flex;
        bottom: 90px;
        right: 16px;
    }
}

@media (min-width: 769px) {
    .floating-dashboard-btn {
        display: flex;
    }
}

/* Floating Button para Dashboard */
.floating-dashboard-btn {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: linear-gradient(135deg, #e63946 0%, #d62828 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
    z-index: 2499;
    transition: all 0.3s ease;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.floating-dashboard-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-dashboard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(230, 57, 70, 0.5);
}

.floating-dashboard-btn.visible:hover {
    transform: translateY(-2px);
}

.floating-dashboard-btn:active {
    transform: translateY(0);
}

.floating-dashboard-btn i {
    font-size: 18px;
}

.floating-dashboard-btn span {
    font-size: 15px;
}

/* Examples Section */
.examples {
    padding: 80px 0;
    background: #f8f9fa;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.example-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.example-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.example-comparison-container {
    width: 100%;
    position: relative;
    background: #000;
    height: 400px;
    min-height: 400px;
    max-height: 400px;
}

.example-image-comparison-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    height: 400px;
    min-height: 400px;
    max-height: 400px;
}

.example-comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 400px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
}

.example-after-image {
    z-index: 1;
}

.example-before-image {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.example-comparison-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #e63946;
    transform: translateX(-50%);
    z-index: 10;
    cursor: ew-resize;
    transition: background 0.2s;
}

.example-comparison-slider:hover {
    background: #c1121f;
}

.example-comparison-slider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #e63946;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.example-comparison-labels {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 11;
}

.example-before-label,
.example-after-label {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.example-info {
    padding: 1.5rem;
    text-align: center;
}

.example-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.example-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.loading-examples {
    grid-column: 1 / -1;
}

.loading-examples .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e63946;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Examples */
@media (max-width: 1024px) {
    .examples-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .examples {
        padding: 60px 0;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .example-comparison-container {
        min-height: 250px;
        max-height: 300px;
    }
    
    .example-image-comparison-wrapper {
        min-height: 250px;
        max-height: 300px;
    }
    
    .example-comparison-labels {
        padding: 0 10px;
    }
    
    .example-before-label,
    .example-after-label {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .example-comparison-slider::before {
        width: 36px;
        height: 36px;
        border-width: 3px;
    }
}
