/* Showcase catalog — light surface + colorful product identity */

.showcase .wrap-wide {
    position: relative;
    z-index: 1;
    width: min(1360px, calc(100% - 28px));
    margin-inline: auto;
}
.showcase {
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    isolation: isolate;
    padding: 72px 0 40px;
    background:
        radial-gradient(920px 420px at 8% 0%, rgba(139, 0, 255, 0.08), transparent 58%),
        radial-gradient(820px 380px at 94% 4%, rgba(0, 198, 255, 0.09), transparent 54%),
        radial-gradient(640px 360px at 80% 100%, rgba(255, 109, 0, 0.06), transparent 58%),
        radial-gradient(520px 280px at 18% 96%, rgba(57, 255, 20, 0.05), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #F8FAFC 42%, #F1F5F9 100%);
    overflow: hidden;
}
.showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 0, 255, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at center, #000 32%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 32%, transparent 78%);
    pointer-events: none;
}
.showcase::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8B00FF, #00E5FF, #FF6D00, transparent);
    pointer-events: none;
}

.showcase-fx { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.showcase-fx .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.55;
}
.showcase-fx .orb-a {
    width: 260px; height: 260px; left: -70px; top: 60px;
    background: radial-gradient(circle, rgba(176, 38, 255, 0.22), transparent 68%);
}
.showcase-fx .orb-b {
    width: 220px; height: 220px; right: -50px; top: 30px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.2), transparent 68%);
}
.showcase-fx .orb-c {
    width: 180px; height: 180px; right: 16%; bottom: 6%;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.16), transparent 68%);
}
.showcase-fx .spark { display: none; }

.showcase-top {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr;
    gap: 28px;
    align-items: end;
    margin-bottom: 28px;
}
.showcase-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7c3aed;
    margin-bottom: 14px;
}
.showcase-kicker::before {
    content: "";
    width: 22px; height: 2px;
    background: linear-gradient(90deg, #8B00FF, #FF00C8);
    border-radius: 2px;
}
.showcase h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4.2vw, 48px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #0f172a;
    margin: 0 0 14px;
    overflow-wrap: anywhere;
}
.showcase h2 span {
    background: linear-gradient(100deg, #8B00FF 0%, #007BFF 42%, #FF6D00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.showcase-lead {
    color: #475569;
    font-size: 15px;
    max-width: 540px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    margin: 0;
}

.benefit-mini {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.benefit-mini article {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 12px 13px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.benefit-mini svg { width: 18px; height: 18px; margin-bottom: 8px; display: block; }
.benefit-mini b {
    display: block;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f172a;
}
.benefit-mini span { font-size: 11px; color: #64748b; }

.showcase-pitch {
    position: relative;
    margin: 0 0 28px;
    padding: 22px 24px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(139, 0, 255, 0.08), rgba(0, 198, 255, 0.07) 50%, rgba(255, 109, 0, 0.06));
    border: 1px solid rgba(139, 0, 255, 0.16);
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.08);
    overflow: hidden;
}
.showcase-pitch::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #8B00FF, #00E5FF, #FF6D00);
}
.showcase-pitch-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7c3aed;
    margin-bottom: 8px;
}
.showcase-pitch h3 {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.4vw, 26px);
    letter-spacing: -0.03em;
    color: #0f172a;
    margin: 0 0 8px;
    line-height: 1.2;
}
.showcase-pitch p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
    max-width: 720px;
}

.ig-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.ig-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    min-width: 0;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
    transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.28s;
}
.ig-card::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 4px;
    z-index: 3;
}
.ig-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1f5f9;
}
.ig-media a { display: block; width: 100%; height: 100%; }
.ig-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s var(--ease);
}
.ig-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 48%, rgba(255, 255, 255, 0.88) 100%);
}
.ig-badge {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 2;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 8px;
    border-radius: 999px;
    color: #fff;
}
.ig-body {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.ig-body h3 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.25;
    margin: 0;
}
.ig-body > .ig-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ig-mode-lead {
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    color: #475569;
}
.ig-mode-lead.is-hidden,
.ig-feats.is-hidden { display: none; }

.ig-seg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    background: #f1f5f9;
    border-radius: 12px;
}
.ig-seg button {
    appearance: none;
    border: 0;
    background: transparent;
    border-radius: 9px;
    padding: 8px 6px;
    font-family: var(--font);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    cursor: pointer;
    line-height: 1.2;
    min-height: 40px;
}
.ig-seg button[aria-selected="true"] {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.ig-seg .ig-rec {
    display: block;
    font-size: 8px;
    letter-spacing: 0.12em;
    color: #7c3aed;
    margin-top: 3px;
}
.ig-card.is-script .ig-seg button[data-mode="source_code"][aria-selected="true"] {
    color: #fff;
}

.ig-feats { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.ig-feats li {
    font-size: 11px;
    color: #334155;
    padding-left: 16px;
    position: relative;
    line-height: 1.35;
}
.ig-feats li::before {
    content: "";
    position: absolute;
    left: 0; top: 5px;
    width: 7px; height: 7px;
    border-radius: 50%;
}

.ig-price {
    margin-top: auto;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.04em;
}
.ig-price-val {
    display: block;
    font-size: 22px;
    line-height: 1.1;
    color: #0f172a;
}
.ig-price small {
    display: block;
    font-family: var(--font);
    font-size: 10px;
    font-weight: 500;
    color: #64748b;
    margin-top: 4px;
    letter-spacing: 0;
    line-height: 1.35;
}

.ig-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 12px 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    text-align: center;
    transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ig-buy.is-off { opacity: 0.4; pointer-events: none; cursor: not-allowed; }
.ig-buy svg { width: 14px; height: 14px; flex-shrink: 0; }
.ig-buy.is-owner { box-shadow: 0 0 0 2px rgba(255,255,255,0.4) inset; }

.ig-card.theme-purple::before { background: linear-gradient(90deg, #8B00FF, #FF00C8); }
.ig-card.theme-purple { border-color: rgba(176, 38, 255, 0.35); box-shadow: 0 16px 40px rgba(139, 0, 255, 0.12); }
.ig-card.theme-purple .ig-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 48px rgba(176, 38, 255, 0.22); }
.ig-card.theme-purple .ig-body h3 { color: #7c3aed; }
.ig-card.theme-purple .ig-feats li::before { background: #D946EF; }
.ig-card.theme-purple .ig-badge { background: linear-gradient(90deg, #8B00FF, #FF00C8); box-shadow: 0 6px 18px rgba(139, 0, 255, 0.35); }
.ig-card.theme-purple .ig-buy { background: linear-gradient(90deg, #8B00FF, #D946EF); box-shadow: 0 8px 22px rgba(139, 0, 255, 0.32); }
.ig-card.theme-purple .ig-price-val { color: #7c3aed; }
.ig-card.theme-purple.is-script .ig-seg button[data-mode="source_code"][aria-selected="true"] { background: linear-gradient(90deg, #8B00FF, #D946EF); }

.ig-card.theme-cyan::before { background: linear-gradient(90deg, #007BFF, #00E5FF); }
.ig-card.theme-cyan { border-color: rgba(0, 198, 255, 0.38); }
.ig-card.theme-cyan .ig-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 40px rgba(0, 229, 255, 0.16); }
.ig-card.theme-cyan .ig-body h3 { color: #0369a1; }
.ig-card.theme-cyan .ig-feats li::before { background: #00C6FF; }
.ig-card.theme-cyan .ig-buy { background: linear-gradient(90deg, #007BFF, #00E5FF); color: #021018; box-shadow: 0 8px 22px rgba(0, 198, 255, 0.28); }
.ig-card.theme-cyan .ig-price-val { color: #0369a1; }
.ig-card.theme-cyan.is-script .ig-seg button[data-mode="source_code"][aria-selected="true"] { background: linear-gradient(90deg, #007BFF, #00E5FF); color: #021018; }

.ig-card.theme-red::before { background: linear-gradient(90deg, #FF1744, #E91E63); }
.ig-card.theme-red { border-color: rgba(255, 23, 68, 0.35); }
.ig-card.theme-red .ig-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 40px rgba(255, 45, 85, 0.16); }
.ig-card.theme-red .ig-body h3 { color: #be123c; }
.ig-card.theme-red .ig-feats li::before { background: #FF1744; }
.ig-card.theme-red .ig-buy { background: linear-gradient(90deg, #FF1744, #E91E63); box-shadow: 0 8px 22px rgba(255, 23, 68, 0.28); }
.ig-card.theme-red .ig-price-val { color: #be123c; }
.ig-card.theme-red.is-script .ig-seg button[data-mode="source_code"][aria-selected="true"] { background: linear-gradient(90deg, #FF1744, #E91E63); }

.ig-card.theme-green::before { background: linear-gradient(90deg, #00C853, #76FF03); }
.ig-card.theme-green { border-color: rgba(0, 200, 83, 0.38); }
.ig-card.theme-green .ig-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 40px rgba(57, 255, 20, 0.14); }
.ig-card.theme-green .ig-body h3 { color: #15803d; }
.ig-card.theme-green .ig-feats li::before { background: #00C853; }
.ig-card.theme-green .ig-buy { background: linear-gradient(90deg, #00C853, #76FF03); color: #041208; box-shadow: 0 8px 22px rgba(0, 230, 118, 0.28); }
.ig-card.theme-green .ig-price-val { color: #15803d; }
.ig-card.theme-green.is-script .ig-seg button[data-mode="source_code"][aria-selected="true"] { background: linear-gradient(90deg, #00C853, #76FF03); color: #041208; }

.ig-card.theme-orange::before { background: linear-gradient(90deg, #FF6D00, #FFC107); }
.ig-card.theme-orange { border-color: rgba(255, 152, 0, 0.4); }
.ig-card.theme-orange .ig-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 40px rgba(255, 179, 0, 0.16); }
.ig-card.theme-orange .ig-body h3 { color: #c2410c; }
.ig-card.theme-orange .ig-feats li::before { background: #FF6D00; }
.ig-card.theme-orange .ig-buy { background: linear-gradient(90deg, #FF6D00, #FFC107); color: #1a0d00; box-shadow: 0 8px 22px rgba(255, 152, 0, 0.28); }
.ig-card.theme-orange .ig-price-val { color: #c2410c; }
.ig-card.theme-orange.is-script .ig-seg button[data-mode="source_code"][aria-selected="true"] { background: linear-gradient(90deg, #FF6D00, #FFC107); color: #1a0d00; }

.ig-card.is-hot { z-index: 1; }

@media (hover: hover) and (pointer: fine) {
    .ig-card:hover { transform: translateY(-6px); }
    .ig-card:hover .ig-media img { transform: scale(1.06); }
    .ig-card.theme-purple:hover { border-color: #B026FF; box-shadow: 0 18px 44px rgba(139, 0, 255, 0.22); }
    .ig-card.theme-cyan:hover { border-color: #00E5FF; box-shadow: 0 18px 44px rgba(0, 198, 255, 0.2); }
    .ig-card.theme-red:hover { border-color: #FF2D55; box-shadow: 0 18px 44px rgba(255, 45, 85, 0.2); }
    .ig-card.theme-green:hover { border-color: #39FF14; box-shadow: 0 18px 44px rgba(0, 200, 83, 0.2); }
    .ig-card.theme-orange:hover { border-color: #FFB300; box-shadow: 0 18px 44px rgba(255, 152, 0, 0.22); }
    .ig-buy:hover { filter: brightness(1.06); transform: translateY(-1px); }
}
@media (hover: none) {
    .ig-card:active { transform: translateY(-3px); }
    .ig-buy:active { filter: brightness(1.06); }
}

.showcase-bar {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}
.showcase-bar article {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 12px;
}
.showcase-bar b {
    display: block;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f172a;
    margin-bottom: 4px;
}
.showcase-bar span { font-size: 12px; color: #64748b; line-height: 1.4; }

.offer-box .ig-seg { margin: 12px 0 14px; }
.offer-box .ig-buy { margin-top: 12px; }
.pd .offer-box:hover { transform: none; }

@media (max-width: 1180px) {
    .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .showcase-bar { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .showcase-top, .benefit-mini, .ig-grid, .showcase-bar { grid-template-columns: 1fr 1fr; }
    .showcase { padding: 48px 0 24px; }
}
@media (max-width: 560px) {
    .showcase-top, .benefit-mini, .ig-grid, .showcase-bar { grid-template-columns: 1fr; }
    .ig-body h3 { font-size: 16px; }
    .ig-buy { padding: 14px; font-size: 13px; }
    .ig-seg button { font-size: 11px; min-height: 44px; }
    .showcase-lead { max-width: none; }
    .showcase-pitch { padding: 18px 16px 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .ig-card, .ig-media img, .ig-buy { transition: none; }
}
