:root {
    --primary-red: #d62839;
    --dark-red: #8b1e2b;

    --bg-black: #0b0b0b;

    --card-bg: rgba(15, 15, 15, 0.62);

    --text-light: #ffffff;
    --text-gray: #d0d0d0;

    --border-soft: rgba(255, 255, 255, 0.10);
    --glass-highlight: rgba(255, 255, 255, 0.05);

    --red-glow: rgba(214, 40, 57, 0.22);
}

/* ================= CONTAINER ================= */
#differences-container {
    position: relative;

    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: var(--bg-black);

    font-family: 'Inter', sans-serif;
}

/* ================= BACKGROUND ================= */
.diff-bg {
    position: absolute;
    inset: 0;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    transform: scale(1.04);

    /* MAIS VIVO */
    filter:
        brightness(0.65) contrast(1.1) saturate(1.1);

    z-index: 1;
}

.diff-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at top right,
            rgba(214, 40, 57, 0.18),
            transparent 30%),

        radial-gradient(circle at bottom left,
            rgba(255, 255, 255, 0.04),
            transparent 35%),

        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.65));

    z-index: 2;
}

/* ================= SECTION ================= */
.differentiators {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 1300px;

    padding: 90px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ================= HEADER ================= */
.diff-header {
    width: 100%;
    text-align: center;

    margin-bottom: 65px;
}

.diff-subtitle {
    color: #ffffff;

    font-size: 0.8rem;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 4px;

    opacity: 0.75;

    margin-bottom: 18px;
}

/* LINHAS MAIS PREMIUM */
.diff-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.diff-title-wrapper::before,
.diff-title-wrapper::after {
    content: "";
    width: 180px;
    height: 1px;
    position: relative;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    box-shadow:
        0 0 12px rgba(214, 40, 57, 0.25);
}

.diff-header h2 {
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    font-weight: 300;
    letter-spacing: -2px;
    color: var(--text-light);
    margin: 0;
    line-height: 1;
}

/* ================= MAIN DISPLAY ================= */
.diff-main-display {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================= CARD ================= */
.diff-circle-card {
    position: relative;

    width: min(92vw, 850px);

    min-height: 480px;

    border-radius: 42px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px 70px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.015));

    backdrop-filter: blur(16px);

    border:
        1px solid rgba(255, 255, 255, 0.10);

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(214, 40, 57, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* BORDA GLOW */
.diff-circle-card::before {
    content: "";

    position: absolute;
    inset: 0;

    padding: 1px;

    border-radius: inherit;

    background:
        linear-gradient(140deg,
            rgba(255, 255, 255, 0.22),
            rgba(214, 40, 57, 0.45),
            rgba(255, 255, 255, 0.08));

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}

/* LIGHT EFFECT */
.diff-circle-card::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    background:
        radial-gradient(circle,
            rgba(214, 40, 57, 0.14),
            transparent 70%);

    top: -180px;
    right: -140px;

    pointer-events: none;
}

/* ================= CONTENT ================= */
.diff-tab-content {
    display: none;
    flex-direction: column;

    animation: smoothFade 0.7s ease forwards;
}

.diff-tab-content.active {
    display: flex;
}

@keyframes smoothFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

/* ================= TEXT ================= */
.diff-text-box {
    position: relative;

    text-align: center;

    max-width: 650px;

    z-index: 2;
}

.diff-text-box h3 {
    font-size: clamp(2.6rem, 6vw, 5rem);

    font-weight: 800;

    letter-spacing: -3px;

    color: var(--text-light);

    margin-bottom: 24px;

    line-height: 0.92;

    text-shadow:
        0 8px 30px rgba(0, 0, 0, 0.35);
}

.diff-text-box p {
    font-size: clamp(1rem, 2vw, 1.12rem);

    line-height: 1.9;

    color: var(--text-gray);

    font-weight: 400;

    letter-spacing: 0.2px;

    margin: 0 auto;
}

/* DETALHE ABAIXO */
.diff-text-box::after {
    content: "";

    display: block;

    width: 58px;
    height: 3px;

    border-radius: 999px;

    margin: 34px auto 0;

    background:
        linear-gradient(90deg,
            rgba(214, 40, 57, 0.4),
            rgba(214, 40, 57, 1),
            rgba(214, 40, 57, 0.4));

    box-shadow:
        0 0 20px rgba(214, 40, 57, 0.35);
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .differentiators {
        padding: 70px 18px;
    }

    .diff-header {
        margin-bottom: 45px;
    }

    .diff-title-wrapper {
        gap: 14px;
    }

    .diff-title-wrapper::before,
    .diff-title-wrapper::after {
        width: 55px;
    }

    .diff-circle-card {
        min-height: auto;

        padding: 55px 28px;

        border-radius: 28px;
    }

    .diff-text-box h3 {
        margin-bottom: 18px;
    }

    .diff-text-box p {
        line-height: 1.75;
    }
}