/* ==========================================================================
   DRS — visual effects layer: typography punch, notch corners, marquees,
   scroll reveals, hover polish, watermarks, steps, toasts.
   ========================================================================== */

/* ---------- Display typography ---------- */
h1, .hero h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.05;
}
.section-head h2, .hero-inner .eyebrow + h1 {
    font-family: var(--font-display);
}
.section-head h2 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
.eyebrow {
    font-family: var(--font-display);
    letter-spacing: 0.12em;
}

/* ---------- Notch (cut corner) treatment ----------
   Applied only to borderless surfaces (solid-fill buttons, images) so the
   diagonal cut never has to fight a border stroke that can't bend with it. */
.notch, .btn-primary, .badge-primary.btn-sm {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.btn-primary.btn-sm { --notch: 8px; }
.btn-primary.btn-lg { --notch: 18px; }

.product-card-media, .cat-tile, .hero-banner img, .bundle-media, .product-hero-media {
    --notch: 18px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
}

/* ---------- Marquee: announcement bar ---------- */
.marquee-bar {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 0;
}
.marquee-bar .marquee-track {
    display: inline-flex;
    animation: marquee-scroll 28s linear infinite;
}
.marquee-bar .marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 40px;
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Marquee: keyword strip under hero ---------- */
.keyword-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    white-space: nowrap;
    padding: 14px 0;
    background: var(--surface);
}
.keyword-strip .marquee-track {
    display: inline-flex;
    animation: marquee-scroll 40s linear infinite;
}
.keyword-strip .marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 36px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}
.keyword-strip .marquee-track span::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--secondary);
    display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
    .marquee-bar .marquee-track, .keyword-strip .marquee-track { animation: none; }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="scale"].is-visible { transform: scale(1); }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="left"].is-visible { transform: none; }

/* ---------- Header scroll state ---------- */
.site-header {
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
    background: rgba(8, 9, 13, 0.96);
    box-shadow: 0 8px 30px rgba(0,0,0,0.45);
}

/* ---------- Nav link underline ---------- */
.nav-links a {
    position: relative;
    transition: color .15s ease;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: -4px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: right .25s var(--ease-out);
}
.nav-links a:hover::after { right: 0; }

/* ---------- Buttons: shine + press ---------- */
.btn { position: relative; overflow: hidden; transition: transform .15s var(--ease-out), filter .15s ease, box-shadow .2s ease; }
.btn::before {
    content: "";
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
    pointer-events: none;
}
.btn:hover::before { left: 130%; }
.btn-primary:hover { box-shadow: var(--shadow-glow-lg); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.98); }

/* ---------- Cards & product cards: lift + glow + image zoom ---------- */
.card, .product-card {
    transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
}
.card-hover:hover, .product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: var(--shadow-glow-lg);
}
.product-card-media { overflow: hidden; position: relative; }
.product-card-media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(8,9,13,0.55) 100%);
    opacity: 0;
    transition: opacity .3s ease;
}
.product-card:hover .product-card-media::after { opacity: 1; }
.product-card-media img {
    transition: transform .5s var(--ease-out);
}
.product-card:hover .product-card-media img { transform: scale(1.08); }
.product-card-footer .btn-ghost {
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.product-card:hover .product-card-footer .btn-ghost {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ---------- Product hero media (product show page) ---------- */
.product-hero-media {
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-glow-lg);
}
.product-hero-media img {
    transition: transform .6s var(--ease-out);
}
.product-hero-media:hover img { transform: scale(1.04); }

/* ---------- Buy box (product show page) ---------- */
.buybox-trust {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.buybox-trust-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--muted);
}
.buybox-trust-item::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 999px;
    background: var(--secondary);
    box-shadow: 0 0 10px 2px rgba(139,92,246,0.55);
    flex-shrink: 0;
}
.buybox-trust-item strong { color: var(--text); }

/* ---------- Trust strip (homepage, compact) ---------- */
.trust-strip {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}
.trust-strip-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 32px;
}
.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--muted);
}
.trust-strip-item::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 999px;
    background: var(--secondary);
    box-shadow: 0 0 10px 2px rgba(139,92,246,0.55);
    flex-shrink: 0;
}

/* ---------- Category tiles ---------- */
.cat-tile {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 180px;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    border: 1px solid var(--border);
    isolation: isolate;
}
.cat-tile::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(120% 120% at 20% 0%, rgba(99,102,241,0.35), transparent 60%),
                linear-gradient(180deg, rgba(8,9,13,0.2), rgba(8,9,13,0.92));
    z-index: -1;
    transition: transform .4s var(--ease-out);
}
.cat-tile::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.05));
    z-index: -2;
}
.cat-tile:hover::before { transform: scale(1.08); }
.cat-tile h3 {
    font-family: var(--font-display);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    font-size: 1.4rem;
}
.cat-tile p { font-size: 0.85rem; margin-top: 4px; }

/* ---------- Watermark background text ---------- */
.bg-watermark {
    position: absolute;
    z-index: 0;
    font-family: var(--font-display);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    font-size: clamp(4rem, 14vw, 11rem);
    color: transparent;
    -webkit-text-stroke: 1px rgba(148, 163, 184, 0.14);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1;
}
.watermark-host { position: relative; overflow: hidden; }
.watermark-host > .container { position: relative; z-index: 1; }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.step { position: relative; padding-top: 44px; }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--primary);
    border-radius: 999px;
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9rem;
    background: rgba(99,102,241,0.08);
}
.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px; left: 52px; right: -20px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
}
.step h4 { margin: 14px 0 6px; font-size: 1rem; }
.step p { font-size: 0.88rem; }

/* ---------- Toast polish ---------- */
.toast {
    animation: toast-in .35s var(--ease-out);
    border-left: 3px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.toast.toast-success { border-left-color: var(--success); }
.toast.toast-error { border-left-color: var(--danger); }
@keyframes toast-in {
    from { opacity: 0; transform: translateY(10px) scale(0.96); }
    to { opacity: 1; transform: none; }
}
.toast.is-leaving { animation: toast-out .25s ease forwards; }
@keyframes toast-out {
    to { opacity: 0; transform: translateY(6px) scale(0.98); }
}

/* ---------- Cart icon bump ---------- */
.cart-btn.is-bumping { animation: cart-bump .4s var(--ease-out); }
@keyframes cart-bump {
    0% { transform: scale(1); }
    35% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

/* ---------- Hero polish ---------- */
.hero { overflow: hidden; }
.hero-inner .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.hero-inner .eyebrow::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 999px;
    background: var(--secondary);
    box-shadow: 0 0 12px 2px rgba(139,92,246,0.7);
    animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
.hero-banner { position: relative; }
.hero-banner-animate {
    animation: hero-banner-in .9s var(--ease-out) both;
    animation-delay: .15s;
}
@keyframes hero-banner-in {
    from { opacity: 0; transform: scale(0.96) translateY(16px); }
    to { opacity: 1; transform: none; }
}
.hero-inner { animation: hero-text-in .7s var(--ease-out) both; }
@keyframes hero-text-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
.hero-banner::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: calc(var(--radius-lg) + 2px);
    opacity: 0.5;
    filter: blur(18px);
    z-index: -1;
}

/* ---------- Price pop ---------- */
.price { position: relative; }

/* ---------- Dashboard ---------- */
.dash-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: flex-start;
}
.dash-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    position: sticky;
    top: 88px;
}
.dash-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background .15s ease, color .15s ease;
}
.dash-link-icon { width: 17px; height: 17px; flex-shrink: 0; opacity: .85; }
.dash-link:hover { color: var(--text); background: var(--surface-2); }
.dash-link.is-active { color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.dash-link.is-active .dash-link-icon { opacity: 1; }
.dash-sidebar-sep { height: 1px; background: var(--border); margin: 8px 4px; }
.dash-link-logout { color: var(--danger); }
.dash-link-logout:hover { background: rgba(239,68,68,0.1); color: var(--danger); }
.dash-content h1 { font-size: 1.7rem; margin-bottom: 4px; }

@media (max-width: 780px) {
    .dash-layout { grid-template-columns: 1fr; }
    .dash-sidebar { position: static; flex-direction: row; overflow-x: auto; }
    .dash-link { white-space: nowrap; }
}

/* ---------- Dashboard welcome banner ---------- */
.dash-welcome {
    position: relative;
    overflow: hidden;
    padding: 28px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background:
        radial-gradient(120% 160% at 100% 0%, rgba(139,92,246,0.22), transparent 60%),
        linear-gradient(135deg, var(--surface), var(--surface-2));
}
.dash-welcome h1 { margin: 0; }
.dash-welcome p { color: var(--muted); margin-top: 6px; }
.dash-welcome-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* ---------- Dashboard stat cards ---------- */
.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.dash-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
}
.dash-stat-icon {
    width: 46px; height: 46px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
}
.dash-stat-icon svg { width: 22px; height: 22px; }
.dash-stat--primary .dash-stat-icon { background: rgba(99,102,241,0.16); color: var(--primary); }
.dash-stat--warning .dash-stat-icon { background: rgba(245,158,11,0.16); color: var(--warning); }
.dash-stat--success .dash-stat-icon { background: rgba(34,197,94,0.16); color: var(--success); }
.dash-stat-label { font-size: 0.82rem; color: var(--muted); }
.dash-stat-value { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; line-height: 1.1; margin-top: 2px; }

/* ---------- Dashboard recent-licenses list ---------- */
.dash-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 4px;
    border-bottom: 1px solid var(--border);
    transition: background .15s ease;
}
.dash-list-item:last-child { border-bottom: 0; }
.dash-list-item:hover { background: var(--surface-2); border-radius: var(--radius-sm); }
.dash-list-icon {
    width: 36px; height: 36px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: rgba(99,102,241,0.14);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
}
.dash-list-icon svg { width: 18px; height: 18px; }
.dash-list-name { font-weight: 600; flex: 1; }

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

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { transition: none; opacity: 1; transform: none; }
    .card, .product-card, .btn, .cat-tile::before { transition: none; }
    .hero-banner-animate, .hero-inner { animation: none; opacity: 1; }
}

/* ==========================================================================
   Homepage (Quasar-style): split hero, best-sellers carousel,
   alternating feature blocks, launch promo modal
   ========================================================================== */
.text-gradient {
    background: linear-gradient(100deg, #818CF8 0%, var(--secondary) 55%, #C084FC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-right: .08em; /* italic overhang */
}

/* ---------- Split hero ---------- */
.hero-split { padding: clamp(56px, 9vh, 110px) 0 clamp(48px, 8vh, 90px); border-bottom: 0; min-height: min(86vh, 820px); display: flex; align-items: center; }
.hero-split::before { display: none; }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.hero-split .hero-inner { max-width: 600px; }
.hero-title { font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: .98; margin: 14px 0 0; }
.hero-title span { display: block; animation: hero-line-in .8s var(--ease-out) both; }
.hero-title span:nth-child(2) { animation-delay: .08s; }
.hero-title span:nth-child(3) { animation-delay: .16s; }
@keyframes hero-line-in {
    from { opacity: 0; transform: translateY(24px) skewY(2deg); }
    to   { opacity: 1; transform: none; }
}
.hero-split p.lead { margin: 22px 0 30px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 30px; list-style: none; padding: 0; }
.hero-pills li { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.hero-pills li::before { content: ""; width: 6px; height: 6px; background: var(--primary); transform: rotate(45deg); box-shadow: 0 0 10px var(--primary); }

.hero-art {
    position: relative;
    animation: hero-banner-in 1s var(--ease-out) .2s both;
    will-change: transform;
}
.hero-art-frame {
    position: relative;
    --notch: 28px;
    clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch));
    background: linear-gradient(135deg, rgba(99,102,241,.55), rgba(139,92,246,.25));
    padding: 2px;
    animation: hero-float 7s ease-in-out infinite;
}
.hero-art-frame img {
    display: block; width: 100%; height: auto;
    clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch));
}
.hero-art-frame::after {
    /* light sweep */
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.14) 50%, transparent 65%);
    transform: translateX(-100%);
    animation: hero-sweep 6s ease-in-out 1.2s infinite;
    pointer-events: none;
}
.hero-art-glow {
    position: absolute; inset: 8% 6%;
    background: radial-gradient(closest-side, rgba(99,102,241,.55), rgba(139,92,246,.25) 60%, transparent);
    filter: blur(40px);
    z-index: -1;
    animation: pulse-glow 5s ease-in-out infinite;
}
.hero-art-corner { position: absolute; width: 38px; height: 38px; border: 2px solid var(--secondary); pointer-events: none; }
.hero-art-corner-tl { top: -12px; left: -12px; border-right: 0; border-bottom: 0; }
.hero-art-corner-br { bottom: -12px; right: -12px; border-left: 0; border-top: 0; }
@keyframes hero-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hero-sweep { 0% { transform: translateX(-100%); } 35%,100% { transform: translateX(100%); } }
@keyframes pulse-glow { 0%,100% { opacity: .75; } 50% { opacity: 1; } }

/* ---------- Section head with side controls ---------- */
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 20px) / 4);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 6px 2px 10px;
    overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { scroll-snap-align: start; min-width: 0; }
.carousel-slide > .product-card { height: 100%; }
.carousel-nav { display: flex; gap: 10px; flex-shrink: 0; }
.carousel-arrow {
    width: 46px; height: 46px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(16,18,24,.7);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .2s var(--ease-out), opacity .2s;
    backdrop-filter: blur(8px);
}
.carousel-arrow:hover:not(:disabled) { border-color: var(--primary); background: rgba(99,102,241,.18); transform: translateY(-2px); }
.carousel-arrow:disabled { opacity: .35; cursor: default; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.carousel-dot {
    width: 10px; height: 4px; padding: 0; border: 0;
    background: var(--border); cursor: pointer;
    transition: width .3s var(--ease-out), background .3s;
}
.carousel-dot.is-active { width: 34px; background: linear-gradient(90deg, var(--primary), var(--secondary)); }

/* ---------- Alternating feature blocks ---------- */
.feature-block { position: relative; }
.feature-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
}
.feature-row-reverse > :first-child { order: 2; }
.feature-title { font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.02; margin: 10px 0 16px; }
.feature-copy > p { font-size: 1.05rem; }
.feature-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.feature-list li { position: relative; padding-left: 26px; color: var(--muted); line-height: 1.5; }
.feature-list li strong { color: var(--text); }
.feature-list li::before {
    content: ""; position: absolute; left: 2px; top: .5em;
    width: 9px; height: 9px; transform: rotate(45deg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.feature-media {
    position: relative; display: block;
    aspect-ratio: 16 / 10;
    background: rgba(16,18,24,.6);
    overflow: hidden;
    --notch: 22px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
a.feature-media:hover img { transform: scale(1.05); }
.feature-media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent 55%, rgba(8,9,13,.55));
}
.feature-media-logo {
    aspect-ratio: 1 / 1; max-width: 440px; justify-self: center; width: 100%;
    background: radial-gradient(closest-side, rgba(99,102,241,.35), transparent 75%);
    clip-path: none;
    overflow: visible;
}
.feature-media-logo::after { display: none; }
.feature-media-logo img { object-fit: contain; filter: drop-shadow(0 20px 50px rgba(99,102,241,.45)); animation: hero-float 8s ease-in-out infinite; }
.feature-product {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 16px 18px; margin-bottom: 24px;
    border: 1px solid var(--border); border-left: 3px solid var(--primary);
    background: rgba(16,18,24,.65); backdrop-filter: blur(8px);
}
.feature-product h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature-product p { font-size: .88rem; margin: 0; }
.feature-product .price { font-size: 1.3rem; white-space: nowrap; }

/* Code window mock */
.feature-code { aspect-ratio: auto; background: none; clip-path: none; overflow: visible; }
.feature-code::after { display: none; }
.code-window {
    border: 1px solid var(--border);
    background: rgba(12,14,20,.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 80px -30px rgba(99,102,241,.55);
    transform: perspective(1200px) rotateY(8deg) rotateX(3deg);
    transition: transform .6s var(--ease-out);
}
.code-window:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.code-window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.code-window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2A2F3C; }
.code-window-bar span:first-child { background: #F87171; }
.code-window-bar span:nth-child(2) { background: #FBBF24; }
.code-window-bar span:nth-child(3) { background: #34D399; }
.code-window-bar em { margin-left: 10px; font-style: normal; font-size: .8rem; color: var(--muted); }
.code-window pre { margin: 0; padding: 20px 22px; overflow-x: auto; font: 500 .88rem/1.7 ui-monospace, "JetBrains Mono", Consolas, monospace; color: #CBD5E1; }
.code-window i { font-style: normal; color: #A5B4FC; }
.code-window b { font-weight: 500; color: #86EFAC; }
.code-window s { text-decoration: none; color: #F9A8D4; }
.code-window u { text-decoration: none; color: #64748B; }

/* CTA panel */
.cta-panel {
    padding: clamp(40px, 6vw, 72px) 24px;
    border: 1px solid var(--border);
    background: radial-gradient(80% 120% at 50% 0%, rgba(99,102,241,.22), transparent 70%), rgba(12,14,20,.6);
    backdrop-filter: blur(6px);
}

/* Footer: same glow panel treatment as the CTA, full width */
.site-footer {
    position: relative;
    border-top: 0;
    background:
        radial-gradient(60% 140px at 50% 0%, rgba(99,102,241,.22), transparent 100%),
        radial-gradient(40% 60% at 100% 100%, rgba(139,92,246,.10), transparent 70%),
        rgba(10,11,16,.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.site-footer::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,.7) 30%, rgba(139,92,246,.7) 70%, transparent);
}
.site-footer .footer-bottom { width: min(100% - 32px, var(--container)); margin-inline: auto; }

/* ---------- Launch promo modal ---------- */
.promo-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.promo-modal[hidden] { display: none; }
.promo-backdrop { position: absolute; inset: 0; background: rgba(4,5,8,.72); backdrop-filter: blur(10px); animation: promo-fade .3s ease both; }
.promo-dialog {
    position: relative;
    width: min(620px, 100%);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 26px;
    background: linear-gradient(180deg, rgba(22,25,35,.97), rgba(12,14,20,.97));
    box-shadow: inset 0 0 0 1px rgba(99,102,241,.45);
    --notch: 22px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
    animation: promo-in .45s var(--ease-out) both;
}
.promo-modal.is-closing .promo-dialog { animation: promo-out .25s ease both; }
.promo-modal.is-closing .promo-backdrop { animation: promo-fade .25s ease reverse both; }
.promo-x {
    position: absolute; top: 16px; right: 16px;
    width: 34px; height: 34px;
    border: 1px solid var(--border); background: transparent; color: var(--muted);
    font-size: 1.3rem; line-height: 1; cursor: pointer;
    transition: color .2s, border-color .2s;
}
.promo-x:hover { color: var(--text); border-color: var(--primary); }
.promo-title { font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.35rem, 3vw, 1.8rem); margin: 12px 40px 8px 0; line-height: 1.1; }
.promo-media { margin: 18px 0 22px; aspect-ratio: 16 / 9; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.promo-media:empty { display: none; }
.promo-media iframe, .promo-media img { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.promo-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
body.has-modal { overflow: hidden; }
@keyframes promo-in { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes promo-out { to { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes promo-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Homepage responsive ---------- */
@media (max-width: 1100px) {
    .carousel-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
}
@media (max-width: 960px) {
    .hero-split { min-height: 0; }
    .hero-grid, .feature-row { grid-template-columns: 1fr; }
    .feature-row-reverse > :first-child { order: 0; }
    .hero-art { max-width: 640px; }
    .feature-media-logo { max-width: 300px; }
    .code-window { transform: none; }
}
@media (max-width: 760px) {
    .carousel-track { grid-auto-columns: calc((100% - 16px) / 1.3); gap: 16px; }
    .section-head-row { align-items: flex-start; flex-direction: column; }
    .carousel-nav { display: none; }
    .promo-dialog { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-title span, .hero-art, .hero-art-frame, .hero-art-frame::after, .hero-art-glow,
    .feature-media-logo img, .promo-dialog, .promo-backdrop { animation: none !important; }
}

/* ==========================================================================
   Support tickets (customer dashboard + admin)
   ========================================================================== */
.dash-page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.dash-page-head p { margin-top: 4px; }
.ticket-back { display: inline-block; color: var(--muted); font-size: .9rem; margin-bottom: 12px; transition: color .2s; }
.ticket-back:hover { color: var(--text); }
.ticket-title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); word-break: break-word; }
.ticket-empty { text-align: center; padding: 40px 24px; }

.ticket-list { display: grid; gap: 10px; }
.ticket-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: rgba(16,18,24,.7);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
    transition: border-color .2s, transform .2s var(--ease-out), background .2s;
}
.ticket-row:hover { border-color: rgba(99,102,241,.55); background: rgba(22,25,35,.8); transform: translateX(3px); }
.ticket-id { color: var(--muted); font-weight: 700; font-size: .9rem; }
.ticket-subject { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-meta { color: var(--muted); font-size: .82rem; white-space: nowrap; }

.ticket-status {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px;
    font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    border: 1px solid var(--border); white-space: nowrap;
}
.ticket-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ticket-status-open { color: #FBBF24; border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.08); }
.ticket-status-answered { color: #7FE3A6; border-color: rgba(34,197,94,.35); background: rgba(34,197,94,.08); }
.ticket-status-closed { color: var(--muted); }

.ticket-thread { display: grid; gap: 14px; }
.ticket-msg {
    max-width: 82%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    background: rgba(16,18,24,.75);
    backdrop-filter: blur(8px);
}
.ticket-msg.is-user { justify-self: end; border-color: rgba(99,102,241,.35); background: rgba(99,102,241,.10); }
.ticket-msg.is-staff { justify-self: start; border-left: 3px solid var(--secondary); }
.ticket-msg-head { display: flex; justify-content: space-between; gap: 16px; font-size: .82rem; margin-bottom: 8px; }
.ticket-msg-head span { color: var(--muted); }
.ticket-msg-body { line-height: 1.6; word-break: break-word; }

.ticket-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ticket-actions .btn:only-child { margin-left: auto; }
.ticket-close-form { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.ticket-status-form { display: flex; align-items: center; gap: 10px; }
.ticket-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

textarea { width: 100%; resize: vertical; min-height: 110px; line-height: 1.5; }

@media (max-width: 640px) {
    .ticket-row { grid-template-columns: minmax(0, 1fr) auto; }
    .ticket-id, .ticket-meta { display: none; }
    .ticket-msg { max-width: 100%; }
}

/* ==========================================================================
   Reviews: star meter, rating input, product reviews tab
   ========================================================================== */
.stars {
    --rating: 0;
    --star-fill: #FBBF24;
    display: inline-block;
    position: relative;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 2px;
    vertical-align: middle;
}
.stars::before {
    content: "★★★★★";
    background: linear-gradient(90deg, var(--star-fill) calc(var(--rating) / 5 * 100%), rgba(148,163,184,.3) calc(var(--rating) / 5 * 100%));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rating-summary { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: .92rem; color: var(--muted); }
.rating-summary strong { color: var(--text); }
.rating-summary:hover span { color: var(--text); text-decoration: underline; }
.product-card-rating { display: flex; align-items: center; gap: 6px; margin: -2px 0 6px; font-size: .8rem; }
.product-card-rating .stars { font-size: .82rem; letter-spacing: 1px; }

.reviews-layout { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 24px; align-items: start; }
.reviews-summary { text-align: center; position: sticky; top: 96px; }
.reviews-average { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 3.2rem; line-height: 1; margin-bottom: 6px; }
.reviews-summary > .stars { font-size: 1.3rem; }
.reviews-summary > p { margin-top: 6px; }
.review-form-wrap { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); text-align: left; }
.review-form { display: grid; gap: 12px; }
.review-form-title { font-weight: 700; color: var(--text); }
.review-note { font-size: .9rem; }
.review-note a { color: var(--primary); font-weight: 600; }
.review-note-pending { color: #FBBF24; margin-bottom: 12px; }

.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.star-input label { font-size: 1.9rem; line-height: 1; color: rgba(148,163,184,.35); cursor: pointer; transition: color .15s, transform .15s var(--ease-out); }
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label { color: #FBBF24; }
.star-input label:hover { transform: scale(1.15); }
.star-input input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; }

.reviews-list { display: grid; gap: 14px; }
.review-item { padding: 18px; border: 1px solid var(--border); background: rgba(16,18,24,.7); backdrop-filter: blur(8px); }
.review-item header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.review-item p { color: var(--text); opacity: .9; }
.review-date { margin-left: auto; color: var(--muted); font-size: .82rem; }
.review-verified { display: inline-block; margin-top: 10px; font-size: .75rem; font-weight: 700; color: #7FE3A6; text-transform: uppercase; letter-spacing: .05em; }
.review-empty { padding: 24px; border: 1px dashed var(--border); text-align: center; }
.review-admin-actions { display: flex; gap: 6px; }

@media (max-width: 860px) {
    .reviews-layout { grid-template-columns: 1fr; }
    .reviews-summary { position: static; }
}

/* ==========================================================================
   Account page + password recovery
   ========================================================================== */
.account-warning {
    display: block;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(251,191,36,.35);
    border-left: 3px solid #FBBF24;
    background: rgba(251,191,36,.08);
    color: #FDE68A;
    font-size: .92rem;
    font-weight: 600;
}
a.account-warning:hover { background: rgba(251,191,36,.14); }
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; align-items: start; }
.account-grid h3 { margin-bottom: 16px; }
.account-facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; }
.account-facts dt { color: var(--muted); font-size: .88rem; }
.account-facts dd { margin: 0; font-weight: 600; word-break: break-word; }
.account-grid label small { color: var(--muted); font-weight: 400; }
.forgot-link { justify-self: end; font-size: .85rem; color: var(--muted); transition: color .2s; }
.forgot-link:hover { color: var(--primary); }

/* ==========================================================================
   Password recovery pages
   ========================================================================== */
.recovery-card {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
    padding: 40px 36px 32px;
    text-align: center;
    background: linear-gradient(180deg, rgba(22,25,35,.92), rgba(12,14,20,.92));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}
.recovery-card::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.recovery-card::after {
    content: "";
    position: absolute; top: -120px; left: 50%; width: 320px; height: 240px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(99,102,241,.28), transparent);
    pointer-events: none;
}
.recovery-card > * { position: relative; z-index: 1; }

.recovery-icon {
    width: 72px; height: 72px;
    margin: 0 auto 22px;
    display: grid; place-items: center;
    border-radius: 50%;
    color: #C7CAFF;
    background: radial-gradient(circle at 30% 25%, rgba(139,92,246,.45), rgba(99,102,241,.18) 70%);
    box-shadow: 0 0 0 1px rgba(139,92,246,.45), 0 0 40px -6px rgba(99,102,241,.7);
    animation: recovery-pop .6s var(--ease-out) both, recovery-glow 3.2s ease-in-out .6s infinite;
}
.recovery-icon svg { width: 32px; height: 32px; }
@keyframes recovery-pop { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes recovery-glow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(139,92,246,.45), 0 0 40px -6px rgba(99,102,241,.7); }
    50%      { box-shadow: 0 0 0 1px rgba(139,92,246,.7), 0 0 56px -2px rgba(99,102,241,.9); }
}

.recovery-steps {
    list-style: none; padding: 0; margin: 0 0 26px;
    display: flex; justify-content: center; align-items: flex-start; gap: 0;
    counter-reset: none;
}
.recovery-steps li { position: relative; flex: 1; max-width: 110px; display: grid; justify-items: center; gap: 6px; }
.recovery-steps li + li::before {
    content: "";
    position: absolute; top: 13px; left: calc(-50% + 16px); width: calc(100% - 32px); height: 2px;
    background: var(--border);
}
.recovery-steps li.is-done + li::before,
.recovery-steps li.is-current::before { background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.recovery-step-dot {
    width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: .78rem; font-weight: 800;
    border: 2px solid var(--border); color: var(--muted);
    background: var(--bg);
    transition: all .3s var(--ease-out);
}
.recovery-steps .is-done .recovery-step-dot { border-color: transparent; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }
.recovery-steps .is-current .recovery-step-dot { border-color: var(--secondary); color: #fff; box-shadow: 0 0 0 4px rgba(139,92,246,.18); }
.recovery-step-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.recovery-steps .is-current .recovery-step-label { color: var(--text); }

.recovery-title { font-size: clamp(1.5rem, 4vw, 1.9rem); margin-bottom: 10px; }
.recovery-sub { margin: 0 auto 26px; max-width: 360px; }
.recovery-email { color: var(--text); white-space: nowrap; }
.recovery-form { text-align: left; }
.recovery-form .btn-lg { margin-top: 6px; }
.recovery-foot { margin-top: 22px; font-size: .9rem; }
.recovery-foot a { color: var(--muted); transition: color .2s; }
.recovery-foot a:hover { color: var(--text); }

.recovery-tips { list-style: none; padding: 16px 18px; margin: 0 0 20px; text-align: left; display: grid; gap: 10px; border: 1px solid var(--border); background: rgba(8,9,13,.45); }
.recovery-tips li { position: relative; padding-left: 22px; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.recovery-tips li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 7px; height: 7px; transform: rotate(45deg); background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.recovery-resend { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.recovery-resend .btn:disabled { opacity: .55; cursor: default; }

/* Inputs with a leading icon (and optional trailing toggle) */
.input-icon { position: relative; }
.input-icon > svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; transition: color .2s; }
.input-icon input { width: 100%; padding-left: 44px; transition: border-color .2s, box-shadow .2s; }
.input-icon input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,.22); }
.input-icon:focus-within > svg { color: var(--primary); }
.input-password input { padding-right: 46px; }
.pw-toggle {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; display: grid; place-items: center;
    background: none; border: 0; color: var(--muted); cursor: pointer; border-radius: 8px;
    transition: color .2s, background .2s;
}
.pw-toggle svg { width: 18px; height: 18px; }
.pw-toggle:hover { color: var(--text); background: rgba(255,255,255,.05); }
.pw-toggle.is-on { color: var(--primary); }

/* Strength meter */
.pw-meter { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; margin-top: 4px; }
.pw-meter-bar { height: 4px; background: var(--border); overflow: hidden; border-radius: 4px; }
.pw-meter-bar span { display: block; height: 100%; width: 0; background: #EF4444; transition: width .35s var(--ease-out), background .35s; }
.pw-meter[data-score="1"] .pw-meter-bar span { width: 25%; background: #EF4444; }
.pw-meter[data-score="2"] .pw-meter-bar span { width: 50%; background: #F59E0B; }
.pw-meter[data-score="3"] .pw-meter-bar span { width: 75%; background: #84CC16; }
.pw-meter[data-score="4"] .pw-meter-bar span { width: 100%; background: #22C55E; }
.pw-meter-label { font-size: .78rem; font-weight: 700; color: var(--muted); min-width: 52px; text-align: right; }
.pw-rules { grid-column: 1 / -1; list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.pw-rules li { font-size: .8rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.pw-rules li::before { content: "○"; font-size: .8rem; }
.pw-rules li.is-ok { color: #7FE3A6; }
.pw-rules li.is-ok::before { content: "●"; }
.pw-match { min-height: 1.2em; margin: 2px 0 0; font-size: .82rem; }
.pw-match.is-ok { color: #7FE3A6; }
.pw-match.is-bad { color: #FCA5A5; }

/* Loading state for submit-once forms */
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading::after {
    content: ""; width: 14px; height: 14px; margin-left: 10px;
    border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%;
    display: inline-block; vertical-align: -2px;
    animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

@media (max-width: 480px) {
    .recovery-card { padding: 32px 20px 24px; }
    .recovery-step-label { font-size: .64rem; }
}
@media (prefers-reduced-motion: reduce) {
    .recovery-icon { animation: none; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testimonial {
    position: relative;
    margin: 0;
    padding: 26px 24px 22px;
    display: flex; flex-direction: column; gap: 16px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(22,25,35,.8), rgba(12,14,20,.8));
    backdrop-filter: blur(8px);
    transition: transform .35s var(--ease-out), border-color .3s, box-shadow .3s;
}
.testimonial::before {
    content: "\201C";
    position: absolute; top: 6px; right: 18px;
    font-family: Georgia, serif; font-size: 5rem; line-height: 1;
    color: rgba(139,92,246,.22);
    pointer-events: none;
}
.testimonial:hover { transform: translateY(-5px); border-color: rgba(139,92,246,.45); box-shadow: var(--shadow-glow-lg); }
.testimonial .stars { font-size: 1.05rem; }
.testimonial blockquote { margin: 0; flex: 1; color: var(--text); opacity: .92; line-height: 1.65; font-size: .95rem; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.testimonial-avatar {
    width: 40px; height: 40px; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 50%;
    font-weight: 800; color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.testimonial figcaption strong { display: block; font-size: .95rem; }
.testimonial figcaption small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }

/* ==========================================================================
   Tebex checkout
   ========================================================================== */
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: flex-start; margin-top: 20px; }
.tebex-steps ol { list-style: none; counter-reset: tebex; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; }
.tebex-steps li { counter-increment: tebex; position: relative; padding-left: 44px; display: grid; gap: 2px; }
.tebex-steps li::before {
    content: counter(tebex);
    position: absolute; left: 0; top: 0;
    width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 800; font-size: .85rem; color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.tebex-steps li span { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.tebex-secure { margin-top: 12px; text-align: center; font-size: .82rem; color: var(--muted); }
.tebex-tax-note { margin-top: 12px; font-size: .8rem; color: var(--muted); }
.tebex-delivery {
    margin: 22px 0 0; padding: 16px 18px; text-align: left;
    border: 1px solid rgba(99,102,241,.35); border-left: 3px solid var(--primary);
    background: rgba(99,102,241,.08);
}
.tebex-delivery p { margin: 6px 0 12px; font-size: .9rem; }
.tebex-checking { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.tebex-checking.is-stopped .tebex-spinner { display: none; }
.tebex-spinner { width: 16px; height: 16px; border: 2px solid rgba(139,92,246,.3); border-top-color: var(--secondary); border-radius: 50%; animation: btn-spin .8s linear infinite; }
@media (max-width: 860px) {
    .checkout-grid { grid-template-columns: 1fr; }
}

/* Checkout coupon field */
.coupon-field { display: flex; gap: 10px; }
.coupon-field input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; transition: border-color .2s, box-shadow .2s, background .2s; }
.coupon-field input::placeholder { text-transform: none; letter-spacing: normal; font-weight: 400; }
.coupon-field.is-applied input { border-color: rgba(34,197,94,.6); background: rgba(34,197,94,.08); box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.coupon-field .btn { flex-shrink: 0; }
.coupon-status { min-height: 1.3em; margin: 10px 0 0; font-size: .88rem; }
.coupon-status.is-checking { color: var(--muted); }
.coupon-status.is-ok { color: #7FE3A6; }
.coupon-status.is-bad { color: #FCA5A5; }

/* Redeem code */
.redeem-link { margin-top: 14px; text-align: center; font-size: .88rem; }
.redeem-link a { color: var(--muted); transition: color .2s; }
.redeem-link a:hover { color: var(--primary); }
.redeem-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
.redeem-input { width: 100%; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: 1.05rem; text-align: center; }
.redeem-input::placeholder { letter-spacing: .12em; font-weight: 500; opacity: .45; }
@media (max-width: 860px) {
    .redeem-grid { grid-template-columns: 1fr; }
}

/* Discord link card */
.discord-card h3 { display: flex; align-items: center; gap: 10px; }
.discord-logo { width: 22px; height: 22px; color: #5865F2; }
.discord-help { font-size: .9rem; margin-bottom: 16px; }
.discord-status.is-linked { color: #7FE3A6; margin-bottom: 6px; }
.btn-discord { background: #5865F2; color: #fff; border-color: transparent; }
.btn-discord:hover { background: #4752C4; box-shadow: 0 10px 30px -10px rgba(88,101,242,.7); transform: translateY(-1px); }
