/* =============================================
   THE WATTS DIFFERENCE: Bento Grid
   Shared component: watts_difference() in lib/watts_functions.php
   enqueues this file wherever the section is shown.
   ============================================= */
.watts-diff {
    padding: 120px 0 80px;
    overflow: hidden;
}

/* -- Decorative -- */
.watts-diff__decor {
    display: none;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.watts-diff__dot--pink {
    position: absolute;
    top: 200px;
    right: 60px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #F9267E;
    opacity: 0.4;
}

.watts-diff__dot--cyan {
    position: absolute;
    top: 500px;
    left: 40px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #33C6F4;
    opacity: 0.35;
}

.watts-diff__dot--orange {
    position: absolute;
    bottom: 300px;
    right: 200px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F58220;
    opacity: 0.4;
}

.watts-diff__pill--green {
    position: absolute;
    bottom: 100px;
    left: 120px;
    width: 32px;
    height: 10px;
    border-radius: 5px;
    background: #71D11E;
    opacity: 0.3;
    transform: rotate(35deg);
    transform-origin: 0% 0%;
}

/* -- Header -- */
.watts-diff__header {
    margin-bottom: 48px;
}

.watts-diff__eyebrow {
    display: block;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #33C6F4;
    margin-bottom: 12px;
}

.watts-diff__title {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0;
}

/* -- Bento Grid -- */
.watts-diff__grid {
    gap: 20px;
}

/* -- Card base -- */
.watts-diff__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 100%;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    background: #0D0D14;
    padding: 0;
}

.watts-diff__card-top {
    padding: 28px 32px 0;
    position: relative;
    z-index: 2;
}

.watts-diff__card-bottom {
    padding: 0 32px 28px;
    position: relative;
    z-index: 2;
}

/* -- Icon -- */
.watts-diff__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    z-index: 2;
}

.watts-diff__icon svg {
    width: 36px;
    height: 36px;
    stroke-width: 1.75;
}

.watts-diff__icon--cyan {
    background: rgba(0, 210, 255, 0.18);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.35), inset 0 0 20px rgba(0, 210, 255, 0.15);
}
.watts-diff__icon--cyan svg { filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.7)); }

.watts-diff__icon--purple {
    background: rgba(168, 85, 247, 0.2);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4), inset 0 0 20px rgba(168, 85, 247, 0.18);
}
.watts-diff__icon--purple svg { filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.75)); }

.watts-diff__icon--gold {
    background: rgba(255, 181, 0, 0.2);
    box-shadow: 0 0 30px rgba(255, 181, 0, 0.4), inset 0 0 20px rgba(255, 181, 0, 0.18);
}
.watts-diff__icon--gold svg { filter: drop-shadow(0 0 10px rgba(255, 181, 0, 0.75)); }

.watts-diff__icon--green {
    background: rgba(34, 197, 94, 0.2);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.4), inset 0 0 20px rgba(34, 197, 94, 0.18);
}
.watts-diff__icon--green svg { filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.75)); }

/* -- Number -- */
.watts-diff__num {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 72px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
    position: relative;
    z-index: 2;
}

.watts-diff__num--cyan { color: rgba(0, 210, 255, 0.6); }
.watts-diff__num--purple { color: rgba(168, 85, 247, 0.6); }
.watts-diff__num--gold { color: rgba(255, 181, 0, 0.6); }
.watts-diff__num--green { color: rgba(34, 197, 94, 0.6); }

/* -- Card text -- */
.watts-diff__card-title {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 20px;
    line-height: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
}

.watts-diff__card-desc {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* -- Card accent borders -- */
.watts-diff__card--cyan { border: 1px solid rgba(0, 210, 255, 0.12); }

/* Card 01: house photo background, faded with overlay for legibility */
.watts-diff__card--wide.watts-diff__card--cyan::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/Media.webp');
    background-size: cover;
    background-position: center 40%;
    opacity: 0.38;
    z-index: 0;
    pointer-events: none;
}

.watts-diff__card--wide.watts-diff__card--cyan::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 13, 20, 0.15) 0%, rgba(13, 13, 20, 0.55) 75%, rgba(13, 13, 20, 0.9) 100%),
        radial-gradient(ellipse at 20% 90%, rgba(13, 13, 20, 0.65) 0%, transparent 55%);
    z-index: 0;
    pointer-events: none;
}

/* Boost cyan glows on this card so they punch through the photo */
.watts-diff__card--wide.watts-diff__card--cyan .watts-diff__glow--cyan-lg {
    background: radial-gradient(circle, rgba(0, 210, 255, 0.32) 0%, rgba(0, 210, 255, 0.08) 50%, transparent 72%);
    filter: blur(2px);
    z-index: 1;
}
.watts-diff__card--wide.watts-diff__card--cyan .watts-diff__glow--cyan-sm {
    background: radial-gradient(circle, rgba(0, 210, 255, 0.18) 0%, transparent 60%);
    filter: blur(2px);
    z-index: 1;
}
.watts-diff__card--purple { border: 1px solid rgba(168, 85, 247, 0.12); }

/* Card 02: colorful luxury house background, faded with overlay for legibility */
.watts-diff__card--narrow.watts-diff__card--purple::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/Watts_Lights_Colorful_Luxury_House_permanent_led.png');
    background-size: cover;
    background-position: center 45%;
    opacity: 0.42;
    z-index: 0;
    pointer-events: none;
}

.watts-diff__card--narrow.watts-diff__card--purple::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 13, 20, 0.2) 0%, rgba(13, 13, 20, 0.6) 70%, rgba(13, 13, 20, 0.92) 100%),
        radial-gradient(ellipse at 25% 90%, rgba(13, 13, 20, 0.7) 0%, transparent 55%);
    z-index: 0;
    pointer-events: none;
}

.watts-diff__card--narrow.watts-diff__card--purple .watts-diff__glow--purple {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.38) 0%, rgba(168, 85, 247, 0.08) 50%, transparent 72%);
    filter: blur(2px);
    z-index: 1;
}
.watts-diff__card--gold { border: 1px solid rgba(255, 181, 0, 0.12); }

/* Card 03: pastel luxury house background, faded with overlay for legibility */
.watts-diff__card--narrow.watts-diff__card--gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/Watts_lights_luxury_house_pastel.png');
    background-size: cover;
    background-position: center 55%;
    opacity: 0.36;
    z-index: 0;
    pointer-events: none;
}

.watts-diff__card--narrow.watts-diff__card--gold::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 13, 20, 0.25) 0%, rgba(13, 13, 20, 0.6) 70%, rgba(13, 13, 20, 0.92) 100%),
        radial-gradient(ellipse at 25% 90%, rgba(13, 13, 20, 0.7) 0%, transparent 55%);
    z-index: 0;
    pointer-events: none;
}

.watts-diff__card--narrow.watts-diff__card--gold .watts-diff__glow--gold {
    background: radial-gradient(circle, rgba(255, 181, 0, 0.32) 0%, rgba(255, 181, 0, 0.07) 50%, transparent 72%);
    filter: blur(2px);
    z-index: 1;
}
.watts-diff__card--green { border: 1px solid rgba(34, 197, 94, 0.12); }

/* Card 04: dusk luxury house background, faded with overlay for legibility */
.watts-diff__card--wide.watts-diff__card--green::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/watts_lights_dusk.png');
    background-size: cover;
    background-position: center 50%;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.watts-diff__card--wide.watts-diff__card--green::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 13, 20, 0.2) 0%, rgba(13, 13, 20, 0.55) 70%, rgba(13, 13, 20, 0.92) 100%),
        radial-gradient(ellipse at 20% 90%, rgba(13, 13, 20, 0.7) 0%, transparent 55%);
    z-index: 0;
    pointer-events: none;
}

.watts-diff__card--wide.watts-diff__card--green .watts-diff__glow--green-lg {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, rgba(34, 197, 94, 0.06) 50%, transparent 72%);
    filter: blur(2px);
    z-index: 1;
}
.watts-diff__card--wide.watts-diff__card--green .watts-diff__glow--green-sm {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.18) 0%, transparent 60%);
    filter: blur(2px);
    z-index: 1;
}

/* -- Radial glow orbs -- */
.watts-diff__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* Cyan glows */
.watts-diff__glow--cyan-lg {
    top: -40px;
    right: -20px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.18) 0%, rgba(0, 210, 255, 0.04) 50%, transparent 70%);
}
.watts-diff__glow--cyan-sm {
    bottom: -30px;
    left: 120px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 60%);
}

/* Purple glow */
.watts-diff__glow--purple {
    top: 20px;
    right: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, rgba(168, 85, 247, 0.04) 50%, transparent 70%);
}

/* Gold glow */
.watts-diff__glow--gold {
    bottom: -20px;
    left: -30px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 181, 0, 0.15) 0%, rgba(255, 181, 0, 0.03) 50%, transparent 70%);
}

/* Green glows */
.watts-diff__glow--green-lg {
    top: -30px;
    left: 40%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.03) 50%, transparent 70%);
}
.watts-diff__glow--green-sm {
    bottom: -40px;
    right: -20px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
}

/* -- Watts Diff responsive -- */
@media (min-width: 768px) {
    .watts-diff__decor { display: block; }
    .watts-diff__title { font-size: 42px; }
}

@media (min-width: 992px) {
    .watts-diff__title { font-size: 52px; line-height: 58px; }
    .watts-diff__card--wide { flex: 1 1 calc(58% - 10px); }
    .watts-diff__card--narrow { flex: 1 1 calc(42% - 10px); }
}

/* Content sits above the decorative dots/pills */
.watts-diff__inner { z-index: 2; }
