:root {
    --primary-blue: var(--color-primary, #1d4ed8);
    --primary-hover: var(--color-primary-hover, #1e40af);
    --accent-blue: var(--color-primary, #2563eb);
    --text-main: var(--color-dark, #0f172a);
    --text-muted: var(--color-muted, #64748b);
    --border-light: var(--color-border, #e2e8f0);
    --bg-light-alt: var(--color-bg, #f8fafc);
}

body {
    background-color: #ffffff !important;
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    scroll-behavior: smooth;
}

.cursor-pointer {
    cursor: pointer;
}

/* Top Header Navigation */
.navbar-custom {
    border-bottom: 1px solid var(--border-light);
    padding: 16px 32px;
    background: #ffffff;
    position: relative;
    z-index: 1020;
}

.brand-logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: #0F172A;
    text-decoration: none;
}

.brand-logo .dot {
    color: var(--primary-blue);
}

.nav-link-custom {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--primary-blue);
}

.btn-signup {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 18px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-signup:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.btn-login {
    background: var(--primary-blue);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
    transition: all 0.2s;
}

.btn-login:hover {
    background: var(--primary-hover);
    color: #fff;
}

/* Sticky Header Bar (Shown on Scroll) */
.sticky-product-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10400;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
}

.sticky-product-header.is-sticky {
    display: block;
    transform: translateY(0);
}

.sticky-bar-top {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.sticky-thumb {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 4px;
    object-fit: contain;
}

.sticky-price {
    font-size: 1.5rem;
    line-height: 1.2;
}

.sticky-active-price {
    color: var(--text-main, #0f172a);
}

.sticky-original-price {
    color: var(--text-muted, #64748b);
}

.sticky-buy-btn {
    height: 44px;
    white-space: nowrap;
    font-weight: 600;
}

.sticky-product-title {
    max-width: 260px;
}

.sticky-product-header .overflow-auto {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sticky-product-header .overflow-auto::-webkit-scrollbar {
    display: none;
}

@media (max-width: 767.98px) {
    .sticky-bar-top {
        padding: 8px 0;
    }

    .sticky-thumb {
        width: 44px;
        height: 44px;
        border-radius: 6px;
        padding: 2px;
    }

    .sticky-product-title {
        max-width: 140px;
        font-size: 0.875rem !important;
    }

    .sticky-price {
        font-size: 1.15rem;
    }

    .sticky-buy-btn {
        height: 38px;
        padding: 6px 14px !important;
        font-size: 0.85rem;
        border-radius: 6px;
    }
}

@media (max-width: 380px) {
    .sticky-product-title {
        max-width: 100px;
        font-size: 0.8rem !important;
    }

    .sticky-price {
        font-size: 1rem;
    }

    .sticky-buy-btn {
        height: 36px;
        padding: 5px 10px !important;
        font-size: 0.8rem;
    }
}

.btn-scroll-top {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: #ffffff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-scroll-top:hover {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
}

/* Breadcrumb styling */
.breadcrumb-custom {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #64748b;
    font-weight: 500;
}

.breadcrumb-custom span {
    color: var(--text-main);
    font-weight: 700;
}

/* Image Gallery Thumbnails & Gallery System */
.product-gallery-wrapper {
    height: 400px;
    width: 100%;
}

.thumb-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background-color: #ffffff;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    padding: 0;
    opacity: 0.85;
    flex-shrink: 0;
    display: block;
    -webkit-user-drag: none;
    user-drag: none;
    transition: all 0.2s ease;
}

.thumb-img.active,
.thumb-img:hover {
    opacity: 1;
    border-color: var(--primary-blue, #1d4ed8) !important;
    box-shadow: 0 0 0 2px var(--color-primary-shadow, rgba(29, 78, 216, 0.25));
}

/* Main Image Box */
.main-image-wrapper {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    position: relative;
    border-radius: 16px;
    height: 100%;
    max-height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 !important;
}

.main-image-wrapper #mainProductImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767.98px) {
    .product-gallery-wrapper {
        height: auto !important;
        flex-direction: column-reverse !important;
        gap: 12px !important;
    }

    .main-image-wrapper {
        height: clamp(280px, 75vw, 380px) !important;
        max-height: none !important;
        border-radius: 14px;
    }

    .product-thumb-column {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 4px 2px !important;
        gap: 10px !important;
        -webkit-overflow-scrolling: touch;
    }

    .thumb-img {
        width: 72px !important;
        height: 72px !important;
        min-width: 72px !important;
        border-radius: 12px !important;
    }
}

@media (max-width: 380px) {
    .thumb-img {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
    }
}

.badge-render {
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid #cbd5e1;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Feature Check Cards (2x2 Grid) */
.feature-check-box {
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.73rem;
    font-weight: 700;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.2px;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 46px;
}

.feature-check-box span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    width: 100%;
}

.feature-check-box i {
    font-size: 1.05rem;
    color: #198754;
    font-weight: bold;
    flex-shrink: 0;
}

/* Color Swatches */
.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.color-swatch-black {
    background-color: #0f172a !important;
}

.color-swatch-grey {
    background-color: #475569 !important;
}

.color-swatch-light {
    background-color: #e2e8f0 !important;
    border: 1px solid #cbd5e1 !important;
}

.color-swatch.active {
    border-color: var(--primary-blue, #2563eb) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25) !important;
}

/* Slidable Vertical Thumbnail Slider */
.product-thumb-column {
    width: 89px;
    max-width: 89px;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-right: 2px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-x pan-y;
}

.product-thumb-column.is-dragging {
    cursor: grabbing !important;
    scroll-behavior: auto !important;
}

.product-thumb-column.is-dragging * {
    cursor: grabbing !important;
    user-select: none !important;
    pointer-events: none;
}

.product-thumb-column::-webkit-scrollbar {
    display: none;
}

.thumb-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: #ffffff;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.thumb-nav-btn:hover {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
}

/* Size Buttons */
.size-btn {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: var(--text-main);
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 6px;
    transition: all 0.2s;
}

.size-btn.active,
.size-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: #f0f6ff;
}

/* Nav Pills Navigation */
.nav-pill-custom {
    background-color: #eef2ff;
    color: var(--color-primary);
    border: none;
    font-weight: 500;
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 20px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.nav-pill-custom.active,
.nav-pill-custom:hover {
    background-color: var(--color-primary, #2563eb);
    color: #ffffff;
}

/* Product Purchase Group & Actions */
.product-purchase-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.product-qty-box {
    width: 120px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.product-qty-box .qty-btn {
    width: 38px;
    height: 100%;
    border: none;
    background: transparent;
    color: var(--text-main);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.15s;
}

.product-qty-box .qty-btn:hover {
    background-color: #f1f5f9;
}

.product-qty-box .qty-input {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    text-align: center;
    font-weight: 700;
    color: var(--text-main);
    background: #ffffff;
    padding: 0;
}

.btn-buy-now {
    background: var(--color-primary, #0095da);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 16px 12px;
    border-radius: 6px;
    color: #ffffff;
    transition: all 0.2s;
}

.btn-buy-now:hover {
    background: var(--color-primary-hover, #0876a8);
    box-shadow: 0 4px 12px var(--color-primary-shadow, rgba(0, 149, 218, 0.3));
    color: #ffffff;
}

.btn-action-cart {
    height: 48px;
    padding: 0 18px;
    border-radius: 8px;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 140px;
}

.btn-action-buy {
    height: 48px !important;
    padding: 0 18px !important;
    border-radius: 8px;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 140px;
}

.btn-action-icon {
    width: 48px;
    height: 48px;
    padding: 0 !important;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .product-qty-box {
        width: 110px;
        height: 44px;
    }

    .btn-action-cart {
        height: 44px;
        flex: 1 0 calc(100% - 120px);
        font-size: 0.9rem;
    }

    .btn-action-buy {
        height: 44px !important;
        flex: 1 0 calc(100% - 108px);
        font-size: 0.9rem;
    }

    .btn-action-icon {
        width: 44px;
        height: 44px;
    }

    .nav-pill-custom {
        font-size: 11px;
        padding: 6px 8px;
    }
}

/* Section scroll offset to clear sticky header bars */
#overview,
#specs,
#features,
#tech,
#apps,
#box,
#faq {
    scroll-margin-top: 150px;
}

@media (max-width: 991.98px) {

    #overview,
    #specs,
    #features,
    #tech,
    #apps,
    #box,
    #faq {
        scroll-margin-top: 135px;
    }
}

@media (max-width: 767.98px) {

    #overview,
    #specs,
    #features,
    #tech,
    #apps,
    #box,
    #faq {
        scroll-margin-top: 115px;
    }
}

/* Sub-Nav Bar (Tabs) */
.bottom-tabs-bar {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 0;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.sticky-product-header.is-sticky .bottom-tabs-bar {
    position: static;
    border-top: none;
}

/* Product Tabs Horizontal Scroll Track (Desktop & Mobile) */
.product-tabs-track,
.bottom-tabs-bar .overflow-auto,
.sticky-product-header .overflow-auto {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
}

.product-tabs-track::-webkit-scrollbar,
.bottom-tabs-bar .overflow-auto::-webkit-scrollbar,
.sticky-product-header .overflow-auto::-webkit-scrollbar {
    display: none;
}

.product-tabs-track.is-dragging,
.bottom-tabs-bar .overflow-auto.is-dragging,
.sticky-product-header .overflow-auto.is-dragging {
    cursor: grabbing !important;
    scroll-behavior: auto !important;
}

.product-tabs-track.is-dragging *,
.bottom-tabs-bar .overflow-auto.is-dragging *,
.sticky-product-header .overflow-auto.is-dragging * {
    cursor: grabbing !important;
    user-select: none !important;
    pointer-events: none !important;
}

.bottom-tab-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 12px 0;
    transition: all 0.2s;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    white-space: nowrap;
    -webkit-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

.bottom-tab-link:hover,
.bottom-tab-link.active {
    color: var(--primary-blue);
}

.bottom-tab-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-blue);
}

/* Overview Feature Cards */
.overview-feature-card {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.overview-feature-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Section Backgrounds */
.section-alt {
    background-color: #f8fafc;
    /* border-top: 1px solid var(--border-light); */
    /* border-bottom: 1px solid var(--border-light); */
}

/* Universal Parallax Plugin Styling */
.parallax-window {
    position: relative;
    overflow: hidden;
    clip-path: inset(0);
}

.parallax-slider {
    position: absolute;
    top: -12%;
    left: 0;
    width: 100%;
    height: 124%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 0;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.parallax-content {
    position: relative;
    z-index: 2;
}

/* Precision Engineered Details Banner */
.precision-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #0b1329;
    color: #ffffff;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.precision-card-item {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    transition: all 0.3s ease;
}

.precision-card-item:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

.precision-icon-box {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.2rem;
    color: #ffffff;
}

/* Technology Physics Banner */
.physics-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #0d1b2a;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    padding: 35px;
}

.hud-line-label {
    position: absolute;
    background: rgba(13, 27, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 1px;
}

/* Universal Parallax Window & Slider System */
.parallax-window {
    position: relative;
    overflow: hidden !important;
}

.parallax-slider {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 0;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.parallax-content {
    position: relative;
    z-index: 2;
}

/* Applications Cards */
.app-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden !important;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #ffffff;
    border: 1px solid var(--border-light);
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.app-card-content {
    position: relative;
    z-index: 2;
}

/* Accessories / Box Contents Card Grid */
.box-item-card {
    text-align: center;
    transition: all 0.2s ease;
}

.box-item-img-box {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 16px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.2s ease;
    overflow: hidden;
    width: 100%;
}

.box-item-card:hover .box-item-img-box {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.box-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.box-item-card .box-item-title,
.box-item-card h3 {
    font-size: clamp(0.725rem, 0.65rem + 0.35vw, 0.9rem) !important;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main, #0f172a);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.5em;
    word-break: break-word;
}

.box-item-card .box-item-price {
    font-size: clamp(0.725rem, 0.65rem + 0.25vw, 0.825rem);
    font-weight: 700;
}

/* FAQ Accordion Styling */
.custom-accordion .accordion-item {
    border: 1px solid var(--border-light);
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: #ffffff;
}

.custom-accordion .accordion-button {
    background-color: #ffffff;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 18px 24px;
    box-shadow: none !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-blue);
    background-color: #ffffff;
}

.custom-accordion .accordion-body {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    padding: 0 24px 20px 24px;
}

/* Footer */
.footer-main {
    background-color: #090d16;
    color: #94a3b8;
    font-size: 0.85rem;
    padding-top: 60px;
    padding-bottom: 30px;
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #ffffff;
}

.newsletter-input {
    background: #1e293b;
    border: 1px solid #334155;
    color: #ffffff;
    padding: 10px 16px;
    font-size: 0.85rem;
    border-radius: 6px 0 0 6px;
}

.newsletter-input:focus {
    background: #1e293b;
    color: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: none;
}

.newsletter-btn {
    background: #334155;
    border: 1px solid #334155;
    color: #ffffff;
    padding: 0 16px;
    border-radius: 0 6px 6px 0;
    transition: all 0.2s;
}

.newsletter-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #ffffff;
}

.up-down-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    color: var(--primary-blue);
    background-color: #CEDDFF;
    margin: 0 auto;
}

.product-desc-scroll {
    max-height: 260px;
}

/* Price & Typography Utilities */
.main-active-price {
    color: var(--text-main, #0f172a);
}

.main-original-price {
    color: var(--text-muted, #64748b);
}

.product-desc-text {
    line-height: 1.6;
    font-size: 0.85rem;
}

.option-label-sm {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.size-guide-link {
    font-size: 0.75rem;
    color: var(--primary-blue, #1d4ed8);
    text-decoration: none;
}

.size-guide-link:hover {
    text-decoration: underline;
}

.cursor-crosshair {
    cursor: crosshair;
}

/* Offscreen Sections Performance & Layout Optimization */
.content-visibility-auto {
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
}

/* In The Box Banner & Glassmorphism Cards */
.box-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #0d1b2a;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.box-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.25) 0%, rgba(13, 27, 42, 0.88) 100%);
    pointer-events: none;
    z-index: 0;
}

.box-glass-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .box-glass-card:hover {
        transform: translateY(-4px);
        background: rgba(255, 255, 255, 0.22);
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
        border-color: rgba(255, 255, 255, 0.45);
    }
}

.box-card-num {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
    opacity: 0.75;
    line-height: 1;
}

.box-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.35;
}

.box-card-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* Responsive adjustments for In The Box section */
@media (max-width: 991.98px) {
    .box-banner {
        min-height: 480px;
        padding: 30px 24px;
    }
}

@media (max-width: 767.98px) {
    .box-banner {
        min-height: 360px;
        padding: 24px 16px;
        border-radius: 16px;
        background-position: center top;
    }

    .box-banner-overlay {
        background: linear-gradient(180deg, rgba(13, 27, 42, 0.35) 0%, rgba(13, 27, 42, 0.92) 100%);
    }

    .box-glass-card {
        padding: 18px 16px;
        border-radius: 14px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .box-card-num {
        font-size: 1.25rem;
    }

    .box-card-title {
        font-size: 0.88rem;
    }

    .box-card-desc {
        font-size: 0.8rem;
        line-height: 1.55;
    }
}

@media (max-width: 480px) {
    .box-banner {
        padding: 20px 12px;
        border-radius: 14px;
    }

    .box-glass-card {
        padding: 16px 14px;
        border-radius: 12px;
    }

    .box-card-num {
        font-size: 1.15rem;
    }

    .box-card-title {
        font-size: 0.84rem;
    }

    .box-card-desc {
        font-size: 0.78rem;
    }
}
