/* =========================================================
   index.css — Home page  (v4)
   ========================================================= */

:root {
    --navy:   #020e38;
    --blue:   #1a6fc4;
    --sky:    #00c6ff;
    --panel:  #c4d5eb;
    --bg:     #7a92b0;
    --white:  #ffffff;
    --mono:   'Share Tech Mono', monospace;
    --sans:   'Exo 2', sans-serif;
}

body { margin: 0; padding: 0; background-color: var(--bg); }

/* ─────────────────────────────────────────
   SECTION LABEL (reused throughout)
───────────────────────────────────────── */
.section-label {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.section-label i { opacity: 0.75; }

/* ─────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────── */
.reveal-section {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   HERO
   ========================================================= */
.hero-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #020e38 0%, #0d2a6e 50%, #1a6fc4 100%);
    padding: 4rem 2rem 3.5rem;
    text-align: center;
}
.hero-circuit {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-circuit svg {
    width: 100%;
    height: 100%;
}
/* Travelling dot animation along circuit paths */
.hero-circuit circle:nth-child(4)  { animation: blink 2.4s 0s   ease-in-out infinite; }
.hero-circuit circle:nth-child(5)  { animation: blink 2.4s 0.8s ease-in-out infinite; }
.hero-circuit circle:nth-child(6)  { animation: blink 2.4s 1.6s ease-in-out infinite; }
.hero-circuit circle:nth-child(7)  { animation: blink 3s   0.4s ease-in-out infinite; }
.hero-circuit circle:nth-child(8)  { animation: blink 3s   1.2s ease-in-out infinite; }
.hero-circuit circle:nth-child(9)  { animation: blink 3s   2s   ease-in-out infinite; }
@keyframes blink {
    0%, 100% { opacity: 0.2; r: 4; }
    50%       { opacity: 1;   r: 6; }
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sky);
    background: rgba(0,198,255,0.1);
    border: 1px solid rgba(0,198,255,0.3);
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 1.2rem;
    animation: heroFadeIn 0.6s ease both;
}

.hero-title {
    font-family: var(--sans);
    font-weight: 900;
    font-size: clamp(1.4rem, 5.5vw, 3.6rem);
    color: var(--white);
    margin: 0 0 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.35);
    animation: heroFadeIn 0.6s 0.1s ease both;
}

.hero-typed {
    color: var(--sky);
    font-family: var(--mono);
    font-size: clamp(0.95rem, 3.5vw, 2.4rem);
}
.hero-cursor {
    color: var(--sky);
    font-family: var(--mono);
    animation: blink-cursor 0.75s step-end infinite;
}
@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.hero-subtitle {
    font-family: var(--sans);
    font-size: clamp(0.78rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    margin: 0 0 2rem;
    animation: heroFadeIn 0.6s 0.2s ease both;
}
.hero-br { display: none; }

.hero-cta-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroFadeIn 0.6s 0.3s ease both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    letter-spacing: 0.04em;
    padding: 0.75rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    cursor: pointer;
}
.hero-btn--primary {
    background: linear-gradient(135deg, var(--sky), var(--blue));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0,198,255,0.35);
}
.hero-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,198,255,0.5);
}
.hero-btn--ghost {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.35);
}
.hero-btn--ghost:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-3px);
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background: linear-gradient(90deg, #020e38 0%, #0d2a6e 100%);
    padding: 0.9rem 1rem;
    border-bottom: 3px solid var(--sky);
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.2rem 1.4rem;
}
.stat-number {
    font-family: var(--mono);
    font-size: clamp(0.95rem, 3vw, 2.2rem);
    color: var(--sky);
    line-height: 1;
}
.stat-label {
    font-family: var(--sans);
    font-size: clamp(0.5rem, 1.1vw, 0.78rem);
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 3px;
    white-space: nowrap;
}
.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.18);
    flex-shrink: 0;
}

/* =========================================================
   SPOTLIGHT
   ========================================================= */
.spotlight-section {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 2rem;
}
.spotlight-card {
    display: flex;
    gap: 2.5rem;
    background: linear-gradient(160deg, #d8e8f8 0%, #c4d5eb 100%);
    border: 2px solid var(--navy);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(2,14,56,0.18);
    position: relative;
}
/* left accent stripe */
.spotlight-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--blue), var(--sky));
    border-radius: 18px 0 0 18px;
}
.spotlight-img-wrap {
    position: relative;
    flex-shrink: 0;
    width: 42%;
    max-width: 420px;
    overflow: hidden;
}
.spotlight-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.spotlight-card:hover .spotlight-img-wrap img {
    transform: scale(1.04);
}
.spotlight-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, var(--blue), var(--sky));
    color: var(--white);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(26,111,196,0.4);
}
.spotlight-body {
    padding: 2rem 2rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
}
.spotlight-body h2 {
    font-family: var(--sans);
    font-weight: 900;
    font-size: clamp(1.2rem, 2.2vw, 1.7rem);
    color: var(--navy);
    margin: 0;
    line-height: 1.2;
}
.spotlight-body p {
    font-family: var(--sans);
    font-size: clamp(0.85rem, 1.4vw, 0.98rem);
    color: #2d3a4e;
    line-height: 1.7;
    margin: 0;
}
.spotlight-tags {
    list-style: none;
    padding: 0;
    margin: 0.4rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.spotlight-tags li {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: #0d5199;
    background: rgba(13,81,153,0.12);
    border: 1px solid rgba(13,81,153,0.28);
    border-radius: 14px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.spotlight-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.6rem;
    padding: 0.65rem 1.5rem;
    background: linear-gradient(135deg, var(--navy), #1a3a7a);
    color: var(--white);
    font-family: var(--sans);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 8px;
    align-self: flex-start;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(2,14,56,0.2);
}
.spotlight-btn:hover {
    background: linear-gradient(135deg, var(--blue), #0f4fa8);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(26,111,196,0.4);
}

/* =========================================================
   PROJECT CARDS SECTION
   ========================================================= */
.cards-section {
    width: 100%;
    margin: 0 0 2rem;
    padding: 0;
    overflow: hidden; /* contains the section label padding */
}

.cards-section > .section-label {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

/* Hide desktop arrows on mobile/tablet */
.carousel-arrow { display: none; }


.coming-soon-badge {
    position: absolute;
    top: 14px;
    right: -30px;
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: #fff;
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 38px;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(211,84,0,0.4);
    z-index: 10;
    pointer-events: none;
}

/* SCROLL DOTS */
.scroll-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding-bottom: 4px;
}
.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(2,14,56,0.22);
    border: 2px solid rgba(2,14,56,0.35);
    transition: background 0.25s, transform 0.25s;
    cursor: pointer;
}
.scroll-dot.active {
    background: var(--blue);
    border-color: var(--blue);
    transform: scale(1.35);
}

/* SWIPE HINT */
.swipe-hint {
    display: none;
    position: fixed;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(2,14,56,0.82);
    color: #fff;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    z-index: 300;
    pointer-events: none;
    animation: swipePulse 2s ease-in-out infinite;
}
@keyframes swipePulse {
    0%, 100% { opacity: 0.9; transform: translateX(-50%) translateY(0); }
    50%       { opacity: 0.5; transform: translateX(-50%) translateY(-4px); }
}
.swipe-hint.hidden { opacity: 0; transition: opacity 0.4s; pointer-events: none; }

/* CARDS */
.product {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #d8e8f8 0%, #c4d5eb 100%) !important;
    border: 2px solid var(--navy) !important;
}
.product::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--sky), var(--blue));
    background-size: 200% 100%;
    animation: shimmerCard 3s linear infinite;
    z-index: 1;
}
@keyframes shimmerCard {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.product:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 16px 40px rgba(2,14,56,0.22);
    border-color: var(--blue) !important;
}
.product img { transition: transform 0.45s ease; display: block; border-radius: 6px; }
.product:hover img { transform: scale(1.07); }
.product h3 { font-family: var(--sans); font-weight: 900; color: var(--navy); margin-top: 0.6rem; }
.product p  { color: #2d3a4e; font-family: var(--sans); font-weight: 600; line-height: 1.55; flex: 1; }
.product button {
    position: relative;
    overflow: hidden;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a7a 100%) !important;
    border: none;
    border-radius: 6px !important;
    color: #fff;
    cursor: pointer;
}
.product button:hover {
    background: linear-gradient(135deg, var(--blue) 0%, #0f4fa8 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(26,111,196,0.4);
}
.product button:active { transform: translateY(0); box-shadow: none; }
.product button .btn-ripple {
    position: absolute;
    width: 8px; height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transform: scale(0);
    animation: btnRipple 0.55s linear;
    pointer-events: none;
}
@keyframes btnRipple { to { transform: scale(22); opacity: 0; } }

/* =========================================================
   CATEGORIES GRID
   ========================================================= */
.categories-section {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 2rem;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
}
.cat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1rem;
    border-radius: 14px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}
.cat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.07);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.cat-card:hover::after { opacity: 1; }
.cat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 32px rgba(2,14,56,0.22);
    border-color: rgba(255,255,255,0.3);
}
.cat-card--blue   { background: linear-gradient(135deg, #1a6fc4, #0d4fa0); }
.cat-card--teal   { background: linear-gradient(135deg, #0a7a68, #065545); }
.cat-card--navy   { background: linear-gradient(135deg, #020e38, #0d2060); }
.cat-card--indigo { background: linear-gradient(135deg, #4c35c8, #2d1fa8); }
.cat-card--steel  { background: linear-gradient(135deg, #445a78, #2c3e58); }

.cat-icon {
    font-size: 1.8rem;
    color: rgba(255,255,255,0.9);
    flex-shrink: 0;
    width: 44px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.cat-card:hover .cat-icon { transform: scale(1.2) rotate(-6deg); }
.cat-body { flex: 1; }
.cat-body h3 {
    font-family: var(--sans);
    font-weight: 900;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: var(--white);
    margin: 0 0 0.3rem;
}
.cat-body p {
    font-family: var(--sans);
    font-size: clamp(0.72rem, 1.1vw, 0.82rem);
    color: rgba(255,255,255,0.88);
    margin: 0;
    line-height: 1.5;
}
.cat-arrow {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}
.cat-card:hover .cat-arrow {
    transform: translateX(4px);
    color: rgba(255,255,255,0.9);
}

/* =========================================================
   WHY SECTION
   ========================================================= */
.why-section {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 2rem;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}
.why-card {
    background: linear-gradient(160deg, #d8e8f8 0%, #c4d5eb 100%);
    border: 2px solid var(--navy);
    border-radius: 14px;
    padding: 1.6rem 1.4rem;
    text-align: center;
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--sky));
    border-radius: 14px 14px 0 0;
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(2,14,56,0.18);
}
.why-icon {
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 0.8rem;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.why-card:hover .why-icon { transform: scale(1.18); }
.why-card h4 {
    font-family: var(--sans);
    font-weight: 900;
    font-size: 1rem;
    color: var(--navy);
    margin: 0 0 0.5rem;
}
.why-card p {
    font-family: var(--sans);
    font-size: 0.87rem;
    color: #2d3a4e;
    line-height: 1.65;
    margin: 0;
}

/* =========================================================
   NOTIFY STRIP
   ========================================================= */
.notify-strip {
    background: linear-gradient(90deg, #020e38 0%, #0d2a6e 60%, #1a6fc4 100%);
    border-top: 3px solid var(--sky);
    border-bottom: 3px solid var(--sky);
    padding: 1.6rem 2rem;
    margin: 2rem 0 0;
}
.notify-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.notify-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-family: var(--sans);
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    line-height: 1.5;
}
.notify-text i {
    font-size: 1.4rem;
    color: var(--sky);
    flex-shrink: 0;
    animation: bellShake 3s ease-in-out infinite;
}
@keyframes bellShake {
    0%, 85%, 100% { transform: rotate(0); }
    88%  { transform: rotate(12deg); }
    91%  { transform: rotate(-10deg); }
    94%  { transform: rotate(8deg); }
    97%  { transform: rotate(-6deg); }
}
.notify-socials {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.ns-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.55rem 1.1rem;
    border-radius: 20px;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    white-space: nowrap;
}
.ns-btn:hover { transform: translateY(-3px); filter: brightness(1.15); box-shadow: 0 5px 14px rgba(0,0,0,0.25); }
.ns-btn--red   { background: #c0392b; }
.ns-btn--green { background: #25d366; }
.ns-btn--blue  { background: #0088cc; }

/* =========================================================
   MOBILE  (max-width: 480px)
   ========================================================= */
@media (max-width: 480px) {


    /* Scale down entire rem base so all rem values shrink proportionally */
    /* font-size base stays at 16px — individual elements sized explicitly */

    /* ── Hero ── */
    .hero-banner        { padding: 1.2rem 0.9rem 1rem !important; }
    .hero-tag           { font-size: 0.6rem !important; padding: 3px 9px !important; margin-bottom: 0.5rem !important; letter-spacing: 0.08em !important; }
    .hero-title         { font-size: 1.35rem !important; margin: 0 0 0.4rem !important; line-height: 1.2 !important; }
    .hero-typed         { font-size: 0.95rem !important; }
    .hero-subtitle      { font-size: 0.75rem !important; line-height: 1.5 !important; margin: 0 0 0.9rem !important; }
    .hero-btn           { font-size: 0.72rem !important; padding: 0.45rem 0.9rem !important; gap: 5px !important; }
    .hero-cta-row       { gap: 0.45rem !important; }
    .hero-br            { display: none !important; }

    /* ── Stats bar — single compact row ── */
    .stats-bar          { padding: 0.4rem 0 !important; flex-wrap: nowrap !important; overflow-x: auto !important; justify-content: flex-start !important; }
    .stat-item          { padding: 0.1rem 0.45rem !important; flex-shrink: 0 !important; }
    .stat-number        { font-size: 0.92rem !important; }
    .stat-label         { font-size: 0.58rem !important; letter-spacing: 0.04em !important; white-space: nowrap !important; }
    .stat-divider       { height: 20px !important; flex-shrink: 0 !important; }

    /* ── Section spacing ── */
    .spotlight-section,
    .cards-section,
    .categories-section,
    .why-section        { padding: 0 0.7rem !important; margin: 1rem auto !important; }
    .section-label      { font-size: 0.6rem !important; margin-bottom: 0.6rem !important; }

    /* ── Spotlight ── */
    .spotlight-section  { margin-top: 0.8rem !important; }
    .spotlight-card     { flex-direction: column !important; gap: 0 !important; border-radius: 12px !important; }
    .spotlight-img-wrap { width: 100% !important; max-width: 100% !important; height: 140px !important; }
    .spotlight-body     { padding: 0.75rem 0.85rem !important; gap: 0.35rem !important; }
    .spotlight-body h2  { font-size: 0.92rem !important; }
    .spotlight-body p   { font-size: 0.72rem !important; line-height: 1.5 !important; }
    .spotlight-tags     { gap: 4px !important; margin-top: 0.1rem !important; }
    .spotlight-tags li  { font-size: 0.58rem !important; padding: 2px 6px !important; }
    .spotlight-btn      { font-size: 0.72rem !important; padding: 0.42rem 0.85rem !important; margin-top: 0.25rem !important; }

    /* ── Category cards — 2 columns ── */
    .categories-grid    { grid-template-columns: 1fr 1fr !important; gap: 0.5rem !important; }
    .cat-card           { padding: 0.65rem 0.6rem !important; border-radius: 9px !important; gap: 0.55rem !important; }
    .cat-icon           { font-size: 1.1rem !important; width: 26px !important; }
    .cat-body h3        { font-size: 0.72rem !important; margin-bottom: 0.1rem !important; }
    .cat-body p         { font-size: 0.62rem !important; line-height: 1.35 !important; }
    .cat-arrow          { display: none !important; }

    /* ── Why cards — 2 columns ── */
    .why-grid           { grid-template-columns: 1fr 1fr !important; gap: 0.5rem !important; }
    .why-card           { padding: 0.75rem 0.6rem !important; border-radius: 9px !important; text-align: center !important; }
    .why-icon           { font-size: 1.1rem !important; margin-bottom: 0.3rem !important; }
    .why-card h4        { font-size: 0.7rem !important; margin-bottom: 0.2rem !important; }
    .why-card p         { font-size: 0.62rem !important; line-height: 1.4 !important; }

    /* ── Notify strip ── */
    .notify-strip       { padding: 0.75rem 0.7rem !important; margin: 0 !important; }
    .notify-inner       { flex-direction: column !important; gap: 0.6rem !important; }
    .notify-text        { font-size: 0.72rem !important; gap: 6px !important; }
    .notify-text i      { font-size: 1rem !important; }
    .notify-socials     { gap: 0.4rem !important; flex-wrap: wrap !important; }
    .ns-btn             { font-size: 0.65rem !important; padding: 0.35rem 0.65rem !important; }

    /* ── Scroll dots / swipe hint ── */
    .scroll-dots        { display: flex !important; margin-top: 6px !important; }
    .scroll-dot         { width: 6px !important; height: 6px !important; }
    .swipe-hint         { display: block !important; font-size: 0.7rem !important; padding: 5px 12px !important; bottom: 4rem !important; }

    /* ── Card scroll strip ── */
    .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        overflow: visible !important;
        margin: 0.3rem 0 0.6rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .product-container {
        display: flex !important;
        overflow-x: scroll !important;
        scroll-snap-type: x proximity !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        width: 100% !important;
        padding: 0.3rem 0.7rem 0.5rem !important;
        box-sizing: border-box !important;
        gap: 8px !important;
        scroll-behavior: smooth !important;
    }
    .product-container::-webkit-scrollbar { display: none !important; }

    .product {
        width: 68% !important;
        min-width: 68% !important;
        max-width: 68% !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        margin: 0 !important;
        border-radius: 9px !important;
        padding: 0.6rem !important;
        box-sizing: border-box !important;
        scroll-snap-align: center !important;
    }
    .product img        { width: 100% !important; height: 110px !important; object-fit: cover !important; border-radius: 6px !important; display: block !important; }
    .product h3         { font-size: 0.8rem !important; text-align: center !important; margin: 5px 0 3px !important; font-weight: 900 !important; }
    .product p          { font-size: 0.68rem !important; line-height: 1.4 !important; margin: 0 0 5px !important; }
    .product button     { font-size: 0.68rem !important; padding: 6px 8px !important; width: 100% !important; min-height: 32px !important; border-radius: 5px !important; margin-top: 4px !important; letter-spacing: 0.03em !important; }
    .coming-soon-badge  { font-size: 0.5rem !important; top: 7px !important; right: -22px !important; padding: 2px 26px !important; }
}

/* =========================================================
   TABLET  (481px – 1000px)
   ========================================================= */
@media (min-width: 481px) and (max-width: 1000px) {
    html { font-size: 16px; } /* reset from mobile override */
    .hero-banner { padding: 3rem 1.5rem 2.5rem; }

    .spotlight-card { flex-direction: column; gap: 0; }
    .spotlight-img-wrap { width: 100%; max-width: 100%; height: 260px; }
    .spotlight-body { padding: 1.5rem; }

    .categories-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }

    .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        overflow: visible;
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    .product-container {
        display: flex;
        overflow-x: scroll;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        padding: 0.5rem 1.5rem 0.8rem;
        box-sizing: border-box;
        gap: 16px;
        scroll-behavior: smooth;
        will-change: scroll-position;
    }
    .product-container::-webkit-scrollbar { display: none; }
    .product { width: 42%; min-width: 42%; max-width: 42%; flex-shrink: 0; flex-grow: 0; margin: 0; border-radius: 10px !important; padding: 2%; box-sizing: border-box; scroll-snap-align: center; }
    .product img { width: 100%; height: 150px; object-fit: cover; border-radius: 6px; display: block; }
    .product h3  { font-size: 2vw; text-align: center; margin: 8px 0 4px; }
    .product p   { font-size: 1.5vw; line-height: 1.45; margin: 0 0 6px; }
    .product button { padding: 5%; margin-top: 2%; margin-left: 15%; font-size: 1.5vw; width: 70%; min-height: 44px; }
}

/* =========================================================
   DESKTOP  (min-width: 1001px)
   ========================================================= */
@media (min-width: 1001px) {
    .hero-br { display: block; }

    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
        margin-bottom: 2rem;
        width: 100%;
        position: relative;
    }

    /* Full-width track — overflow hidden so side cards are clipped */
    .product-container {
        display: flex;
        align-items: center;        /* vertical centre for scale effect */
        overflow: hidden;           /* clips the half-visible side cards */
        width: 100%;
        padding: 1.5rem 0 1.8rem;
        box-sizing: border-box;
        gap: 0;                     /* gap handled by card margins */
        position: relative;
        /* No scroll-behavior here — JS handles all scrolling */
    }

    /* ── Every card base ── */
    .product {
        width: 22vw !important;
        min-width: 22vw !important;
        max-width: 300px !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        margin: 0 !important;         /* JS controls spacing via translateX */
        border-radius: 14px !important;
        padding: 1.4% !important;
        box-sizing: border-box !important;
        scroll-snap-align: unset !important;
        cursor: default !important;
    }

    /* ── Active (centred) card ── */
    /* Note: transform, opacity, box-shadow, border-color all set by JS inline */
    .product--active {
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 3 !important;
    }

    /* Keep shimmer only on active */
    .product::before         { opacity: 0; transition: opacity 0.4s ease; }
    .product--active::before { opacity: 1; }

    .product img   { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; }
    .product h3    { margin-top: 0.8%; text-align: center; font-size: 1.1vw; font-weight: 900; }
    .product p     { font-size: 0.75vw; text-align: justify; line-height: 1.6; }
    .product button {
        width: 60% !important;
        padding: 5% !important;
        margin-top: 1% !important;
        margin-left: 20% !important;
        font-size: 0.75vw !important;
    }

    /* Navigation arrows */
    .carousel-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(2,14,56,0.72);
        color: #fff;
        font-size: 1.1rem;
        border: none;
        cursor: pointer;
        z-index: 10;
        transition: background 0.2s ease, transform 0.2s ease;
        backdrop-filter: blur(4px);
    }
    .carousel-arrow:hover {
        background: var(--blue);
        transform: translateY(-50%) scale(1.1);
    }
    .carousel-arrow--prev { left:  1.5rem; }
    .carousel-arrow--next { right: 1.5rem; }

    /* Scroll dots on desktop too */
    .scroll-dots {
        display: flex !important;
        margin-top: 0.5rem;
    }
}

/* =========================================================
   TOUCH OVERRIDES — mobile/tablet only
   ========================================================= */
@media (hover: none) and (max-width: 1000px) {
    .product:hover { transform: none; box-shadow: none; border-color: var(--navy) !important; }
    .product:hover img { transform: none; }
    .cat-card:hover { transform: none; box-shadow: none; }
    .why-card:hover { transform: none; box-shadow: none; }
    .hero-btn:hover { transform: none; }
}