/* ============================================================
   TSUKI — Deadlock Product Page
   ============================================================ */

:root {
    --bg-deep:       #09090b;
    --bg-base:       #0f0f11;
    --bg-card:       #151517;
    --bg-card-hover: #1b1b1e;
    --bg-elevated:   #222225;
    --border-subtle: #1f1f23;
    --border-active: #333338;
    --text-primary:  #c8c8ce;
    --text-heading:  #ededef;
    --text-secondary:#7a7a84;
    --text-muted:    #4e4e58;
    --accent:        #7c8cf8;
    --accent-dim:    #7c8cf8;
    --accent-glow:   rgba(124,140,248,0.06);
    --green:         #4ade80;
    --green-dim:     rgba(74,222,128,0.055);
    --nav-bg:        #09090b;
    --font-sans:     'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono:     'Geist Mono', 'SF Mono', Consolas, monospace;
}

[data-theme="light"] {
    --bg-deep: #f5f5f7; --bg-base: #ebebef; --bg-card: #ffffff; --bg-card-hover: #f0f0f4;
    --bg-elevated: #e8e8ed; --border-subtle: #d8d8de; --border-active: #c0c0c8;
    --text-primary: #2a2a32; --text-heading: #111118; --text-secondary: #55555e; --text-muted: #88889a;
    --accent: #5b6be8; --accent-dim: #5b6be8; --accent-glow: rgba(91,107,232,0.06);
    --green: #22c55e; --green-dim: rgba(34,197,94,0.06); --nav-bg: #ffffff;
}
[data-theme="light"] body { background-image: linear-gradient(to bottom, #e8e8f0 0%, var(--bg-deep) 600px); }
[data-theme="light"] .star-cover { background: linear-gradient(to bottom, #f0f0f5 0%, #e8e8f0 40%, transparent 100%); }

*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--bg-deep);
    background-image: linear-gradient(to bottom, #111118 0%, var(--bg-deep) 600px);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--border-active); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* STARFIELD */
.starfield {
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none; overflow: hidden;
}

.starfield canvas {
    display: block; width: 100%; height: 100%;
}
.star-cover {
    position: fixed; top: 0; left: 0; right: 0;
    height: 350px;
    background: linear-gradient(to bottom, #111118 0%, #0a0a0d 40%, transparent 100%);
    pointer-events: none; z-index: 0;
}

/* BREADCRUMB */
.breadcrumb-row { padding: 1rem 0 0; position: relative; z-index: 1; }
.breadcrumb-nav {
    display: flex; align-items: center; gap: 0.5rem;
    list-style: none; padding: 0; margin: 0;
}
.breadcrumb-nav li {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.82rem;
}
.breadcrumb-nav a {
    font-weight: 500;
    color: var(--text-muted); text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-nav a:hover { color: var(--text-secondary); }
.breadcrumb-nav .bc-sep {
    color: var(--text-muted); font-size: 0.6rem;
    opacity: 0.5;
}
.breadcrumb-nav .bc-current {
    font-weight: 500; color: var(--text-secondary);
    opacity: 0.6; cursor: default;
}

/* PRODUCT SECTION */
.product-section { padding: 1.25rem 0 3rem; position: relative; z-index: 1; }

.product-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 700; letter-spacing: -0.025em;
    line-height: 1.05; margin: 0.7rem 0 0.55rem;
}
.product-desc {
    font-size: 0.88rem; font-weight: 400;
    color: var(--text-secondary); line-height: 1.55;
}

/* STATUS */
/* HERO BADGES */
.hero-badges {
    display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
    margin-bottom: 0.35rem;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
    padding: 0.32rem 0.8rem; border-radius: 20px;
}
.hero-badge.undetected {
    color: #4ade80;
    background: rgba(74,222,128,0.12);
    border: 1px solid rgba(74,222,128,0.2);
    box-shadow: 0 0 12px rgba(74,222,128,0.1);
}
.hero-badge.undetected i { font-size: 0.72rem; }
.hero-badge.online {
    color: #22c55e;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.2);
    box-shadow: 0 0 12px rgba(34,197,94,0.08);
}
.hero-badge.maintenance {
    color: #eab308;
    background: rgba(234,179,8,0.12);
    border: 1px solid rgba(234,179,8,0.2);
}
.hero-badge.offline {
    color: #f87171;
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.2);
}
.hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 6px currentColor;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.3); }
    50% { box-shadow: 0 0 0 4px rgba(74,222,128,0); }
}

/* GALLERY */
.gallery-wrap { position: relative; }
.gallery-main {
    border-radius: 10px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    aspect-ratio: 16 / 9; position: relative;
    background: var(--bg-card);
}
.gallery-main img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: opacity 0.25s ease;
    cursor: zoom-in;
}
.gallery-main img.fading { opacity: 0.4; }

.gallery-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(9,9,11,0.75);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s; z-index: 5;
    font-size: 0.82rem; opacity: 0;
}
.gallery-wrap:hover .gallery-arrow { opacity: 1; }
.gallery-arrow:hover {
    background: rgba(9,9,11,0.9);
    border-color: rgba(255,255,255,0.22);
    color: #fff;
    transform: translateY(-50%) scale(1.06);
}
.gallery-arrow.left { left: 10px; }
.gallery-arrow.right { right: 10px; }

.gallery-thumbs { display: flex; gap: 0.45rem; margin-top: 0.5rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
    flex: 1; min-width: 80px; aspect-ratio: 16 / 9;
    border-radius: 7px; overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.55; background: var(--bg-card);
}
.gallery-thumb.active { border-color: var(--accent); opacity: 1; }
.gallery-thumb:hover { opacity: 0.8; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* PRICING */
.pricing-label {
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 0.55rem;
}
.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.tier {
    background: #1a1b1f;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 1.35rem 1rem;
    text-align: left;
    transition:
        border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.2s ease,
        transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer; position: relative;
    display: flex; flex-direction: column;
    gap: 0.1rem;
}
/* Unselected hover — subtle only, never steals emphasis */
.tier:not(.selected):hover {
    border-color: rgba(124,140,248,0.4);
    background: rgba(124,140,248,0.03);
    transform: translateY(-1px);
}
.tier:active {
    transform: translateY(0) scale(0.985);
    transition-duration: 0.08s;
}
/* Selected — clearly dominant */
.tier.selected {
    border-color: var(--accent);
    background: rgba(124,140,248,0.08);
    box-shadow: 0 0 0 1.5px var(--accent), 0 0 24px rgba(124,140,248,0.25);
    transform: translateY(-1px);
}
.tier.selected .tier-price { color: #fff; }
.tier.selected .tier-duration { color: #fff; }
/* Selected + hover — slight intensify, still clearly selected */
.tier.selected:hover {
    box-shadow: 0 0 0 1.5px var(--accent), 0 0 28px rgba(124,140,248,0.35);
    transform: translateY(-2px);
}
.tier-pop-badge {
    font-size: 0.55rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    background: var(--accent); color: #fff;
    padding: 0.2rem 0.55rem; border-radius: 20px;
    position: absolute; top: 0.6rem; right: 0.6rem;
    white-space: nowrap;
}
.tier-duration {
    font-size: 0.78rem; font-weight: 700;
    color: var(--text-primary); margin-bottom: 0.15rem;
}
.tier-price-row {
    display: flex; align-items: baseline; gap: 0.4rem;
}
.tier-price {
    font-size: 1.8rem; font-weight: 700;
    color: var(--text-primary); line-height: 1; letter-spacing: -0.02em;
}
.tier-currency {
    font-size: 0.75rem; font-weight: 400; color: var(--text-muted);
}
/* BUTTONS */
.btn-purchase {
    display: flex; align-items: center; justify-content: center;
    gap: 0.5rem; width: 100%;
    font-family: var(--font-sans);
    font-size: 0.82rem; font-weight: 600;
    background: var(--accent); color: #fff;
    padding: 0.72rem 1.5rem;
    border: none; border-radius: 8px;
    text-decoration: none;
    transition:
        transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.2s ease;
    margin-top: 0.9rem;
    will-change: transform;
}
.btn-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124,140,248,0.3);
    filter: brightness(1.08);
    color: #fff;
}
.btn-purchase:active {
    transform: translateY(0) scale(0.98);
    transition-duration: 0.08s;
}
.btn-outline {
    display: flex; align-items: center; justify-content: center;
    gap: 0.5rem; width: 100%;
    font-family: var(--font-sans);
    font-size: 0.82rem; font-weight: 500;
    background: transparent; color: var(--text-secondary);
    padding: 0.68rem 1.5rem;
    border: 1px solid var(--border-subtle);
    border-radius: 8px; text-decoration: none;
    transition:
        color 0.2s ease,
        border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    margin-top: 0.4rem;
}
.btn-outline:hover {
    color: var(--text-primary); border-color: var(--accent);
    transform: translateY(-1px);
}
.btn-outline:active {
    transform: translateY(0);
    transition-duration: 0.08s;
}

.payment-note {
    font-size: 0.7rem; color: var(--text-muted);
    margin-top: 0.6rem;
    display: flex; align-items: center; gap: 0.35rem;
}

/* DIVIDER — soft gradient transition instead of hard line */
.divider {
    height: 1px; position: relative; z-index: 1;
    background: linear-gradient(90deg, transparent 5%, rgba(124,140,248,0.08) 50%, transparent 95%);
}

/* SECTIONS */
.sec { padding: 2.5rem 0; position: relative; z-index: 1; }
.sec-label {
    font-size: 0.65rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent-dim); margin-bottom: 0.35rem;
}
.sec-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700; letter-spacing: -0.02em;
    line-height: 1.1; margin-bottom: 1.5rem;
}

/* FEATURE CHIP GRID */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}
.feat-chip {
    display: flex; align-items: flex-start; gap: 0.85rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.2s;
}
.feat-chip:hover {
    border-color: rgba(124,140,248,0.3);
    box-shadow: 0 0 14px rgba(124,140,248,0.1);
    background: var(--bg-card-hover);
}
.feat-chip-icon {
    width: 34px; height: 34px; min-width: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: rgba(124,140,248,0.06);
    border: 1px solid rgba(124,140,248,0.12);
    color: var(--accent); font-size: 0.85rem;
}
.feat-chip-body { min-width: 0; }
.feat-chip-title {
    font-size: 0.84rem; font-weight: 700;
    letter-spacing: -0.01em; margin-bottom: 0.15rem;
}
.feat-chip-desc {
    font-size: 0.74rem; font-weight: 400;
    color: var(--text-secondary); line-height: 1.45;
}

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

/* RADIAL GLOW BACKGROUNDS */
.sec-bg {
    background: rgba(124,140,248,0.015);
    position: relative; overflow: hidden;
}
.sec-bg::before {
    content: '';
    position: absolute;
    top: -40%; left: 50%; transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(124,140,248,0.06) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}
/* Hero gets a stronger compositional glow */
.product-section {
    position: relative; overflow: hidden;
}
.product-section::before {
    content: '';
    position: absolute;
    top: -30%; right: -15%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(124,140,248,0.06) 0%, transparent 70%);
    pointer-events: none;
    animation: glowDrift 8s ease-in-out infinite reverse;
}
.product-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 80px;
    background: linear-gradient(to bottom, transparent, var(--bg-deep));
    pointer-events: none; z-index: 0;
}

/* Showcase section — subtle darker band for visual grounding */
.showcase {
    background: linear-gradient(
        to bottom,
        rgba(15,15,17,0.4) 0%,
        rgba(124,140,248,0.02) 30%,
        rgba(124,140,248,0.02) 70%,
        rgba(15,15,17,0.4) 100%
    );
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}
@keyframes glowDrift {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.1); }
}

/* VIDEO SHOWCASE */
.showcase-grid {
    display: flex; flex-direction: column;
    gap: 3.5rem;
}
.showcase-item {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2.5rem;
    align-items: center;
}
.showcase-item.reverse {
    grid-template-columns: 2fr 3fr;
}
.showcase-item.reverse .showcase-video { order: 2; }
.showcase-item.reverse .showcase-text { order: 1; }

.showcase-video {
    position: relative;
    border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    background: var(--bg-card);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.showcase-item:hover .showcase-video {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,140,248,0.15);
    border-color: rgba(124,140,248,0.2);
}
.showcase-video::after {
    content: '';
    position: absolute; inset: 0;
    z-index: 2;
    pointer-events: none;
}
.showcase-video video, .showcase-video iframe {
    width: 100%; aspect-ratio: 16 / 9;
    display: block; border: none;
    /* Note: we used to set pointer-events: none here to make the whole
       showcase card clickable-through, but that interfered with iOS
       Safari's touch-activation requirement for autoplay. The card
       doesn't need click-through anyway — let the video handle its
       own touch. */
}

/* Staggered reveal: video slides up first, text follows */
.showcase-item .showcase-video {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.showcase-item .showcase-text {
    opacity: 0; transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}
.showcase-item.visible .showcase-video,
.showcase-item.visible .showcase-text {
    opacity: 1; transform: translateY(0);
}

.showcase-text { display: flex; flex-direction: column; gap: 0.75rem; }
.showcase-tag {
    display: inline-flex; align-self: flex-start;
    font-size: 0.6rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 0.25rem 0.6rem; border-radius: 4px;
    background: rgba(124,140,248,0.1);
    border: 1px solid rgba(124,140,248,0.2);
    color: var(--accent);
}
.showcase-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700; letter-spacing: -0.02em;
    line-height: 1.15; margin: 0;
}
.showcase-desc {
    font-size: 0.88rem; font-weight: 400;
    color: var(--text-secondary); line-height: 1.65;
    margin: 0;
}

@media (max-width: 768px) {
    .showcase-item,
    .showcase-item.reverse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .showcase-item.reverse .showcase-video { order: 1; }
    .showcase-item.reverse .showcase-text { order: 2; }
    .showcase-grid { gap: 2.5rem; }
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border-subtle); padding: 1rem 0; }
.faq-q {
    font-weight: 500; font-size: 0.88rem; cursor: pointer;
    display: flex; align-items: center;
    justify-content: space-between; gap: 1rem;
    transition: color 0.15s; user-select: none;
}
.faq-q:hover { color: var(--accent); }
.faq-q .arr {
    font-size: 0.55rem; transition: transform 0.25s;
    color: var(--text-muted); flex-shrink: 0;
}
.faq-item.open .faq-q .arr { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-a { max-height: 300px; padding-top: 0.5rem; }
.faq-a p { font-size: 0.8rem; font-weight: 400; color: var(--text-secondary); line-height: 1.55; margin: 0; }

/* Footer styles loaded from shared.css */

/* REVEAL */
.reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991.98px) {
    .product-section { padding: 1rem 0 2.5rem; }
    .product-info { margin-top: 1.75rem; }
}
@media (max-width: 575.98px) {
    .sec { padding: 2rem 0; }
    .tier { padding: 1.1rem 0.75rem; }
    .tier-price { font-size: 1.5rem; }

    /* Gallery arrows always visible on touch */
    .gallery-arrow { opacity: 1; width: 30px; height: 30px; font-size: 0.7rem; }
    .gallery-arrow.left { left: 6px; }
    .gallery-arrow.right { right: 6px; }

    /* Tighter product info */
    .product-title { font-size: 1.4rem; }
    .product-desc { font-size: 0.82rem; }
    .btn-purchase, .btn-outline { font-size: 0.8rem; padding: 0.65rem 1.2rem; }

    /* Showcase */
    .showcase-grid { gap: 2.5rem; }
    .showcase-title { font-size: 1.2rem; }
    .showcase-desc { font-size: 0.82rem; }

    /* Feature chips wrap better */
    .feat-chip { padding: 0.65rem 0.6rem; }
    .feat-chip-title { font-size: 0.72rem; }
    .feat-chip-desc { font-size: 0.64rem; }

    /* FAQ */
    .faq-q { font-size: 0.82rem; }
    .faq-a p { font-size: 0.78rem; }

    /* Footer */
    .footer-top { flex-direction: column; gap: 1.5rem; }
    .footer-nav { gap: 2rem; }
}

/* Heading brightness overrides */
.product-title, .sec-title, .showcase-title, .feat-chip-title, .faq-q, .nav-brand, .footer-nav-title, .tier-price, .tier-duration { color: var(--text-heading); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,0.94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    cursor: zoom-out;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-img-wrap {
    position: relative;
    max-width: 92vw; max-height: 88vh;
    display: flex; align-items: center; justify-content: center;
    overflow: visible;
}
.lightbox-img-wrap img {
    max-width: 92vw; max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.15s cubic-bezier(0.25, 0, 0.25, 1);
    transform-origin: center center;
    cursor: grab; user-select: none; -webkit-user-drag: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-img-wrap img.zoomed { cursor: grabbing; }
.lightbox-img-wrap img.panning { transition: none; }

.lightbox-close {
    position: absolute; top: 0.75rem; right: 0.75rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%; width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7); font-size: 1.1rem;
    cursor: pointer; transition: all 0.15s; z-index: 2;
}
.lightbox-close:hover {
    background: rgba(255,255,255,0.15); color: #fff;
}

.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7); font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.18s; z-index: 2;
}
.lightbox-nav:hover {
    background: rgba(255,255,255,0.12); color: #fff;
    transform: translateY(-50%) scale(1.05);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-counter {
    position: absolute; bottom: 1rem; left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem; font-weight: 500;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.08em; z-index: 2;
}

.lightbox-zoom {
    position: absolute; bottom: 1rem; right: 1rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px; padding: 0.3rem 0.55rem;
    color: rgba(255,255,255,0.45); font-size: 0.72rem;
    cursor: pointer; transition: all 0.15s;
    display: flex; align-items: center; gap: 0.3rem; z-index: 2;
}
.lightbox-zoom:hover {
    background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8);
}

@media (max-width: 640px) {
    .lightbox-nav { width: 36px; height: 36px; font-size: 0.85rem; }
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
}

/* ============================================================
   LIGHT MODE OVERRIDES
   ============================================================ */
[data-theme="light"] .tier { background: var(--bg-card); }
[data-theme="light"] .tier:not(.selected):hover { box-shadow: 0 0 12px rgba(91,107,232,0.15); }
[data-theme="light"] .tier.selected {
    background: rgba(91,107,232,0.06);
    box-shadow: 0 0 0 1.5px var(--accent), 0 0 20px rgba(91,107,232,0.15);
}
/* Light mode: selected tier text must stay dark and readable */
[data-theme="light"] .tier.selected .tier-price { color: var(--text-heading); }
[data-theme="light"] .tier.selected .tier-duration { color: var(--text-heading); }
[data-theme="light"] .tier.selected .tier-currency { color: var(--text-secondary); }
[data-theme="light"] .tier.selected .tier-perday { color: var(--text-secondary); }

[data-theme="light"] .gallery-arrow { border-color: rgba(0,0,0,0.1); background: rgba(255,255,255,0.9); color: var(--text-secondary); }
[data-theme="light"] .gallery-arrow:hover { background: #fff; color: var(--text-heading); }
[data-theme="light"] .gallery-thumb { opacity: 0.6; }
[data-theme="light"] .gallery-thumb.active { opacity: 1; }
[data-theme="light"] .nav-links a:hover { background: rgba(0,0,0,0.04); }
[data-theme="light"] .faq-item { border-color: var(--border-subtle); }

/* Light mode section bands */
[data-theme="light"] .showcase { background: linear-gradient(to bottom, rgba(0,0,0,0.01) 0%, rgba(91,107,232,0.02) 50%, rgba(0,0,0,0.01) 100%); }
[data-theme="light"] .sec-bg { background: rgba(91,107,232,0.02); }
[data-theme="light"] .product-section::after { background: linear-gradient(to bottom, transparent, var(--bg-deep)); }
[data-theme="light"] .divider { background: linear-gradient(90deg, transparent 5%, rgba(91,107,232,0.1) 50%, transparent 95%); }
[data-theme="light"] .faq-a { color: var(--text-secondary); }
[data-theme="light"] .feat-chip { border-color: var(--border-subtle); background: var(--bg-card); }
[data-theme="light"] .showcase-card { border-color: var(--border-subtle); background: var(--bg-card); }
[data-theme="light"] .starfield { display: none !important; }

/* ══════════════════════════════════════════════════════════════════════
   STICKY PURCHASE BAR
   ══════════════════════════════════════════════════════════════════════ */
.sticky-buy {
    position: fixed; top: 0; left: 0; right: 0; z-index: 999;
    background: rgba(14,15,17,0.92);
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s ease;
    pointer-events: none;
}
.sticky-buy.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
[data-theme="light"] .sticky-buy {
    background: rgba(255,255,255,0.92);
    border-bottom-color: rgba(0,0,0,0.06);
}
.sticky-buy-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.6rem 1rem; gap: 1rem;
    max-width: 1140px; margin: 0 auto;
}
.sticky-buy-info {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.82rem;
}
.sticky-buy-info strong { color: var(--text-heading); font-weight: 600; }
.sticky-buy-plan {
    font-size: 0.68rem; font-weight: 600; color: var(--accent);
    background: rgba(124,140,248,0.1); padding: 0.15rem 0.5rem;
    border-radius: 4px;
}
.sticky-buy-right {
    display: flex; align-items: center; gap: 0.75rem;
}
.sticky-buy-price {
    font-size: 1rem; font-weight: 700; color: var(--text-heading);
}
.sticky-buy-btn {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.78rem; font-weight: 600;
    background: var(--accent); color: #fff;
    padding: 0.5rem 1.1rem; border-radius: 6px;
    text-decoration: none;
    transition: filter 0.15s, transform 0.1s;
}
.sticky-buy-btn:hover { filter: brightness(1.1); color: #fff; }
.sticky-buy-btn:active { transform: translateY(1px); }
@media (max-width: 640px) {
    .sticky-buy-info strong { display: none; }
    .sticky-buy-inner { padding: 0.5rem 0.75rem; }
}

/* ══════════════════════════════════════════════════════════════════════
   TRUST STRIP (under CTA)
   ══════════════════════════════════════════════════════════════════════ */
.trust-strip {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    margin-top: 0.85rem;
}
.trust-item {
    display: flex; align-items: center; gap: 0.3rem;
    font-size: 0.7rem; font-weight: 500; color: var(--text-muted);
}
.trust-item i { font-size: 0.72rem; color: #4ade80; }

/* ══════════════════════════════════════════════════════════════════════
   TIER PER-DAY PRICING
   ══════════════════════════════════════════════════════════════════════ */
.tier-perday {
    font-size: 0.66rem; font-weight: 500; color: var(--text-muted);
    margin-top: 0.25rem;
}
