/* ─── RESET & BASE ───────────────────────────────────── */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #eef1f5;
    color: #0b1f2e;
}

/* ─── PAGE WRAPPER ───────────────────────────────────── */

.product-layout {
    max-width: 1650px;
    margin: 24px auto 50px;
    padding: 0 36px;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

/* ─── SIDEBAR ────────────────────────────────────────── */

.product-sidebar {
    position: sticky;
    top: 95px;
}

.sidebar-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 0;
    box-shadow: 0 8px 32px rgba(11,31,46,0.10);
    border: 1px solid rgba(11,31,46,0.07);
    overflow: hidden;
}

.sidebar-title {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #e53935;
    margin: 0 0 8px;
    padding: 0 24px 16px;
    border-bottom: 1px solid rgba(11,31,46,0.08);
}

.sidebar-box a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 24px;
    text-decoration: none;
    color: #0b1f2e;
    font-weight: 600;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all 0.25s ease;
}

.sidebar-box a:hover {
    color: #e53935;
    background: rgba(229,57,53,0.06);
    border-left-color: rgba(229,57,53,0.5);
    padding-left: 28px;
}

.sidebar-box a.active {
    color: #e53935;
    background: rgba(229,57,53,0.08);
    border-left-color: #e53935;
    padding-left: 28px;
}

.sidebar-num {
    font-size: 11px;
    font-weight: 700;
    color: rgba(11,31,46,0.2);
    letter-spacing: 1px;
    transition: color 0.25s ease;
}

.sidebar-box a:hover .sidebar-num,
.sidebar-box a.active .sidebar-num {
    color: rgba(229,57,53,0.6);
}

/* ─── PRODUCTS HERO ──────────────────────────────────── */

.products-hero {
    height: 320px;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 0;
    padding-left: 60px;
    padding-right: 60px;
    position: relative;
    overflow: hidden;
    background-image: url("../images/hero-1.jpg");
    background-size: cover;
    background-position: center top;
    color: white;
    margin-top: 0;
}

.products-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(11, 31, 46, 0.92) 0%,
        rgba(11, 31, 46, 0.70) 40%,
        rgba(11, 31, 46, 0.35) 70%,
        rgba(11, 31, 46, 0.10) 100%
    );
    z-index: 1;
}

.products-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.products-hero-content .eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ff5a55;
    font-weight: 900;
    margin: 0 0 14px;
    white-space: nowrap;
}

.products-hero h1 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -1px;
    margin: 0 0 16px;
    color: white;
    white-space: nowrap;
}

.hero-accent {
    color: white;
    border-bottom: 3px solid #e53935;
    padding-bottom: 2px;
}

.products-hero p {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255,255,255,0.88);
    margin: 0;
}

/* ─── SECTION LABELS ─────────────────────────────────── */

.eyebrow,
.section-eyebrow {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #e53935;
    margin: 0 0 10px;
    display: block;
}

/* ─── PRODUCT DETAIL CARDS ───────────────────────────── */

.product-detail {
    max-width: none;
    margin: 0 0 80px;
    padding: 0;
    scroll-margin-top: 2rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.product-detail.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.product-detail.featured {
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.product-detail-inner {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px 56px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 48px;
    align-items: center;
    box-shadow: 0 12px 40px rgba(11, 31, 46, 0.10);
    border: 1px solid rgba(11, 31, 46, 0.08);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-detail-inner:hover {
    box-shadow: 0 20px 60px rgba(11, 31, 46, 0.15);
    transform: translateY(-3px);
}

/* Accent stripe on left edge */
.product-detail-inner::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, #e53935, rgba(229, 57, 53, 0.15));
    border-radius: 18px 0 0 18px;
}

/* Featured variant — dark card */
.product-detail.featured .product-detail-inner {
    background: #0b1f2e;
    color: white;
}

.product-detail.featured .product-detail-inner::before {
    background: linear-gradient(to bottom, #e53935, rgba(229, 57, 53, 0.5));
}

.product-detail.featured h2 {
    color: white;
}

.product-detail.featured p {
    color: rgba(255, 255, 255, 0.82);
}

/* ─── PRODUCT TEXT ───────────────────────────────────── */

.product-text h2 {
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.1;
    margin: 8px 0 15px;
    letter-spacing: -0.5px;
    color: #0b1f2e;
}

.product-text p {
    font-size: 16.5px;
    line-height: 1.72;
    margin: 0 0 14px;
    max-width: 600px;
}

.product-text p:last-of-type {
    margin-bottom: 0;
}

.product-trust-list {
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trust-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.6;
}

.trust-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: rgba(229, 57, 53, 0.15);
    color: #ff4d4d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    margin-top: 2px;
}

/* ─── DOWNLOAD LINKS ─────────────────────────────────── */

.download-links {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
    align-items: center;
}

.download-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e53935;
    color: white;
    padding: 11px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.download-links a::before {
    content: "↓";
    font-size: 15px;
    font-weight: 900;
}

.download-links a:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(229, 57, 53, 0.4);
}

/* ─── PRODUCT IMAGE ──────────────────────────────────── */

.product-image {
    display: flex;
    align-items: center;
   
    background: white;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

/* No glow on white cards */
.product-image::before {
    display: none;
}

/* Dark cards get a dark image frame with glow */
.product-detail.featured .product-image {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
}

.product-detail.featured .product-image::before {
    display: block;
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(229,57,53,0.10) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* All images unified sizing */
.product-image img {
    width: 100%;
    max-width: 380px;
    max-height: 320px;
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
 
    position: relative;
    z-index: 1;
}




#starzone4000 .product-detail-inner {
    grid-template-columns: 1fr 1fr;
   
    
}

#starzone4000 .product-image {
    background: white;
    padding: 0;
 
    justify-content: center;
   
  

}

#starzone4000 .product-image img {
    mix-blend-mode: multiply;
    max-width: 100%;
    width: 100%;
    max-height: 850px;
    filter: none;
    object-fit: contain;
}

/* Sensor pair layout */
.sensor-pair {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.sensor-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sensor-frame img {
    max-width: 160px !important;
    max-height: 160px !important;
}

.sensor-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(11,31,46,0.45);
}

/* Starcom Hub image */
#starcom .product-image {
    background: linear-gradient(
        135deg,
        rgba(11,31,46,0.08),
        rgba(229,57,53,0.05)
    );
    min-height: 280px;
}

/* Hover lift on image */
.product-detail-inner:hover .product-image img {
    transform: scale(1.05) translateY(-4px);
}

/* Reversed layout */
.product-detail.reversed .product-detail-inner {
    grid-template-columns: 0.7fr 1.3fr;
}

.product-detail.reversed .product-text {
    order: 2;
}

.product-detail.reversed .product-image {
    order: 1;
}

/* ─── SPEC TAGS / BADGES ─────────────────────────────── */

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
}

.product-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(229, 57, 53, 0.10);
    color: #e53935;
    border: 1px solid rgba(229, 57, 53, 0.22);
}

.product-detail.featured .product-tag {
    background: rgba(229, 57, 53, 0.18);
    border-color: rgba(229, 57, 53, 0.35);
}

/* ─── DIVIDER ─────────────────────────────────────────── */

.section-divider {
    border: none;
    border-top: 1px solid rgba(11, 31, 46, 0.08);
    margin: 0 0 80px;
    position: relative;
}

.section-divider::after {
    content: "";
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e53935;
}

/* ─── BOTTOM CTA STRIP ───────────────────────────────── */

.products-cta-strip {
    background: #0b1f2e;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 40px;
    padding: 64px 60px;
    position: relative;
    overflow: hidden;
}

.products-cta-strip::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(229,57,53,0.12), transparent 70%);
    pointer-events: none;
}

.cta-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.cta-strip-text {
    max-width: 620px;
}

.cta-strip-eyebrow {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #e53935;
    margin: 0 0 12px;
}

.cta-strip-heading {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: white;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 14px;
}

.cta-strip-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
    margin: 0;
}

.cta-strip-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.cta-btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: #e53935;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-btn-primary:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(229,57,53,0.4);
}

.cta-btn-secondary {
    display: inline-block;
    padding: 13px 32px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.25s ease;
}

.cta-btn-secondary:hover {
    color: white;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.05);
}

/* ─── FOOTER ─────────────────────────────────────────── */

.site-footer {
    background: #0b1f2e;
    color: rgba(255,255,255,0.8);
    text-align: center;
    padding: 36px 20px;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 80px;
}

.footer-content p {
    margin: 6px 0;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */

/* ── Large Tablet (max 960px) ── */
@media (max-width: 960px) {

    /* Sidebar stacks above content */
    .product-layout {
        grid-template-columns: 1fr;
        padding: 0 24px;
    }

    .product-sidebar {
        position: static;
    }

    /* Cards stack vertically */
    .product-detail-inner,
    .product-detail.reversed .product-detail-inner {
        grid-template-columns: 1fr;
        padding: 40px 32px;
    }

    /* Remove reversed ordering on mobile */
    .product-detail.reversed .product-text,
    .product-detail.reversed .product-image {
        order: unset;
    }

    .product-image img {
        max-width: 280px;
        margin: 0 auto;
    }

    .products-hero {
        padding-top: 100px;
        padding-left: 32px;
        padding-right: 32px;
        padding-bottom: 40px;
    }

    .products-cta-strip {
        padding: 48px 32px;
    }
}

/* ── Small Tablet (max 768px) ── */
@media (max-width: 768px) {

    .product-layout {
        padding: 0 16px;
        margin: 16px auto 40px;
    }

    .product-detail {
        margin: 0 0 48px;
    }

    /* CTA strip stacks */
    .cta-strip-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-strip-actions {
        width: 100%;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
    }

    /* Sensor pair stacks vertically */
    .sensor-pair {
        flex-direction: column;
        gap: 24px;
    }

    /* Download buttons stack */
    .download-links {
        flex-direction: column;
    }

    .download-links a {
        width: 100%;
        justify-content: center;
    }

       #starzone4000 .product-detail-inner {
        grid-template-columns: 1fr;
    }
}

/* ── Mobile (max 600px) ── */
@media (max-width: 600px) {

    /* Hero */
    .products-hero {
        background-position: center top;
        padding-top: 80px;
        padding-left: 24px;
        padding-right: 24px;
        padding-bottom: 32px;
        height: auto;
    }

    .products-hero h1 {
        font-size: 28px;
        white-space: normal;
    }

    .products-hero p {
        font-size: 15px;
    }

    /* Cards */
    .product-detail-inner {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .product-text h2 {
        font-size: 22px;
    }

    .product-text p {
        font-size: 15px;
        line-height: 1.65;
    }

    /* Sidebar */
    .sidebar-box a {
        font-size: 13px;
        padding: 10px 16px;
    }

    /* Tags wrap tighter */
    .product-tag {
        font-size: 9px;
        padding: 4px 10px;
    }

    /* CTA */
    .cta-strip-heading {
        font-size: 22px;
    }

    .cta-strip-sub {
        font-size: 14px;
    }
}