/* ========================================
   HERO MERCHANTS
   ======================================== */
.hero-merchants {
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-50) 0%, #ffffff 40%, var(--primary-50) 100%);
}

.hero-merchants::before {
    content: "";
    position: absolute;
    inset: -30% -50% auto -50%;
    height: 140%;
    background:
        radial-gradient(ellipse 1200px 600px at 20% 10%, rgba(25, 118, 210, .1), transparent),
        radial-gradient(ellipse 1000px 500px at 80% 60%, rgba(25, 118, 210, .08), transparent);
    pointer-events: none;
    z-index: 0;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-5%, 5%);
    }
}

.hero-merchants .hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-merchants h1 {
    font-size: clamp(42px, 5.5vw, 68px);
    line-height: 1.1;
    margin: 24px 0;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: var(--text-900);
}

.hero-merchants p {
    color: var(--text-600);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.7;
    max-width: 56ch;
}

.hero-trust {
    display: flex;
    gap: 48px;
    align-items: center;
    margin-top: 48px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.trust-item {
    text-align: left;
}

.trust-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-700);
    line-height: 1;
    margin-bottom: 8px;
}

.trust-label {
    font-size: 14px;
    color: var(--text-600);
    font-weight: 500;
}

/* Hero Screenshot */
.hero-screenshot {
    position: relative;
}

.webapp-screenshot {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.screenshot-browser {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.browser-bar {
    height: 40px;
    background: #f1f5f9;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 16px;
}

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

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
}

.browser-dots span:nth-child(1) {
    background: #ef4444;
}

.browser-dots span:nth-child(2) {
    background: #f59e0b;
}

.browser-dots span:nth-child(3) {
    background: #10b981;
}

.screenshot-content {
    display: flex;
    height: 500px;
    background: #f8fafc;
}

.screenshot-sidebar {
    width: 240px;
    background: var(--text-900);
    border-right: 1px solid var(--border);
}

.screenshot-main {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.screenshot-header {
    height: 60px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
}

.screenshot-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-box {
    height: 100px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.screenshot-chart {
    flex: 1;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   FEATURES GRID LARGE
   ======================================== */
.features-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-icon img {
    width: 115px;
    height: 115px;
    display: block;
    margin: 0 auto;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-900);
    margin: 0 0 12px;
    text-align: center;
}

.feature-card p {
    color: var(--text-600);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   SCREENSHOTS SECTION
   ======================================== */
.screenshots-section {
    background: var(--bg);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.screenshot-item {
    text-align: center;
    cursor: pointer;
}

.screenshot-frame {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.screenshot-item:hover .screenshot-frame {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-300);
}

.screenshot-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.screenshot-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-900);
    margin: 0 0 8px;
}

.screenshot-item p {
    font-size: 14px;
    color: var(--text-600);
    margin: 0;
}

/* ========================================
   LIGHTBOX MODAL
   ======================================== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-overlay.active {
    display: flex;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 1200px;
    max-height: 90vh;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    padding: 40px;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
    opacity: 1;
}

.lightbox-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    min-height: 400px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    object-fit: contain;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    font-weight: 300;
    color: var(--text-700);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--primary-700);
    color: white;
    border-color: var(--primary-700);
    transform: rotate(90deg) scale(1.1);
    box-shadow: var(--shadow-primary-lg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary-700);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.lightbox-nav:hover {
    background: var(--primary-700);
    color: white;
    border-color: var(--primary-700);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-primary-lg);
}

.lightbox-nav.prev {
    left: -60px;
}

.lightbox-nav.next {
    right: -60px;
}

.lightbox-info {
    text-align: center;
    padding-top: 24px;
    border-top: 2px solid var(--border);
}

.lightbox-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-900);
    margin: 0 0 8px;
}

.lightbox-description {
    font-size: 16px;
    color: var(--text-600);
    margin: 0 0 12px;
}

.lightbox-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--primary-50);
    color: var(--primary-700);
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--primary-200);
}

/* ========================================
   WORKFLOW SECTION
   ======================================== */
.workflow-section {
    background: white;
}

.workflow-steps {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.workflow-step {
    display: grid;
    grid-template-columns: 80px 1fr 120px;
    gap: 32px;
    align-items: center;
    padding: 36px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.workflow-step:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.workflow-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-200);
    line-height: 1;
}

.workflow-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-900);
    margin: 0 0 12px;
}

.workflow-content p {
    font-size: 16px;
    color: var(--text-600);
    line-height: 1.6;
    margin: 0;
}

.workflow-visual {
    font-size: 64px;
    text-align: center;
}

.workflow-visual img {
    margin-left: 20px;
    width: 85px;
    height: 85px;
}

/* ========================================
   BENEFITS SECTION
   ======================================== */
.benefits-section {
    background: var(--bg);
}

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

.benefit-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-700), var(--primary-500));
    transform: scaleX(0);
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

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

.benefit-stat {
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 24px;
}

.benefit-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-900);
    margin: 0 0 16px;
}

.benefit-card p {
    font-size: 16px;
    color: var(--text-600);
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin: 20px 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item[open] {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-300);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text-900);
    font-size: 18px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 28px;
    font-weight: 300;
    color: var(--primary-700);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    color: var(--text-600);
    margin: 20px 0 0;
    line-height: 1.7;
    font-size: 16px;
}

/* ========================================
   RESPONSIVE - PAGE COMMERÇANTS
   ======================================== */
@media (max-width: 1100px) {
    .hero-merchants .hero-inner {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .hero-screenshot {
        order: -1;
    }

    .features-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .workflow-step {
        grid-template-columns: 60px 1fr;
        gap: 24px;
    }

    .workflow-visual {
        display: none;
    }

    .screenshot-content {
        height: 400px;
    }
}

@media (max-width: 900px) {
    .hero-merchants {
        padding: 72px 0;
    }

    .hero-trust {
        justify-content: center;
        text-align: center;
        gap: 32px;
    }

    .trust-item {
        text-align: center;
    }

    .trust-number {
        font-size: 32px;
    }

    .screenshot-content {
        height: 350px;
    }

    .screenshot-sidebar {
        width: 180px;
    }

    .screenshot-main {
        padding: 16px;
    }

    .features-grid-large {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .workflow-step {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        text-align: center;
    }

    .workflow-number {
        font-size: 36px;
    }

    .workflow-content h3 {
        font-size: 20px;
    }

    .benefit-stat {
        font-size: 52px;
    }

    .benefit-card h3 {
        font-size: 20px;
    }

    .lightbox-content {
        padding: 24px;
        max-height: 85vh;
    }

    .lightbox-nav.prev {
        left: -10px;
    }

    .lightbox-nav.next {
        right: -10px;
    }

    .lightbox-close {
        top: -10px;
        right: -10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .screenshot-content {
        height: 280px;
    }

    .screenshot-sidebar {
        width: 120px;
    }

    .screenshot-main {
        padding: 12px;
        gap: 12px;
    }

    .screenshot-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-box {
        height: 80px;
    }

    .hero-trust {
        gap: 24px;
    }

    .trust-number {
        font-size: 28px;
    }

    .trust-label {
        font-size: 13px;
    }

    .lightbox-content {
        padding: 20px;
    }

    .lightbox-image {
        max-height: 60vh;
    }

    .lightbox-title {
        font-size: 20px;
    }

    .lightbox-description {
        font-size: 14px;
    }
}