/* ==========================================================================
   SG — S&G Computer Supplies Limited
   Corporate brand stylesheet: clean, minimal, navy / charcoal / silver.
   Shared by the public site and the admin panel.
   ========================================================================== */

:root {
    --sg-navy: #0b1b33;
    --sg-navy-deep: #071227;
    --sg-charcoal: #2b2f36;
    --sg-silver: #c7cdd6;
    --sg-silver-light: #eef1f5;
    --sg-white: #ffffff;
    /* Accent used by the Lumeo-style hero + nav CTA. Change these two lines to
       re-tint the whole hero/nav (e.g. to the navy brand colour). */
    --sg-accent: #4c1d95;
    --sg-accent-deep: #3b1477;
    /* Light page canvas the white cards float on */
    --sg-page-bg: #f1f1f4;
    --sg-text: #1c222b;
    --sg-text-muted: #5b6472;
    --sg-border: #e2e6ec;
    --sg-danger: #b3261e;
    --sg-success: #1e6b45;
    --sg-radius: 6px;
    --sg-shadow: 0 2px 10px rgba(11, 27, 51, 0.06);
    --sg-shadow-lg: 0 12px 32px rgba(11, 27, 51, 0.12);
    --sg-max-width: 1180px;
    --sg-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sg-font);
    color: var(--sg-text);
    background: var(--sg-page-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: var(--sg-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Content sections stay white so only the hero/nav float on the grey canvas. */
.section {
    padding: 64px 0;
    background: var(--sg-white);
}

.section-tight {
    padding: 40px 0;
    background: var(--sg-white);
}

.section-alt {
    background: var(--sg-silver-light);
}

.section-navy {
    background: var(--sg-navy);
    color: var(--sg-silver-light);
}

.eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sg-text-muted);
    margin-bottom: 10px;
}

.section-navy .eyebrow {
    color: var(--sg-silver);
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 16px;
    color: var(--sg-navy);
}

.section-navy h1,
.section-navy h2,
.section-navy h3 {
    color: #fff;
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.15rem);
}

h3 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 16px;
}

.text-muted {
    color: var(--sg-text-muted);
}

.text-center {
    text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--sg-radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-primary {
    background: var(--sg-navy);
    color: #fff;
}

.btn-primary:hover {
    background: var(--sg-navy-deep);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--sg-navy);
    border-color: var(--sg-navy);
}

.btn-outline:hover {
    background: var(--sg-navy);
    color: #fff;
}

.btn-silver {
    background: var(--sg-silver-light);
    color: var(--sg-navy);
    border-color: var(--sg-border);
}

.btn-silver:hover {
    background: var(--sg-silver);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-danger {
    background: var(--sg-danger);
    color: #fff;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ---------- Header / Nav (floating pill, matches the hero card language) ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    padding: 16px 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 72px;
    padding: 0 14px 0 22px;
    background: var(--sg-white);
    border: 1px solid rgba(11, 27, 51, 0.05);
    border-radius: 999px;
    box-shadow: 0 6px 26px rgba(11, 27, 51, 0.07);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand img {
    height: 68px;
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.brand .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(160deg, var(--sg-navy) 0%, var(--sg-navy-deep) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.02rem;
    letter-spacing: 0.02em;
}

.brand-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--sg-navy);
    letter-spacing: -0.01em;
}

.brand-sub {
    display: block;
    font-size: 0.66rem;
    font-weight: 500;
    color: var(--sg-text-muted);
    letter-spacing: 0.04em;
}

.main-nav ul {
    display: flex;
    gap: 2px;
    align-items: center;
}

.main-nav a {
    display: block;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--sg-text-muted);
    border-radius: 999px;
    white-space: nowrap;
    transition: color 0.18s ease, background 0.18s ease;
}

.main-nav a:hover {
    color: var(--sg-navy);
}

.main-nav a.active {
    color: var(--sg-navy);
    background: var(--sg-silver-light);
}

/* CTA pill — declared after .active so it wins on the Contact link */
.main-nav .btn,
.main-nav a.btn.active {
    margin-left: 10px;
    padding: 13px 24px;
    border-radius: 999px;
    background: var(--sg-accent);
    color: #fff;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.main-nav .btn:hover {
    background: var(--sg-accent-deep);
    color: #fff;
    transform: translateY(-1px);
}

/* ---------- Products Mega Menu ----------
   A floating rounded panel that echoes the pill navbar above it. The panel is
   anchored to the sticky header rather than to the <li>, so it can be centred
   on the page instead of on the nav item. */
.main-nav>ul>li {
    position: relative;
}

/* Must out-specify the rule above, or the panel keeps the <li> as its
   containing block and collapses to the width of the trigger. */
.main-nav>ul>li.nav-has-megamenu {
    position: static;
}

.nav-megamenu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chevron-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.nav-has-megamenu:hover .chevron-icon,
.nav-has-megamenu.active-hover .chevron-icon {
    transform: rotate(180deg);
}

/* Outer positioner. Transparent, and its top padding forms a hover bridge so
   the panel does not close while the pointer crosses the gap below the pill. */
.megamenu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 14px 20px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.3s ease;
    z-index: 90;
}

.nav-has-megamenu:hover .megamenu-dropdown,
.nav-has-megamenu.active-hover .megamenu-dropdown,
.nav-has-megamenu:focus-within .megamenu-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* The visible panel.
   This element also carries the `container` class, and `.site-header .container`
   is the navbar pill — it would otherwise impose height:72px, display:flex and
   a 999px radius on the panel. These selectors out-specify it and reset those. */
.site-header .megamenu-dropdown .megamenu-inner {
    display: block;
    width: 100%;
    max-width: 1120px;
    height: auto;
    margin: 0 auto;
    padding: 26px;
    background: var(--sg-white);
    border: 1px solid rgba(11, 27, 51, 0.06);
    border-radius: 26px;
    box-shadow: 0 28px 70px rgba(11, 27, 51, 0.16), 0 4px 14px rgba(11, 27, 51, 0.06);
}

/* =====================================================================
   Biwin HP style 2-column megamenu
   ===================================================================== */

/* Align the megamenu relative to the main sticky header container */
.site-header-mockup .header-container {
    position: relative;
}

/* Megamenu dropdown container */
.megamenu-dropdown {
    position: absolute;
    top: calc(100% - 2px);
    left: 24px;
    right: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    left: 0;
    right: 0;
}

/* Trigger visibility on hover or active-hover */
.nav-has-megamenu:hover .megamenu-dropdown,
.nav-has-megamenu.active-hover .megamenu-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.megamenu-inner-new {
    width: 100%;
}

.megamenu-biwin-layout {
    display: flex;
    min-height: 200px;
    /* Reduced height to remove empty gap */
}

/* LEFT: Clean White Sidebar */
.mm-sidebar-blue {
    width: 240px;
    background: #ffffff;
    /* White background */
    border-right: 1px solid #e5e7eb;
    /* Right border to separate columns */
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    flex-shrink: 0;
}

.mm-blue-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    /* Tighter padding */
    color: #4b5563;
    /* Dark gray text */
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.15s ease;
    border-left: 4px solid transparent;
}

.mm-blue-item:hover {
    color: var(--sg-navy);
    background: #f3f4f6;
    /* Subtle hover gray */
}

.mm-blue-item.active {
    color: var(--sg-navy);
    background: #f3f4f6;
    border-left-color: var(--sg-navy);
    /* Brand navy left indicator */
}

.mm-blue-arrow {
    width: 14px;
    height: 14px;
    color: var(--sg-navy);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.mm-blue-item.active .mm-blue-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* RIGHT: Panels */
.mm-panels-white {
    flex-grow: 1;
    background: #fff;
    padding: 24px;
}

.mm-panel-new {
    display: none;
    height: 100%;
}

.mm-panel-new.active {
    display: block;
    animation: mmFadeIn 0.25s ease-out;
}

@keyframes mmFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

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

.mm-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    height: 100%;
    align-items: start;
}

/* Product list item */
.mm-product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #374151;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.mm-product-item:hover {
    background: #f9fafb;
    border-color: #f3f4f6;
    transform: translateY(-2px);
}

.mm-product-img-box {
    width: 100px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.mm-product-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mm-prod-placeholder {
    font-size: 1.8rem;
    color: #9ca3af;
}

.mm-product-name {
    font-size: 0.76rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* View All Tile */
.viewall-box {
    background: #f0f4ff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--sg-accent);
}

.mm-product-viewall:hover .viewall-box {
    background: var(--sg-accent);
    color: #fff;
}

.mm-empty-panel {
    grid-column: span 3;
    text-align: center;
    padding: 40px 0;
    color: #9ca3af;
}

.mm-panel-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.mm-panel-btn:hover {
    background: #e5e7eb;
}

/* Dark mode */
body.dark-theme .megamenu-dropdown {
    background: #1e293b;
    border-color: #334155;
}

body.dark-theme .mm-panels-white {
    background: #1e293b;
}

body.dark-theme .mm-product-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

body.dark-theme .mm-product-name {
    color: #cbd5e1;
}

body.dark-theme .viewall-box {
    background: rgba(255, 255, 255, 0.05);
    color: #a5b4fc;
}

body.dark-theme .mm-sidebar-blue {
    background: #1e293b;
    border-right-color: #334155;
}

body.dark-theme .mm-blue-item {
    color: #cbd5e1;
}

body.dark-theme .mm-blue-item:hover,
body.dark-theme .mm-blue-item.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-left-color: #3b82f6;
    /* blue accent */
}

body.dark-theme .mm-blue-arrow {
    color: #3b82f6;
}

/* Mobile — stack sidebar on top */
@media (max-width: 860px) {
    .megamenu-biwin-layout {
        flex-direction: column;
    }

    .mm-sidebar {
        flex: none;
        border-right: none;
        border-bottom: 1px solid var(--sg-border);
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
        padding: 8px;
    }

    .mm-cat-item {
        border-left: none;
        border-bottom: 2px solid transparent;
        border-radius: 8px;
        padding: 6px 12px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .mm-cat-item.mm-cat-active {
        border-bottom-color: var(--sg-accent);
        border-left-color: transparent;
    }

    .mm-cat-arrow {
        display: none;
    }

    .mm-thumb-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mm-panels {
        padding: 12px;
    }

    .nav-has-megamenu .chevron-icon {
        display: none;
    }
}


.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--sg-navy);
    margin: 5px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 1040px) {
    .main-nav a {
        padding: 10px 10px;
        letter-spacing: 0.07em;
    }

    .brand-sub {
        display: none;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        inset: 104px 14px auto 14px;
        background: var(--sg-white);
        padding: 16px;
        border-radius: 24px;
        box-shadow: 0 22px 55px rgba(11, 27, 51, 0.18);
        max-height: calc(100vh - 130px);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-14px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .main-nav a {
        padding: 14px 16px;
        letter-spacing: 0.11em;
    }

    .main-nav .btn,
    .main-nav a.btn.active {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
}

@media (max-width: 520px) {
    .site-header .container {
        height: 64px;
        padding: 0 10px 0 16px;
    }

    .brand .brand-mark {
        width: 38px;
        height: 38px;
    }

    .main-nav {
        inset: 96px 12px auto 12px;
    }
}

/* ---------- Splash screen (homepage entry only) ---------- */
.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #0b1528 0%, #030812 100%);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-screen.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.splash-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.splash-emblem-container {
    width: 90px;
    height: 90px;
    position: relative;
    filter: drop-shadow(0 10px 20px rgba(0, 210, 255, 0.25));
}

.splash-emblem {
    width: 100%;
    height: 100%;
}

/* SVG Paths Drawing Animation */
.ring-outer {
    stroke-dasharray: 280;
    stroke-dashoffset: 280;
    animation: drawRing 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.1s;
}

.ring-inner {
    stroke-dasharray: 250;
    stroke-dashoffset: 250;
    animation: drawRing 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

.splash-sglogo-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 58%;
    height: 58%;
    object-fit: contain;
    opacity: 0;
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.35));
    animation: fadeScaleSgLogo 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.6s;
}

@keyframes fadeScaleSgLogo {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.0);
    }
}

.splash-text-container {
    overflow: hidden;
    display: flex;
    align-items: center;
}

.splash-text-main {
    font-family: var(--sg-font);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    display: flex;
    white-space: nowrap;
}

.splash-char {
    display: inline-block;
    background: linear-gradient(135deg, #00d2ff 0%, #0066ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(15px);
    animation: revealChar 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: calc(1.0s + (var(--char-index) * 0.05s));
    filter: drop-shadow(0 2px 4px rgba(0, 102, 255, 0.15));
}

.splash-char-space {
    width: 0.25em;
}

.splash-bar {
    width: 220px;
    height: 3px;
    border-radius: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.splash-bar::after {
    content: "";
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 2px;
    background: linear-gradient(90deg, #00d2ff, #0066ff);
    animation: fillBar 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.6s;
}

@keyframes drawRing {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawLetter {
    to {
        stroke-dashoffset: 0;
    }
}

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

@keyframes fillBar {
    to {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .splash-logo-wrap {
        gap: 16px;
    }
    .splash-emblem-container {
        width: 70px;
        height: 70px;
    }
    .splash-text-main {
        font-size: 1.8rem;
    }
    .splash-bar {
        width: 160px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ring-outer,
    .ring-inner,
    .splash-text-main,
    .splash-char,
    .splash-bar::after {
        animation: none;
        opacity: 1;
        stroke-dashoffset: 0;
        transform: none;
    }
    .splash-sglogo-img {
        animation: none;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.0);
    }
    .splash-screen {
        transition: none;
    }
}

/* ================================================================
   ADVERTISEMENTS & ANNOUNCEMENTS — What's New button + Glass Popup
   ================================================================ */

/* ---- What's New nav button ---- */
.whats-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    position: relative;
}
.whats-new-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}
.whats-new-dot {
    width: 7px;
    height: 7px;
    background: #ff4757;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255,71,87,0.25);
}

/* ---- Ad Popup Overlay ---- */
.ad-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(3, 8, 18, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.ad-popup-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* ---- Modal Panel ---- */
.ad-popup-modal {
    position: relative;
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 18px;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ad-popup-overlay.is-open .ad-popup-modal {
    transform: translateY(0) scale(1);
}

/* Accent styles */
.ad-accent-brand_default .ad-popup-inner,
.ad-accent-sg_blue .ad-popup-inner {
    background: rgba(11, 21, 40, 0.82);
    border: 1px solid rgba(0, 210, 255, 0.22);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.ad-accent-dark_premium .ad-popup-inner {
    background: rgba(5, 10, 20, 0.92);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}
.ad-accent-light_glass .ad-popup-inner {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}

.ad-popup-inner {
    border-radius: 18px;
    padding: 32px 36px;
    position: relative;
    /* optional bg image support */
}
.ad-popup-inner[style*="--ad-bg-img"] {
    background-image: var(--ad-bg-img);
    background-size: cover;
    background-position: center;
}
.ad-popup-inner[style*="--ad-bg-img"]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: rgba(5, 12, 28, 0.78);
    z-index: 0;
}
.ad-popup-inner[style*="--ad-bg-img"] > * {
    position: relative;
    z-index: 1;
}

/* ---- Close button ---- */
.ad-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 10;
}
.ad-popup-close:hover {
    background: rgba(255,71,87,0.25);
    border-color: rgba(255,71,87,0.5);
    color: #fff;
}

/* ---- Type Badge ---- */
.ad-type-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.ad-type-new_product, .ad-type-product_launch { color:#00d2ff; border-color:rgba(0,210,255,0.4); background:rgba(0,210,255,0.08); }
.ad-type-offer, .ad-type-flash_offer         { color:#ffd700; border-color:rgba(255,215,0,0.4);  background:rgba(255,215,0,0.08); }
.ad-type-coming_soon                          { color:#a78bfa; border-color:rgba(167,139,250,0.4);background:rgba(167,139,250,0.08); }
.ad-type-announcement, .ad-type-notice        { color:#94a3b8; border-color:rgba(148,163,184,0.4);background:rgba(148,163,184,0.08); }
.ad-type-trade_update                         { color:#34d399; border-color:rgba(52,211,153,0.4); background:rgba(52,211,153,0.08); }
.ad-type-event                                { color:#fb923c; border-color:rgba(251,146,60,0.4);  background:rgba(251,146,60,0.08); }

/* ---- Templates ---- */
/* Template 1 & 2 — Split */
.ad-body-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}
.ad-body-reverse {
    direction: rtl;
}
.ad-body-reverse > * {
    direction: ltr;
}

/* Template 3 — Center */
.ad-body-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}
.ad-img-center img {
    max-height: 180px;
    object-fit: contain;
}

/* Template 4 — Banner */
.ad-body-banner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 28px;
    align-items: center;
}
.ad-img-banner img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

/* ---- Text elements ---- */
.ad-title {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 10px;
}
.ad-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: #00d2ff;
    margin: 0 0 14px;
    font-style: italic;
}
.ad-desc {
    font-size: 0.93rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin: 0 0 22px;
}

/* ---- Image wrap ---- */
.ad-img-wrap img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
    transition: transform 0.3s ease;
}
.ad-img-wrap img:hover {
    transform: scale(1.02);
}

/* ---- CTA Buttons ---- */
.ad-cta-wrap {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.ad-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.ad-btn-primary {
    background: linear-gradient(135deg, #0066ff, #00d2ff);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(0,102,255,0.35);
}
.ad-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,102,255,0.5);
    color: #fff;
    text-decoration: none;
}
.ad-btn-secondary {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
}
.ad-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
}

/* ---- Countdown ---- */
.ad-countdown {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.ad-countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
}
.ad-countdown-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.ad-countdown-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.ad-countdown-sep {
    font-size: 1.4rem;
    font-weight: 800;
    color: rgba(255,255,255,0.4);
    align-self: flex-start;
    margin-top: 10px;
}

/* ---- Carousel ---- */
.ad-carousel-wrap {
    position: relative;
}
.ad-carousel-slide {
    display: none;
}
.ad-carousel-slide.is-active {
    display: block;
}
.ad-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.ad-carousel-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.ad-carousel-btn:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.ad-carousel-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}
.ad-carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.ad-carousel-dot.is-active {
    background: #00d2ff;
    transform: scale(1.3);
}
.ad-carousel-counter {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    min-width: 32px;
    text-align: center;
}

/* ---- Admin table additions ---- */
.status-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}
.status-success { background:rgba(52,211,153,0.15); color:#34d399; border:1px solid rgba(52,211,153,0.3); }
.status-info    { background:rgba(96,165,250,0.15); color:#60a5fa; border:1px solid rgba(96,165,250,0.3); }
.status-muted   { background:rgba(100,116,139,0.15);color:#64748b; border:1px solid rgba(100,116,139,0.3); }
.status-danger  { background:rgba(239,68,68,0.15);  color:#f87171; border:1px solid rgba(239,68,68,0.3); }
.btn-sm { padding:4px 10px; font-size:0.78rem; }
.btn-warning { background:rgba(251,191,36,0.15); color:#fbbf24; border:1px solid rgba(251,191,36,0.3); }
.btn-success { background:rgba(52,211,153,0.15); color:#34d399; border:1px solid rgba(52,211,153,0.3); }

/* ---- Responsive ---- */
@media (max-width: 640px) {
    .ad-popup-inner { padding: 22px 18px; }
    .ad-body-split,
    .ad-body-banner { grid-template-columns: 1fr; }
    .ad-body-reverse { direction: ltr; }
    .ad-title { font-size: 1.35rem; }
    .ad-img-wrap img { max-height: 200px; }
    .ad-popup-modal { max-width: 100%; border-radius: 14px; }
    .whats-new-btn { padding: 6px 12px; font-size: 0.8rem; }
}

/* ---------- Hero (full-screen, premium depth) ---------- */
.hero-full {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, var(--sg-navy) 0%, var(--sg-navy-deep) 100%);
    color: #fff;
    overflow: hidden;
    padding: 110px 0 64px;
}

.film-grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 72%);
}

.hero-full-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero-full-copy h1,
.hero-full-title {
    color: #fff;
    margin-bottom: 20px;
}

.hero-full-copy p {
    color: var(--sg-silver);
    font-size: 1.1rem;
    max-width: 540px;
}

.hero-full-title {
    background: linear-gradient(180deg, #ffffff 0%, var(--sg-silver) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

/* Physical depth card housing the hero visual */
.hero-depth-card-wrap {
    width: 100%;
}

.hero-depth-card {
    position: relative;
    background: linear-gradient(145deg, #162c6d 0%, var(--sg-navy-deep) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px;
    box-shadow:
        0 40px 90px -20px rgba(0, 0, 0, 0.55),
        0 16px 32px -16px rgba(0, 0, 0, 0.45),
        inset 0 1px 1px rgba(255, 255, 255, 0.12),
        inset 0 -2px 6px rgba(0, 0, 0, 0.6);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-sheen {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 30%), rgba(255, 255, 255, 0.08) 0%, transparent 45%);
    mix-blend-mode: screen;
}

.hero-depth-media {
    width: 100%;
    max-width: 320px;
    margin-bottom: 20px;
}

.hero-depth-media .img-placeholder,
.hero-depth-media img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 14px;
}

.hero-depth-brand {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
}

.glass-badge {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--sg-silver-light);
}

.glass-badge strong {
    color: #fff;
    font-size: 0.85rem;
}

.glass-badge-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.glass-badge-top {
    top: 16px;
    left: -18px;
}

.glass-badge-bottom {
    bottom: 16px;
    right: -18px;
}

.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 2;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
}

.hero-scroll-cue span {
    display: block;
    width: 4px;
    height: 8px;
    margin: 6px auto 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.7);
    animation: scrollCue 1.8s ease-in-out infinite;
}

.reveal-up {
    animation: revealUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

@keyframes scrollCue {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up {
        animation: none;
    }

    .hero-scroll-cue span {
        animation: none;
    }
}

@media (max-width: 860px) {
    .hero-full {
        padding: 100px 0 56px;
    }

    .hero-full-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-full-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .glass-badge {
        position: static;
        margin-top: 16px;
        width: 100%;
        justify-content: center;
    }

    .hero-depth-card {
        padding: 32px 24px;
    }

    .hero-scroll-cue {
        display: none;
    }
}

/* ---------- Trust points ---------- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.trust-item {
    background: #fff;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);
    padding: 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: var(--sg-shadow);
}

.trust-item .tick {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--sg-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

@media (max-width: 960px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ---------- Cards / Grids ---------- */
.grid {
    display: grid;
    gap: 28px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

.card {
    background: #fff;
    border: 1px solid var(--sg-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--sg-shadow);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: var(--sg-shadow-lg);
    transform: translateY(-2px);
}

.card-media {
    aspect-ratio: 4/3;
    background: var(--sg-silver-light);
    overflow: hidden;
    position: relative;
    transition: background-color 0.4s ease;
}

body.dark-theme .card-media {
    background: var(--sg-border);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-3d-hover:hover .card-media img {
    transform: scale(1.08);
}

.card-media .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body h3 {
    margin-bottom: 8px;
}

.card-body p {
    flex: 1;
    font-size: 0.94rem;
}

.card-meta {
    font-size: 0.78rem;
    color: var(--sg-text-muted);
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #9ca3af;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 8px;
    border: 1.5px dashed #d1d5db;
}

/* ---------- Product detail ---------- */
.product-details-banner {
    position: relative;
    height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    margin-bottom: 36px;
    border-radius: 0;
    overflow: hidden;
}

.product-details-banner .container {
    height: 100%;
    display: flex;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.product-details-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
}

.product-details-banner-content {
    position: relative;
    z-index: 2;
    padding: 30px 0;
    width: 100%;
}

.product-details-banner-content h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.product-details-banner-content .breadcrumb-banner {
    display: flex;
    gap: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.product-details-banner-content .breadcrumb-banner a {
    color: #ffffff;
    font-weight: 700;
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}

@media (max-width: 960px) {
    .product-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Media Gallery (Left Side) */
.product-gallery-container {
    display: flex;
    flex-direction: column;
}

.product-main-media {
    position: relative;
    height: 480px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--theme-border);
    background: var(--theme-card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background 0.4s ease, border-color 0.4s ease;
}

@media (max-width: 560px) {
    .product-main-media {
        height: 320px;
    }
}

.product-media-item {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-media-item.active {
    display: flex;
}

.product-media-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.product-media-item video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.product-media-item iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 6px;
}

.product-media-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.product-media-thumb {
    width: 76px;
    height: 76px;
    border-radius: 8px;
    border: 2px solid var(--theme-border);
    background: var(--theme-card-bg);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6px;
    transition: all 0.25s ease;
}

.product-media-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.product-media-thumb.active {
    border-color: var(--sg-accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.product-media-thumb.video-thumb::after {
    content: '▶';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Buy Box (Right Side) */
.product-buy-box {
    display: flex;
    flex-direction: column;
}

.buy-box-eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sg-accent);
    margin-bottom: 8px;
    display: block;
}

.buy-box-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    margin-bottom: 18px;
}

.rating-stars {
    color: #fbbf24;
    font-size: 1rem;
}

.rating-count {
    font-size: 0.8rem;
    color: var(--theme-text-muted);
    font-weight: 700;
}

.buy-box-benefit-card {
    background: var(--theme-card-bg);
    border: 1.5px dashed var(--sg-accent);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: background-color 0.4s ease;
}

.benefit-card-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.buy-box-benefit-card p {
    font-size: 0.88rem;
    margin: 0;
    font-weight: 700;
    color: var(--theme-text);
}

.buy-box-benefit-card span {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--theme-text-muted);
    margin-top: 2px;
}

.buy-box-price-block {
    display: flex;
    align-items: baseline;
    margin-bottom: 24px;
}

.buy-box-price-block .active-price {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--theme-text);
    line-height: 1;
}

.buy-box-price-block .original-price {
    font-size: 1.3rem;
    text-decoration: line-through;
    color: var(--theme-text-muted);
    margin-left: 12px;
    font-weight: 600;
}

.buy-box-price-block .inquiry-only-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--sg-accent);
}

.buy-box-bullets {
    margin-bottom: 28px;
    padding: 0;
    list-style: none;
}

.buy-box-bullets li {
    font-size: 0.92rem;
    color: var(--theme-text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.buy-box-bullets li::before {
    content: '✓';
    color: #22c55e;
    font-weight: 900;
}

.buy-box-cta-box {
    margin-bottom: 24px;
}

.buy-box-cta-box .btn-buy-box {
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 800;
    text-align: center;
    display: block;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.15);
}

.buy-box-shipping-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--theme-text-muted);
    font-weight: 700;
}

/* Description Down Area */
.product-description-down {
    border-top: 1px solid var(--theme-border);
    padding-top: 40px;
    margin-top: 40px;
}

.description-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: flex-start;
}

@media (max-width: 860px) {
    .description-grid {
        grid-template-columns: 1fr;
    }
}

.description-text-column h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--theme-text);
    margin-top: 0;
    margin-bottom: 18px;
}

.description-text-column p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--theme-text-muted);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.spec-table tr {
    border-bottom: 1px solid var(--theme-border);
}

.spec-table td {
    padding: 12px 14px;
    font-size: 0.92rem;
}

.spec-table td:first-child {
    font-weight: 700;
    color: var(--theme-text);
    width: 40%;
}

.spec-table td:last-child {
    color: var(--theme-text-muted);
}

.enquiry-box {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

/* ---------- Forms ---------- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

@media (max-width: 700px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-field label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--sg-charcoal);
}

.form-field input,
.form-field textarea,
.form-field select {
    padding: 11px 14px;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);
    font-family: var(--sg-font);
    font-size: 0.95rem;
    background: #fff;
    color: var(--sg-text);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: 2px solid var(--sg-navy);
    outline-offset: 1px;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.85rem;
    color: var(--sg-text-muted);
}

.alert {
    padding: 14px 18px;
    border-radius: var(--sg-radius);
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.alert-success {
    background: #e7f4ed;
    color: var(--sg-success);
    border: 1px solid #bfe3cd;
}

.alert-error {
    background: #fbeceb;
    color: var(--sg-danger);
    border: 1px solid #f2c9c6;
}

/* ---------- Contact info blocks ---------- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

@media (max-width: 860px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: #fff;
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);
    padding: 22px;
}

.info-card h4 {
    margin-bottom: 6px;
    font-size: 1rem;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--sg-text-muted);
    margin-bottom: 20px;
}

.breadcrumb a:hover {
    color: var(--sg-navy);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--sg-navy-deep);
    color: var(--sg-silver);
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}

@media (max-width: 780px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.site-footer h4 {
    color: #fff;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.site-footer p,
.site-footer a {
    color: var(--sg-silver);
    font-size: 0.9rem;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 24px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   Admin panel
   ========================================================================== */
/* --- Redesigned Admin Panel (admin-site-master style) --- */
.admin-body-new {
    background: #F1F0F6;
    color: #1f2937;
    font-family: var(--sg-font);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* SIDEBAR */
#sidebar-admin {
    position: fixed;
    max-width: 260px;
    width: 100%;
    background: #ffffff;
    top: 0;
    left: 0;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    transition: all .3s ease;
    z-index: 200;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.02);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

#sidebar-admin::-webkit-scrollbar {
    display: none;
}

#sidebar-admin.hide {
    max-width: 60px;
}

#sidebar-admin.hide:hover {
    max-width: 260px;
}

#sidebar-admin .brand-admin {
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    height: 64px;
    font-weight: 800;
    color: var(--sg-accent);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    background: #ffffff;
    transition: all .3s ease;
    padding: 0 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    gap: 12px;
}

#sidebar-admin .icon-admin {
    min-width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.35rem;
}

#sidebar-admin .side-menu-admin {
    margin: 24px 0;
    padding: 0 12px;
    transition: all .3s ease;
    list-style: none;
}

#sidebar-admin.hide .side-menu-admin {
    padding: 0 6px;
}

#sidebar-admin.hide:hover .side-menu-admin {
    padding: 0 12px;
}

#sidebar-admin .side-menu-admin li {
    position: relative;
    margin-bottom: 4px;
}

#sidebar-admin .side-menu-admin a {
    display: flex;
    align-items: center;
    font-size: 0.92rem;
    color: #4b5563;
    padding: 10px 14px;
    transition: all .25s ease;
    border-radius: 8px;
    white-space: nowrap;
    font-weight: 600;
    gap: 12px;
}

#sidebar-admin .side-menu-admin a:hover {
    background: #f3f4f6;
    color: #111827;
}

#sidebar-admin .side-menu-admin a.active {
    background: var(--sg-accent);
    color: #ffffff;
}

#sidebar-admin .divider-admin {
    margin: 16px 0 8px;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    list-style: none;
}

#sidebar-admin.hide .text-admin {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

#sidebar-admin.hide:hover .text-admin {
    opacity: 1;
    pointer-events: auto;
}

/* CONTENT WRAPPER */
#content-admin {
    position: relative;
    width: calc(100% - 260px);
    left: 260px;
    transition: all .3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#sidebar-admin.hide+#content-admin {
    width: calc(100% - 60px);
    left: 60px;
}

/* NAVBAR */
.navbar-admin {
    background: #ffffff;
    height: 64px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-admin .toggle-sidebar-admin {
    font-size: 1.45rem;
    cursor: pointer;
    color: #4b5563;
    transition: color 0.2s ease;
}

.navbar-admin .toggle-sidebar-admin:hover {
    color: #111827;
}

.navbar-admin .navbar-admin-title {
    margin-left: 14px;
    font-size: 1.1rem;
    color: #111827;
}

.divider-admin-nav {
    width: 1px;
    background: rgba(0, 0, 0, 0.08);
    height: 20px;
    margin: 0 14px;
    display: inline-block;
}

.profile-admin {
    position: relative;
    cursor: pointer;
}

.profile-admin-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
}

.profile-link-admin {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: #ffffff;
    padding: 8px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    width: 160px;
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    list-style: none;
}

.profile-link-admin.show {
    opacity: 1;
    pointer-events: auto;
    top: calc(100% + 8px);
}

.profile-link-admin a {
    padding: 10px 16px;
    display: flex;
    gap: 10px;
    font-size: 0.88rem;
    color: #4b5563;
    align-items: center;
    transition: all .2s ease;
    font-weight: 600;
}

.profile-link-admin a:hover {
    background: #f3f4f6;
    color: #111827;
}

/* MAIN CONTENT */
.main-admin-content {
    width: 100%;
    padding: 30px;
    flex-grow: 1;
}

/* BREADCRUMBS */
.breadcrumbs-admin {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 24px;
    list-style: none;
    padding: 0;
}

.breadcrumbs-admin li,
.breadcrumbs-admin li a {
    font-size: 0.85rem;
    font-weight: 600;
}

.breadcrumbs-admin li a {
    color: var(--sg-accent);
}

.breadcrumbs-admin li a.active,
.breadcrumbs-admin li.divider-admin-bc {
    color: #9ca3af;
    pointer-events: none;
}

/* STAT CARDS */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
}

.stat-card .stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
    margin-top: 8px;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ADMIN PANEL */
.admin-panel {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.admin-panel h2,
.admin-panel h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* DATA TABLE */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.data-table th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    font-weight: 700;
    background: #f9fafb;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.data-table tr:hover {
    background: #f9fafb;
}

.data-table td.actions {
    white-space: nowrap;
    text-align: right;
}

.data-table td.actions .btn {
    margin-left: 6px;
}

/* ALERTS */
.alert-admin {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 600;
}

.alert-admin-success {
    background: #e2fbe8;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-admin-danger {
    background: #fecaca;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* BADGES */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-new {
    background: #e2fbe8;
    color: #166534;
}

.badge-read,
.badge-reviewed {
    background: #f3f4f6;
    color: #4b5563;
}

.badge-archived {
    background: #fee2e2;
    color: #991b1b;
}

/* LOGIN SCREEN */
.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    padding: 20px;
    font-family: var(--sg-font);
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.login-card .brand {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    font-weight: 800;
    font-size: 1.5rem;
    color: #111827;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.spec-row-remove {
    color: var(--sg-danger);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    padding: 8px;
}

.thumb {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
}

.thumb img,
.thumb .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-size: 0.7rem;
}

.field-hint {
    font-size: 0.8rem;
    color: var(--sg-text-muted);
    margin-top: 4px;
}

/* ==========================================================================
   CINEMATIC SKEUOMORPHIC HERO & PHYSICAL CARD MATERIALS
   ========================================================================== */

/* Environment Overlays */
.film-grain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
}

.bg-grid-theme {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    background-size: 60px 60px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Skeuomorphic Metallic Typography */
.text-3d-matte {
    color: #ffffff;
    text-shadow:
        0 10px 30px rgba(0, 242, 254, 0.25),
        0 2px 4px rgba(0, 0, 0, 0.5);
}

.text-silver-matte {
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateZ(0);
    filter:
        drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.4)) drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));
}

.text-card-silver-matte {
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateZ(0);
    filter:
        drop-shadow(0px 12px 24px rgba(0, 0, 0, 0.8)) drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.6));
}

/* Deep Physical Card with Dynamic Mouse Lighting */
.premium-depth-card {
    background: linear-gradient(145deg, #162C6D 0%, #0A101D 100%);
    box-shadow:
        0 40px 100px -20px rgba(0, 0, 0, 0.9),
        0 20px 40px -20px rgba(0, 0, 0, 0.8),
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    border-radius: 32px;
}

.card-sheen {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 50;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    mix-blend-mode: screen;
    transition: opacity 0.3s ease;
}

/* Realistic Hardware Mockup Bezel */
.iphone-bezel {
    background-color: #111;
    box-shadow:
        inset 0 0 0 2px #52525B,
        inset 0 0 0 7px #000,
        0 40px 80px -15px rgba(0, 0, 0, 0.9),
        0 15px 25px -5px rgba(0, 0, 0, 0.7);
    transform-style: preserve-3d;
    position: relative;
    border-radius: 3rem;
}

.hardware-btn {
    background: linear-gradient(90deg, #404040 0%, #171717 100%);
    box-shadow:
        -2px 0 5px rgba(0, 0, 0, 0.8),
        inset -1px 0 1px rgba(255, 255, 255, 0.15),
        inset 1px 0 2px rgba(0, 0, 0, 0.8);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.screen-glare {
    background: linear-gradient(110deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 45%);
}

.widget-depth {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.05),
        inset 0 -1px 1px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.floating-ui-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        inset 0 -1px 1px rgba(0, 0, 0, 0.5);
}

/* Physical Tactile Buttons */
.btn-modern-light {
    background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
    color: #0F172A;
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.1), 0 12px 24px -4px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 1), inset 0 -3px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 1.25rem;
    padding: 14px 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-modern-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 6px 12px -2px rgba(0, 0, 0, 0.15), 0 20px 32px -6px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 1), inset 0 -3px 6px rgba(0, 0, 0, 0.06);
    color: #0F172A;
}

.btn-modern-light:active {
    transform: translateY(1px);
    background: linear-gradient(180deg, #F1F5F9 0%, #E2E8F0 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn-modern-dark {
    background: linear-gradient(180deg, #27272A 0%, #18181B 100%);
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.6), 0 12px 24px -4px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(255, 255, 255, 0.15), inset 0 -3px 6px rgba(0, 0, 0, 0.8);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 1.25rem;
    padding: 14px 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-modern-dark:hover {
    transform: translateY(-3px);
    background: linear-gradient(180deg, #3F3F46 0%, #27272A 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 6px 12px -2px rgba(0, 0, 0, 0.7), 0 20px 32px -6px rgba(0, 0, 0, 1), inset 0 1px 1px rgba(255, 255, 255, 0.2), inset 0 -3px 6px rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
}

.btn-modern-dark:active {
    transform: translateY(1px);
    background: #18181B;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 3px 8px rgba(0, 0, 0, 0.9);
}

.progress-ring {
    transform: rotate(-90deg);
    transform-origin: center;
    stroke-dasharray: 402;
    stroke-dashoffset: 80;
    stroke-linecap: round;
    transition: stroke-dashoffset 2s ease-in-out;
}

/* ---------- 3D Hero Section ---------- */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #00f2fe 0%, #4facfe 50%, #00c6ff 100%);
    width: 0%;
    z-index: 10000;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.7);
}

/* ---------- 3D Hero Section ---------- */
/* ---------- Lumeo-Style Full-Screen Hero & Full-Screen About ---------- */
/* ---------- 3D Centered Robot Full-Screen Dark Hero ---------- */
.hero-robot-fullscreen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #040711;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 110px;
    padding-bottom: 40px;
    overflow: hidden;
}

/* Background Ambient Spotlight & Circuit Texture */
.hero-robot-bg-spotlight {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.18) 0%, rgba(76, 29, 149, 0.12) 40%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.hero-robot-circuit-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 40%, rgba(0, 242, 254, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
    pointer-events: none;
    z-index: 2;
}

.hero-robot-content-wrap {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Centred single-column hero layout */
.hero-robot-centered {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 190px);
}

.hero-robot-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.hero-left-headline {
    font-size: clamp(2.2rem, 4.2vw, 3.8rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 18px;
}

.hero-left-sub {
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 580px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.hero-robot-right-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-badge-pill-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    border-radius: 40px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.badge-check-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00f2fe;
    color: #040711;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 900;
}

.hero-center-headline {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 18px;
}

.brand-blue-glow {
    color: #00f2fe;
    text-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
}

.hero-center-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

/* Hero stats row */
.lumeo-hero-stats {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
}

.lumeo-stat-num {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.lumeo-stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.45;
    margin-top: 4px;
}

@media (max-width: 640px) {
    .lumeo-hero-stats {
        gap: 22px 28px;
        justify-content: center;
    }
}

.hero-full-lumeo {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: var(--sg-page-bg);
    color: var(--sg-text);
    overflow: hidden;
    padding: 0 0 76px;
}

/* The hero content sits inside a floating white card on the grey canvas */
.hero-full-lumeo>.container {
    background: var(--sg-white);
    border-radius: 34px;
    padding: 52px 48px;
    box-shadow: 0 18px 60px rgba(11, 27, 51, 0.08);
}

@media (max-width: 960px) {
    .hero-full-lumeo>.container {
        padding: 40px 30px;
        border-radius: 28px;
    }
}

@media (max-width: 620px) {
    .hero-full-lumeo>.container {
        padding: 32px 22px;
        border-radius: 24px;
    }

    .hero-full-lumeo {
        padding-bottom: 64px;
    }
}

/* Scroll down cue for Lumeo hero */
.scroll-down-cue-lumeo {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--sg-navy);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.scroll-down-cue-lumeo:hover {
    transform: translateX(-50%) translateY(4px);
    color: var(--sg-accent);
}

.scroll-mouse-lumeo {
    width: 22px;
    height: 36px;
    border: 2px solid var(--sg-navy);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel-lumeo {
    width: 4px;
    height: 8px;
    background: var(--sg-accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnimLumeo 1.8s infinite;
}

@keyframes scrollAnimLumeo {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

@media (min-width: 961px) {
    .hero-full-lumeo {
        min-height: 100vh;
    }
}

.hero-lumeo-grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 48px;
    align-items: center;
}

/* Grid items default to min-width:auto, which lets wide content (the accordion)
   push past the card edge. Pinning to 0 keeps both columns inside the card. */
.hero-lumeo-grid>* {
    min-width: 0;
}

@media (max-width: 960px) {
    .hero-lumeo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.hero-lumeo-title {
    font-size: clamp(1.95rem, 3.1vw, 2.9rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.025em;
    color: var(--sg-navy);
    margin-bottom: 18px;
    max-width: 22ch;
    text-wrap: balance;
}

.hero-lumeo-sub {
    font-size: 1.06rem;
    color: var(--sg-text-muted);
    max-width: 44ch;
    line-height: 1.65;
    margin-bottom: 30px;
}

.lumeo-actions-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-lumeo-primary {
    background: var(--sg-accent);
    color: #ffffff;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(76, 29, 149, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.btn-lumeo-primary:hover {
    background: #3b0764;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(76, 29, 149, 0.4);
}

.btn-lumeo-secondary {
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.btn-lumeo-secondary:hover {
    background: #1e293b;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ---------- Interactive Horizontal Image Accordion ---------- */
/* Panels flex to fill the column exactly, so the accordion can never overflow
   its card or produce a scrollbar at any viewport width. */
.hero-accordion-wrapper {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    height: clamp(340px, 46vh, 470px);
    overflow: hidden;
}

.hero-accordion-item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: flex-grow 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.hero-accordion-item.active {
    flex-grow: 5.2;
    box-shadow: 0 18px 42px rgba(11, 27, 51, 0.28);
}

@media (max-width: 960px) {
    .hero-accordion-wrapper {
        height: clamp(300px, 40vh, 380px);
        gap: 9px;
    }

    .hero-accordion-item.active {
        flex-grow: 4.4;
    }
}

.hero-accordion-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-accordion-item.active .hero-accordion-img {
    transform: scale(1.05);
}

.hero-accordion-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.65) 100%);
    pointer-events: none;
}

/* The label fills the panel and centres itself, so it stays readable and
   clipping-free whether the panel is 60px or 400px wide. */
.hero-accordion-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 22px 12px;
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
    pointer-events: none;
    transition: font-size 0.4s ease, opacity 0.4s ease;
}

/* Inactive: true vertical typesetting (no rotated-overflow clipping) */
.hero-accordion-item:not(.active) .hero-accordion-title {
    align-items: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 18px 0;
    font-size: 0.86rem;
    letter-spacing: 0.015em;
    opacity: 0.92;
}

@media (max-width: 960px) {
    .hero-accordion-title {
        font-size: 0.92rem;
        padding: 16px 8px;
    }

    .hero-accordion-item:not(.active) .hero-accordion-title {
        font-size: 0.78rem;
    }
}

/* ---------- 3D Fan Carousel (Top Rated Products) ---------- */
.section-top-rated {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.social-cards-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 20;
    margin-top: 20px;
}

.fan-container {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    height: 480px;
    perspective: 1200px;
}

@media (max-width: 768px) {
    .fan-container {
        height: 380px;
    }
}

.fan-card {
    position: absolute;
    width: 240px;
    height: 340px;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(11, 27, 51, 0.2);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    transform-origin: center bottom;
    will-change: transform, opacity;
}

@media (max-width: 768px) {
    .fan-card {
        width: 180px;
        height: 260px;
        border-radius: 18px;
    }
}

.fan-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0b1b33;
}

.fan-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.fan-card:hover .fan-card-img {
    transform: scale(1.08);
}

.fan-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 18, 39, 0.1) 0%, rgba(7, 18, 39, 0.85) 100%);
    pointer-events: none;
}

.fan-card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #ffffff;
    z-index: 10;
    pointer-events: none;
}

.fan-card-category {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #00f2fe;
    display: block;
    margin-bottom: 4px;
}

.fan-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.3;
}

.fan-card-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    font-size: 0.72rem;
    font-weight: 600;
    color: #ffffff;
}

/* Navigation & Controls */
.fan-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    z-index: 30;
}

.fan-arrow-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(11, 27, 51, 0.15);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    color: var(--sg-navy);
    cursor: pointer;
    outline: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.fan-arrow-btn:hover {
    border-color: var(--sg-navy);
    background: var(--sg-navy);
    color: #ffffff;
    transform: scale(1.08);
}

.fan-arrow-icon {
    width: 20px;
    height: 20px;
}

.fan-dots-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fan-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(11, 27, 51, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.fan-dot.active {
    background: var(--sg-navy);
    transform: scale(1.4);
}

/* Right Column Hero Container */
.lumeo-card-container {
    position: relative;
    width: 100%;
    min-height: 560px;
    border-radius: 36px;
    background: linear-gradient(145deg, #2e1065 0%, #0f172a 100%);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Top right menu pill badge inside card container */
.lumeo-top-menu-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #ffffff;
    color: #0f172a;
    border-radius: 30px;
    padding: 6px 14px 6px 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 20;
}

.lumeo-menu-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--sg-accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

@media (max-width: 960px) {
    .lumeo-card-container {
        min-height: 440px;
    }
}

.lumeo-hero-graphic-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image: radial-gradient(#c084fc 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

.lumeo-hero-center-emblem {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #e9d5ff 0%, #ffffff 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(192, 132, 252, 0.4);
    z-index: 2;
}

/* Overlaid Glass Card on Bottom Left */
.lumeo-overlay-glass {
    position: absolute;
    bottom: 28px;
    left: 28px;
    max-width: 260px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

@media (max-width: 480px) {
    .lumeo-overlay-glass {
        position: relative;
        bottom: auto;
        left: auto;
        max-width: 100%;
        margin: 16px;
    }
}

.lumeo-overlay-glass h4 {
    color: #ffffff;
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.lumeo-overlay-glass p {
    margin: 0 0 14px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
}

.lumeo-overlay-glass .btn-mini {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-block;
    transition: background 0.2s ease;
}

.lumeo-overlay-glass .btn-mini:hover {
    background: #ffffff;
    color: #0f172a;
}

/* Overlaid Dark Card on Bottom Right */
.lumeo-overlay-rating {
    position: absolute;
    bottom: 28px;
    right: 28px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 18px 24px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

@media (max-width: 480px) {
    .lumeo-overlay-rating {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 16px;
    }
}

.lumeo-rating-val {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
}

.lumeo-rating-details {
    display: flex;
    flex-direction: column;
}

.lumeo-rating-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.lumeo-rating-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Full Screen About Section ---------- */
.about-full-lumeo {
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 80px 0;
}

@media (min-width: 961px) {
    .about-full-lumeo {
        min-height: 100vh;
    }
}


.hero-3d-canvas-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-3d-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-full .container {
    position: relative;
    z-index: 2;
}

.hero-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 960px) {
    .hero-grid-2col {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    font-size: 0.82rem;
    font-weight: 600;
    color: #00f2fe;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-badge-pill .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00f2fe;
    box-shadow: 0 0 8px #00f2fe;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {

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

    50% {
        transform: scale(1.4);
        opacity: 0.5;
    }
}

.hero-title-large {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.1;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #c7cdd6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead-text {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin-bottom: 32px;
    line-height: 1.6;
}

@media (max-width: 960px) {
    .hero-lead-text {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 960px) {
    .hero-actions {
        justify-content: center;
    }
}

.btn-cyan {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #071227;
    font-weight: 700;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 242, 254, 0.3);
}

.btn-cyan:hover {
    box-shadow: 0 12px 32px rgba(0, 242, 254, 0.5);
    transform: translateY(-2px);
    color: #071227;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- 3D Hero Depth Card Container ---------- */
.hero-depth-stage {
    perspective: 1200px;
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.hero-depth-card-3d {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
}

.hero-depth-card-3d:hover {
    box-shadow: 0 30px 60px rgba(0, 242, 254, 0.25), inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.card-glare {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.18) 0%, transparent 60%);
    pointer-events: none;
    z-index: 4;
}

.hero-chip-graphic {
    width: 100%;
    height: 230px;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 50%, #0d2753 0%, #08152e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.chip-circuit-bg {
    position: absolute;
    inset: 0;
    opacity: 0.25;
    background-image: radial-gradient(#00f2fe 1px, transparent 1px);
    background-size: 16px 16px;
}

.chip-brand-emblem {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #00f2fe 0%, #ffffff 70%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
    z-index: 2;
}

.glass-floating-badge {
    position: absolute;
    background: rgba(7, 18, 39, 0.88);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 5;
    transform: translateZ(30px);
    font-size: 0.85rem;
    color: #fff;
}

.glass-floating-badge.badge-top-left {
    top: -15px;
    left: -15px;
}

.glass-floating-badge.badge-bottom-right {
    bottom: -15px;
    right: -15px;
}

.badge-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(0, 242, 254, 0.15);
    color: #00f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* ---------- Down Scroll Cue ---------- */
.scroll-down-cue {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: #00f2fe;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnim 1.8s infinite;
}

@keyframes scrollAnim {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* ---------- Down Scroll Motion Reveal Classes ----------
   The hidden start-state is gated behind .js-motion, which is set on <html> by
   an inline script only when scripting + IntersectionObserver are available.
   Without that guard a script failure would leave every section below the hero
   permanently blank, so content stays visible by default. */
.js-motion .motion-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.js-motion .motion-reveal.reveal-left {
    transform: translateX(-40px);
}

.js-motion .motion-reveal.reveal-right {
    transform: translateX(40px);
}

.js-motion .motion-reveal.scale-in {
    transform: scale(0.92);
}

.js-motion .motion-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Respect reduced-motion: show everything immediately, no travel. */
@media (prefers-reduced-motion: reduce) {
    .js-motion .motion-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Delay helpers */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ---------- Interactive Stats Counter Grid ---------- */
.stats-counter-banner {
    background: linear-gradient(180deg, #071227 0%, #0d1f3d 100%);
    color: #fff;
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 860px) {
    .stats-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid-4 {
        grid-template-columns: 1fr;
    }
}

.stat-box-interactive {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-box-interactive:hover {
    transform: translateY(-4px);
    border-color: #00f2fe;
    background: rgba(255, 255, 255, 0.07);
}

.stat-number-wrap {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #00f2fe;
    line-height: 1.1;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.stat-label-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- About SG Homepage Section ---------- */
.about-home-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

@media (max-width: 960px) {
    .about-home-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.about-feature-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.about-card-item {
    background: #fff;
    border: 1px solid var(--sg-border);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 4px 16px rgba(11, 27, 51, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-card-item:hover {
    transform: translateX(6px);
    border-color: var(--sg-navy);
    box-shadow: 0 8px 24px rgba(11, 27, 51, 0.1);
}

.about-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--sg-silver-light);
    color: var(--sg-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-card-body h4 {
    margin: 0 0 4px;
    font-size: 1.05rem;
}

.about-card-body p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--sg-text-muted);
}

/* ---------- Testimonials Columns Showcase ---------- */
.testimonials-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 32px 0 40px;
}

.t-filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--sg-border);
    color: var(--sg-charcoal);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.t-filter-btn:hover,
.t-filter-btn.active {
    background: var(--sg-navy);
    color: #fff;
    border-color: var(--sg-navy);
    box-shadow: 0 4px 12px rgba(11, 27, 51, 0.15);
}

.testimonials-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 960px) {
    .testimonials-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .testimonials-grid-3col {
        grid-template-columns: 1fr;
    }
}

.testimonial-card-3d {
    background: #ffffff;
    border: 1px solid var(--sg-border);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 6px 20px rgba(11, 27, 51, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

/* ---------- Infinite Vertical Marquee Testimonials Columns ---------- */
.testimonials-marquee-wrapper {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
    max-height: 740px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.t-marquee-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
}

@media (max-width: 960px) {
    .t-marquee-column.hidden-md {
        display: none;
    }
}

@media (max-width: 640px) {
    .t-marquee-column.hidden-sm {
        display: none;
    }
}

.t-column-track {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 24px;
    will-change: transform;
}

.t-track-dur-15 {
    animation: translateYLoop 15s linear infinite;
}

.t-track-dur-19 {
    animation: translateYLoop 19s linear infinite;
}

.t-track-dur-17 {
    animation: translateYLoop 17s linear infinite;
}

.t-column-track:hover {
    animation-play-state: paused;
}

@keyframes translateYLoop {
    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(-50%);
    }
}

.testimonial-card-marquee {
    background: #ffffff;
    border: 1px solid var(--sg-border);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 10px 30px rgba(11, 27, 51, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card-marquee:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 40px rgba(11, 27, 51, 0.12);
    border-color: var(--sg-navy);
}

.t-author-flex {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.t-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sg-silver-light);
}

.t-author-details {
    display: flex;
    flex-direction: column;
}

.t-author-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--sg-navy);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.t-author-role {
    font-size: 0.82rem;
    color: var(--sg-text-muted);
    opacity: 0.8;
}

.testimonial-card-3d:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(11, 27, 51, 0.12);
    border-color: rgba(11, 27, 51, 0.3);
}

.t-stars-row {
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.t-quote-text {
    font-size: 0.96rem;
    color: var(--sg-charcoal);
    line-height: 1.65;
    margin-bottom: 24px;
    font-style: italic;
    flex-grow: 1;
}

.t-author-box {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--sg-border);
    padding-top: 16px;
}

.t-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sg-navy) 0%, #1e3a8a 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.t-author-info h5 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--sg-navy);
}

.t-author-info span {
    font-size: 0.8rem;
    color: var(--sg-text-muted);
}

.t-tag-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--sg-silver-light);
    color: var(--sg-navy);
}

/* ---------- Product Grid 3D Elevation ---------- */
.card-3d-hover {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--sg-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.card-3d-hover:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 36px rgba(11, 27, 51, 0.12);
    border-color: var(--sg-navy);
}

.category-spec-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--sg-silver-light);
    color: var(--sg-navy);
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 10px;
}

/* ---------- 3D CTA Section Banner ---------- */
.section-cta-3d {
    background: radial-gradient(circle at 50% 50%, #0d2753 0%, #071227 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    text-align: center;
}

.cta-mesh-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 242, 254, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}


/* ==========================================================================
   MOCKUP HEADER & HERO SLIDER REDESIGN
   ========================================================================== */

:root {
    /* Theme custom properties for Light & Dark mode */
    --theme-bg: #f0f0f2;
    --theme-card-bg: #ffffff;
    --theme-text: #1c222b;
    --theme-text-muted: #5b6472;
    --theme-border: #e2e6ec;
    --theme-logo-bg: #ffffff;
    --theme-header-bg: rgba(240, 240, 242, 0.85);
}

body.dark-theme {
    /* Brand variables overrides for global dark theme compatibility */
    --sg-page-bg: #090d16;
    --sg-text: #f3f4f6;
    --sg-text-muted: #9ca3af;
    --sg-border: #1f2937;
    --sg-white: #111827;
    --sg-navy: #38bdf8;
    /* Readable cyan/light blue accent */
    --sg-charcoal: #e2e8f0;

    /* Theme custom properties for Light & Dark mode */
    --theme-bg: #090d16;
    --theme-card-bg: #111827;
    --theme-text: #f3f4f6;
    --theme-text-muted: #9ca3af;
    --theme-border: #1f2937;
    --theme-logo-bg: #111827;
    --theme-header-bg: rgba(9, 13, 22, 0.85);
}

/* Hardcoded card overrides for dark mode */
body.dark-theme .card,
body.dark-theme .info-card,
body.dark-theme .partner-card {
    background-color: var(--sg-white) !important;
    border-color: var(--sg-border) !important;
}

body {
    background-color: var(--theme-bg);
    color: var(--theme-text);
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* --- Redesigned Site Header --- */
.site-header-mockup {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    height: 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

body.dark-theme .site-header-mockup {
    background: #0d111a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.header-left-group {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Far Left: Search Toggle button */
.header-left-actions {
    display: flex;
    align-items: center;
}

.search-toggle-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #000000;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-toggle-btn:hover {
    transform: scale(1.08);
    background: var(--sg-accent);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(76, 29, 149, 0.3);
}

.search-icon {
    width: 18px;
    height: 18px;
}

body.dark-theme .search-toggle-btn {
    background: #ffffff;
    color: #000000;
}

body.dark-theme .search-toggle-btn:hover {
    background: var(--sg-accent);
    color: #ffffff;
}

/* Left-Center Navigation links */
.header-nav-left {
    margin-left: 20px;
}

.header-nav-left ul {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-nav-left a {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111827;
    transition: color 0.2s ease;
    padding: 8px 4px;
    position: relative;
    white-space: nowrap;
}

body.dark-theme .header-nav-left a {
    color: #e5e7eb;
}

.header-nav-left a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--sg-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-nav-left a:hover::after,
.header-nav-left a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-nav-left a:hover,
.header-nav-left a.active {
    color: var(--sg-accent);
}

/* Center Logo Tab — drops below sticky nav bar */
.header-center-logo {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 10px 36px 18px 36px;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

body.dark-theme .header-center-logo {
    background: #111827;
}

/* Inside curve corner blend effects */
.header-center-logo::before,
.header-center-logo::after {
    content: '';
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: transparent;
    pointer-events: none;
}

.header-center-logo::before {
    left: -20px;
    border-radius: 0 20px 0 0;
    box-shadow: 10px -10px 0 0 #ffffff;
    transition: box-shadow 0.4s ease;
}

body.dark-theme .header-center-logo::before {
    box-shadow: 10px -10px 0 0 #111827;
}

.header-center-logo::after {
    right: -20px;
    border-radius: 20px 0 0 0;
    box-shadow: -10px -10px 0 0 #ffffff;
    transition: box-shadow 0.4s ease;
}

body.dark-theme .header-center-logo::after {
    box-shadow: -10px -10px 0 0 #111827;
}

.brand-mockup {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header-logo-img:hover {
    transform: scale(1.02);
}

.brand-emblem-svg {
    width: 32px;
    height: 32px;
    animation: pulseEmblem 3s infinite ease-in-out;
}

@keyframes pulseEmblem {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.brand-name-main {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--theme-text);
    letter-spacing: -0.01em;
    line-height: 1;
}

.brand-name-sub {
    font-size: 0.58rem;
    font-weight: 800;
    color: var(--sg-accent);
    letter-spacing: 0.15em;
    margin-top: 2px;
    line-height: 1;
}

/* Right side actions */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Theme Switch button */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch-btn {
    width: 60px;
    height: 32px;
    border-radius: 30px;
    background: #cbd5e1;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    position: relative;
    padding: 0;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.dark-theme .theme-switch-btn {
    background: var(--sg-accent);
    border-color: var(--sg-accent-deep);
}

.theme-switch-knob {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    position: absolute;
    left: 2px;
    top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

body.dark-theme .theme-switch-knob {
    transform: translateX(28px);
    background: #ffffff;
}

.theme-switch-icon {
    font-size: 0.95rem;
    line-height: 1;
    display: block;
}

/* Contact Us text + icon */
.header-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--theme-text);
    transition: color 0.2s ease;
}

.header-contact-link:hover {
    color: var(--sg-accent);
}

.contact-phone-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--theme-text);
    color: var(--theme-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-contact-link:hover .contact-phone-icon {
    background: var(--sg-accent);
    color: #ffffff;
    transform: scale(1.1);
}

/* Mobile Toggle Hamburger button */
.nav-toggle-mockup {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.nav-toggle-mockup span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--theme-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle-mockup.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle-mockup.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle-mockup.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}


/* --- Full Screen Menu Overlay --- */
.fullscreen-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    visibility: hidden;
    transition: visibility 0.4s ease;
    display: flex;
    justify-content: flex-end;
}

.fullscreen-nav-overlay.open {
    visibility: visible;
}

.fullscreen-nav-bg {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fullscreen-nav-overlay.open .fullscreen-nav-bg {
    opacity: 1;
}

.fullscreen-nav-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 30px 32px;
    z-index: 10;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.08);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fullscreen-nav-overlay.open .fullscreen-nav-container {
    transform: translateX(0);
}

.fullscreen-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    margin-bottom: 10px;
}

.fullscreen-logo {
    display: flex;
    flex-direction: column;
}

.fullscreen-logo .brand-name-main {
    color: #111827;
    font-size: 1.6rem;
}

.fullscreen-logo .brand-name-sub {
    color: var(--sg-accent);
}

.fullscreen-close-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
    color: #111827;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fullscreen-close-btn:hover {
    background: #111827;
    color: #ffffff;
    transform: rotate(90deg);
}

.fullscreen-nav-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 0;
    overflow-y: auto;
}

.fullscreen-menu ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fullscreen-menu a {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    color: rgba(17, 24, 39, 0.6);
    transition: all 0.3s ease;
    display: inline-block;
}

.fullscreen-menu a:hover,
.fullscreen-menu a.active {
    color: var(--sg-accent);
    transform: translateX(8px);
}

/* Stagger animation links */
.fullscreen-menu ul li {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.fullscreen-nav-overlay.open .fullscreen-menu ul li {
    transform: translateY(0);
    opacity: 1;
    transition-delay: calc(var(--i) * 0.08s);
}

/* Fullscreen Sidebar Column */
.fullscreen-sidebar {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: rgba(17, 24, 39, 0.7);
}

.sidebar-search form {
    position: relative;
    width: 100%;
}

.sidebar-search input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 30px;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
    color: #111827;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, background-color 0.3s;
}

.sidebar-search input:focus {
    border-color: var(--sg-accent);
    background: #ffffff;
}

.sidebar-search button {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #111827;
    font-size: 1.1rem;
    cursor: pointer;
}

.sidebar-contact-info h4 {
    color: #111827;
    font-size: 1rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-contact-info p {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 16px;
    color: rgba(17, 24, 39, 0.6);
}

.sidebar-phone,
.sidebar-email {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sg-accent);
    margin-bottom: 8px;
    text-decoration: none;
}

.sidebar-phone:hover,
.sidebar-email:hover {
    text-decoration: underline;
}

.sidebar-footer {
    font-size: 0.78rem;
    color: rgba(17, 24, 39, 0.4);
    margin-top: auto;
    padding-top: 10px;
}


/* --- Search Popdown Overlay --- */
.search-popdown-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 27, 51, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 100px;
}

.search-popdown-overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-popdown-card {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border);
    border-radius: 20px;
    padding: 24px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-popdown-overlay.open .search-popdown-card {
    transform: translateY(0);
}

.search-popdown-form {
    display: flex;
    gap: 12px;
}

.search-popdown-form input {
    flex: 1;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--theme-border);
    background: var(--theme-bg);
    color: var(--theme-text);
    outline: none;
    font-size: 0.95rem;
}

.search-popdown-submit {
    background: var(--sg-accent);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.search-popdown-submit:hover {
    background: var(--sg-accent-deep);
}

.search-popdown-close {
    position: absolute;
    right: -15px;
    top: -15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--theme-border);
    background: var(--theme-card-bg);
    color: var(--theme-text);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* --- Redesigned Hero Section (Mockup theme) --- */
/* --- Redesigned Hero Section (Full-Width Image Slider) --- */
.hero-slider-new {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
    background-color: #0c0f1d;
    box-shadow: inset 0 -30px 60px rgba(0, 0, 0, 0.1);
}

.hero-slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
}

.hero-slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-item picture,
.hero-slide-item img {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 992px) {
    .hero-slider-new {
        height: 440px;
    }
}

/* Mobile: switch to auto height so full image is visible without cropping */
@media (max-width: 768px) {
    .hero-slider-new {
        height: auto;
        min-height: unset;
    }

    .hero-slides-container {
        height: auto;
    }

    .hero-slide-item {
        position: relative;
        width: 100%;
        height: auto;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        transition: none;
        z-index: 1;
    }

    .hero-slide-item.active {
        display: block;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 2;
    }

    .hero-slide-item picture,
    .hero-slide-item img {
        width: 100%;
        height: auto;
        display: block;
    }

    .hero-slide-img {
        width: 100%;
        height: auto;
        object-fit: unset;
    }
}

/* Arrow controls (HP Biwin style) */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
}

.arrow-left {
    left: 30px;
}

.arrow-right {
    right: 30px;
}

@media (max-width: 768px) {
    .slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        background: rgba(0, 0, 0, 0.35);
    }

    .slider-arrow svg {
        width: 16px;
        height: 16px;
    }

    .arrow-left {
        left: 10px;
    }

    .arrow-right {
        right: 10px;
    }

    .slider-dots {
        bottom: 10px;
        gap: 8px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }
}

/* Bottom Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
    background: #ffffff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}



/* --- Responsive Adjustments --- */
@media (max-width: 1250px) {
    .header-nav-left {
        display: none;
        /* Hide left center links, user will toggle fullscreen nav */
    }

    .nav-toggle-mockup {
        display: flex;
    }

    .site-header-mockup {
        height: 72px;
    }

    .header-center-logo {
        padding: 8px 24px 12px 24px;
        border-radius: 0 0 20px 20px;
    }

    .brand-emblem-svg {
        width: 28px;
        height: 28px;
    }

    .brand-name-main {
        font-size: 1.05rem;
    }

    .brand-name-sub {
        font-size: 0.52rem;
    }

    .hero-slider-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-text-col {
        min-height: auto;
        justify-content: center;
    }

    .hero-serif-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions-row {
        justify-content: center;
    }

    .hero-curvy-backdrop {
        width: 90%;
        height: 90%;
        border-radius: 50%;
    }

    .hero-visual-col {
        min-height: 440px;
    }

    .hero-controls-widget {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 24px;
        justify-content: center;
        width: 100%;
    }

    .fullscreen-sidebar {
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding-top: 30px;
    }
}

@media (max-width: 600px) {
    .header-contact-link {
        display: none;
        /* Hide text on small screens, keep toggle button and hamburger */
    }

    .hero-serif-title {
        font-size: 2.2rem;
    }

    .hero-slider-mockup {
        padding: 40px 0;
    }

    .hero-product-stage {
        height: 280px;
    }
}

/* --- Spacing layout for all non-homepage inner views --- */
.inner-page-body main {
    padding-top: 5px;
}

/* --- Redesigned Product Catalog (Mockup style) --- */
.products-catalog-section {
    padding-top: 30px;
    padding-bottom: 60px;
    background: var(--theme-bg);
    transition: background 0.4s ease;
}

.products-catalog-grid {
    display: grid;
    grid-template-columns: 260px 1fr 340px;
    gap: 30px;
    margin-bottom: 48px;
    align-items: flex-start;
}

@media (max-width: 1200px) {
    .products-catalog-grid {
        grid-template-columns: 240px 1fr;
    }

    .products-right-stack {
        grid-column: span 2;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

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

    .products-right-stack {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
}

/* Sidebar Styling (Left Column) */
.catalog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.catalog-sidebar-title {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--theme-text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-categories-list {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    padding: 10px 0;
    list-style: none;
    margin: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.catalog-categories-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--theme-text);
    transition: all 0.2s ease;
}

.catalog-categories-list li a:hover {
    background: var(--theme-bg);
    color: var(--sg-accent);
    padding-left: 24px;
}

.catalog-categories-list li a .arrow-icon {
    font-size: 0.9rem;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.catalog-categories-list li a:hover .arrow-icon {
    transform: translateX(4px);
    opacity: 1;
}

.catalog-promise-card {
    background: #eef2ff;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

body.dark-theme .catalog-promise-card {
    background: #1e1b4b;
    border-color: #312e81;
}

.catalog-promise-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #4338ca;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

body.dark-theme .catalog-promise-title {
    color: #a5b4fc;
}

.catalog-promise-bullets {
    padding: 0;
    margin: 0;
    list-style: none;
}

.catalog-promise-bullets li {
    font-size: 0.82rem;
    font-weight: 700;
    color: #312e81;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.dark-theme .catalog-promise-bullets li {
    color: #c7d2fe;
}

.catalog-promise-bullets li::before {
    content: '✓';
    color: #6366f1;
    font-weight: 900;
}

/* Featured Hero Showcase (Middle Column) */
.catalog-featured-hero {
    background: linear-gradient(135deg, var(--theme-card-bg) 0%, var(--theme-bg) 100%);
    border: 1px solid var(--theme-border);
    border-radius: 16px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    min-height: 480px;
    align-items: center;
    transition: all 0.4s ease;
}

@media (max-width: 768px) {
    .catalog-featured-hero {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

.catalog-featured-badge {
    background: #e0e7ff;
    color: #4338ca;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 16px;
}

body.dark-theme .catalog-featured-badge {
    background: #312e81;
    color: #c7d2fe;
}

.catalog-featured-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--theme-text);
    margin: 0 0 10px 0;
    line-height: 1.1;
}

.catalog-featured-sub {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 8px;
}

.catalog-featured-desc {
    font-size: 0.92rem;
    color: var(--theme-text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.catalog-featured-specs {
    margin-bottom: 24px;
    padding: 0;
    list-style: none;
}

.catalog-featured-specs li {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-featured-specs li::before {
    content: '✓';
    color: #4338ca;
}

.catalog-featured-price-block {
    display: flex;
    align-items: baseline;
    margin-bottom: 24px;
}

.catalog-featured-price-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--theme-text-muted);
    margin-right: 8px;
}

.catalog-featured-price-val {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--theme-text);
}

.catalog-featured-price-suffix {
    font-size: 0.85rem;
    color: var(--theme-text-muted);
    margin-left: 4px;
}

.catalog-featured-actions {
    display: flex;
    gap: 12px;
}

.catalog-featured-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
}

.pedestal-stand {
    width: 160px;
    height: 36px;
    background: #e2e8f0;
    border-radius: 50%;
    position: absolute;
    bottom: 20px;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

body.dark-theme .pedestal-stand {
    background: #334155;
}

.floating-product-render {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    z-index: 2;
    transform: translateY(-20px);
    animation: floatProduct 5s infinite ease-in-out;
}

@keyframes floatProduct {

    0%,
    100% {
        transform: translateY(-20px) rotate(0deg);
    }

    50% {
        transform: translateY(-32px) rotate(3deg);
    }
}

/* Mini Cards Stack (Right Column) */
.products-right-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-mini-card {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
    height: 146px;
}

.featured-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    border-color: var(--sg-accent);
}

.mini-card-text {
    flex: 1;
    padding-right: 12px;
}

.mini-card-text h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: var(--theme-text);
}

.mini-card-text p {
    font-size: 0.76rem;
    color: var(--theme-text-muted);
    margin-bottom: 12px;
    line-height: 1.4;
}

.mini-card-text .mini-card-price {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--theme-text);
    margin-bottom: 8px;
}

.mini-card-text .mini-card-link {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--sg-accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mini-card-visual {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-card-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.featured-mini-card:hover .mini-card-visual img {
    transform: scale(1.08) rotate(3deg);
}

/* Category grid section (Shop by Category) */
.shop-by-category-section {
    margin-top: 60px;
    margin-bottom: 60px;
}

.shop-by-category-section h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--theme-text);
    margin-bottom: 24px;
}

.category-boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.category-box-card {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-box-card:hover {
    transform: translateY(-4px);
    border-color: var(--sg-accent);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.08);
}

.category-box-visual {
    width: 90px;
    height: 90px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-box-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-box-card:hover .category-box-visual img {
    transform: scale(1.1);
}

.category-box-card h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--theme-text);
    margin: 0 0 4px 0;
}

.category-box-card p {
    font-size: 0.78rem;
    color: var(--theme-text-muted);
    margin: 0;
}

/* Footer Trust Banner */
.trust-points-footer-banner {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border);
    border-radius: 16px;
    padding: 30px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
    margin-bottom: 40px;
    transition: all 0.4s ease;
}

.trust-point-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-point-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.trust-point-info h4 {
    font-size: 0.88rem;
    font-weight: 800;
    margin: 0 0 2px 0;
    color: var(--theme-text);
}

.trust-point-info p {
    font-size: 0.78rem;
    color: var(--theme-text-muted);
    margin: 0;
}

/* --- Search Mode Layout --- */
.products-catalog-grid.search-mode {
    grid-template-columns: 260px 1fr;
}

@media (max-width: 900px) {
    .products-catalog-grid.search-mode {
        grid-template-columns: 1fr;
    }
}

.search-results-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.search-results-header {
    margin-bottom: 8px;
}

.search-results-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--theme-text);
    margin: 0 0 6px 0;
}

.search-results-header p {
    font-size: 0.9rem;
    color: var(--theme-text-muted);
    margin: 0;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.search-no-results {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.search-no-results h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--theme-text);
    margin-bottom: 12px;
}

.search-no-results p {
    color: var(--theme-text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* WhatsApp Float Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.whatsapp-btn {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: none;
    outline: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

/* Red Notification Badge Dot on button */
.whatsapp-badge-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background-color: #ff3b30;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.whatsapp-chatbox {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.whatsapp-chatbox.active {
    display: flex;
    animation: whatsappFadeIn 0.3s ease forwards;
}

@keyframes whatsappFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.whatsapp-chat-header {
    background-color: #075e54;
    color: #ffffff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.whatsapp-chat-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-chat-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.whatsapp-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    padding: 3px;
    box-sizing: border-box;
}

.whatsapp-avatar-text {
    font-weight: 800;
    color: #075e54;
    font-size: 0.95rem;
}

.whatsapp-avatar-status-dot {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 10px;
    height: 10px;
    background-color: #4cd964;
    border-radius: 50%;
    border: 2px solid #075e54;
}

.whatsapp-chat-header h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.whatsapp-status-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 4px;
}

.whatsapp-status-text::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #4cd964;
    border-radius: 50%;
}

.whatsapp-chat-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.whatsapp-chat-close:hover {
    opacity: 1;
}

.whatsapp-chat-body {
    padding: 16px;
    background-color: #e5ddd5;
    /* Typical WhatsApp Chat Canvas Background */
    max-height: 250px;
    overflow-y: auto;
}

.whatsapp-chat-bubble-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.whatsapp-chat-bubble {
    background-color: #ffffff;
    padding: 8px 12px;
    border-radius: 0 8px 8px 8px;
    font-size: 0.85rem;
    color: #111111;
    line-height: 1.45;
    position: relative;
    max-width: 85%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.whatsapp-chat-bubble::before {
    content: "";
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 0px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #ffffff;
}

.whatsapp-chat-time {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 0.7rem;
    color: #7b7b7b;
    margin-top: 4px;
}

.whatsapp-double-check {
    color: #4fc3f7;
    display: inline-block;
    vertical-align: middle;
}

.whatsapp-chat-form {
    padding: 12px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.whatsapp-chat-input {
    width: 100%;
    border: 1px solid #e1e1e1;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 0.85rem;
    outline: none;
    resize: none;
    height: 42px;
    font-family: inherit;
    box-sizing: border-box;
    background-color: #f7f7f7;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.whatsapp-chat-input:focus {
    border-color: #25d366;
    background-color: #ffffff;
}

.whatsapp-chat-submit {
    background-color: #25d366;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(37, 211, 102, 0.2);
}

.whatsapp-chat-submit:hover {
    background-color: #20ba5a;
    transform: translateY(-1px);
}

.whatsapp-chat-submit:active {
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   NEW SECTIONS — SG A-Z MODIFICATIONS
   ═══════════════════════════════════════════════════════════════ */

/* ── Buy Box Slogan ── */
.buy-box-slogan {
    font-size: 1rem;
    font-style: italic;
    color: var(--sg-accent);
    font-weight: 600;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

/* ── Megamenu: Family Labels & Compare Link ── */
.mm-family-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    padding: 12px 20px 4px;
    margin-top: 6px;
    display: block;
}

body.dark-theme .mm-family-label {
    color: rgba(255, 255, 255, 0.4);
}

.mm-sidebar-compare {
    border-top: 1px solid #e5e7eb;
    padding: 14px 20px 8px;
    margin-top: auto; /* Pushes compare link to the bottom of the sidebar */
}

body.dark-theme .mm-sidebar-compare {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mm-compare-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.15s ease;
    white-space: nowrap;
}

.mm-compare-link svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.mm-compare-link:hover {
    color: var(--sg-navy);
}

body.dark-theme .mm-compare-link {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .mm-compare-link:hover {
    color: #00f2fe;
}

/* ── Reusable Trust Section ── */
.sg-trust-why-section {
    background: linear-gradient(135deg, #0b1b33 0%, #0f2545 100%);
    color: #fff;
    padding: 72px 0;
}

.sg-trust-why-header {
    text-align: center;
    margin-bottom: 48px;
}

.sg-trust-why-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #00f2fe;
    margin-bottom: 12px;
}

.sg-trust-why-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}

.sg-trust-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 960px) {
    .sg-trust-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .sg-trust-why-grid { grid-template-columns: 1fr; }
}

.sg-trust-why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 22px 20px;
    transition: border-color 0.25s, background 0.25s;
}

.sg-trust-why-item:hover {
    border-color: rgba(0,242,254,0.35);
    background: rgba(255,255,255,0.08);
}

.sg-trust-why-icon {
    width: 44px;
    height: 44px;
    background: rgba(0,242,254,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #00f2fe;
}

.sg-trust-why-icon svg {
    width: 22px;
    height: 22px;
}

.sg-trust-why-content h4 {
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.sg-trust-why-content p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

.sg-trust-why-tagline {
    text-align: center;
    font-size: 1.05rem;
    color: #00f2fe;
    letter-spacing: 0.02em;
    opacity: 0.9;
}

/* ── About Page — All Sections ── */

/* 1. Hero */
.sg-about-hero {
    background: linear-gradient(135deg, #061020 0%, #0d2548 60%, #061020 100%);
    padding: 80px 0 72px;
    text-align: center;
    color: #fff;
}

.sg-about-hero-inner { max-width: 720px; margin: 0 auto; }

.sg-about-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 12px 0 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.sg-about-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    margin: 0 0 28px;
    line-height: 1.6;
}

.sg-about-hero-pills {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.sg-about-pill {
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.07);
}

/* 2. Sections common */
.sg-about-section {
    padding: 72px 0;
    background: var(--theme-bg, #f8fafc);
}

.sg-about-section-alt {
    background: #ffffff;
}

/* Story grid */
.sg-about-story-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 960px) {
    .sg-about-story-grid { grid-template-columns: 1fr; gap: 40px; }
}

.sg-about-story-text .sg-eyebrow { display: block; margin-bottom: 10px; }

.sg-about-story-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--sg-navy, #0b1b33);
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

.sg-about-story-body p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--sg-charcoal, #374151);
    margin: 0 0 16px;
}

.sg-about-story-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-content: start;
}

.sg-about-stat {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(11,27,51,0.05);
}

.sg-about-stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--sg-navy, #0b1b33);
    line-height: 1;
    margin-bottom: 6px;
}

.sg-about-stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mission */
.sg-about-mission-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
}

.sg-about-mission-inner .sg-eyebrow { display: block; margin-bottom: 10px; }

.sg-about-mission-inner h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--sg-navy, #0b1b33);
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

.sg-about-mission-p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--sg-charcoal, #374151);
    margin: 0 0 16px;
}

.sg-about-mission-banner {
    margin-top: 32px;
    padding: 22px 28px;
    background: var(--sg-navy, #0b1b33);
    border-radius: 12px;
    color: #fff;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    text-align: center;
}

/* Product Families */
.sg-about-families-header {
    text-align: center;
    margin-bottom: 48px;
}

.sg-about-families-header .sg-eyebrow { display: block; margin-bottom: 10px; }

.sg-about-families-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--sg-navy, #0b1b33);
    margin: 0 0 12px;
}

.sg-about-families-sub {
    font-size: 1rem;
    color: #6b7280;
    max-width: 580px;
    margin: 0 auto;
}

.sg-about-families-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 900px) {
    .sg-about-families-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

.sg-about-family-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 36px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 4px 20px rgba(11,27,51,0.06);
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}

.sg-about-family-card:hover {
    box-shadow: 0 12px 36px rgba(11,27,51,0.12);
    border-color: var(--sg-navy, #0b1b33);
    transform: translateY(-4px);
}

.sg-about-family-icon {
    width: 54px;
    height: 54px;
    background: #f1f5ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sg-navy, #0b1b33);
    margin-bottom: 18px;
}

.sg-about-family-icon svg {
    width: 26px;
    height: 26px;
}

.sg-about-family-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--sg-navy, #0b1b33);
    margin: 0 0 4px;
}

.sg-about-family-tagline {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--sg-accent, #4c1d95);
    font-weight: 600;
    margin: 0 0 16px;
}

.sg-about-family-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

.sg-about-family-list li {
    font-size: 0.88rem;
    color: #374151;
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.sg-about-family-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--sg-accent, #4c1d95);
    font-weight: 800;
}

.sg-about-family-coming-soon {
    display: inline-block;
    padding: 6px 14px;
    border: 1px dashed #d1d5db;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 600;
}

/* UK Registration */
.sg-about-credentials-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 960px) {
    .sg-about-credentials-grid { grid-template-columns: 1fr; gap: 36px; }
}

.sg-about-credentials-text .sg-eyebrow { display: block; margin-bottom: 10px; }

.sg-about-credentials-text h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--sg-navy, #0b1b33);
    margin: 0 0 16px;
}

.sg-about-credentials-text p {
    font-size: 0.97rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

.sg-about-credentials-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(11,27,51,0.06);
}

.sg-about-credentials-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.sg-about-credentials-table tr:not(:last-child) td,
.sg-about-credentials-table tr:not(:last-child) th {
    border-bottom: 1px solid #f3f4f6;
}

.sg-about-credentials-table th {
    background: #f9fafb;
    text-align: left;
    font-weight: 700;
    color: var(--sg-navy, #0b1b33);
    padding: 12px 18px;
    white-space: nowrap;
    width: 38%;
}

.sg-about-credentials-table td {
    padding: 12px 18px;
    color: #374151;
}

/* Trade Partners */
.sg-about-trade-section { background: #f9fafb; }

.sg-about-trade-inner {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 960px) {
    .sg-about-trade-inner { grid-template-columns: 1fr; gap: 36px; }
}

.sg-about-trade-text .sg-eyebrow { display: block; margin-bottom: 10px; }

.sg-about-trade-text h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--sg-navy, #0b1b33);
    margin: 0 0 14px;
}

.sg-about-trade-intro {
    font-size: 0.97rem;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 24px;
}

.sg-about-trade-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.sg-about-trade-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: #374151;
    padding: 7px 0;
    border-bottom: 1px solid #f3f4f6;
}

.sg-trade-tick {
    color: #16a34a;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sg-about-trade-contact-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(11,27,51,0.06);
}

.sg-about-trade-contact-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--sg-navy, #0b1b33);
    margin: 0 0 10px;
}

.sg-about-trade-contact-card p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 16px;
}

.sg-about-trade-email {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--sg-accent, #4c1d95);
    word-break: break-all;
    text-decoration: none;
}

.sg-about-trade-email:hover { text-decoration: underline; }

/* Legal Disclosure */
.sg-about-legal-section {
    background: #f1f5f9;
    padding: 28px 0;
    border-top: 1px solid #e2e8f0;
}

.sg-about-legal-inner { max-width: 820px; margin: 0 auto; }

.sg-about-legal-text {
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0 0 8px;
}

/* Bottom Brand Banner */
.sg-about-brand-banner {
    background: linear-gradient(135deg, #071428 0%, #0f2545 50%, #071428 100%);
    padding: 72px 0;
    text-align: center;
    color: #fff;
}

.sg-about-brand-banner-inner { max-width: 680px; margin: 0 auto; }

.sg-about-brand-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.sg-about-brand-subtitle {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.65);
    margin: 0 0 32px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
}

.sg-about-brand-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Extra button variants for brand banner */
.sg-btn-silver {
    background: #f1f5f9;
    color: #0b1b33;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, transform 0.2s;
}
.sg-btn-silver:hover { background: #e2e8f0; transform: translateY(-1px); }

.sg-btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.5);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: border-color 0.2s, background 0.2s;
}
.sg-btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ── Eyebrow utility (used in about page) ── */
.sg-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sg-accent, #4c1d95);
    margin-bottom: 8px;
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT COMPARISON PAGE
   ══════════════════════════════════════════════════════════════ */

.sg-comparison-hero {
    background: linear-gradient(135deg, #07142b 0%, #0d2548 100%);
    padding: 64px 0 56px;
    color: #fff;
}

.sg-comparison-hero .sg-eyebrow { color: #00f2fe; display: block; margin-bottom: 10px; }

.sg-comparison-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.sg-comparison-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    margin: 0 0 20px;
    max-width: 560px;
    line-height: 1.6;
}

.sg-comparison-breadcrumb {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

.sg-comparison-breadcrumb a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.sg-comparison-breadcrumb a:hover { color: #fff; }

/* Table wrapper — horizontal scroll on mobile, no layout break */
.sg-comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 24px rgba(11,27,51,0.07);
    margin-bottom: 28px;
}

.sg-comparison-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.9rem;
}

.sg-comparison-table thead th {
    background: var(--sg-navy, #0b1b33);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 14px 18px;
    text-align: left;
    white-space: nowrap;
}

.sg-comp-th-action { text-align: center; }

.sg-comparison-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.sg-comparison-table tbody tr:last-child { border-bottom: none; }
.sg-comparison-table tbody tr:hover { background: #f9fafb; }

.sg-comp-row-featured { background: #fffbf0; }
.sg-comp-row-featured:hover { background: #fef9e7; }
.sg-comp-row-flagship { background: #f5f3ff; }
.sg-comp-row-flagship:hover { background: #ede9fe; }

.sg-comparison-table td {
    padding: 16px 18px;
    vertical-align: middle;
    color: #374151;
}

/* Product cell */
.sg-comp-product-cell { min-width: 180px; }

.sg-comp-product-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.sg-comp-product-img {
    width: 48px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 2px;
}

.sg-comp-product-name {
    display: block;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--sg-navy, #0b1b33);
    line-height: 1.3;
}

.sg-comp-product-tag {
    display: block;
    font-size: 0.73rem;
    color: #9ca3af;
    font-weight: 600;
    margin-top: 2px;
}

.sg-comp-flagship-badge {
    display: inline-block;
    background: var(--sg-accent, #4c1d95);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Interface badges */
.sg-comp-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.sg-comp-badge-sata  { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.sg-comp-badge-gen3  { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.sg-comp-badge-gen4  { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.sg-comp-badge-gen5  { background: #fdf4ff; color: #7e22ce; border: 1px solid #e9d5ff; }
.sg-comp-badge-ddr4  { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.sg-comp-badge-ddr5  { background: #fdf4ff; color: #6b21a8; border: 1px solid #e9d5ff; }

/* Warranty pills */
.sg-comp-warranty {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    background: #f9fafb;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.sg-comp-warranty-5y     { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.sg-comp-warranty-lifetime { background: #fdf4ff; color: #7e22ce; border-color: #e9d5ff; }

.sg-comp-action-cell { text-align: center; }

/* Below table */
.sg-comp-note {
    font-size: 0.85rem;
    color: #9ca3af;
    text-align: center;
    margin: 0 0 20px;
}

.sg-comp-cta-bar {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

/* Reusable SG button variants (if not already in CSS) */
.sg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.sg-btn-primary {
    background: var(--sg-navy, #0b1b33);
    color: #fff;
}
.sg-btn-primary:hover { background: #0d2548; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(11,27,51,0.2); }

.sg-btn-outline {
    background: transparent;
    color: var(--sg-navy, #0b1b33);
    border: 1.5px solid var(--sg-navy, #0b1b33);
}
.sg-btn-outline:hover { background: var(--sg-navy, #0b1b33); color: #fff; }

.sg-btn-sm { padding: 7px 16px; font-size: 0.82rem; }

/* Comparison table: mobile card mode */
@media (max-width: 600px) {
    /* Data labels via CSS for responsive table */
    .sg-comparison-table,
    .sg-comparison-table thead,
    .sg-comparison-table tbody,
    .sg-comparison-table th,
    .sg-comparison-table td,
    .sg-comparison-table tr {
        /* Keep horizontal scroll working — don't switch to block mode */
    }
}

/* ── Screen reader only ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}