/* ============================================================
   PRODUCTS HOME / RANGE CARD STYLES
   (Extracted from inline CSS on the old products page)
   File: css/products-home-card.css
   ============================================================ */

/* ── FULL-WIDTH BREAKOUT ── */
.hero,
.trust-band,
.trust-band * {
    /* no-op placeholder to preserve specificity expectations */
}

.hero,
.trust-band {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* HERO ADD-ONS (overrides the shared hero base if needed) */
.hero {
    overflow: hidden;
}

.hero-orb1 {
    position: absolute;
    top: -140px;
    right: -140px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.13);
    pointer-events: none
}

.hero-orb2 {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(26, 86, 219, 0.09);
    pointer-events: none
}

.hero-orb3 {
    position: absolute;
    top: 50%;
    right: 5%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(147, 197, 253, 0.06);
    pointer-events: none;
    transform: translateY(-50%)
}

/* ── HERO STYLING CONTAINER FIXES ── */
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    width: 100%
}

@media(max-width:768px) {
    .hero-inner {
        grid-template-columns: 1fr
    }

    .hero-img-wrap {
        display: none
    }
}

/* ── HERO CONTENT ── */
.hero-tag {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 2px;
    margin-bottom: 20px;
    animation: fadeUp 0.6s ease both
}

.hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 700;
    color: #fff;
    line-height: 1.02;
    animation: fadeUp 0.7s 0.1s ease both
}

.hero h1 span {
    color: #93c5fd
}

.hero-sub {
    margin-top: 16px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.75;
    max-width: 460px;
    animation: fadeUp 0.7s 0.2s ease both
}

.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 36px;
    flex-wrap: wrap;
    animation: fadeUp 0.7s 0.35s ease both
}

.hstat {
    display: flex;
    flex-direction: column
}

.hstat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff
}

.hstat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
    animation: fadeUp 0.7s 0.3s ease both
}

.hero-btn-p {
    padding: 13px 28px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: var(--blue2);
    border-radius: 4px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s
}

.hero-btn-p:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5)
}

.hero-btn-o {
    padding: 13px 28px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s
}

.hero-btn-o:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px)
}

.hero-divider {
    width: 60px;
    height: 3px;
    background: #93c5fd;
    margin: 24px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    animation: expandW 0.8s 0.5s ease both
}

/* ── HERO IMAGE ── */
.hero-img-wrap {
    position: relative;
    animation: fadeUp 0.8s 0.3s ease both
}

.hero-img-wrap img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4)
}

.hero-img-badge {
    position: absolute;
    bottom: -16px;
    left: 24px;
    background: #fff;
    border-radius: 10px;
    padding: 14px 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15)
}

.hero-img-badge strong {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink)
}

.hero-img-badge span {
    font-size: 12px;
    color: var(--muted)
}

/* ── TRUST BAND ── */
.trust-band {
    background: var(--navy);
    padding: 20px 24px
}

.trust-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.08)
}

.trust-item:last-child {
    border-right: none
}

.trust-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #93c5fd;
    flex-shrink: 0
}

.trust-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.75)
}

@media(max-width:600px) {
    .trust-item {
        padding: 8px 14px
    }

    .trust-text {
        font-size: 11px
    }
}

/* ── WRAP ── */
.rjk-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px
}

/* Animate class used on other pages too */
[data-anim] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease
}

[data-anim].on {
    opacity: 1;
    transform: translateY(0)
}

/* ── PRODUCT CARDS ── */
.prod-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 32px;
    background: var(--card);
    box-shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s
}

.prod-card.on {
    opacity: 1;
    transform: translateY(0)
}

.prod-card:hover {
    box-shadow: 0 12px 48px rgba(26, 86, 219, 0.15)
}

.prod-card:nth-child(even) {
    direction: rtl
}

.prod-card:nth-child(even) .prod-content,
.prod-card:nth-child(even) .prod-image {
    direction: ltr
}

.prod-image {
    position: relative;
    overflow: hidden;
    min-height: 300px
}

.prod-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease
}

.prod-card:hover .prod-image img {
    transform: scale(1.06)
}

.prod-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.45) 0%, transparent 65%)
}

.prod-num {
    position: absolute;
    top: 18px;
    left: 20px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 72px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.12);
    line-height: 1;
    pointer-events: none
}

.prod-content {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative
}

.prod-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--blue);
    transition: height 0.5s 0.2s ease
}

.prod-card.on .prod-content::before {
    height: 100%
}

.prod-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px
}

.prod-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 12px
}

.prod-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 18px
}

.prod-specs {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 24px
}

.spec-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px
}

.spec-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0
}

.spec-label {
    color: var(--muted)
}

.spec-val-r {
    color: var(--ink);
    font-weight: 500;
    margin-left: auto
}

.prod-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.prod-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: var(--blue);
    padding: 11px 22px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s
}

.prod-link:hover {
    background: var(--navy);
    transform: translateX(3px)
}

.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink);
    background: transparent;
    border: 1px solid rgba(10, 22, 40, 0.18);
    padding: 11px 22px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s
}

.pdf-link:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    transform: translateX(3px)
}

.pdf-link svg,
.prod-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0
}

/* ── WHY ── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 80px
}

.why-box {
    background: var(--card);
    border-radius: 12px;
    padding: 28px 24px;
    border-left: 4px solid transparent;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px)
}

.why-box.on {
    opacity: 1;
    transform: translateY(0)
}

.why-box:hover {
    border-color: var(--blue);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26, 86, 219, 0.1)
}

.why-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #1a56db, #2563eb);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px
}

.why-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.why-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px
}

.why-text {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65
}

/* ── APPS ── */
.apps-section {
    margin-bottom: 80px
}

.apps-track {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center
}

.app-pill {
    padding: 10px 22px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
    opacity: 0;
    transform: scale(0.85)
}

.app-pill.on {
    opacity: 1;
    transform: scale(1)
}

.app-pill:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    transform: scale(1.05)
}

/* ── CTA ── */
.cta-band {
    background: var(--navy);
    border-radius: 16px;
    padding: 64px 40px;
    text-align: center;
    position: relative;
    overflow: hidden
}

.cta-band::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(26, 86, 219, 0.18)
}

.cta-band::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12)
}

.cta-band h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(22px, 3.5vw, 38px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    position: relative
}

.cta-band p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    margin-bottom: 28px;
    position: relative
}

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative
}

.cta-btn-p {
    padding: 13px 28px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
    background: var(--blue2);
    color: #fff
}

.cta-btn-p:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45)
}

.cta-btn-o {
    padding: 13px 28px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, transform 0.2s;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35)
}

.cta-btn-o:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px)
}

.cta-contact-row {
    margin-top: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap
}

.cta-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2)
}

.cta-ci {
    display: flex;
    align-items: center;
    gap: 10px
}

.cta-ci strong {
    color: rgba(255, 255, 255, 0.85)
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes expandW {
    from {
        transform: scaleX(0)
    }

    to {
        transform: scaleX(1)
    }
}

@media(max-width:680px) {
    .prod-card {
        grid-template-columns: 1fr !important
    }

    .prod-image {
        min-height: 220px
    }

    .prod-content {
        padding: 28px 24px
    }

    .prod-btns>a,
    .cta-btns>a {
        flex: 1 1 100%;
        justify-content: center;
        text-align: center
    }

    .spec-row {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .spec-val,
    .spec-val-r {
        width: 100%;
        margin-left: 0;
        padding-left: 16px
    }

    .cta-divider {
        display: none
    }
}
