/* ========================================
   GOOGLE FONTS
======================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Montserrat:wght@700;800;900&display=swap");


/* ========================================
   BASE STYLES
======================================== */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background-color: #ffffff !important;
    font-family: "Inter", sans-serif;
}


/* ========================================
   MATERIAL SYMBOLS
======================================== */

.material-symbols-outlined {
    font-variation-settings:
        "FILL" 0,
        "wght" 400,
        "GRAD" 0,
        "opsz" 24;
}


/* ========================================
   TEXT PULSE
======================================== */

@keyframes text-pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.65;
    }
}

.text-pulse {
    animation: text-pulse 1.5s ease-in-out infinite;
}


/* ========================================
   CTA PULSE
======================================== */

@keyframes turbo-cta-pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 107, 0, 0);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 30px rgba(255, 107, 0, 0.6);
    }
}

.turbo-cta-pulse {
    animation: turbo-cta-pulse 1.3s ease-in-out infinite;
}


/* ========================================
   FADE-UP ANIMATION
======================================== */

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fade-up 0.8s ease-out forwards;
}


/* ========================================
   FEATURE FLOAT
======================================== */

@keyframes subtle-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.feature-float {
    animation: subtle-float 2.5s ease-in-out infinite;
}


/* ========================================
   PITMASTER SLIDER
======================================== */

.pit-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.pit-slide.active {
    z-index: 2;
    opacity: 1;
}

.pit-slide img {
    display: block;
    width: 100%;
    height: 100%;
}


/* ========================================
   BEFORE / AFTER LABELS
======================================== */

.before-tag,
.after-tag {
    position: absolute;
    bottom: 18px;
    z-index: 3;
    padding: 8px 18px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.before-tag {
    left: 18px;
    background-color: #dc2626;
}

.after-tag {
    right: 18px;
    background-color: #16a34a;
}


/* ========================================
   DIRTY TRUTH SECTION
======================================== */

.dirty-truth-section {
    position: relative;
    overflow: hidden;
    border-top: 6px solid #ea580c;
    border-bottom: 6px solid #ea580c;

    background:
        linear-gradient(
            135deg,
            #fff7ed 0%,
            #fed7aa 30%,
            #fdba74 60%,
            #fb923c 100%
        );

    box-shadow:
        inset 0 6px 20px rgba(255, 255, 255, 0.4),
        inset 0 -10px 20px rgba(0, 0, 0, 0.08),
        0 15px 40px rgba(0, 0, 0, 0.15);
}


/* ========================================
   COMPARISON TABLE
======================================== */

.comparison-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: stretch;
    min-height: 70px;
    border-bottom: 1px solid #dddddd;
    text-align: center;
    transition:
        background-color 0.35s ease,
        color 0.35s ease;
}

.comparison-row:nth-child(even) {
    background-color: #ffedc5;
}

.comparison-row:nth-child(odd) {
    background-color: #ffffff;
}

.comparison-row:first-child {
    border-left: 4px solid #ff6b00;
    background-color: #ff914d;
}

.comparison-row:last-child {
    border-bottom: 0;
}

.comparison-row:hover {
    background-color: #fff7ef;
}

.comparison-row > div {
    padding: 18px;
    border-right: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    font-weight: 700;
}

.comparison-row > div:last-child {
    border-right: 0;
}

.comparison-row:last-child > div {
    border-bottom: 0;
}

.comparison-header {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 900;
    background:
        linear-gradient(
            135deg,
            #ff6b00,
            #ff8c00
        );
}

.comparison-header > div {
    color: #572000;
    border-bottom: 0;
}

.comparison-header .winner-col {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
}

.winner-col {
    color: #a04100;
    font-weight: 900;
}

.comparison-row:hover .winner-col {
    color: #7a3000;
}


/* ========================================
   FLOATING OFFER CARD
======================================== */

@keyframes float-card {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow-pulse {
    0%,
    100% {
        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.22),
            0 0 0 0 rgba(239, 68, 68, 0.35);
    }

    50% {
        box-shadow:
            0 25px 70px rgba(0, 0, 0, 0.25),
            0 0 35px rgba(239, 68, 68, 0.45);
    }
}

.animate-float-card {
    animation:
        float-card 3s ease-in-out infinite,
        glow-pulse 2s ease-in-out infinite;
}


/* ========================================
   ARROW ANIMATION
======================================== */

@keyframes arrow-pulse-move {
    0%,
    100% {
        transform: translateX(0) scale(1);
    }

    50% {
        transform: translateX(8px) scale(1.35);
    }
}

.arrow-pulse {
    display: inline-block;
    animation: arrow-pulse-move 1s ease-in-out infinite;
    will-change: transform;
}


/* ========================================
   RESPONSIVE STYLES
======================================== */

@media (max-width: 768px) {
    .comparison-header {
        display: grid;
    }

    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        margin-bottom: 0;
        border-radius: 0;
        text-align: center;
        box-shadow: none;
    }

    .comparison-row > div {
        padding: 12px 8px;
        border-bottom: 0;
        font-size: 13px;
    }

    .animate-float-card {
        opacity: 0.9;
    }

    .before-tag,
    .after-tag {
        bottom: 12px;
        padding: 6px 12px;
        font-size: 11px;
    }

    .before-tag {
        left: 12px;
    }

    .after-tag {
        right: 12px;
    }
}

@media (max-width: 575px) {
    .text-display-hero-mobile {
        font-size: 20px !important;
    }
}


/* ========================================
   REDUCED MOTION ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .text-pulse,
    .turbo-cta-pulse,
    .fade-up,
    .feature-float,
    .animate-float-card,
    .arrow-pulse {
        animation: none;
    }

    .pit-slide {
        transition: none;
    }
}