/* Hero Visual Impact - User Request (Receipt Style) */

/* Typography for Title */
.hero-title {
    font-size: 2.5rem;
    /* Mobile base */
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
        /* Desktop Large */
    }
}

/* 
   -------------------------------------------------------
   RECEIPT BADGE STYLE (Based on User Snippet)
   -------------------------------------------------------
*/
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgb(254, 243, 199);
    /* Yellow Receipt BG */
    border: 1.5px dashed rgba(217, 30, 13, 0.25);
    /* Red Dashed Border */
    padding: 6px 16px;
    border-radius: 100px;
    /* font-family: var(--font-body); -> Assuming inherited */
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    color: #000000;
    /* Pure Black for Maximum Contrast */
    margin-bottom: 20px;
    box-shadow: rgba(217, 30, 13, 0.08) 0px 2px 6px, rgba(0, 0, 0, 0.04) 0px 1px 2px;
    transition: 0.25s;
    position: relative;
    box-sizing: border-box;

    /* Layout Logic from Previous Steps (Center & Wrap) */
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    max-width: 100%;
}

/* Hover Effect */
.hero-badge:hover {
    transform: translateY(-1px) rotate(-0.5deg);
    border-color: rgba(217, 30, 13, 0.35);
    box-shadow: rgba(217, 30, 13, 0.12) 0px 4px 12px, rgba(0, 0, 0, 0.06) 0px 2px 4px;
}

/* Perforation Lines REMOVED to clean up visual artifacts */
/* .hero-badge::before {
    content: "";
    position: absolute;
    top: 3px;
    Adjusted to sit inside
    left: 12px;
    right: 12px;
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(217, 30, 13, 0.15) 0px, rgba(217, 30, 13, 0.15) 4px, transparent 4px, transparent 8px);
    pointer-events: none;
} */

/* .hero-badge::after {
    content: "";
    position: absolute;
    bottom: 3px;
    Adjusted to sit inside
    left: 12px;
    right: 12px;
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(217, 30, 13, 0.15) 0px, rgba(217, 30, 13, 0.15) 4px, transparent 4px, transparent 8px);
    pointer-events: none;
} */

/* 
   -------------------------------------------------------
   CONTENT HIGHLIGHTS (Preserving Logic)
   -------------------------------------------------------
*/

/* Emoji Sizing */
.hero-badge .badge-emoji {
    font-size: 1.3em;
    line-height: 1;
    margin-right: 4px;
    vertical-align: middle;
}

/* Ketchup Line Effect (Green Price) */
.hero-badge .highlight-green {
    color: #16a34a;
    /* Force Green to contrast with Red base */
    font-weight: 900;
    /* Extra Bold for Emphasis */
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    padding-bottom: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0 10 Q 25 20 50 10 T 100 10' stroke='%2316a34a' stroke-width='4' fill='none' /%3E%3C/svg%3E");
    background-size: 100% 0.35em;
    background-position: 0 100%;
    background-repeat: no-repeat;
}

/* Red Strikethrough (Cost) */
.hero-badge .highlight-red {
    color: #dc2626;
    /* Slightly brighter red/darker red for contrast */
    font-weight: 900;
    /* Extra Bold for Emphasis */
    text-decoration: line-through;
    text-decoration-color: #fca5a5;
    white-space: nowrap;
}

/* 
   -------------------------------------------------------
   MOBILE RESPONSIVENESS
   -------------------------------------------------------
*/
@media (max-width: 640px) {
    .hero-badge {
        padding: 8px 16px;
        margin: 0px auto 16px;
        /* 16px Bottom Margin as requested */
        font-size: 13px;
        font-weight: 700;
        box-sizing: border-box !important;

        /* Layout Handling */
        width: max-content;
        max-width: 90%;
        gap: 4px;
        flex-direction: column;
        /* Ensure stacking if needed */
        border-radius: 12px;
        /* Less rounded on mobile? Or consistent? User said 'pegue aqui como era antes' so respecting their snippet. Their snippet didn't override border-radius, assuming 100px. I'll revert to 12px if it looks bad, but for now 100px.*/
        border-radius: 16px;
        /* Compromise for stacked content inside a pill */
    }

    .badge-separator {
        display: none;
    }

    /* Ensure content blocks behave well */
    .badge-text-group {
        display: block;
    }
}

/* 
   -------------------------------------------------------
   THE GOLDEN RECEIPT PARADOX (PROFIT ENGINE)
   Industrial Premium CSS - Steve Jobs / Jony Ive Inspired
   -------------------------------------------------------
*/

.profit-section-wrapper {
    position: relative;
    padding-top: 8px;
    margin-bottom: 72px;
}

.profit-section-wrapper>* {
    position: relative;
}

.how-it-works-header--compact {
    margin-bottom: 34px;
}

.how-it-works-header--process {
    margin-top: 0;
}

.section-badge--profit {
    background: #ECFDF5;
    color: #047857;
    border-color: rgba(4, 120, 87, 0.2);
}

.section-badge--profit i {
    color: #047857;
    animation: none;
}

.profit-headline-sub {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.6em;
    display: block;
    margin-top: 8px;
}

.profit-subtitle {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.profit-primary-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 0 auto 20px;
}

.profit-primary-cta--below {
    width: 100%;
    margin: 18px auto 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.profit-reinforcement-strip {
    max-width: 760px;
    margin: 2px auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 2px dashed rgba(5, 150, 105, 0.34);
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.95) 0%, rgba(209, 250, 229, 0.86) 100%);
    color: #047857;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.12);
    width: fit-content;
    text-align: center;
}

.profit-primary-cta--below .ps-cta-button {
    margin: 0 auto;
}

.profit-reinforcement-strip i {
    width: 18px;
    height: 18px;
    color: #059669;
    flex-shrink: 0;
}

.profit-to-process-divider {
    width: 100%;
    max-width: 840px;
    height: 1px;
    margin: 10px auto 36px;
    background: repeating-linear-gradient(90deg,
            rgba(217, 30, 13, 0.26) 0px,
            rgba(217, 30, 13, 0.26) 8px,
            transparent 8px,
            transparent 16px);
}

.hiw-timeline--spaced {
    margin-bottom: 72px;
}

.hiw-step-title strong {
    font-weight: 900;
    color: var(--primary);
}

.hiw-step-description strong {
    font-weight: 700;
    color: var(--text-dark);
}

.profit-receipt-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    margin-bottom: 72px;
    perspective: 1200px;
}

/* Card Base - Notinha premium */
.receipt-card {
    background: linear-gradient(180deg, #FFFDF8 0%, #FFF8EE 100%);
    width: 390px;
    max-width: 100%;
    padding: 32px;
    border-radius: 18px;
    border: 2px dashed rgba(217, 30, 13, 0.2);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 12px 32px rgba(17, 24, 39, 0.08),
        0 3px 10px rgba(217, 30, 13, 0.06);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    isolation: isolate;
}

.receipt-card::before,
.receipt-card::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    height: 1px;
    pointer-events: none;
    opacity: 0.44;
    background: repeating-linear-gradient(90deg,
            rgba(217, 30, 13, 0.32) 0px,
            rgba(217, 30, 13, 0.32) 8px,
            transparent 8px,
            transparent 16px);
}

.receipt-card::before {
    top: 10px;
}

.receipt-card::after {
    bottom: 10px;
}

/* The "Old Way" (iFood/Commission) */
.receipt-card.old-way {
    background: linear-gradient(180deg, #F9FAFB 0%, #F3F4F6 100%);
    color: #6B7280;
    transform: rotate(-1.8deg) scale(0.96);
    opacity: 0.92;
    filter: saturate(0.65);
    border-color: rgba(239, 68, 68, 0.28);
}

.receipt-card.old-way::before,
.receipt-card.old-way::after {
    background: repeating-linear-gradient(90deg,
            rgba(239, 68, 68, 0.35) 0px,
            rgba(239, 68, 68, 0.35) 8px,
            transparent 8px,
            transparent 16px);
}

.receipt-card.old-way:hover {
    transform: rotate(-0.8deg) scale(0.99);
    filter: saturate(0.85);
    box-shadow: 0 14px 34px rgba(239, 68, 68, 0.16);
}

/* The "Gold Way" (Queru/Freedom) */
.receipt-card.gold-way {
    background: linear-gradient(180deg, #FFFEF8 0%, #FFFAEE 100%);
    border-color: rgba(5, 150, 105, 0.34);
    transform: rotate(1deg) scale(1.04);
    box-shadow:
        0 24px 56px rgba(5, 150, 105, 0.16),
        0 8px 18px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.receipt-card.gold-way::before,
.receipt-card.gold-way::after {
    background: repeating-linear-gradient(90deg,
            rgba(5, 150, 105, 0.36) 0px,
            rgba(5, 150, 105, 0.36) 8px,
            transparent 8px,
            transparent 16px);
}

.receipt-card.gold-way:hover {
    transform: rotate(0deg) scale(1.06);
    box-shadow:
        0 28px 64px rgba(5, 150, 105, 0.2),
        0 10px 22px rgba(0, 0, 0, 0.06);
}

/* Receipt Header */
.receipt-header {
    text-align: center;
    margin-bottom: 20px;
    padding-top: 6px;
}

.receipt-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.6px;
    color: #9CA3AF;
    margin-bottom: 8px;
}

.receipt-value {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 900;
    /* Inter ExtraBold */
    color: #111827;
    letter-spacing: -1px;
}

.receipt-value.blur {
    /* Subtle blur to indicate "Not really yours" */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #374151;
}

/* Dividers */
.receipt-divider {
    height: 1px;
    background: #E5E7EB;
    margin: 16px 0;
}

.receipt-divider.dashed {
    background: none;
    border-top: 2px dashed rgba(107, 114, 128, 0.26);
}

.receipt-divider.double {
    background: none;
    border-top: 2px dashed rgba(107, 114, 128, 0.36);
    height: 1px;
}

.receipt-divider--points {
    margin: 12px 0 14px;
}

/* Items */
.receipt-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 14px;
    align-items: start;
    font-size: 14px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.26);
    color: #4B5563;
}

.receipt-item:last-of-type {
    margin-bottom: 0;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.26);
}

.receipt-item span:first-child {
    min-width: 0;
    font-weight: 500;
}

.receipt-item span:last-child {
    white-space: nowrap;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.receipt-item.error span:last-child {
    color: #EF4444;
    /* Red */
    font-weight: 600;
}

.receipt-item.success span:last-child {
    color: #10B981;
    /* Green */
    font-weight: 700;
}

.receipt-item.highlight span:last-child {
    color: #047857;
    /* Queru Green */
    font-weight: 800;
    background: #ECFDF5;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Total Section */
.receipt-total {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}

.receipt-total.error {
    color: #991B1B;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 4px;
    align-items: start;
}

.receipt-total.error span:first-child {
    color: #991B1B;
    white-space: normal;
}

.receipt-total.error span:last-child {
    color: #DC2626;
    text-decoration: none;
    opacity: 1;
    white-space: normal;
    text-align: left;
    line-height: 1.15;
    font-size: 22px;
}

.receipt-total.success span:last-child {
    color: #16A34A;
    /* Vibrant Green */
    font-weight: 900;
    font-size: 24px;
    /* Larger */
}

.receipt-total:not(.error) span:first-child {
    white-space: nowrap;
}

.receipt-total:not(.error) span:last-child {
    white-space: nowrap;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.receipt-annual-note {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    border: 1px dashed rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    padding: 8px 10px;
    overflow-wrap: anywhere;
}

.receipt-annual-note.negative {
    color: #991B1B;
    background: rgba(254, 242, 242, 0.76);
}

.receipt-annual-note.positive {
    color: #065F46;
    background: rgba(236, 253, 245, 0.76);
}

/* STAMPS (The Emotional Punch) */
.receipt-crap-stamp {
    position: static;
    align-self: flex-start;
    transform: rotate(-8deg);
    border: 2px dashed rgba(239, 68, 68, 0.8);
    color: #DC2626;
    background: rgba(254, 242, 242, 0.88);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 999px;
    opacity: 0.96;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.2);
    margin-top: 14px;
    pointer-events: none;
}

.receipt-gold-stamp {
    position: static;
    align-self: flex-end;
    background: #D1FAE5;
    color: #047857;
    border: 2px dashed rgba(5, 150, 105, 0.58);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(5, 150, 105, 0.16);
    transform: rotate(-7deg);
    animation: stamp-pulse 3s infinite;
    margin-top: 14px;
    pointer-events: none;
}

@keyframes stamp-pulse {

    0%,
    100% {
        transform: rotate(-7deg) scale(1);
    }

    50% {
        transform: rotate(-7deg) scale(1.08);
    }
}

.receipt-hole-punch {
    width: 24px;
    height: 24px;
    background: radial-gradient(circle at 38% 36%, #F9F4E8 0%, #E7DFCF 72%);
    border: none;
    border-radius: 50%;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow:
        0 3px 8px rgba(17, 24, 39, 0.1),
        inset 0 2px 4px rgba(0, 0, 0, 0.22),
        inset 0 -1px 2px rgba(255, 255, 255, 0.55);
    z-index: 3;
}

/* Objections Grid */
.receipt-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    padding-top: 2px;
    border-top: none;
}

.receipt-point-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.receipt-point-item i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.receipt-points--negative .receipt-point-item {
    color: #B91C1C;
}

.receipt-points--negative .receipt-point-item i {
    color: #DC2626;
}

.receipt-points--positive .receipt-point-item {
    color: #047857;
}

.receipt-points--positive .receipt-point-item i {
    color: #059669;
}

/* 
   Steps Compact (Secondary) 
   Clean, horizontal, purely contextual.
*/
.hiw-steps-compact {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    opacity: 0.8;
}

.steps-compact-title {
    font-size: 16px;
    font-weight: 600;
    color: #9CA3AF;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.steps-compact-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.sc-step {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.sc-step.arrow {
    color: #E5E7EB;
    display: flex;
    align-items: center;
}

.sc-icon {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D91E0D;
}

.sc-icon i {
    width: 18px;
    height: 18px;
}

.sc-content strong {
    display: block;
    font-size: 14px;
    color: #111827;
}

.sc-content p {
    font-size: 12px;
    color: #6B7280;
    margin: 0;
    max-width: 160px;
}

/* Mobile Adjustments for Receipt */
@media (max-width: 768px) {
    .profit-section-wrapper {
        padding-top: 32px;
        margin-bottom: 56px;
    }

    .profit-to-process-divider {
        margin: 8px auto 28px;
    }

    .profit-primary-cta .ps-cta-button {
        width: 100%;
        max-width: 420px;
    }

    .profit-reinforcement-strip {
        width: 100%;
        max-width: 420px;
        border-radius: 14px;
        padding: 10px 12px;
        font-size: 13px;
        line-height: 1.3;
        margin: 2px auto 12px;
    }

    .hiw-timeline--spaced {
        margin-bottom: 56px;
    }

    .profit-receipt-container {
        flex-direction: column;
        align-items: center;
        gap: 26px;
        margin-top: 34px;
        margin-bottom: 56px;
        perspective: none;
    }

    .receipt-card {
        width: 100%;
        max-width: 360px;
        padding: 26px 20px 28px;
    }

    .receipt-card::before,
    .receipt-card::after {
        left: 14px;
        right: 14px;
        opacity: 0.38;
    }

    .receipt-card.old-way {
        transform: rotate(-0.6deg) scale(0.97);
        order: 2;
    }

    .receipt-card.gold-way {
        transform: rotate(0.4deg) scale(1);
        order: 1;
        box-shadow: 0 14px 34px rgba(5, 150, 105, 0.16);
    }

    .receipt-crap-stamp {
        font-size: 16px;
        padding: 6px 12px;
    }

    .receipt-gold-stamp {
        margin-top: 10px;
    }

    .receipt-hole-punch {
        width: 20px;
        height: 20px;
        top: -10px;
    }

    .receipt-points {
        gap: 8px;
    }

    .receipt-point-item {
        font-size: 12px;
        gap: 7px;
    }

    .receipt-annual-note {
        font-size: 11px;
        line-height: 1.35;
        padding: 7px 9px;
    }

    .receipt-total {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 12px;
        align-items: baseline;
        font-size: 16px;
    }

    .receipt-total.success span:last-child {
        font-size: 20px;
        line-height: 1.1;
    }

    .receipt-total.error span:last-child {
        font-size: 19px;
        line-height: 1.1;
    }

    .steps-compact-grid {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        padding: 0 20px;
    }

    .sc-step {
        width: 100%;
    }

    .sc-step.arrow {
        transform: rotate(90deg);
        display: none;
    }

    .sc-content p {
        max-width: 100%;
    }
}
