.hero {
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    margin-top: calc(-1 * var(--header-height, 73px));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(7rem + var(--header-height, 73px)) 1.5rem 8rem;
    background: linear-gradient(135deg, #220F34 0%, #4D3C5D 100%);
}

    /* Watermark check: wwwroot/images/tnp_transparent_logo_bg.png exists
       (confirmed via file listing) — applied below. */
    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        background-image: url('/images/tnp_transparent_logo_bg.png');
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        opacity: 0.08;
        pointer-events: none;
    }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.75rem, 6vw, 5rem);
    line-height: 1.05;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    font-weight: 300;
    letter-spacing: -0.04em;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-outline-cta {
    background: #ffffff !important;
    border: 2px solid #ffffff !important;
    color: #071827 !important;
    font-weight: 800;
    box-shadow: none !important;
}

    .hero-outline-cta:hover {
        background: #f7f9fb !important;
        border-color: #f7f9fb !important;
        color: #071827 !important;
    }

    .hero-outline-cta .rz-button-text{
        color: #071827 !important;
    }
.hero-actions .rz-button {
    min-height: 48px;
    padding-inline: 1.4rem;
}
.hero p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto 2rem;
}

.hero-note {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

/* Primary CTA — the one consistent style for every solid gold button on the
   site (header "Get My Estimate", hero, bottom CTA banner). */
.rz-button.gold-cta {
    background-color: #edb228 !important;
    border-color: #edb228 !important;
    color: #220F34 !important;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(237, 178, 40, 0.28);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

    .rz-button.gold-cta .rz-button-text {
        color: #220F34 !important;
    }

    .rz-button.gold-cta:hover {
        background-color: #FF8E00 !important;
        border-color: #FF8E00 !important;
        color: #FFFFFF !important;
    }

        .rz-button.gold-cta:hover .rz-button-text {
            color: #FFFFFF !important;
        }

/* Secondary — "See How TraknProtect Works" pairs with the primary button in
   .hero-actions / .cta-actions (both share .gold-cta in markup; the first of
   the pair is always the secondary action). Outlined gold only — never a
   solid fill, even on hover. */
.hero-actions .rz-button.gold-cta:first-child,
.cta-actions .rz-button.gold-cta:first-child {
    background: transparent !important;
    border: 2px solid #edb228 !important;
    color: #edb228 !important;
    box-shadow: none !important;
}

    .hero-actions .rz-button.gold-cta:first-child .rz-button-text,
    .cta-actions .rz-button.gold-cta:first-child .rz-button-text {
        color: #edb228 !important;
    }

    .hero-actions .rz-button.gold-cta:first-child:hover,
    .cta-actions .rz-button.gold-cta:first-child:hover {
        background: rgba(237, 178, 40, 0.12) !important;
        border-color: #FF8E00 !important;
        color: #FF8E00 !important;
    }

        .hero-actions .rz-button.gold-cta:first-child:hover .rz-button-text,
        .cta-actions .rz-button.gold-cta:first-child:hover .rz-button-text {
            color: #FF8E00 !important;
        }

.how-it-works {
    text-align: center;
    padding: 5rem 2rem 1rem;
    /* Same deep-navy family as .trust-signal (testimonial card) — rich and
       consistent rather than the brighter blue this section had before. */
    background: linear-gradient(
        180deg,
        #162A66 0%,
        #0F1D4A 100%
    );
}

.section-label {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
}

.how-it-works h2 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1040px;
    margin: 0 auto;
    padding: 3rem 0 4rem;
}

.feature-card {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 1.75rem;
    flex: 1 1 220px;
    max-width: 260px;
}

.step-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-card);
    box-shadow: none;
    padding: 2rem;
    width: 100%;
    max-width: none;
    text-align: center;
}

    .step-card h3 {
        color: #fff;
    }

    .feature-card p {
        font-size: 0.92rem;
    }

    .step-card p {
        font-size: 0.92rem;
        color: rgba(255, 255, 255, 0.82);
    }

.step-number {
    display: block;
    color: var(--color-primary);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1040px;
    margin: 1rem auto 4.5rem;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, rgba(45, 28, 70, 0.95) 0%, rgba(33, 63, 153, 0.85) 100%);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 2;
}

.trust-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

    .trust-item:last-child {
        border-right: none;
    }

    .trust-item strong {
        display: block;
        color: #fff;
        font-size: 2rem;
        line-height: 1;
        margin-bottom: 0.5rem;
    }

    .trust-item span {
        display: block;
        color: rgba(255, 255, 255, 0.82);
        font-size: 0.95rem;
        font-weight: 600;
    }

.trust-signal {
    max-width: 900px;
    margin: 5.5rem auto;
    padding: 3.5rem 3rem;
    text-align: center;
    background: linear-gradient(
        180deg,
        #162A66 0%,
        #0F1D4A 100%
    );
    border-radius: var(--radius-card);
}

    .trust-signal blockquote {
        margin: 0 auto 1.5rem;
        color: #fff;
        font-size: clamp(1.5rem, 3vw, 2.25rem);
        line-height: 1.35;
        font-weight: 700;
    }

    .trust-signal p {
        margin: 0;
        color: rgba(255, 255, 255, 0.82);
        font-size: 1rem;
    }

.cta-banner {
    text-align: center;
    padding: 4.5rem 2rem;
    background: linear-gradient(135deg, #071827 0%, #102f4d 100%);
    color: #fff;
}

.cta-banner-content {
    max-width: 760px;
    margin: 0 auto;
}

.cta-banner h2 {
    color: #fff;
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.cta-banner p {
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Home page only — scoped via the preceding .hero sibling so the How It Works
   page's own .cta-banner is untouched. Closes the cascade back to deep purple,
   matching the hero, so text stays white/light for contrast. */
.hero ~ .cta-banner {
    background: linear-gradient(
        180deg,
        #0F1D4A 0%,
        #220F34 100%
    );
    color: #fff;
}

    .hero ~ .cta-banner h2 {
        color: #fff;
    }

    .hero ~ .cta-banner p {
        color: rgba(255, 255, 255, 0.82);
    }

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.secondary-cta {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
    font-weight: 700;
}

    .secondary-cta:hover {
        background: rgba(255, 255, 255, 0.16) !important;
        border-color: rgba(255, 255, 255, 0.42) !important;
        color: #fff !important;
    }

/* Product overview page */

.product-hero {
    background: linear-gradient(135deg, #071827 0%, #0b2238 45%, #102f4d 100%);
    color: #fff;
    text-align: center;
    margin-top: calc(-1 * var(--header-height, 73px));
    padding: calc(6rem + var(--header-height, 73px)) 1.5rem 6rem;
}

.product-hero-content {
    max-width: 920px;
    margin: 0 auto;
}

.product-hero h1 {
    color: #fff;
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin: 0 auto 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.product-hero p {
    max-width: 760px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Alert walkthrough */

.alert-walkthrough-section {
    padding: 4.75rem 2rem 5.5rem;
    background: linear-gradient(135deg, #071827 0%, #0b2238 45%, #102f4d 100%);
}

.alert-walkthrough-heading {
    max-width: 780px;
    margin: 0 auto 3rem;
    text-align: center;
}

    .alert-walkthrough-heading h1 {
        margin: 0 0 1rem;
        color: #fff;
        font-size: clamp(2.25rem, 4.5vw, 4rem);
        line-height: 1.08;
        letter-spacing: -0.04em;
    }
    .alert-walkthrough-heading h2 {
        margin: 0 0 1rem;
        color: #fff;
        font-size: clamp(2rem, 4vw, 3.25rem);
        line-height: 1.1;
        letter-spacing: -0.03em;
    }

    .alert-walkthrough-heading p {
        margin: 0 auto;
        color: rgba(255, 255, 255, 0.78);
        font-size: 1.1rem;
        line-height: 1.6;
    }

.alert-walkthrough-card {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 1.5rem;
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 26px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.walkthrough-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.walkthrough-step {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    padding: 1rem;
    text-align: left;
    background: #f7f9fb;
    border: 1px solid #e6edf3;
    border-radius: 18px;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

    .walkthrough-step:hover {
        transform: translateY(-2px);
        border-color: rgba(216, 166, 41, 0.45);
        box-shadow: 0 12px 28px rgba(7, 24, 39, 0.08);
    }

    .walkthrough-step.active {
        background: #fff9eb;
        border-color: #d8a629;
        box-shadow: 0 14px 34px rgba(216, 166, 41, 0.16);
    }

.walkthrough-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--color-navy);
    color: #fff;
    font-weight: 800;
}

.walkthrough-step.active .walkthrough-step-number {
    background: #d8a629;
    color: #071827;
}

.walkthrough-step-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .walkthrough-step-copy strong {
        color: var(--color-navy);
        font-size: 0.98rem;
        line-height: 1.25;
    }


.walkthrough-active {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.18fr);
    gap: 1.5rem;
    min-height: 520px;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid #e6edf3;
    border-radius: 22px;
}

.walkthrough-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    padding-top: 1rem;
}

.walkthrough-eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 1rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: #fff4d6;
    color: #071827;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.walkthrough-copy h3 {
    margin: 0 0 0.9rem;
    color: var(--color-navy);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.walkthrough-copy p {
    margin: 0;
    color: #5f6f7d;
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 34rem;
}

.walkthrough-outcome {
    margin-top: auto;
    padding: 1rem;
    background: #fff9eb;
    border: 1px solid rgba(216, 166, 41, 0.38);
    border-radius: 16px;
    color: #071827;
    font-weight: 800;
    line-height: 1.45;
}

.walkthrough-support-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 132px;
    margin: 0 0 1.25rem;
    padding: 1rem;
    background: #f7f9fb;
    border: 1px solid #e6edf3;
    border-radius: 18px;
}

    .walkthrough-support-image img {
        display: block;
        max-width: 100%;
        max-height: 96px;
        object-fit: contain;
    }
/* Hotel scene */

.hotel-scene {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    border-radius: 20px;
    background: radial-gradient(circle at 18% 24%, rgba(216, 166, 41, 0.14), transparent 24%), linear-gradient(180deg, #f7f9fb 0%, #eef3f7 100%);
    border: 1px solid #e6edf3;
}

.hotel-map {
    position: absolute;
    inset: 1.1rem;
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(7, 24, 39, 0.035) 1px, transparent 1px), linear-gradient(180deg, rgba(7, 24, 39, 0.035) 1px, transparent 1px), #ffffff;
    background-size: 42px 42px;
    border: 1px solid #e6edf3;
}

/* Six-room layout */

.hotel-room {
    position: absolute;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-width: 29%;
    min-height: 88px;
    padding: 0.75rem;
    border-radius: 14px;
    background: #f7f9fb;
    border: 1px solid #dfe8ef;
    color: #6b7a88;
    font-size: 0.78rem;
    font-weight: 800;
}

    .hotel-room > span:first-child {
        position: relative;
        z-index: 2;
    }

.room-1 {
    top: 1rem;
    left: 1rem;
}

.room-2 {
    top: 1rem;
    left: 35.5%;
}

.room-3 {
    top: 1rem;
    right: 1rem;
}

.room-4 {
    bottom: 1rem;
    left: 1rem;
}

.room-5 {
    bottom: 1rem;
    left: 35.5%;
}

.room-6 {
    bottom: 1rem;
    right: 1rem;
}

.reported-room {
    background: #fff9eb;
    border-color: rgba(216, 166, 41, 0.62);
    box-shadow: inset 0 0 0 1px rgba(216, 166, 41, 0.2), 0 10px 22px rgba(216, 166, 41, 0.14);
}

.hotel-corridor {
    position: absolute;
    top: 50%;
    left: 1rem;
    right: 1rem;
    height: 64px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef3f7;
    border: 1px dashed #cfd9e2;
    color: #7a8895;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.button-support-image img {
    max-height: 88px;
}

.gateway-support-image img {
    max-height: 96px;
}
/* Room markers */

.room-button {
    position: absolute;
    left: 50%;
    bottom: 0.7rem;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 5px;
    border-radius: 999px;
    background: #fff9eb;
    border: 2px solid #d8a629;
    box-shadow: 0 0 0 0 rgba(216, 166, 41, 0.55);
    animation: alertPulse 1.8s infinite;
    z-index: 4;
}

    .room-button img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.room-gateway {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 2px;
    border-radius: 999px;
    background: #eef3f7;
    border: 2px solid #071827;
    opacity: 0.58;
    z-index: 3;
}

    .room-gateway img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.gateway-active {
    opacity: 1;
    box-shadow: 0 0 0 6px rgba(7, 24, 39, 0.08);
}
.room-person {
    position: absolute;
    left: 0.75rem;
    bottom: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #071827;
    color: #ffffff;
    z-index: 4;
}

    .room-person .rz-icon {
        font-size: 1.2rem;
    }

.step-1 .room-person {
    box-shadow: 0 0 0 0 rgba(216, 166, 41, 0.5);
    animation: alertPulse 1.8s infinite;
}

.step-2 .room-person {
    box-shadow: 0 0 0 0 rgba(216, 166, 41, 0.38);
    animation: alertPulse 1.8s infinite;
}

.step-3 .room-person,
.step-4 .room-person {
    box-shadow: 0 0 0 5px rgba(216, 166, 41, 0.16);
}


/* Legacy marker hidden now that button lives inside the room */

.alert-dot {
    display: none;
}

/* Alert-to-gateway signal */

.signal-line {
    position: absolute;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #d8a629 0%, #2f80ed 100%);
    z-index: 4;
    transform-origin: left center;
    opacity: 0.95;
    box-shadow: 0 0 12px rgba(47, 128, 237, 0.24);
}

.signal-201 {
    top: 26%;
    left: 43%;
    width: 21%;
    transform: rotate(180deg);
}

.signal-203 {
    top: 26%;
    left: 56%;
    width: 21%;
    transform: rotate(0deg);
}

.signal-204 {
    top: 43%;
    left: 44%;
    width: 26%;
    transform: rotate(145deg);
}

.signal-206 {
    top: 43%;
    left: 56%;
    width: 28%;
    transform: rotate(35deg);
}

.signal-wave {
    position: absolute;
    top: calc(1rem + 54px);
    left: calc(1rem + 25%);
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 2px solid rgba(216, 166, 41, 0.42);
    z-index: 4;
    animation: signalWave 1.9s infinite;
    pointer-events: none;
}

.wave-2 {
    animation-delay: 0.55s;
}

/* Responder route */
.responder-node {
    position: absolute;
    top: calc(50% - 22px);
    left: 74%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #071827;
    color: #fff;
    z-index: 9;
    box-shadow: 0 12px 28px rgba(7, 24, 39, 0.22);
    animation: responderArrive 0.55s ease both;
}
    .responder-node .rz-icon {
        font-size: 1.45rem;
    }

.responder-outside-room {
    top: calc(50% - 23px);
    left: 50%;
}


.route-line {
    position: absolute;
    top: 50%;
    left: 67%;
    width: 12%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #d8a629 0%, #2f80ed 100%);
    z-index: 6;
}

    .route-line::after {
        content: "";
        position: absolute;
        left: -11px;
        top: 50%;
        width: 12px;
        height: 12px;
        border-top: 3px solid #d8a629;
        border-left: 3px solid #d8a629;
        transform: translateY(-50%) rotate(-45deg);
    }

/* Supporting visual dock */

.scene-product-visual {
    position: absolute;
    left: 1.25rem;
    bottom: calc(50% - 28px);
    transform: translateY(50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(34%, 190px);
    height: 118px;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e6edf3;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(7, 24, 39, 0.12);
    z-index: 7;
}

    .scene-product-visual img {
        display: block;
        max-width: 100%;
        max-height: 92px;
        object-fit: contain;
    }

/* Notification and response cards */

.notification-stack {
    position: absolute;
    right: 1.25rem;
    top: calc(50% - 100px);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: min(44%, 250px);
    z-index: 8;
}

.notification-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.72rem 0.85rem;
    background: #ffffff;
    border: 1px solid #e6edf3;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(7, 24, 39, 0.1);
    color: #071827;
    font-size: 0.82rem;
    font-weight: 800;
    animation: cardIn 0.35s ease both;
}

    .notification-card:nth-child(2) {
        animation-delay: 0.08s;
    }

    .notification-card:nth-child(3) {
        animation-delay: 0.16s;
    }

    .notification-card .rz-icon {
        color: #d8a629;
        font-size: 1.15rem;
    }

.location-card {
    position: absolute;
    left: 1.1rem;
    top: calc(50% - 48px);
    z-index: 8;
    padding: 0.8rem 0.9rem;
    width: min(43%, 260px);
    background: #ffffff;
    border: 1px solid #e6edf3;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(7, 24, 39, 0.1);
}

    .location-card span {
        display: block;
        margin-bottom: 0.3rem;
        color: #5f6f7d;
        font-size: 0.72rem;
        font-weight: 900;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .location-card strong {
        display: block;
        color: #071827;
        font-size: 0.98rem;
        line-height: 1.25;
    }

    .location-card small {
        display: block;
        margin-top: 0.35rem;
        color: #5f6f7d;
        font-size: 0.72rem;
        font-weight: 700;
        line-height: 1.35;
    }

.alert-location-card {
    background: #fff9eb;
    border-color: rgba(216, 166, 41, 0.72);
    box-shadow: 0 14px 30px rgba(216, 166, 41, 0.18);
}

    .alert-location-card span {
        color: #8a6817;
    }

    .alert-location-card strong {
        color: #071827;
        font-size: 1rem;
    }

    .alert-location-card small {
        color: #7a5a13;
    }

.hallway-location-card {
    top: calc(50% - 48px);
}
/* Step-specific emphasis */
.step-1 .room-gateway {
    opacity: 0.35;
}

.step-2 .room-gateway {
    opacity: 1;
    border-color: #2f80ed;
    box-shadow: 0 0 0 0 rgba(47, 128, 237, 0.42);
    animation: gatewayPulseBlue 1.8s infinite;
}

.step-3 .room-gateway,
.step-4 .room-gateway {
    opacity: 0.85;
    box-shadow: 0 0 0 5px rgba(7, 24, 39, 0.08);
}

/* Product features */

.product-features {
    background: #f7f9fb;
    padding: 5rem 2rem;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 3rem;
    text-align: center;
}

    .section-heading h2 {
        margin: 0 0 1rem;
        color: var(--color-navy);
        font-size: clamp(2rem, 4vw, 3.25rem);
        line-height: 1.1;
        letter-spacing: -0.03em;
    }

    .section-heading p {
        margin: 0 auto;
        color: #5f6f7d;
        font-size: 1.1rem;
        line-height: 1.6;
    }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 1180px;
    margin: 0 auto;
}

.product-feature-card {
    background: #fff;
    border: 1px solid #e6edf3;
    border-radius: var(--radius-card);
    box-shadow: 0 12px 30px rgba(7, 24, 39, 0.06);
    padding: 1.5rem;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: #fff4d6;
    color: #071827;
}

    .feature-icon .rz-icon,
    .feature-icon i {
        color: #071827;
        font-size: 1.55rem;
        line-height: 1;
    }

.product-feature-card h3 {
    margin: 0 0 0.75rem;
    color: var(--color-navy);
    font-size: 1.1rem;
    line-height: 1.25;
}

.product-feature-card p {
    margin: 0;
    color: #5f6f7d;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Animations */

@keyframes alertPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(216, 166, 41, 0.48);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(216, 166, 41, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(216, 166, 41, 0);
    }
}

@keyframes signalWave {
    0% {
        opacity: 0.75;
        transform: scale(0.7);
    }

    100% {
        opacity: 0;
        transform: scale(1.45);
    }
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

@keyframes gatewayPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(216, 166, 41, 0.42);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(216, 166, 41, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(216, 166, 41, 0);
    }
}
@keyframes gatewayPulseBlue {
    0% {
        box-shadow: 0 0 0 0 rgba(47, 128, 237, 0.42);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(47, 128, 237, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(47, 128, 237, 0);
    }
}

@keyframes responderArrive {
    from {
        opacity: 0;
        transform: translateX(34px);
    }

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

/* Responsive */

@media (max-width: 1100px) {
    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1000px) {
    .alert-walkthrough-card {
        grid-template-columns: 1fr;
    }

    .walkthrough-timeline {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .steps {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 640px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: calc(6rem + var(--header-height, 73px)) 1.25rem 7rem;
    }

        .hero h1 {
            font-size: 2.75rem;
        }

        .hero p {
            font-size: 1.1rem;
        }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .hero-actions .rz-button {
            width: 100%;
        }

    .how-it-works {
        padding: 4rem 1.25rem 1rem;
    }

    .steps {
        padding-left: 0;
        padding-right: 0;
    }

    .trust-strip {
        grid-template-columns: 1fr;
        margin: 1rem 1.25rem 3.5rem;
        padding: 1.5rem;
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid #e6edf3;
        padding-bottom: 1.25rem;
    }

        .trust-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

    .trust-signal {
        margin: 4rem 1.25rem;
        padding: 2.5rem 1.5rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .cta-actions .rz-button {
            width: 100%;
        }

    .product-hero {
        padding: calc(5rem + var(--header-height, 73px)) 1.25rem 5rem;
    }

        .product-hero h1 {
            font-size: 2.75rem;
        }

        .product-hero p {
            font-size: 1.1rem;
        }

    .alert-walkthrough-section {
        padding: 4rem 1.25rem;
    }

    .alert-walkthrough-card {
        padding: 1rem;
        border-radius: 22px;
    }

    .walkthrough-active {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 1rem;
    }

    .hotel-scene {
        min-height: 380px;
    }

    .hotel-map {
        inset: 0.85rem;
    }

    .scene-product-visual {
        left: 0.85rem;
        bottom: calc(50% - 24px);
        width: 38%;
        height: 104px;
    }

        .scene-product-visual img {
            max-height: 82px;
        }

    .notification-stack {
        right: 0.85rem;
        top: calc(50% - 82px);
        width: min(52%, 240px);
    }

    .location-card {
        right: 0.85rem;
        bottom: 0.85rem;
        width: min(52%, 240px);
    }

    .product-features {
        padding: 4rem 1.25rem;
    }
    .walkthrough-support-image {
        height: 112px;
        margin-bottom: 1rem;
    }

        .walkthrough-support-image img {
            max-height: 82px;
        }
}

@media (max-width: 560px) {
    .walkthrough-timeline {
        grid-template-columns: 1fr;
    }
    .hotel-room {
        min-width: 30%;
        min-height: 72px;
        padding: 0.55rem;
        font-size: 0.68rem;
    }

    .room-1,
    .room-4 {
        left: 0.65rem;
    }

    .room-2,
    .room-5 {
        left: 35%;
    }

    .room-3,
    .room-6 {
        right: 0.65rem;
    }

    .room-button {
        width: 34px;
        height: 34px;
        padding: 4px;
    }

    .room-gateway {
        width: 31px;
        height: 31px;
        padding: 4px;
    }

    .scene-product-visual {
        left: 0.65rem;
        width: 40%;
        height: 92px;
    }

        .scene-product-visual img {
            max-height: 72px;
        }

    .notification-stack,
    .location-card {
        right: 0.65rem;
        width: min(58%, 220px);
    }

    .notification-card {
        padding: 0.6rem 0.7rem;
        font-size: 0.76rem;
    }
}
