/* ═══════════════════════════════════════════════════════════════════════════
   LUMEN PRO V1 — Page-level component patterns
   Shared across index.php, free-tools.php, checkout.php, orders.php,
   profile-architect.php, my-tools.php, my-tool-view.php.

   Drop-in: depends on tokens.css + components.css being loaded first.
   Naming uses the .v1- prefix so it never collides with legacy .lp-* / .pa-*
   selectors from app.css.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Page wrap ──────────────────────────────────────────────────────────── */
.v1-page { max-width: 480px; margin: 0 auto; padding: 8px 18px 24px; }
@media (min-width: 880px) { .v1-page { max-width: 1180px; padding: 12px 32px 60px; } }

/* ─── Pills / eyebrows ──────────────────────────────────────────────────── */
.v1-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: var(--radius-full);
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 11.5px; font-weight: 700;
}
.v1-pill--success { background: var(--success-bg); color: var(--success); border-color: transparent; }
.v1-pill--accent  { background: var(--accent-glow); color: var(--accent); border-color: transparent; }
.v1-pill--warm    { background: var(--amber-glow); color: var(--amber); border-color: transparent; }
.v1-pill--live    { background: var(--success-bg); color: var(--success); border-color: transparent; }
.v1-pill--live::before {
    content:''; width:6px; height:6px; border-radius:50%;
    background: var(--success); animation: v1-pulse-dot 2.2s infinite;
}
@keyframes v1-pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.55); }
    70%      { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}

.v1-eyebrow {
    display: inline-block;
    font-family: var(--font-body); font-weight: 800;
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.14em; color: var(--text-muted);
}

/* ─── Typography ────────────────────────────────────────────────────────── */
.v1-h1 {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(32px, 7vw, 48px); line-height: 1.04;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin: 0;
}
.v1-h2 {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(24px, 5.5vw, 36px); line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin: 0;
}
.v1-h3 {
    font-family: var(--font-display); font-weight: 700;
    font-size: 22px; line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0;
}
.v1-lead {
    font-size: var(--fs-md, 16px);
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}
.v1-grad {
    background: var(--gradient-main);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.v1-num {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* ─── Section heading helper ────────────────────────────────────────────── */
.v1-section-head { margin-bottom: 22px; }
.v1-section-head .v1-eyebrow { margin-bottom: 6px; }
.v1-section-head .v1-h2      { margin: 0 0 6px; font-size: 26px; }
.v1-section-head .v1-lead    { font-size: 13.5px; }
@media (min-width: 880px) {
    .v1-section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
    .v1-section-head .v1-h2 { font-size: 36px; }
    .v1-section-head .v1-lead { font-size: 16px; }
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.v1-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 22px; border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 700; font-size: 14px; letter-spacing: -0.01em;
    border: none; cursor: pointer; text-decoration: none;
    white-space: nowrap;
    transition: transform var(--dur, 220ms) var(--ease, cubic-bezier(.4,0,.2,1)),
                box-shadow var(--dur) var(--ease);
}
.v1-btn:active { transform: translateY(1px); }
.v1-btn--primary {
    background: var(--gradient-cta); color: #fff;
    box-shadow: var(--shadow-cta);
}
.v1-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(124,58,237,0.42), 0 18px 50px rgba(236,72,153,0.24); }
.v1-btn--secondary {
    background: var(--bg-card); color: var(--text-primary);
    border: 1px solid var(--border);
}
.v1-btn--secondary:hover { background: var(--bg-card-hover); }
.v1-btn--full { width: 100%; }
.v1-btn--lg { padding: 16px 28px; font-size: 15px; border-radius: var(--radius-lg); }
.v1-btn--sm { padding: 9px 14px; font-size: 12.5px; border-radius: var(--radius-sm); gap: 6px; }
.v1-btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* Animated CTA — gradient pan + slow shine sweep (Google Ads policy-safe) */
.v1-btn--anim {
    position: relative; overflow: hidden; isolation: isolate;
    background: linear-gradient(120deg, #7C3AED 0%, #EC4899 35%, #F59E0B 65%, #EC4899 100%);
    background-size: 220% 100%;
    animation: v1-cta-shift 7s ease-in-out infinite;
}
.v1-btn--anim > * { position: relative; z-index: 1; }
.v1-btn--anim::after {
    content:''; position: absolute; top: 0; left: 0; bottom: 0;
    width: 60%;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.32) 50%, transparent 100%);
    transform: translateX(-160%); pointer-events: none;
    animation: v1-cta-shine 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-delay: 1.8s;
}
@keyframes v1-cta-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
@keyframes v1-cta-shine {
    0%, 60%, 100% { transform: translateX(-160%); }
    30%           { transform: translateX(280%); }
}
@media (prefers-reduced-motion: reduce) {
    .v1-btn--anim { animation: none; background-position: 0% 50%; }
    .v1-btn--anim::after { animation: none; display: none; }
}

/* ─── Spinner ────────────────────────────────────────────────────────────── */
.v1-spinner {
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
    border-radius: 50%; animation: v1-spin .7s linear infinite;
    display: inline-block;
}
@keyframes v1-spin { to { transform: rotate(360deg); } }
.v1-hidden { display: none !important; }

/* ─── Cards (generic) ────────────────────────────────────────────────────── */
.v1-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.v1-card--hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.v1-card--elevated { box-shadow: var(--shadow-lg); }
.v1-card--gradient {
    background: linear-gradient(180deg, var(--bg-card) 0%,
                color-mix(in oklch, var(--bg-card) 88%, var(--accent) 12%) 220%);
    border-color: var(--accent-glow);
}

/* ─── Aurora background helper ──────────────────────────────────────────── */
.v1-aurora { position: absolute; inset: 0; pointer-events: none; z-index: 0; background: var(--gradient-mesh); }

/* ─── Hero (m-home / d-home) ────────────────────────────────────────────── */
.v1-hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding: 28px 22px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    margin-bottom: 28px;
}
.v1-hero::before {
    content:''; position:absolute; inset:-2px; z-index:-1;
    background:
        radial-gradient(circle at 15% 10%, var(--accent-glow)  0%, transparent 55%),
        radial-gradient(circle at 90% 25%, var(--pink-glow)    0%, transparent 55%),
        radial-gradient(circle at 50% 100%, var(--amber-glow)  0%, transparent 60%);
}
.v1-hero--gradient {
    background: var(--gradient-cta);
    color: #fff;
    box-shadow: var(--shadow-cta);
    border: none;
}
.v1-hero--gradient::before {
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18) 0%, transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(0,0,0,0.18) 0%, transparent 55%);
}
.v1-hero-inner {
    display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center;
}
@media (min-width: 880px) {
    .v1-hero { padding: 56px 44px; }
    .v1-hero-inner { grid-template-columns: 1.1fr 1fr; gap: 48px; }
}

/* ─── Live ticker ────────────────────────────────────────────────────────── */
.v1-ticker {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 12px 7px 9px; border-radius: var(--radius-full);
    background: var(--bg-card); border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    font-size: 12px; font-weight: 600; color: var(--text-secondary);
    max-width: 100%;
}
.v1-ticker-avatar {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--gradient-cta); color: #fff;
    font-weight: 800; font-size: 10px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
}
.v1-ticker-text {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    color: var(--text-secondary);
}
.v1-ticker-text strong { color: var(--text-primary); font-weight: 700; }
.v1-ticker-ago {
    font-family: var(--font-mono); font-variant-numeric: tabular-nums;
    color: var(--text-muted); font-size: 11px;
}

/* ─── Mock IG profile card ──────────────────────────────────────────────── */
.v1-mock {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 18px;
    box-shadow: var(--shadow-md);
}
.v1-mock-head {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 14px;
}
.v1-mock-avatar-ring { position: relative; width: 56px; height: 56px; flex-shrink: 0; }
.v1-mock-avatar {
    position: absolute; inset: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F59E0B 0%, #EC4899 50%, #7C3AED 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 16px;
}
.v1-mock-info { flex: 1; min-width: 0; }
.v1-mock-handle { font-weight: 800; font-size: 14px; color: var(--text-primary); }
.v1-mock-bio   { font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }

/* Bento stats grid */
.v1-bento { display: grid; gap: 8px; }
.v1-bento-2 { grid-template-columns: 1fr 1fr; }
.v1-bento-3 { grid-template-columns: repeat(3, 1fr); }
.v1-bento-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .v1-bento-3, .v1-bento-4 { grid-template-columns: 1fr 1fr; } }

.v1-stat {
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    border: 1px solid var(--border);
}
.v1-stat-label {
    font-size: 9.5px; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.05em;
}
.v1-stat-value {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 800; margin-top: 2px;
    color: var(--text-primary);
}
.v1-stat-delta {
    font-size: 10.5px; font-weight: 700; margin-top: 2px;
    color: var(--success);
}

/* Floating + chart card sub-elements */
.v1-mock-chart {
    margin-top: 14px; padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-input);
}
.v1-mock-chart-head {
    display: flex; justify-content: space-between;
    margin-bottom: 8px;
    font-size: 11px; font-weight: 700;
    color: var(--text-secondary);
}
.v1-mock-chart-up { color: var(--success); font-family: var(--font-mono); font-weight: 800; }
.v1-mock-chart svg { width: 100%; height: 50px; display: block; }

.v1-floatnote {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700;
    animation: v1-floatin 0.7s var(--ease-out, cubic-bezier(0.16,1,0.3,1)) backwards;
}
@keyframes v1-floatin {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.v1-floatnote--success {
    background: var(--success); color: #fff; border-color: transparent;
    box-shadow: 0 6px 16px rgba(16,185,129,0.32);
}

/* ─── Service tile (used on home + free-tools) ──────────────────────────── */
.v1-svc-tile {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-decoration: none; color: inherit;
    width: 100%;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.v1-svc-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.v1-svc-tile-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.v1-svc-tile-icon svg { width: 24px; height: 24px; }
.v1-svc-tile-icon.f { background: rgba(99,102,241,0.14);  color: var(--svc-followers); }
.v1-svc-tile-icon.l { background: rgba(236,72,153,0.14);  color: var(--svc-likes); }
.v1-svc-tile-icon.v { background: rgba(245,158,11,0.14);  color: var(--svc-views); }
.v1-svc-tile-icon.s { background: rgba(139,92,246,0.14);  color: var(--svc-story); }
.v1-svc-tile-icon.a { background: rgba(20,184,166,0.14);  color: var(--svc-ai); }
.v1-svc-tile-body { flex: 1; min-width: 0; }
.v1-svc-tile-title { font-weight: 700; font-size: 15px; color: var(--text-primary); }
.v1-svc-tile-desc  { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.v1-svc-tile-price { text-align: right; flex-shrink: 0; }
.v1-svc-tile-from  { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.v1-svc-tile-num   { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 800; font-size: 16px; color: var(--text-primary); }

/* ─── Service grid (desktop home, services page) ────────────────────────── */
.v1-svc-grid {
    display: grid; gap: 14px;
    grid-template-columns: 1fr;
}
@media (min-width: 720px) { .v1-svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .v1-svc-grid { grid-template-columns: repeat(4, 1fr); } }
.v1-svc-card {
    padding: 26px 22px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    text-decoration: none; color: inherit;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.v1-svc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.v1-svc-card-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.v1-svc-card-icon svg { width: 28px; height: 28px; }
.v1-svc-card-icon.f { background: rgba(99,102,241,0.14); color: var(--svc-followers); }
.v1-svc-card-icon.l { background: rgba(236,72,153,0.14); color: var(--svc-likes); }
.v1-svc-card-icon.v { background: rgba(245,158,11,0.14); color: var(--svc-views); }
.v1-svc-card-icon.a { background: rgba(20,184,166,0.14); color: var(--svc-ai); }
.v1-svc-card-title { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-bottom: 6px; color: var(--text-primary); }
.v1-svc-card-desc  { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.5; }
.v1-svc-card-price { display: flex; align-items: baseline; gap: 6px; }
.v1-svc-card-from  { font-size: 11px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.v1-svc-card-num   { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 28px; font-weight: 800; color: var(--text-primary); }

/* ─── Trust strip (4-col bento) ─────────────────────────────────────────── */
.v1-trust-grid { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 540px) { .v1-trust-grid { grid-template-columns: repeat(2, 1fr); } }
.v1-trust-card {
    text-align: center; padding: 14px 6px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}
.v1-trust-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--accent-glow); color: var(--accent);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 8px;
}
.v1-trust-icon svg { width: 18px; height: 18px; }
.v1-trust-title { font-size: 11px; font-weight: 800; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.2; }
.v1-trust-desc  { font-size: 11px; color: var(--text-muted); margin-top: 4px; line-height: 1.4; }

/* ─── Review card ───────────────────────────────────────────────────────── */
.v1-review {
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.v1-review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.v1-review-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--gradient-cta); color: #fff;
    font-weight: 800; font-size: 13px;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.v1-review-meta { flex: 1; min-width: 0; }
.v1-review-name   { font-weight: 700; font-size: 13px; color: var(--text-primary); }
.v1-review-handle { font-size: 11px; color: var(--text-muted); }
.v1-review-stars  { color: var(--amber); font-size: 12px; letter-spacing: 1px; }
.v1-review-title  { font-family: var(--font-display); font-weight: 800; font-size: 14.5px; margin-bottom: 4px; color: var(--text-primary); }
.v1-review-body   { font-size: 12.5px; color: var(--text-secondary); line-height: 1.55; }

/* ─── Final CTA card ────────────────────────────────────────────────────── */
.v1-final-cta {
    position: relative; isolation: isolate; overflow: hidden;
    padding: 28px 22px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, var(--bg-card) 0%,
                color-mix(in oklch, var(--bg-card) 88%, var(--accent) 12%) 220%);
    border: 1px solid var(--accent-glow);
    box-shadow: var(--shadow);
    text-align: center;
}
.v1-final-cta::before {
    content:''; position:absolute; inset:0; pointer-events:none; z-index:-1;
    background: var(--gradient-mesh);
}
.v1-final-cta h3 {
    font-family: var(--font-display); font-size: 22px; font-weight: 800;
    color: var(--text-primary); margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.v1-final-cta p {
    font-size: 13px; color: var(--text-secondary);
    margin: 0 0 18px; line-height: 1.5;
}
@media (min-width: 880px) {
    .v1-final-cta { padding: 56px 40px; max-width: 1100px; margin: 0 auto; border-radius: 32px; }
    .v1-final-cta h3 { font-size: 36px; }
    .v1-final-cta p  { font-size: 16px; max-width: 480px; margin: 0 auto 24px; }
}

/* ─── Step bar (checkout 4-step) ────────────────────────────────────────── */
.v1-stepbar { display: flex; align-items: center; gap: 6px; padding: 10px 0 14px; }
.v1-stepdot {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--bg-input); color: var(--text-muted);
    font-family: var(--font-mono); font-variant-numeric: tabular-nums;
    font-size: 11px; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.v1-stepdot.done, .v1-stepdot.current { background: var(--gradient-cta); color: #fff; }
.v1-stepline { flex: 1; height: 2px; background: var(--border); border-radius: 1px; }
.v1-stepline.done { background: var(--accent); }

/* ─── Order list (m-orders) ─────────────────────────────────────────────── */
.v1-order-summary {
    position: relative; isolation: isolate; overflow: hidden;
    padding: 18px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, var(--bg-card) 0%,
                color-mix(in oklch, var(--bg-card) 88%, var(--accent) 12%) 220%);
    border: 1px solid var(--accent-glow);
    box-shadow: var(--shadow);
    margin-bottom: 18px;
}
.v1-order-summary::before {
    content:''; position:absolute; inset:0; pointer-events:none; z-index:-1;
    background: var(--gradient-mesh);
}
.v1-order-summary-row {
    display: flex; align-items: center; gap: 14px;
}
.v1-order-summary-icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: var(--gradient-cta);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; box-shadow: var(--shadow-glow);
    flex-shrink: 0;
}
.v1-order-summary-icon svg { width: 28px; height: 28px; }
.v1-order-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px;
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.v1-order-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.v1-order-card-row {
    display: flex; align-items: center; gap: 12px;
}
.v1-order-card-icon {
    width: 42px; height: 42px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.v1-order-card-icon svg { width: 22px; height: 22px; }
.v1-order-card-body { flex: 1; min-width: 0; }
.v1-progress-bar {
    height: 5px; border-radius: 3px;
    background: var(--border); overflow: hidden; position: relative;
    margin-top: 8px;
}
.v1-progress-fill {
    height: 100%; background: var(--gradient-cta);
    border-radius: 3px; position: relative;
}
.v1-progress-fill::after {
    content:''; position:absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: v1-shimmer 1.6s linear infinite;
}
@keyframes v1-shimmer {
    from { transform: translateX(-100%); }
    to   { transform: translateX(100%); }
}

/* ─── Filter tabs ───────────────────────────────────────────────────────── */
.v1-filter-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.v1-filter-row::-webkit-scrollbar { display: none; }
.v1-filter {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 7px 12px; border-radius: var(--radius-full);
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 12px; font-weight: 700;
    white-space: nowrap; flex-shrink: 0;
    cursor: pointer; text-decoration: none;
    transition: background var(--dur) var(--ease);
}
.v1-filter:hover { background: var(--bg-card-hover); }
.v1-filter.active {
    background: var(--gradient-cta); color: #fff; border-color: transparent;
}
.v1-filter .v1-filter-count {
    opacity: 0.7; margin-left: 4px;
    font-family: var(--font-mono); font-variant-numeric: tabular-nums;
}

/* ─── Status pill ───────────────────────────────────────────────────────── */
.v1-status {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 9px; border-radius: var(--radius-full);
    font-size: 9.5px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.04em;
    flex-shrink: 0;
}
.v1-status--live { background: var(--success-bg); color: var(--success); }
.v1-status--live::before { content:''; width:5px; height:5px; border-radius:50%; background: var(--success); animation: v1-pulse-dot 1.6s ease-in-out infinite; }
.v1-status--done { background: var(--bg-input); color: var(--text-secondary); }
.v1-status--queued { background: var(--accent-glow); color: var(--accent); }

/* ─── Sticky bottom CTA (mobile checkout / package) ─────────────────────── */
.v1-sticky-cta {
    position: fixed; bottom: var(--bottom-nav-h, 68px); left: 0; right: 0;
    padding: 14px 18px calc(14px + var(--safe-bottom));
    background: color-mix(in oklch, var(--bg-primary) 92%, transparent);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-top: 1px solid var(--border);
    z-index: 30;
}

/* ─── AI Tool studio (m-tool) ───────────────────────────────────────────── */
.v1-tool-img {
    position: relative; overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #F59E0B 0%, #EC4899 50%, #7C3AED 100%);
    border: 1px solid var(--border);
}
.v1-tool-img-overlay {
    position: absolute; inset: 12px; border-radius: var(--radius);
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5));
    display: flex; align-items: flex-end; padding: 16px;
    color: #fff;
}
.v1-tool-img-replace {
    position: absolute; top: 12px; right: 12px;
    padding: 7px 12px; border-radius: var(--radius-sm);
    background: rgba(0,0,0,0.5); backdrop-filter: blur(10px);
    color: #fff; font-size: 12px; font-weight: 700;
    border: none; cursor: pointer;
}
.v1-vibe-row {
    display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}
.v1-vibe-row::-webkit-scrollbar { display: none; }
.v1-vibe {
    padding: 8px 14px; border-radius: var(--radius-full);
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 12px; font-weight: 700;
    text-transform: capitalize; flex-shrink: 0;
    cursor: pointer;
}
.v1-vibe.active { background: var(--gradient-cta); color: #fff; border-color: transparent; }

/* ─── Score ring (also used on profile-architect) ───────────────────────── */
.v1-ring-wrap { position: relative; width: 140px; height: 140px; margin: 0 auto 20px; }
.v1-ring { display: block; }
.v1-ring-fill { transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
.v1-ring-num {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -56%);
    font-family: var(--font-display); font-variant-numeric: tabular-nums;
    font-size: 44px; font-weight: 900;
    letter-spacing: -0.03em; color: var(--text-primary);
}
.v1-ring-out {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, 22px);
    font-family: var(--font-mono); font-variant-numeric: tabular-nums;
    font-size: 12px; font-weight: 700; color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* ─── Service-icon SVG color helpers (used inline) ──────────────────────── */
.v1-svc-color-followers { color: var(--svc-followers); }
.v1-svc-color-likes     { color: var(--svc-likes); }
.v1-svc-color-views     { color: var(--svc-views); }
.v1-svc-color-story     { color: var(--svc-story); }
.v1-svc-color-ai        { color: var(--svc-ai); }

/* ─── Reduced spacing on top bar gap when bottom-nav present ────────────── */
.v1-page-pad-bottom { padding-bottom: calc(var(--bottom-nav-h, 68px) + var(--safe-bottom) + 24px); }
