/* ===== CSS Variables / Design Tokens ===== */
:root {
    --primary-blue: #13264B;
    --primary-blue-hover: #1A3366;
    --primary-blue-pressed: #0A1A33;
    --accent-red: #EB1E28;
    --accent-red-hover: #C91920;
    --background: #F8F9FB;
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-border: #E6EAF2;
    --text-primary: #13264B;
    --text-secondary: #7A8599;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(19, 38, 75, 0.08);
    --shadow-md: 0 8px 24px rgba(19, 38, 75, 0.12);
    --shadow-lg: 0 20px 40px rgba(19, 38, 75, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ribbon-hit: rgba(19, 38, 75, 0.06);
    --ribbon-hit-strong: rgba(19, 38, 75, 0.1);
    --ribbon-tool-label-size: 0.72rem;
    --ribbon-tool-label-weight: 600;
    --ribbon-cta-bar-min-h: 52px;
    --ribbon-strip-gap: 8px;
    --ribbon-tile-icon-track: 40px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-anchor: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
    color: var(--text-secondary);
}

/* ===== Container ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 1.1rem;
}

/* ===== Sticky Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    position: relative;
}

.header-nav {
    position: relative;
}

.header-logo {
    height: 48px;
    width: auto;
}

.header-promo {
    display: none !important;
}

.hp-badge {
    background: var(--primary-blue);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.hp-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-weight: 500;
}

  .hp-expiry {
    color: #ef4444;
    font-weight: 700;
  }

.hp-timer {
    font-family: 'Inter', monospace;
    font-weight: 700;
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.5);
    padding: 2px 6px;
    border-radius: 4px;
}

.hp-label-mini {
    display: none;
}

@media (max-width: 1100px) {
    .header-promo {
        display: flex;
        margin-left: 12px;
        padding: 4px 10px;
        font-size: 0.75rem;
        gap: 8px;
    }
    
    .hp-label-full, .hp-expiry-label {
        display: none;
    }
    
    .hp-label-mini {
        display: inline;
    }

    .header-logo {
        height: 36px;
    }

    .hp-meta {
        gap: 6px;
    }

    .hp-timer {
        padding: 1px 4px;
    }
}

@media (max-width: 480px) {
    .header-promo {
        margin-left: 6px;
        padding: 2px 6px;
        font-size: 0.7rem;
        gap: 4px;
    }
    
    .hp-meta {
        gap: 4px;
    }
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-red);
}

.nav-links a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Account icon — right corner of the header */
.account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--card-border);
    background: #fff;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.account-btn:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.account-btn.is-signed-in {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
}

.account-btn.is-signed-in:hover {
    background: var(--primary-blue-hover);
    color: #fff;
}

.account-btn-initial {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 72px;
    background: linear-gradient(135deg, #F8F9FB 0%, #E8ECF4 50%, #F0F2F8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(19, 38, 75, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-block;
    background: rgba(19, 38, 75, 0.08);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--accent-red);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.brand-clarifier {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.85;
    font-style: italic;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    gap: 0;
}

.hero-ctas-primary {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    width: 100%;
}

.hero-ctas-primary .btn {
    flex: 1 1 auto;
    min-width: min(100%, 200px);
    max-width: 280px;
}

.hero-ctas-secondary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.hero-link-secondary {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.hero-link-secondary:hover {
    color: var(--primary-blue);
    border-bottom-color: rgba(19, 38, 75, 0.35);
}

.hero-ctas-sep {
    color: var(--text-secondary);
    opacity: 0.45;
    user-select: none;
}

.hero-social-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(19, 38, 75, 0.1);
    width: 100%;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--card-border);
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-icon-btn svg {
    width: 22px;
    height: 22px;
}

.social-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-icon-btn--telegram:hover {
    background: #0088cc;
    color: #fff;
    border-color: transparent;
}

.social-icon-btn--youtube:hover {
    background: #ff0000;
    color: #fff;
    border-color: transparent;
}

.social-icon-btn--tiktok:hover {
    background: #000;
    color: #fff;
    border-color: transparent;
}

.social-icon-btn--instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border-color: transparent;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    /* Reduced padding */
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    /* Slightly smaller font */
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    flex: 1 1 auto;
    /* Allow shrinking/growing but auto basis */
    min-width: 140px;
    /* Reduced min-width */
    text-align: center;
}

/* ===== Social Buttons (Merged into Hero CTAs) ===== */
/* Note: .social-buttons container style removed as it's no longer used */

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    /* Compact padding */
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: var(--white);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    flex: 1 1 auto;
    min-width: 120px;
    /* Smaller min-width for social */
}

.social-btn:hover {
    transform: translateY(-2px);
    color: var(--white);
    border-color: transparent;
}

.social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.social-btn.telegram:hover {
    background: #0088cc;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.social-btn.tiktok:hover {
    background: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
}

.social-btn.youtube:hover {
    background: #FF0000;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(19, 38, 75, 0.3);
}

.btn-primary:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(19, 38, 75, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent-red);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(235, 30, 40, 0.3);
}

.btn-accent:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
}

.btn-download {
    background: var(--accent-red);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(235, 30, 40, 0.3);
}

.btn-download:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 30, 40, 0.4);
}

.btn-download svg {
    stroke: currentColor;
}

.btn-pricing {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(19, 38, 75, 0.22);
}

.btn-pricing:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(19, 38, 75, 0.28);
}

/* ===== Tools top row (trial + system requirements only; product cards live in drawer archive) ===== */
.top-section-container {
    display: block;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.top-left-info-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    min-height: 0;
    align-self: stretch;
}

.top-left-info-stack .sys-req-card {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
}

.top-left-info-stack .free-tool-card {
    flex: 0 0 auto;
    min-height: auto;
    overflow: visible;
}

.top-left-info-stack .free-tool-card.trial-promo-card {
    align-self: stretch;
    flex: 0 0 auto;
    min-height: 0;
}

.sys-req-card {
    background: linear-gradient(180deg, #f0f5ff 0%, #e8f0fc 100%);
    border: 1px solid rgba(19, 38, 75, 0.12);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    flex: 0 0 auto;
    align-self: stretch;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.sys-req-card h3 {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.sys-req-card ul {
    list-style: none;
}

.sys-req-card li {
    padding: 4px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.free-tool-card {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    align-self: stretch;
}

/* Trial promo: content-height; system card fills remaining column space */
.free-tool-card.trial-promo-card {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 10px;
    padding: 16px 18px;
}

.free-tool-card.trial-promo-card .free-tool-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.free-tool-card.trial-promo-card .free-tool-content h4,
.free-tool-card.trial-promo-card .free-tool-content p {
    text-align: center;
}

.free-tool-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.free-tool-card.trial-promo-card .free-tool-icon {
    font-size: 2.75rem;
}

.free-tool-content h4 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.free-tool-card.trial-promo-card .free-tool-content h4 {
    margin-bottom: 6px;
    font-size: 1.05rem;
    line-height: 1.3;
}

.trial-include-block {
    width: 100%;
    max-width: 22rem;
    margin: 0 auto 10px;
    text-align: left;
}

.trial-include-block:last-of-type {
    margin-bottom: 6px;
}

.trial-promo-card .trial-include-block .bundle-includes-label {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 8px;
}

.trial-promo-card .trial-include-block .bundle-tool-chips {
    justify-content: flex-start;
    gap: 8px;
}

.trial-promo-card .trial-include-block .bundle-tool-chip {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    font-size: 0.75rem;
    padding: 6px 11px;
}

.trial-promo-card .trial-include-block .bundle-tool-chip:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.24);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.trial-footnote {
    margin: 0 auto 2px;
    max-width: 22rem;
    width: 100%;
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
}

.free-tool-card.trial-promo-card .trial-card-cta {
    margin-top: 12px;
}

.free-tool-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
}

.trial-card-cta {
    text-decoration: none;
}

.trial-card-cta:hover,
.trial-card-cta:visited,
.trial-card-cta:focus,
.trial-card-cta:focus-visible,
.trial-card-cta:active {
    text-decoration: none;
}

.free-tool-content .trial-card-cta {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.95);
    color: #047857;
    font-weight: 700;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
}

.free-tool-content .trial-card-cta:hover {
    background: #fff;
    transform: translateY(-1px);
}

/* ===== Decision Engine (parametric / conversion-first; replaces scroll-only ribbon) ===== */
.decision-engine {
    margin: 0 auto 40px;
    max-width: 1180px;
    padding: 0;
}

.decision-engine__intro {
    text-align: center;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 18px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.decision-engine__surface {
    position: relative;
    border: 1px solid rgba(19, 38, 75, 0.12);
    border-radius: var(--radius-md);
    background-color: var(--white);
    background-image:
        linear-gradient(rgba(19, 38, 75, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(19, 38, 75, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: -1px -1px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    /* visible: hover scale/shadow on ribbon must not be clipped; inner cards keep their own edges */
    overflow: visible;
}

.decision-engine__wrap {
    position: relative;
    z-index: 1;
}

/* Top row: tools + trial/support fill card width; bottom row: Ultimate bar full width */
.decision-engine__ribbon-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-rows: auto auto;
    width: 100%;
    align-items: stretch;
    gap: var(--ribbon-strip-gap);
    padding: 14px;
    box-sizing: border-box;
}

.decision-engine__ribbon-tools {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
}

/* Extra height (when aside is taller) fills the tool row */
.decision-engine__ribbon-tools .decision-engine__row--tools {
    flex: 1 1 auto;
    min-height: 0;
}

.decision-engine__ribbon-aside {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    /* Free Trial and Support are two ribbon panels standing side by side, the way
       Revit shows separate panels — not two rows sharing one. */
    flex-direction: row;
    align-items: stretch;
    align-self: stretch;
    gap: 8px;
    width: max-content;
    max-width: 268px;
    min-width: 0;
    min-height: 0;
}

.decision-engine__ribbon-layout > .decision-engine__ultimate-strip {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
}

.decision-engine__ribbon-aside > .decision-engine__col {
    flex: 1 1 auto;
    min-height: 0;
}

/* Each aside panel is its own column and stretches to the tools row's height. */
.decision-engine__ribbon-aside > .decision-engine__col--meta {
    display: flex;
    flex-direction: column;
    /* Wide enough for "Free trial access" on two lines rather than three. */
    flex: 0 0 130px;
    min-height: 0;
    align-self: stretch;
}

.decision-engine__ribbon-aside .decision-engine__panel-title {
    text-align: center;
    width: 100%;
}

.decision-engine__ribbon-aside .decision-engine__panel--trial-support {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 8px;
    box-sizing: border-box;
    width: 100%;
}

/* Avoid .panel--compact min-height:100% forcing the trial card taller than the aside flex line */
.decision-engine__ribbon-aside .decision-engine__panel--compact.decision-engine__panel--trial-support {
    min-height: 0;
}

.decision-engine__ribbon-aside .ribbon-store__trial-support-stack {
    flex: 1 1 auto;
    min-height: 0;
}

.decision-engine__ribbon-aside .ribbon-store__trial-support-row {
    align-items: center;
}

.decision-engine__ribbon-aside .ribbon-store__trial-support-row + .ribbon-store__trial-support-row {
    margin-top: auto;
}

.decision-engine__ribbon-aside .ribbon-store__trial-support-row .decision-engine__panel-head--ribbon-stack {
    width: 100%;
    align-items: center;
    text-align: center;
}

.decision-engine__ribbon-aside .ribbon-store__mini-panel-body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Icon over a centred label, so "Free trial access" reads on one or two lines
   instead of stacking one word per line beside the icon. */
.decision-engine__ribbon-aside .ribbon-cmd--horizontal {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 8px 6px;
    text-align: center;
    margin-inline: auto;
}

.decision-engine__ribbon-aside .ribbon-cmd--horizontal .ribbon-cmd__label {
    text-align: center;
    line-height: 1.25;
    width: 100%;
}

.decision-engine__row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: var(--ribbon-strip-gap);
}

.decision-engine__row--tools {
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 0;
    min-height: 0;
    width: 100%;
}

.decision-engine__row--tools > .decision-engine__col {
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-self: stretch;
}

.decision-engine__row--tools > .decision-engine__col--secondary > .decision-engine__panel,
.decision-engine__row--tools > .decision-engine__col--compact > .decision-engine__panel {
    flex: 1 1 auto;
    min-height: 0;
}

.decision-engine__row--tools > .decision-engine__col--primary > .decision-engine__bundle--generators {
    flex: 1 1 auto;
    min-height: 0;
    align-self: stretch;
}

.decision-engine__row--tools > .decision-engine__col--secondary > .decision-engine__panel > .ribbon-store__floor-rows {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    align-self: stretch;
}

.decision-engine__row--tools > .decision-engine__col--compact > .decision-engine__panel > .ribbon-store__mini-panel-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.decision-engine__col {
    min-width: 0;
    display: flex;
    align-items: stretch;
}

.decision-engine__row > .decision-engine__col > .decision-engine__panel {
    flex: 1 1 auto;
    flex-grow: 1;
    width: 100%;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
}

.decision-engine__col--primary {
    flex: 2.4 1 0;
    min-width: 0;
    max-width: none;
    width: auto;
}

/* Tools row: primary card stretches with Floor/Select so bottoms stay above the Ultimate bar (no gap under the bar) */
.decision-engine__row--tools > .decision-engine__col--primary > .decision-engine__panel {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    align-self: stretch;
    min-height: 0;
    height: auto;
    gap: 4px;
    justify-content: flex-start;
}

.decision-engine__col--primary > .decision-engine__panel-head {
    padding-bottom: 4px;
    margin-bottom: 0;
}

.decision-engine__col--secondary {
    flex: 1.5 1 0;
    min-width: 0;
    max-width: none;
}

.decision-engine__col--compact {
    flex: 0.85 1 0;
    min-width: min(100%, 96px);
    max-width: none;
}

.decision-engine__col--meta {
    flex: 0 1 112px;
    min-width: min(100%, 96px);
}

/* Free Trial + Support in one card, stacked rows */
.decision-engine__col--trial-support {
    flex: 0 1 auto;
    width: max-content;
    max-width: 118px;
    min-width: min(100%, 104px);
}

.decision-engine__panel--trial-support {
    padding: 6px 8px 8px;
}

.ribbon-store__trial-support-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ribbon-store__trial-support-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-width: 0;
}

.ribbon-store__trial-support-row + .ribbon-store__trial-support-row {
    padding-top: 6px;
    border-top: 1px solid var(--card-border);
}

.decision-engine__panel--trial-support .decision-engine__panel-head--ribbon-stack {
    padding-bottom: 4px;
    margin-bottom: 0;
    border-bottom: none;
}

.decision-engine__panel {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 8px 10px 10px;
    border: 1px solid rgba(19, 38, 75, 0.1);
    border-radius: var(--radius-sm);
    background: var(--white);
    box-sizing: border-box;
    transition: box-shadow 0.18s ease, transform 0.18s ease, opacity 0.2s ease;
    min-height: 0;
}

.decision-engine__panel--compact {
    min-height: 100%;
}

.decision-engine__panel-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 8px;
    margin-bottom: 2px;
    border-bottom: 1px solid var(--card-border);
}

.decision-engine__panel-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.02em;
}

/* Panel name as a button: opens the bundle card for that ribbon panel. */
.decision-engine__panel-title--btn {
    background: none;
    border: none;
    padding: 2px 10px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    cursor: pointer;
    border-radius: 6px;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease, background 0.15s ease;
}

.decision-engine__panel-title--btn:hover,
.decision-engine__panel-title--btn:focus-visible {
    color: var(--accent-red, #eb1e28);
    text-decoration-color: currentColor;
    background: rgba(0, 0, 0, 0.04);
}

.decision-engine__ribbon-layout .decision-engine__panel-head,
.decision-engine__ribbon-layout .decision-engine__panel-head--ribbon-stack {
    align-items: center;
    text-align: center;
    width: 100%;
}

.decision-engine__ribbon-layout .decision-engine__panel-title {
    text-align: center;
    width: 100%;
}

.decision-engine__bundle {
    border-radius: var(--radius-sm);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.decision-engine__bundle--generators {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    align-self: stretch;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Generate stack fills panel width; generator tiles share space evenly */
.decision-engine__generators-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
}

.decision-engine__generators-stack .ribbon-store__large-row {
    flex: 0 0 auto;
    align-self: stretch;
    padding: 0 0 2px;
}

.decision-engine__bundle--generators .decision-engine__generators-stack .ribbon-store__large-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: stretch;
    gap: var(--ribbon-strip-gap);
    align-items: stretch;
    width: 100%;
    overflow-x: visible;
    overflow-y: hidden;
    min-width: 0;
    padding-bottom: 2px;
    box-sizing: border-box;
}

.decision-engine__generators-stack .ribbon-store__large-row > .ribbon-cmd.ribbon-cmd--large.ribbon-cmd--primary.ribbon-cmd--in-bundle {
    flex: 1 1 0;
    min-width: 64px;
    max-width: none;
}

.decision-engine__row--tools .ribbon-store__floor-rows {
    justify-content: center;
}

.decision-engine__row--tools .ribbon-store__floor-row {
    width: 100%;
    align-items: stretch;
}

.decision-engine__row--tools .ribbon-cluster__cell--floor {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    align-items: center;
}

.decision-engine__generators-stack .decision-engine__cta--generators {
    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
}

.decision-engine__bundle--generators:hover {
    border: none;
    outline: none;
    box-shadow: none;
}


/* Pattern cluster: no per-tile bundle outline (single control) */
.decision-engine__bundle--generators:hover .ribbon-store__pattern-group {
    outline: none;
}

.decision-engine__cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    min-height: var(--ribbon-cta-bar-min-h);
    padding: 12px 72px 12px 16px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
    background: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}

.decision-engine__cta--generators {
    padding-right: 104px;
}

.decision-engine__cta-corner,
.decision-engine__ultimate-corner {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px 6px 9px;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.15;
    color: #ffffff;
    text-transform: none;
    pointer-events: none;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.decision-engine__cta-corner {
    right: 8px;
}

.decision-engine__ribbon-value-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.decision-engine__ribbon-value-badge-star {
    position: relative;
    display: inline-block;
    font-size: 0.72rem;
    line-height: 1;
}

.decision-engine__ribbon-value-badge-label {
    white-space: nowrap;
}

.decision-engine__cta-save,
.decision-engine__ultimate-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #34d399;
    line-height: 1.2;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.15);
}

.decision-engine__cta-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.2em 0.45em;
}

.decision-engine__cta-title {
    line-height: 1.35;
}

.decision-engine__cta:hover {
    background: var(--primary-blue-hover);
    box-shadow: 0 4px 12px rgba(19, 38, 75, 0.2);
    transform: translateY(-1px);
}

.decision-engine__cta--generators.is-selected {
    background: var(--primary-blue);
    color: var(--white);
    border-color: rgba(19, 38, 75, 0.55);
    box-shadow: 0 0 0 2px rgba(19, 38, 75, 0.22);
}

.decision-engine__cta--generators.is-selected:hover {
    background: var(--primary-blue-hover);
    box-shadow: 0 4px 12px rgba(19, 38, 75, 0.22), 0 0 0 2px rgba(19, 38, 75, 0.28);
}

.decision-engine__ultimate-bar.is-selected {
    box-shadow: 0 0 0 2px var(--primary-blue), 0 0 0 4px rgba(19, 38, 75, 0.12);
}

.decision-engine__ribbon-layout > .decision-engine__ultimate-strip {
    flex: 0 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.decision-engine__ultimate-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    min-height: var(--ribbon-cta-bar-min-h);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--white);
    background: var(--primary-blue);
    border: 1px solid var(--primary-blue-pressed);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
    padding: 12px 118px 12px 16px;
}

.decision-engine__ultimate-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.2em 0.45em;
}

.decision-engine__ultimate-title {
    line-height: 1.35;
}

.decision-engine__ultimate-hint {
    font-size: 0.62em;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.82;
}

.decision-engine__ultimate-hint::before {
    content: '·';
    margin-right: 0.4em;
    opacity: 0.55;
    color: rgba(255, 255, 255, 0.75);
}

.decision-engine__ultimate-strip:hover .decision-engine__ultimate-bar {
    background: var(--primary-blue-hover);
}

.decision-engine__drawer {
    border-top: 1px solid rgba(19, 38, 75, 0.2);
    background: linear-gradient(180deg, rgba(19, 38, 75, 0.06) 0%, var(--background) 48%);
    animation: decision-drawer-in 0.22s ease-out;
}

.decision-engine--focus-active .decision-engine__panel,
.decision-engine--focus-active .decision-engine__bundle--generators,
.decision-engine--focus-active .decision-engine__ultimate-strip {
    transition: opacity 0.2s ease;
}

.decision-engine-node--dim {
    opacity: 0.38;
    filter: grayscale(0.25);
    pointer-events: auto;
}

.decision-engine-node--related {
    box-shadow: 0 0 0 1px rgba(19, 38, 75, 0.12);
}

@keyframes decision-drawer-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkout-archive {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.decision-engine__drawer-inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 22px 24px;
    border-left: 3px solid var(--primary-blue);
    background: var(--white);
    box-shadow: 0 12px 40px rgba(19, 38, 75, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.decision-engine__drawer-grid,
.decision-details-container {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
    gap: 32px;
    align-items: start;
    padding-right: 28px;
}

.decision-content-fade {
    animation: decisionContentFadeIn 0.4s ease-out;
}

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

.decision-engine__drawer-col--visual {
    min-width: 0;
}

.decision-engine__drawer-col--aside {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    min-width: 0;
    border-left: 1px solid rgba(19, 38, 75, 0.08);
    padding-left: 20px;
    background: rgba(248, 249, 251, 0.45);
    border-radius: var(--radius-md);
    padding: 12px 14px 14px;
}

/* Card + pricing stack in the right column (was nested under the left column) */
.decision-engine__drawer-col--aside > .decision-engine__drawer-card:first-child {
    margin-top: 0;
}

/* Trial drawer: lists stay left; gift, title, note, Telegram CTA centered in the right column */
.decision-engine__drawer-col--aside:has(.free-tool-icon) {
    align-items: center;
    text-align: center;
}

.decision-engine__drawer-col--aside:has(.free-tool-icon) .decision-engine__drawer-card {
    width: 100%;
    max-width: 22rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.decision-engine__drawer-col--aside:has(.free-tool-icon) .decision-engine__drawer-pricing {
    width: 100%;
    max-width: 22rem;
}

.decision-engine__drawer-col--aside:has(.free-tool-icon) .tool-description {
    text-align: center;
}

.decision-engine__drawer-includes .trial-include-block {
    margin: 0 0 14px;
    max-width: none;
    width: 100%;
    align-self: stretch;
    text-align: left;
}

.decision-engine__drawer-includes .trial-include-block:last-child {
    margin-bottom: 0;
}

.decision-engine__drawer-includes .trial-include-block .bundle-includes-label {
    text-align: left;
}

.decision-engine__drawer-includes .trial-include-block .bundle-tool-chips {
    justify-content: flex-start;
}

.decision-engine__drawer-includes .trial-token-usage {
    margin-top: 4px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(19, 38, 75, 0.12);
    background: rgba(248, 249, 251, 0.95);
    text-align: left;
    align-self: stretch;
}

.decision-engine__drawer-includes .trial-token-usage__title {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin: 0 0 8px;
}

.decision-engine__drawer-includes .trial-token-usage__list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

.decision-engine__drawer-includes .trial-token-usage__list li + li {
    margin-top: 6px;
}

.decision-engine__drawer-col--aside:has(.free-tool-icon) .trial-footnote .trial-footnote__activate {
    display: block;
    margin-top: 6px;
    font-weight: 600;
    color: var(--text-primary);
}

.decision-engine__drawer-includes .sys-req-card {
    margin: 0;
    width: 100%;
    max-width: none;
    align-self: stretch;
    box-sizing: border-box;
    border-radius: var(--radius-md);
}

/* Tool drawers: narrative (title, description, features / tools) in the left column */
.decision-engine__drawer-includes {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 0;
}

.decision-engine__drawer-includes > .best-value-badge {
    align-self: flex-start;
    margin-bottom: 4px;
}

.decision-engine__drawer-includes > .tool-header {
    margin-bottom: 12px;
}

.decision-engine__drawer-includes > .tool-header .tool-title,
.decision-engine__drawer-includes > .tool-header h2,
.decision-engine__drawer-includes > .tool-header h3 {
    font-size: clamp(1.45rem, 2.5vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.18;
    color: var(--text-primary);
    margin: 0;
}

.decision-engine__drawer-includes > .tool-card-main {
    margin: 0;
    padding: 0;
}

.decision-engine__drawer-includes > .tool-card-main .tool-description {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 14px;
}

.decision-engine__drawer-includes > .bundle-includes {
    margin: 0;
    padding: 0;
}

.decision-engine__drawer-includes > .bundle-includes .bundle-includes-intro {
    font-size: 1rem;
    line-height: 1.55;
    margin: 0 0 14px;
}

.decision-engine__drawer-col--aside > .decision-engine__drawer-card:empty {
    display: none;
}

.decision-engine__drawer-card .free-tool-icon {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 8px;
}

.decision-engine__drawer-card h4.tool-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 8px;
    padding: 0;
    line-height: 1.35;
}

.decision-engine__drawer-pricing-mount .trial-card-cta.buy-button {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    text-decoration: none;
}

.decision-engine__drawer-pricing-mount .trial-card-cta.buy-button:hover,
.decision-engine__drawer-pricing-mount .trial-card-cta.buy-button:visited,
.decision-engine__drawer-pricing-mount .trial-card-cta.buy-button:focus-visible {
    text-decoration: none;
}

.decision-engine__drawer-section-title {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0 0 8px;
}

.decision-engine__drawer-includes .tool-card-features,
.decision-engine__drawer-includes .bundle-includes-label,
.decision-engine__drawer-includes .bundle-tool-chips,
.decision-engine__drawer-includes .bundle-excludes-note {
    margin: 0;
}

.decision-engine__drawer-includes .bundle-excludes-note {
    margin-top: 10px;
}

.decision-engine__drawer-card {
    border: none;
    border-radius: var(--radius-sm);
    padding: 0;
    margin-top: 8px;
    background: transparent;
    box-shadow: none;
}

.decision-engine__drawer-card > h2.tool-title {
    margin: 0 0 12px;
    padding: 0;
    line-height: 1.22;
}

.decision-engine__drawer-card > p.tool-description {
    margin-top: 0;
}

.decision-engine__drawer-card .tool-header {
    margin-bottom: 10px;
}

.decision-engine__drawer-card .tool-header .tool-icon {
    display: none;
}

.decision-engine__drawer-card .tool-card-main {
    margin-bottom: 0;
}

.decision-engine__drawer-card .card-actions {
    display: none;
}

.decision-engine__drawer-pricing {
    margin-top: 0;
}

.decision-engine__drawer-pricing .card-actions {
    display: block;
    margin-top: 0;
}

.decision-engine__drawer-pricing:empty {
    display: none;
}

.decision-engine__drawer-col--aside .decision-engine__drawer-actions {
    border-left: none;
    padding-left: 0;
    margin-top: 12px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

.decision-engine__drawer-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.decision-engine__drawer-close:hover {
    color: var(--accent-red);
    border-color: rgba(235, 30, 40, 0.4);
}

.decision-engine__drawer-outcome {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin: 0 0 8px;
}

.decision-engine__cmp {
    margin: 0 0 14px;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--card-border);
    background: rgba(248, 249, 251, 0.9);
}

.decision-engine__cmp-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-primary);
    padding: 6px 0;
    border-bottom: 1px solid rgba(19, 38, 75, 0.08);
}

.decision-engine__cmp-row:last-of-type {
    border-bottom: none;
}

.decision-engine__cmp-row--head {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding-top: 0;
    border-bottom: none;
    margin-bottom: 4px;
}

.decision-engine__cmp-row--rec {
    font-weight: 600;
}

.decision-engine__cmp-row--muted {
    opacity: 0.85;
    font-size: 0.78rem;
}

.decision-engine__cmp-price {
    font-weight: 800;
    color: var(--primary-blue);
    white-space: nowrap;
}

.decision-engine__cmp-note {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.decision-engine__cmp-savings {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.decision-engine__cmp-savings--warn {
    color: #a61c1c;
    font-weight: 600;
}

.decision-engine__drawer-h {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 36px 10px 0;
    padding-bottom: 0;
    border: none;
}

.decision-engine__drawer-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 14px;
}

.decision-engine__drawer-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.decision-engine__drawer-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.02em;
}

.decision-engine__drawer-price-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.decision-engine__drawer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.decision-engine__drawer-actions .decision-engine__drawer-full {
    order: 10;
    flex-basis: 100%;
    margin-top: 4px;
}

.decision-engine__drawer-actions .decision-engine__drawer-alt:not([hidden]) {
    order: 1;
}

.decision-engine__drawer-actions .decision-engine__drawer-buy--secondary {
    order: 2;
}

.decision-engine__drawer-actions .decision-engine__drawer-buy:not(.decision-engine__drawer-buy--secondary) {
    order: 1;
}

.decision-engine__drawer-buy {
    flex: 1 1 auto;
    min-width: 140px;
}

.decision-engine__drawer-buy--secondary {
    order: 2;
    background: var(--white) !important;
    color: var(--primary-blue) !important;
    border: 1px solid var(--card-border) !important;
}

.decision-engine__drawer-alt {
    flex: 1 1 auto;
    min-width: 140px;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
    background: var(--accent-red);
    border: 1px solid rgba(180, 20, 30, 0.9);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.decision-engine__drawer-alt:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.decision-engine__drawer-full {
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.decision-engine__drawer-full:hover {
    border-color: var(--primary-blue);
    background: var(--background);
}

.ribbon-cmd.is-selected {
    background: rgba(19, 38, 75, 0.12);
    border-color: rgba(19, 38, 75, 0.42);
    box-shadow:
        0 0 0 2px rgba(19, 38, 75, 0.12),
        inset 0 0 0 1px rgba(19, 38, 75, 0.06);
}

.ribbon-cmd.is-selected .ribbon-cmd__icon {
    filter: saturate(1.15);
}

.ribbon-cmd--locked {
    opacity: 0.42;
    pointer-events: none;
}

.ribbon-cmd--bundle {
    border-color: rgba(19, 38, 75, 0.35);
}

.ribbon-cmd--active {
    background: rgba(19, 38, 75, 0.12);
}

/* Floor / other panels: full-width strip with scroll if needed */
.ribbon-store__large-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--ribbon-strip-gap);
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    box-sizing: border-box;
}

/* Solo generator tiles: same card chrome as the Straight/Curved cluster */
.ribbon-store__large-row > .ribbon-cmd.ribbon-cmd--large.ribbon-cmd--primary.ribbon-cmd--in-bundle {
    border: 1px solid var(--card-border);
    background: var(--background);
    flex: 0 1 auto;
    min-width: 0;
}

/* Generate panel: keep pattern cluster + 3 solo tiles on one horizontal row */
.decision-engine__bundle--generators .ribbon-store__large-row .ribbon-store__pattern-group.ribbon-cmd {
    flex-shrink: 0;
    min-width: 0;
}

/* Hover/active scale draws outside the layout box; disable scale inside generate ribbon only */
.decision-engine__bundle--generators .ribbon-cmd--primary.ribbon-cmd--large:hover,
.decision-engine__bundle--generators .ribbon-store__pattern-group.ribbon-cmd:hover,
.decision-engine__bundle--generators .ribbon-store__pattern-group.ribbon-cmd.is-selected:hover,
.decision-engine__bundle--generators .ribbon-store__pattern-group.ribbon-cmd:active,
.decision-engine__bundle--generators .ribbon-store__pattern-group.ribbon-cmd.is-selected:active {
    transform: none;
}

button.ribbon-store__pattern-group,
button.ribbon-store__floor-rows {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: inherit;
}

.ribbon-store__pattern-group {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    padding: 4px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ribbon-cluster__cell--pattern {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 6px 6px 8px;
    min-width: 58px;
    max-width: 104px;
    border-radius: var(--radius-sm);
    pointer-events: none;
}

.ribbon-cluster__cell--pattern + .ribbon-cluster__cell--pattern {
    border-left: 1px solid var(--card-border);
    margin-left: 2px;
}

.ribbon-cluster__cell--pattern .ribbon-cmd__icon {
    display: block;
    flex-shrink: 0;
    image-rendering: -webkit-optimize-contrast;
}

.ribbon-cluster__cell--pattern .ribbon-cmd__label {
    display: block;
    max-width: 100%;
    margin-top: 6px;
    font-size: var(--ribbon-tool-label-size);
    font-weight: var(--ribbon-tool-label-weight);
    line-height: 1.3;
    text-align: center;
    color: var(--text-primary);
    hyphens: none;
    overflow-wrap: break-word;
}

.ribbon-store__floor-rows {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    border-radius: var(--radius-sm);
    padding: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ribbon-store__floor-row {
    display: flex;
    flex-direction: row;
    gap: var(--ribbon-strip-gap);
    align-items: stretch;
}

.ribbon-cluster__cell--floor {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-width: 0;
    padding: 4px;
    pointer-events: none;
}

.decision-engine .ribbon-cluster__cell--floor {
    display: grid;
    grid-template-rows: var(--ribbon-tile-icon-track) auto;
    row-gap: 6px;
    align-content: center;
    justify-items: center;
    justify-content: center;
}

.decision-engine .ribbon-cluster__cell--floor .ribbon-cmd__icon {
    grid-row: 1;
    align-self: center;
    justify-self: center;
    margin: 0;
}

.decision-engine .ribbon-cluster__cell--floor .ribbon-cmd__label {
    grid-row: 2;
    margin-top: 0;
    align-self: center;
    justify-self: center;
    width: auto;
    max-width: 100%;
    text-align: center;
}

.ribbon-cluster__cell--floor .ribbon-cmd__icon {
    display: block;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}

.ribbon-cluster__cell--floor .ribbon-cmd__label {
    display: block;
    margin-top: 6px;
    font-size: var(--ribbon-tool-label-size);
    font-weight: var(--ribbon-tool-label-weight);
    line-height: 1.25;
    text-align: center;
    color: var(--text-primary);
    hyphens: none;
}

.ribbon-cmd {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
    font: inherit;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.18s ease, box-shadow 0.18s ease;
    box-sizing: border-box;
}

.ribbon-cmd:hover {
    background: var(--ribbon-hit);
    border-color: rgba(19, 38, 75, 0.1);
}

.ribbon-cmd:active {
    background: var(--ribbon-hit-strong);
}

.ribbon-cmd--large {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 4px 6px;
    min-width: 56px;
    max-width: 82px;
}

.ribbon-cmd--horizontal {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 6px 12px;
    gap: 8px;
    width: 100%;
}

.ribbon-cmd--horizontal .ribbon-cmd__label {
    font-size: var(--ribbon-tool-label-size);
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

.ribbon-cmd--large .ribbon-cmd__icon {
    display: block;
    flex-shrink: 0;
    image-rendering: -webkit-optimize-contrast;
}

.ribbon-cmd__icon--svg {
    color: var(--primary-blue);
}

.ribbon-cmd:hover .ribbon-cmd__icon--svg {
    color: var(--primary-blue-hover);
}

.ribbon-cmd__icon--gift {
    display: block;
    font-size: 28px;
    line-height: 1;
}

.ribbon-cmd--large .ribbon-cmd__label {
    display: block;
    max-width: 100%;
    margin-top: 6px;
    font-size: var(--ribbon-tool-label-size);
    font-weight: var(--ribbon-tool-label-weight);
    line-height: 1.3;
    text-align: center;
    color: var(--text-primary);
    hyphens: none;
    overflow-wrap: break-word;
}

/* Decision engine: lock icon band so wrapped labels do not shift icon baselines */
.decision-engine .ribbon-cmd--large {
    display: grid;
    grid-template-rows: var(--ribbon-tile-icon-track) auto;
    row-gap: 6px;
    align-content: start;
    justify-items: center;
    padding: 8px 8px 10px;
}

.decision-engine .ribbon-cmd--large .ribbon-cmd__icon {
    grid-row: 1;
    align-self: center;
    margin: 0;
}

.decision-engine .ribbon-cmd--large .ribbon-cmd__label {
    grid-row: 2;
    margin-top: 0;
    align-self: start;
    width: 100%;
}

.decision-engine .ribbon-cluster__cell--pattern {
    display: grid;
    grid-template-rows: var(--ribbon-tile-icon-track) auto;
    row-gap: 6px;
    align-content: start;
    justify-items: center;
    padding: 6px 6px 8px;
}

.decision-engine .ribbon-cluster__cell--pattern .ribbon-cmd__icon {
    grid-row: 1;
    align-self: center;
    margin: 0;
}

.decision-engine .ribbon-cluster__cell--pattern .ribbon-cmd__label {
    grid-row: 2;
    margin-top: 0;
    align-self: start;
    width: 100%;
}

.decision-engine__bundle--generators .ribbon-store__pattern-group.ribbon-cmd {
    align-self: stretch;
}

.ribbon-cmd--small {
    flex: 1;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    min-height: 32px;
}

.ribbon-cmd--small .ribbon-cmd__icon {
    flex-shrink: 0;
    image-rendering: -webkit-optimize-contrast;
}

.ribbon-cmd--small .ribbon-cmd__label {
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    color: var(--text-primary);
}

.ribbon-cmd--primary.ribbon-cmd--large {
    min-width: 72px;
    max-width: 132px;
}

.decision-engine__bundle--generators .ribbon-store__large-row > .ribbon-cmd[data-decision='spaceframe'].ribbon-cmd--large {
    min-width: 64px;
    max-width: none;
}

.ribbon-cmd--primary:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 14px rgba(19, 38, 75, 0.1);
}

/* Cluster controls: same hover / active / focus as other ribbon-cmd peers (wins over base .ribbon-cmd) */
.ribbon-store__pattern-group.ribbon-cmd {
    flex-direction: row;
    align-items: stretch;
    border: 1px solid var(--card-border);
    background: var(--background);
}

.ribbon-store__pattern-group.ribbon-cmd:hover {
    background: var(--ribbon-hit);
    border-color: rgba(19, 38, 75, 0.1);
    transform: scale(1.02);
    box-shadow: 0 4px 14px rgba(19, 38, 75, 0.1);
}

.ribbon-store__pattern-group.ribbon-cmd:active {
    background: var(--ribbon-hit-strong);
    transform: scale(1.01);
}

.ribbon-store__pattern-group.ribbon-cmd:focus-visible {
    outline: 2px solid rgba(19, 38, 75, 0.35);
    outline-offset: 2px;
}

.ribbon-store__pattern-group.ribbon-cmd.is-selected {
    background: rgba(19, 38, 75, 0.12);
    border-color: rgba(19, 38, 75, 0.42);
    box-shadow:
        0 0 0 2px rgba(19, 38, 75, 0.12),
        inset 0 0 0 1px rgba(19, 38, 75, 0.06);
}

.ribbon-store__pattern-group.ribbon-cmd.is-selected:hover {
    background: rgba(19, 38, 75, 0.14);
    border-color: rgba(19, 38, 75, 0.48);
    transform: scale(1.02);
    box-shadow:
        0 0 0 2px rgba(19, 38, 75, 0.14),
        inset 0 0 0 1px rgba(19, 38, 75, 0.06);
}

.ribbon-store__pattern-group.ribbon-cmd.is-selected:active {
    background: rgba(19, 38, 75, 0.16);
    border-color: rgba(19, 38, 75, 0.52);
    transform: scale(1.01);
    box-shadow:
        0 0 0 2px rgba(19, 38, 75, 0.16),
        inset 0 0 0 1px rgba(19, 38, 75, 0.06);
}

.ribbon-store__floor-rows.ribbon-cmd.is-selected:hover {
    background: rgba(19, 38, 75, 0.14);
    border-color: rgba(19, 38, 75, 0.48);
    box-shadow:
        0 0 0 2px rgba(19, 38, 75, 0.14),
        inset 0 0 0 1px rgba(19, 38, 75, 0.06);
}

.ribbon-store__floor-rows.ribbon-cmd.is-selected:active {
    background: rgba(19, 38, 75, 0.16);
    border-color: rgba(19, 38, 75, 0.52);
    box-shadow:
        0 0 0 2px rgba(19, 38, 75, 0.16),
        inset 0 0 0 1px rgba(19, 38, 75, 0.06);
}

.ribbon-store__floor-rows.ribbon-cmd {
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--card-border);
    background: var(--background);
}

.ribbon-store__floor-rows.ribbon-cmd:hover {
    background: var(--ribbon-hit);
    border-color: rgba(19, 38, 75, 0.1);
    box-shadow: 0 4px 14px rgba(19, 38, 75, 0.1);
}

.ribbon-store__floor-rows.ribbon-cmd:active {
    background: var(--ribbon-hit-strong);
}

.ribbon-store__floor-rows.ribbon-cmd:focus-visible {
    outline: 2px solid rgba(19, 38, 75, 0.35);
    outline-offset: 2px;
}

.ribbon-store__floor-rows.ribbon-cmd.is-selected {
    background: rgba(19, 38, 75, 0.12);
    border-color: rgba(19, 38, 75, 0.42);
    box-shadow:
        0 0 0 2px rgba(19, 38, 75, 0.12),
        inset 0 0 0 1px rgba(19, 38, 75, 0.06);
}

.ribbon-cmd--primary .ribbon-cmd__label {
    font-size: var(--ribbon-tool-label-size);
    font-weight: var(--ribbon-tool-label-weight);
}

.ribbon-cmd--secondary.ribbon-cmd--large {
    max-width: 96px;
}

.ribbon-cmd--secondary.ribbon-cmd--small .ribbon-cmd__label {
    font-size: 0.66rem;
}

.ribbon-cmd--meta.ribbon-cmd--large {
    max-width: 104px;
    opacity: 0.94;
}

.ribbon-cmd--meta .ribbon-cmd__label {
    font-size: var(--ribbon-tool-label-size);
    font-weight: var(--ribbon-tool-label-weight);
}

.ribbon-cmd--trial-available {
    border: 1px dashed rgba(4, 120, 87, 0.45);
    background: rgba(4, 120, 87, 0.04);
}

@media (max-width: 1024px) {
    .decision-engine__ribbon-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding: 14px;
        gap: 12px;
    }

    .decision-engine__ribbon-tools {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        max-width: 100%;
    }

    .decision-engine__row--tools {
        flex-direction: column;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        gap: 14px;
    }

    .decision-engine__ribbon-aside {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        max-width: none;
        align-self: stretch;
    }

    .decision-engine__ribbon-aside > .decision-engine__col {
        max-width: none;
        align-self: stretch;
    }

    .decision-engine__ribbon-layout > .decision-engine__ultimate-strip {
        grid-column: 1;
        grid-row: 3;
    }

    .decision-engine__row > .decision-engine__col > .decision-engine__panel {
        min-height: 0;
        height: auto;
        flex: 0 0 auto;
    }

    .decision-engine__panel--compact {
        min-height: 0;
    }

    .decision-engine__col--primary,
    .decision-engine__col--secondary,
    .decision-engine__col--compact,
    .decision-engine__col--meta,
    .decision-engine__col--trial-support {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .decision-engine__col--primary,
    .decision-engine__col--secondary {
        min-width: 0;
        max-width: none;
    }

    .decision-engine__row--tools > .decision-engine__col--primary > .decision-engine__panel {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        align-self: stretch;
    }

    .decision-engine__row--tools > .decision-engine__col--secondary > .decision-engine__panel {
        margin-top: 2px;
    }

    .decision-engine__bundle--generators .decision-engine__generators-stack .ribbon-store__large-row {
        width: 100%;
        max-width: 100%;
        overflow-x: visible;
    }

    .decision-engine__col--primary .decision-engine__bundle--generators {
        margin-top: 0;
        padding: 0;
    }

    .decision-engine__row--tools .ribbon-store__floor-rows {
        width: 100%;
        max-width: none;
    }

    /* Mobile ribbon: keep compact buttons centered inside their cards */
    .decision-engine__row--tools > .decision-engine__col--compact > .decision-engine__panel > .ribbon-store__mini-panel-body {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .decision-engine__row--tools > .decision-engine__col--compact > .decision-engine__panel > .ribbon-store__mini-panel-body .ribbon-cmd {
        margin-inline: auto;
        align-self: center;
    }

    .decision-engine__generators-stack {
        width: 100%;
        max-width: 100%;
    }

    .decision-engine__ribbon-aside > .decision-engine__col--meta {
        /* Desktop pins these to 130px; on a narrow screen the two panels share
           the full width instead, half each. */
        flex: 1 1 0;
        width: auto;
        max-width: none;
        min-width: 0;
    }

    .decision-engine__ribbon-aside .decision-engine__panel--trial-support {
        width: 100%;
        max-width: none;
        padding: 12px 12px 14px;
        box-sizing: border-box;
    }

    /* Full-width card; Free Trial and Contact us side by side (50/50) */
    .decision-engine__ribbon-aside .ribbon-store__trial-support-stack {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
        align-items: stretch;
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }

    .decision-engine__ribbon-aside .ribbon-store__trial-support-row {
        flex: 1 1 50%;
        width: 50%;
        min-width: 0;
        margin-top: 0;
        align-items: stretch;
    }

    .decision-engine__ribbon-aside .ribbon-store__trial-support-row + .ribbon-store__trial-support-row {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .decision-engine__ribbon-aside .ribbon-store__trial-support-row .decision-engine__panel-head--ribbon-stack {
        width: 100%;
        text-align: center;
    }

    .decision-engine__ribbon-aside .ribbon-store__trial-support-row .ribbon-store__mini-panel-body {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .decision-engine__ribbon-aside .ribbon-store__trial-support-row .ribbon-store__mini-panel-body .ribbon-cmd,
    .decision-engine__ribbon-aside .ribbon-store__trial-support-row .ribbon-store__mini-panel-body .ribbon-cmd--meta.ribbon-cmd--large {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin-inline: 0;
        align-self: stretch;
    }

    .decision-engine__drawer-grid,
    .decision-details-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-right: 0;
    }

    .decision-engine__drawer-col--aside {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(19, 38, 75, 0.1);
        padding-top: 16px;
    }
}

@media (max-width: 900px) {
    .ribbon-cmd--large {
        min-width: 48px;
        max-width: 72px;
        padding: 4px 4px 8px;
    }

    .decision-engine__ribbon-aside .ribbon-store__trial-support-row .ribbon-cmd--large {
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    .ribbon-cmd--large .ribbon-cmd__label {
        font-size: 0.65rem;
    }

    .ribbon-cluster__cell--pattern .ribbon-cmd__label,
    .ribbon-cluster__cell--floor .ribbon-cmd__label {
        font-size: 0.65rem;
    }
}

/* Scroll offset under fixed header; highlight card when linked from ribbon */
#purchase-ultimate,
#purchase-generators,
#purchase-pattern,
#purchase-filter,
#purchase-floor,
#purchase-theme,
#purchase-image,
#purchase-spaceframe,
#license-manager {
    scroll-margin-top: 96px;
}


/* ── Pricing Hero Bundles (2-col big cards) ────────────────────────────────── */
.pricing-hero-bundles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.pricing-tools-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(19, 38, 75, 0.45);
    margin: 0 0 14px 0;
}

.pricing-hero-card {
    position: relative;
    background: var(--white);
    border: 1px solid rgba(19, 38, 75, 0.14);
    border-radius: var(--radius-md);
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 4px 18px rgba(19, 38, 75, 0.07);
}

.pricing-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(19, 38, 75, 0.12);
}

.pricing-hero-card--ultimate {
    border-top: 4px solid var(--accent-red);
}

.pricing-hero-card--ultimate:hover {
    border-color: rgba(19, 38, 75, 0.25);
    border-top-color: var(--accent-red);
}

.pricing-hero-card--generators {
    border-top: 4px solid var(--primary-blue);
}

.pricing-hero-card--generators:hover {
    border-color: rgba(19, 38, 75, 0.25);
    border-top-color: var(--primary-blue);
}

.pricing-hero-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 5px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff9e6 0%, #ffe8a8 100%);
    color: var(--primary-blue);
    border: 1px solid rgba(235, 30, 40, 0.22);
    box-shadow: var(--shadow-sm);
    pointer-events: none;
}

.pricing-hero-card__badge--gen {
    background: linear-gradient(135deg, #e8f0ff 0%, #c7d9ff 100%);
    border-color: rgba(19, 38, 75, 0.2);
}

.pricing-hero-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 80px;
}

.pricing-hero-card__icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.pricing-hero-card__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.pricing-hero-card__subtitle {
    font-size: 0.75rem;
    color: rgba(19, 38, 75, 0.55);
    margin: 0;
    font-weight: 500;
}

.pricing-hero-card__desc {
    font-size: 0.82rem;
    color: rgba(19, 38, 75, 0.7);
    line-height: 1.55;
    margin: 0;
}

.pricing-hero-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pricing-hero-card__pricing {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(19, 38, 75, 0.04);
    border: 1px solid rgba(19, 38, 75, 0.08);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    margin-top: auto;
}

.pricing-hero-card__price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pricing-hero-card__compare {
    font-size: 0.82rem;
    color: rgba(19, 38, 75, 0.4);
}

.pricing-hero-card__price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
}

.pricing-hero-card__save-badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.25);
    border-radius: 999px;
    padding: 4px 9px;
}

.pricing-hero-card__price-row--centered {
    justify-content: center;
}

.pricing-hero-card__tier-row,
.pricing-hero-card__billing-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pricing-hero-card__tier-row--labeled {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pricing-hero-card__tier-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(19, 38, 75, 0.8);
    white-space: nowrap;
}

.pricing-hero-select--auto {
    flex: 1;
    min-width: 0;
    max-width: 180px;
}

.pricing-hero-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 10px 12px;
    border: 1px solid rgba(19, 38, 75, 0.2);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: rgba(19, 38, 75, 0.7);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    flex: 1;
    min-width: 0;
}

.pricing-hero-pill small {
    font-size: 0.6rem;
    font-weight: 400;
    opacity: 0.65;
}

.pricing-hero-pill:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(19, 38, 75, 0.04);
}

.pricing-hero-pill.is-active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.pricing-hero-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(19, 38, 75, 0.2);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: rgba(19, 38, 75, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(19, 38, 75, 0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
}

.pricing-hero-select:hover {
    border-color: var(--primary-blue);
    background-color: rgba(19, 38, 75, 0.02);
}

.pricing-hero-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(19, 38, 75, 0.1);
}

.pricing-hero-card__billing-note {
    font-size: 0.68rem;
    color: rgba(19, 38, 75, 0.45);
    margin-top: 2px;
}

.pricing-hero-card__cta {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: var(--white);
    background: var(--accent-red);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
    box-shadow: 0 4px 14px rgba(235, 30, 40, 0.28);
}

.pricing-hero-card__cta:hover {
    background: #c8151f;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(235, 30, 40, 0.35);
}

.pricing-hero-card__cta--secondary {
    background: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(19, 38, 75, 0.22);
}

.pricing-hero-card__cta--secondary:hover {
    background: var(--primary-blue-hover);
    box-shadow: 0 6px 20px rgba(19, 38, 75, 0.3);
}

/* Hide old ribbon elements now replaced by hero cards */
.decision-engine__ultimate-strip--hidden,
.decision-engine__cta--hidden {
    display: none !important;
}

@media (max-width: 767px) {
    .pricing-hero-bundles {
        grid-template-columns: 1fr;
    }
}

.tool-card:target,
.generators-package-card:target,
.free-tool-card#license-manager:target {
    outline: 3px solid rgba(235, 30, 40, 0.45);
    outline-offset: 4px;
    box-shadow: 0 0 0 6px rgba(235, 30, 40, 0.08);
}

.tool-card {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(19, 38, 75, 0.3);
}

.all-tools-card:hover {
    border-color: rgba(19, 38, 75, 0.28);
    border-top-color: var(--accent-red);
}

.all-tools-card {
    position: relative;
    background: var(--white);
    border: 1px solid rgba(19, 38, 75, 0.18);
    border-top: 4px solid var(--accent-red);
    box-shadow: 0 8px 28px rgba(19, 38, 75, 0.08);
    flex: 1;
    min-width: 0;
    min-height: 0;
}

.best-value-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #fff9e6 0%, #ffe8a8 100%);
    color: var(--primary-blue);
    border: 1px solid rgba(235, 30, 40, 0.28);
    box-shadow: var(--shadow-sm);
    pointer-events: none;
    max-width: min(140px, 42%);
    text-align: center;
    line-height: 1.25;
}

.all-tools-card .tool-header {
    padding-right: 0;
}

.generators-package-card {
    background: var(--white);
    border: 1px solid var(--card-border);
    flex: 1;
    min-height: 0;
}

.generators-package-card .bundle-includes {
    flex-grow: 1;
    margin-bottom: 12px;
}

.generators-package-card .tool-header {
    margin-bottom: 12px;
}

.generators-package-card .generators-card-actions {
    margin-top: auto;
}

/* Tier pills inside grey panel with price + Buy (no floating pills above) */
.generators-pricing-dropdown.pricing-dropdown {
    padding: 16px 20px 20px;
}

.generators-pricing-dropdown .generators-tier-pill-row.tier-pill-row {
    margin-bottom: 14px;
    margin-top: 0;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.generators-pricing-dropdown .price-display.bundle-price-block {
    margin-top: 0;
    margin-bottom: 12px;
}

@media (max-width: 520px) {
    .generators-pricing-dropdown .generators-tier-pill-row.tier-pill-row {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.all-tools-card .tool-title {
    color: var(--accent-red);
}

.all-tools-card .tool-icon {
    font-size: 2rem;
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tool-icon {
    font-size: 2rem;
}

.tool-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.tool-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Grid tool cards: intro + feature chips */
.tool-card-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
}

.tool-card-main .tool-description {
    margin-bottom: 0;
    flex-grow: 0;
}

.tool-card-features {
    flex-grow: 1;
}

.tool-card-features .bundle-includes-label {
    margin-bottom: 8px;
}

/* Bundle cards: tool chips (aligned with license email pill style, site blue theme) */
.bundle-includes {
    flex-grow: 1;
    margin-bottom: 20px;
}

.bundle-includes-intro {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 14px;
}

.bundle-includes-intro strong {
    color: var(--text-primary);
    font-weight: 600;
}

.bundle-includes-intro-secondary {
    margin-top: 8px;
    margin-bottom: 14px;
}

.bundle-includes-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.bundle-tool-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.2;
}

.bundle-tool-chip {
    display: inline-flex;
    align-items: center;
    background: rgba(22, 163, 74, 0.06);
    color: #16a34a;
    border: 1px solid rgba(22, 163, 74, 0.15);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    transition: var(--transition);
}

.bundle-tool-chip:hover {
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.25);
}

.bundle-excludes-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.45;
}

/* Same horizontal layout as device tier row (Solo / Team / Enterprise) */
.billing-pill-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

.billing-pill-row .tier-pill {
    flex: 1 1 0;
    min-width: 0;
}

.all-tools-card .billing-pill-row {
    margin-top: 14px;
    margin-bottom: 16px;
}

.card-actions {
    margin-top: auto;
}

.pricing-dropdown {
    position: relative;
    background: var(--background);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
}

/* The bundle cards carry different numbers of tool chips — three on Ultimate,
   seven on Modify — so the price blocks started at different heights. Pushing
   the block to the foot of the card lines the prices and Buy buttons up across
   the row, whatever the chips above do. */
.pc-card > .pricing-dropdown {
    margin-top: auto;
}

.all-tools-card .pricing-dropdown {
    background: var(--background);
    min-width: 0;
}

.price-display {
    margin: 16px 0;
}

.bundle-price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 10px 14px;
    margin-bottom: 6px;
}

.price-compare {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.price-compare del {
    text-decoration: line-through;
    opacity: 0.85;
}

.bundle-price-block .price {
    display: inline;
    font-size: 2.25rem;
}

.price-save-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent-red);
    display: block;
}

.billing-cycle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
    white-space: normal;
    line-height: 1.45;
    max-width: 100%;
}

.all-tools-card .billing-cycle {
    color: var(--text-secondary);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 32px;
}

/* ===== Cards ===== */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.product-card.featured {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid var(--accent-red);
    grid-column: span 4;
}

.product-card.featured .product-title,
.product-card.featured .product-icon {
    color: #ffd700;
}

.product-card.featured .product-desc {
    color: #ccc;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.product-icon {
    font-size: 2rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-pricing {
    background: var(--background);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
}

.product-card.featured .product-pricing {
    background: rgba(255, 255, 255, 0.1);
}

.price-amount {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent-red);
    display: block;
}

.price-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.product-card.featured .price-info {
    color: #aaa;
}

/* ===== License tier: pills + visually hidden native <select> (checkout) ===== */
.tier-select-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.tier-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    /* Three tiers across a 250px card leaves ~55px each, which is not enough for
       "Enterprise" — the labels collided. One per row reads cleanly and keeps the
       device count beside the name rather than under it. */
    .tier-pill-row {
        flex-direction: column;
        gap: 6px;
    }

    .tier-pill {
        flex: 0 0 auto;
        flex-direction: row;
        justify-content: center;
        gap: 6px;
        padding: 8px 10px;
    }
}

.tier-pill {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 2px solid var(--card-border);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.tier-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition);
    line-height: 1.2;
}

.tier-desc {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    line-height: 1.2;
}

/* "+ Modeling Tools" is longer than any other pill label and broke onto a
   second line, leaving that pill taller than "AI Only" beside it. An equal
   split is too narrow for it, so size these two pills to their content and
   drop the label a size — together that fits both on one line. */
.tier-pill-row--toolkit .tier-pill {
    flex: 1 1 auto;
}

.tier-pill-row--toolkit .tier-name,
.tier-pill-row--toolkit .tier-desc {
    white-space: nowrap;
}

.tier-pill-row--toolkit .tier-name {
    font-size: 0.72rem;
}

.tier-pill:hover {
    border-color: rgba(19, 38, 75, 0.35);
}

.tier-pill:hover .tier-name {
    color: var(--primary-blue);
}

.tier-pill.is-active {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(19, 38, 75, 0.15);
}

.tier-pill.is-active .tier-name,
.tier-pill.is-active .tier-desc {
    color: var(--white);
}

.tier-pill:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: 2px;
}

.all-tools-card .tier-pill.is-active {
    border-color: var(--accent-red);
    background: var(--accent-red);
    box-shadow: 0 4px 12px rgba(235, 30, 40, 0.2);
}

.all-tools-card .tier-pill:hover:not(.is-active) {
    border-color: rgba(235, 30, 40, 0.45);
}

.all-tools-card .tier-pill:hover:not(.is-active) .tier-name {
    color: var(--accent-red);
}

.buy-button {
    width: 100%;
    padding: 14px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.buy-button:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-2px);
}

/* ===== Store / Services toggle ===== */
.section-browse-toggle {
    padding: 20px 0 8px;
    background: var(--background);
    border-bottom: 1px solid var(--card-border);
}

.store-services-toggle {
    display: flex;
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 4px;
    border-radius: 999px;
    background: rgba(19, 38, 75, 0.06);
    border: 1px solid var(--card-border);
    gap: 4px;
}

.store-services-toggle__btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-secondary);
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.store-services-toggle__btn:hover {
    color: var(--text-primary);
}

.store-services-toggle__btn:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.store-services-toggle__btn.is-active {
    background: var(--white);
    color: var(--text-primary);
    box-shadow: 0 1px 4px rgba(19, 38, 75, 0.08);
}

.store-services-panel[hidden] {
    display: none !important;
}

/* ===== "Our Tools" view tabs =====
   Same pill treatment as the store/services toggle above, widened for three
   options. The panel below is shared: each view shows a different subset of
   blocks rather than swapping in duplicate cards. */
.tools-tabs {
    display: flex;
    justify-content: center;
    max-width: 620px;
    margin: 0 auto 32px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(19, 38, 75, 0.06);
    border: 1px solid var(--card-border);
    gap: 4px;
}

.tools-tabs__btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-secondary);
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.tools-tabs__btn:hover {
    color: var(--text-primary);
}

/* Billing model belongs on the tab itself: the choice between these views is
   really subscription vs one-time, so saying it here saves a scroll. */
.tools-tabs__badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    padding: 2px 8px;
    border-radius: 999px;
    color: #15803d;
    background: rgba(22, 163, 74, 0.14);
    transition: var(--transition);
}

.tools-tabs__btn:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.tools-tabs__btn.is-active {
    background: var(--white);
    color: var(--text-primary);
    box-shadow: 0 1px 4px rgba(19, 38, 75, 0.08);
}

/* These blocks set their own display, so [hidden] needs the extra weight. */
#tools-block-ai[hidden],
#tools-block-modeling[hidden],
#tools-block-ribbon[hidden] {
    display: none !important;
}

/* ===== Services showcase (modeling + automation) ===== */
.services-showcase {
    background: var(--white);
}

.services-showcase__eyebrow {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.services-showcase__title {
    margin-bottom: 12px;
}

.services-showcase__lead {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.services-showcase__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin: 48px auto 56px;
    max-width: 920px;
}

.services-showcase__card {
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 28px 26px;
    background: var(--background);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.services-showcase__card:hover {
    border-color: rgba(19, 38, 75, 0.18);
    box-shadow: var(--shadow-sm);
}

.services-showcase__card-icon {
    display: block;
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 14px;
    line-height: 1;
}

.services-showcase__card-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.services-showcase__card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
}

.services-showcase__list {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.services-showcase__list li {
    margin-bottom: 6px;
}

.services-showcase__contact {
    max-width: 520px;
    margin: 48px auto 0;
    text-align: center;
    padding: 28px 24px;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    background: var(--background);
}

.services-showcase__contact-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.services-showcase__contact-hint {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 20px;
}

.services-showcase__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 0;
}

.btn-contact-telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-sm);
    border: 2px solid #229ed9;
    color: #1a7ba6;
    background: rgba(34, 158, 217, 0.08);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

a.btn-contact-telegram:hover {
    background: rgba(34, 158, 217, 0.16);
    border-color: #1b8ec4;
    color: #146387;
}

.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-sm);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a.btn-secondary-outline:hover {
    background: rgba(37, 99, 235, 0.06);
    color: var(--primary-blue-hover);
    border-color: var(--primary-blue-hover);
}

/* ===== Services Section ===== */
.services-section {
    background: var(--white);
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.service-card {
    text-align: center;
    padding: 32px 24px;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
}

.service-title {
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
}

/* ===== Process Flow ===== */
.process-flow {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    max-width: 220px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 16px;
}

.step-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.process-arrow {
    font-size: 1.5rem;
    color: var(--accent-red);
    margin-top: 12px;
}

.services-cta {
    text-align: center;
    background: var(--background);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.services-cta h3 {
    margin-bottom: 16px;
}

.services-email {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 16px;
}

.services-email a {
    color: var(--primary-blue);
    text-decoration: none;
}

.services-email a:hover {
    color: var(--accent-red);
}

/* ===== Audience Section ===== */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.audience-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-red);
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.audience-title {
    font-size: 1.1rem;
}

/* ===== Trust Section ===== */
.trust-section {
    background: var(--primary-blue);
    color: var(--white);
}

.trust-section .section-title,
.trust-section .section-subtitle {
    color: var(--white);
}

.trust-section .section-subtitle {
    opacity: 0.9;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    max-width: 280px;
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.trust-text {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
}

/* ===== Videos Section ===== */
.videos-section {
    background: var(--white);
}

.video-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .video-layout {
        flex-direction: row;
    }
}

.video-playlist {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 550px;
    overflow-y: auto;
    padding-right: 12px;
}

.video-playlist::-webkit-scrollbar {
    width: 6px;
}
.video-playlist::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.video-playlist::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.video-playlist::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.video-player-side {
    flex: 1;
}

.main-video-container {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #000;
    box-shadow: var(--shadow-lg);
}

.main-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
}

.main-video-title {
    text-align: left;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 0;
}

.video-thumb {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.video-thumb:hover {
    background: #fff;
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.video-thumb.active {
    background: #fff;
    border-color: var(--pixy-blue);
    box-shadow: var(--shadow-sm);
}

.video-thumb-inner {
    width: 120px;
    flex-shrink: 0;
    padding-bottom: 24%; /* approx 16:9 for 120px width -> 67px height, 67/120 = 55.8% */
    height: 68px; /* Fixed height for consistency */
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #000;
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.video-thumb:hover img {
    opacity: 0.8;
}

.video-thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.video-thumb-play::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 9px solid white;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-left: 2px;
}

.video-thumb:hover .video-thumb-play,
.video-thumb.active .video-thumb-play {
    opacity: 1;
}

.video-thumb-title {
    flex: 1;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.3;
}

.video-thumb.active .video-thumb-title {
    color: var(--pixy-blue);
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--background);
}

.contact-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.contact-email {
    font-size: 1.75rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 32px;
}

.contact-email a {
    color: var(--primary-blue);
    text-decoration: none;
}

.contact-email a:hover {
    color: var(--accent-red);
}

.contact-checklist {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.contact-checklist h4 {
    margin-bottom: 16px;
}

.contact-checklist ul {
    list-style: none;
}

.contact-checklist li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
}

.contact-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: bold;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 48px 0;
    text-align: center;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
}

.social-icon-btn--footer {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--white);
    box-shadow: none;
}

.social-icon-btn--footer:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.footer-links {
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 16px;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-red);
}

.footer-trust {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-copyright {
    opacity: 0.7;
    font-size: 0.85rem;
}

/* ===== Social Buttons ===== */
.social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-btn.telegram {
    background: #0088cc;
}

.social-btn.telegram:hover {
    background: #006699;
}

.social-btn.youtube {
    background: #FF0000;
}

.social-btn.youtube:hover {
    background: #cc0000;
}

.social-btn.tiktok {
    background: #000000;
}

.social-btn.tiktok:hover {
    background: #333333;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #a01472 100%);
}

/* ===== Email Modal ===== */
.email-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.email-modal.active {
    display: flex;
}

.email-modal-content {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

.email-modal-content h3 {
    margin-bottom: 16px;
}

.email-modal-content p {
    margin-bottom: 20px;
}

.email-input-group {
    margin-bottom: 24px;
}

.email-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.email-input-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--card-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

.email-input-group input:focus {
    outline: none;
    border-color: var(--accent-red);
}

.email-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-cancel {
    background: var(--card-border);
    color: var(--text-primary);
}

.btn-continue {
    background: var(--primary-blue);
    color: var(--white);
}

/* ===== Post-download Telegram modal ===== */
.post-download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.post-download-modal.active {
    display: flex;
}

.post-download-modal-content {
    position: relative;
    background: var(--white);
    padding: 32px 28px 28px;
    border-radius: var(--radius-md);
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.post-download-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.post-download-modal-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
}

.post-download-modal-icon {
    margin-bottom: 12px;
}

.post-download-modal-content h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.post-download-modal-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.55;
}

.post-download-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.btn-telegram-channel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #229ED9;
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.btn-telegram-channel:hover {
    background: #1b8ec4;
    color: #fff !important;
}

.btn-post-download-dismiss {
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.btn-post-download-dismiss:hover {
    color: var(--text-primary);
}

/* ===== Free Trial Button ===== */
.free-trial-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.free-trial-button:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
}

.free-trial-section {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--card-border);
}

.trial-info {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 8px;
    white-space: nowrap;
}

/* ===== Social Buttons ===== */
/* ===== Old Social Styles Removed ===== */
/* Social styles are now defined near hero-ctas and buttons section */

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card.featured {
        grid-column: span 2;
    }

    .services-grid,
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-flow {
        gap: 24px;
    }

    .process-arrow {
        display: none;
    }

    .top-section-container {
        grid-template-columns: 1fr 1fr;
    }

    .top-left-info-stack {
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smaller tablets: stack trial + system cards vertically */
@media (max-width: 900px) {
    .top-left-info-stack {
        flex-direction: column;
    }
}

/* Tablet row: trial uses natural width; system card fills rest */
@media (max-width: 1024px) and (min-width: 901px) {
    .top-left-info-stack {
        align-items: stretch;
    }

    .top-left-info-stack .free-tool-card.trial-promo-card {
        flex: 1 1 0;
        align-self: stretch;
        min-width: 0;
    }

    .top-left-info-stack .sys-req-card {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
    }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 24px 24px;
        margin: 0;
        box-shadow: var(--shadow-md);
        gap: 0;
        border-bottom: 1px solid var(--card-border);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        list-style: none;
        border-bottom: 1px solid var(--card-border);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 14px 8px;
        font-size: 1rem;
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .products-grid,
    .services-grid,
    .audience-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .product-card.featured {
        grid-column: span 1;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-ctas-primary {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas-primary .btn {
        max-width: none;
    }

    .top-section-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .top-left-info-stack {
        grid-column: auto;
    }

    .trust-items {
        flex-direction: column;
        gap: 32px;
    }

    .contact-box {
        padding: 32px 24px;
    }

    .social-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 60px 0;
    }

    .services-showcase__grid {
        grid-template-columns: 1fr;
        margin-top: 32px;
        margin-bottom: 40px;
    }

    .store-services-toggle__btn {
        padding: 9px 12px;
        font-size: 0.8rem;
    }

    .tools-tabs {
        max-width: 100%;
    }

    .tools-tabs__btn {
        padding: 8px 6px;
        font-size: 0.74rem;
        white-space: normal;
    }

    .tools-tabs__badge {
        font-size: 0.55rem;
        padding: 2px 6px;
    }

    .services-showcase__cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-secondary-outline {
        width: 100%;
        text-align: center;
    }
}
/* =============================================================================
   Pixy marketing reel — extracted from pixy-reel/MergedReel.html (verbatim)
   Variables scoped to #productShell to avoid overriding site :root tokens.
   ============================================================================= */
#productShell {
  --accent-green: #13a33b;
  --pixy-blue: #13264b;
  --accent-red: #eb1e28;
  --sky: #1a3366;
  --white: #ffffff;
  --bg: #f8f9fb;
  --card-border: #e6eaf2;
  --text-secondary: #7a8599;
  --grid: rgba(19, 38, 75, 0.05);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  /* Hero section sizing — more generous than the original reel */
  --hero-content-max: min(92vw, 960px);
  --hero-panel-r: 18px;
  --hero-panel-pad: 18px 22px;
  --hero-stack-gap: 16px;
  --hero-title: clamp(1.8rem, min(3.8vw, 5.8vh), 4.5rem);
  --hero-title-compact: clamp(1.2rem, min(2.4vw, 3.4vh), 1.72rem);
  --hero-line: clamp(1.0rem, min(1.7vw, 2.6vh), 1.38rem);
  --hero-code: clamp(2.0rem, min(4.8vw, 6.4vh), 3.2rem);
  --hero-logo: clamp(100px, min(14vw, 18vh), 220px);
  --hero-logo-xl: clamp(130px, min(18vw, 22vh), 290px);
  --hero-hook: clamp(2.4rem, min(5.4vw, 7.4vh), 3.8rem);
  --hero-scene-pad-y: clamp(16px, min(2.4vw, 3.2vh), 32px);
  --hero-scene-pad-x: clamp(24px, min(4.0vw, 4.8vh), 56px);
  --hero-shell-pad-y: clamp(16px, min(2.2vw, 2.8vh), 28px);
  --hero-shell-pad-x: clamp(20px, min(3.6vw, 4.4vh), 48px);
  --hero-inner-r: 14px;
  --hero-cta-text: clamp(1.12rem, min(2.6vw, 3.2vh), 1.48rem);
  --hero-caption: clamp(0.74rem, min(1.18vw, 1.6vh), 0.92rem);
  --hero-meta: clamp(0.88rem, min(1.36vw, 1.92vh), 1.08rem);
  --hero-block-gap: clamp(22px, min(3.2vw, 4.0vh), 40px);
}

#productShell *{ box-sizing: border-box; margin: 0; padding: 0; }

#productShell{
  width: 100%;
  min-height: 0;
  display: block;
  background: var(--bg);
  overflow: hidden;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  padding: 0;
}

#productShell .reel-shell{
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  /* 16:7 sits between ultrawide reel and full-height hero — readable on any screen */
  aspect-ratio: 16 / 7;
  height: auto;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(165deg, #f8f9fb 0%, #f2f5fa 55%, #e9eef6 100%);
  /* Softer shadow — appropriate for an embedded hero widget, not a floating card */
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.06);
  isolation: isolate;
  transition: opacity 120ms linear;
  transform: none;
  transform-origin: unset;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: auto;
}

#productShell .reel-shell::after{
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 22px 22px;
  z-index: 0;
  pointer-events: none;
}

#productShell .bg-shape{
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(19, 38, 75, 0.14), rgba(19, 38, 75, 0.09) 52%, rgba(19, 38, 75, 0) 78%);
  mix-blend-mode: screen;
  opacity: 0.24;
  animation: shapePulse 7.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  z-index: 0;
  pointer-events: none;
}

/* Slightly larger ambient shapes to fill the taller hero area */
#productShell .s1{ width: 220px; height: 220px; left: -48px; top: -36px; animation-delay: -0.3s; }
#productShell .s2{ width: 240px; height: 240px; right: -80px; top: 180px; animation-delay: -1.5s; }
#productShell .s3{ width: 160px; height: 160px; left: 38%; bottom: -40px; animation-delay: -2.2s; }

@keyframes shapePulse{
  0% { transform: scale(0.95); opacity: 0.16; }
  50% { transform: scale(1.03); opacity: 0.26; }
  100% { transform: scale(0.98); opacity: 0.18; }
}

#productShell .content{
  position: relative;
  z-index: 2;
  height: 100%;
  padding: var(--hero-shell-pad-y) var(--hero-shell-pad-x);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: var(--hero-stack-gap);
}

#productShell .stage{
  position: relative;
  overflow: hidden;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

#productShell .scene{
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  justify-content: center;
  gap: var(--hero-stack-gap);
  padding: var(--hero-scene-pad-y) var(--hero-scene-pad-x);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

#productShell .scene .title, #productShell .scene .line{
  max-width: 100%;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  color: var(--pixy-blue);
  text-shadow: 0 8px 20px rgba(19, 38, 75, 0.12);
}

#productShell .title{
  font-size: var(--hero-title);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  white-space: normal;
}

#productShell .line{
  font-size: var(--hero-line);
  line-height: 1.05;
  font-weight: 800;
  opacity: 0.85;
  transform: translateY(10px);
  white-space: normal;
}

#productShell .contrast-stack{
  display: grid;
  gap: var(--hero-stack-gap);
  width: 100%;
  min-height: auto;
  max-width: 92%;
  justify-items: center;
  align-items: center;
  align-content: center;
  justify-content: center;
  text-align: center;
}

/* ===== Scene 7 — Community Gallery base styles ===== */
#productShell .scene7-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(42,125,225,0.15), rgba(42,125,225,0.06));
  border: 1px solid rgba(42,125,225,0.3);
  border-radius: 20px;
  padding: 7px 20px;
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--pixy-blue);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
/* ===== End Scene 7 base ===== */

#productShell .scene[data-scene="5"]{
  place-content: center;
}

#productShell .payment-shift-card{
  width: min(100%, var(--hero-content-max));
  border: 1px solid rgba(19, 38, 75, 0.14);
  border-radius: var(--hero-panel-r);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(19, 38, 75, 0.1);
  padding: var(--hero-panel-pad);
  display: grid;
  gap: var(--hero-stack-gap);
}

#productShell .payment-shift-head{
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

#productShell .title-shift{
  font-size: var(--hero-title);
  line-height: 0.94;
  letter-spacing: -0.015em;
}

#productShell .shift-sub{
  font-size: var(--hero-line);
  opacity: 0.92;
  transform: none;
}

#productShell .payment-columns{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: var(--hero-stack-gap);
}

#productShell .payment-col{
  border-radius: var(--hero-inner-r);
  border: 1px solid rgba(19, 38, 75, 0.16);
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 8px;
  display: grid;
  align-content: start;
  gap: 8px;
}

#productShell .payment-col-old{
  background: rgba(19, 38, 75, 0.05);
}

#productShell .payment-col-new{
  border-color: rgba(21, 70, 148, 0.35);
  box-shadow: inset 0 0 0 1px rgba(39, 110, 214, 0.12);
}

#productShell .payment-badge{
  justify-self: start;
  border-radius: 999px;
  border: 1px solid rgba(19, 38, 75, 0.2);
  background: rgba(255, 255, 255, 0.92);
  color: var(--pixy-blue);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 3px 8px;
}

#productShell .payment-label{
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-secondary);
  line-height: 1.1;
}

#productShell .payment-arrow{
  align-self: center;
  justify-self: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--pixy-blue);
  opacity: 0.85;
}

#productShell .payment-plan-list{
  display: grid;
  gap: 6px;
}

#productShell .payment-plan-chip{
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(19, 38, 75, 0.18);
  background: rgba(255, 255, 255, 0.98);
  color: var(--pixy-blue);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  padding: 7px 8px;
  letter-spacing: 0.02em;
  isolation: isolate;
}

#productShell .payment-plan-chip::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2d4f86, #13264b);
  transform: scaleX(0);
  transform-origin: left;
  z-index: -1;
}

#productShell .scene[data-scene="5"].is-on .payment-shift-card{
  animation: fadeUpIn 360ms ease-out both;
}

#productShell .scene[data-scene="5"].is-on .payment-col-old{
  animation: fadeUpIn 320ms ease-out 120ms both;
}

#productShell .scene[data-scene="5"].is-on .payment-col-new{
  animation: fadeUpIn 320ms ease-out 240ms both;
}

#productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(1){
  animation: chipTextFill 340ms ease-out 380ms both;
}

#productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(1)::before{
  animation: chipBgFill 340ms ease-out 380ms forwards;
}

#productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(2){
  animation: chipTextFill 340ms ease-out 620ms both;
}

#productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(2)::before{
  animation: chipBgFill 340ms ease-out 620ms forwards;
}

#productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(3){
  animation: chipTextFill 340ms ease-out 860ms both;
}

#productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(3)::before{
  animation: chipBgFill 340ms ease-out 860ms forwards;
}

@keyframes chipBgFill{
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes chipTextFill{
  0% { color: var(--pixy-blue); transform: scale(1); }
  45% { transform: scale(1.04); }
  100% { color: #ffffff; transform: scale(1); }
}

#productShell .strike{
  position: relative;
}

#productShell .strike::after{
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 48%;
  height: 4px;
  border-radius: 999px;
  background: rgba(19, 38, 75, 0.35);
  transform: scaleX(0);
  transform-origin: left;
  animation: strikeIn 420ms var(--ease) 220ms forwards;
}

#productShell .scene.is-on{
  opacity: 1;
  pointer-events: auto;
}

#productShell .scene.is-on .title{
  animation: fadeUpIn 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

#productShell .scene.is-on .line{
  animation: fadeUpIn 520ms cubic-bezier(0.22, 1, 0.36, 1) 260ms both;
}

#productShell .scene[data-scene="5"].is-on .contrast-stack .line{
  animation-delay: 520ms;
}

#productShell .scene[data-scene="5"] .line{
  transform: scale(1.08) translateY(-2px);
  color: #0b1d3a;
  font-weight: 900;
}

#productShell .title-proof{
  font-size: var(--hero-title);
  line-height: 0.92;
  max-width: min(100%, var(--hero-content-max));
  margin-inline: auto;
  text-align: center;
  justify-self: center;
  letter-spacing: -0.02em;
}

#productShell .scene[data-scene="2"]{
  justify-items: center;
  justify-content: center;
  align-content: center;
  text-align: center !important;
  direction: ltr !important;
}

#productShell .scene[data-scene="2"] .proof-wrap{
  justify-self: center;
  margin-inline: auto;
}

#productShell .scene[data-scene="2"] .title-proof{
  width: 100%;
  max-width: min(100%, var(--hero-content-max));
  text-align: center !important;
  margin-inline: auto !important;
  direction: ltr !important;
}

#productShell .title-subscription{
  font-size: var(--hero-title);
  line-height: 0.94;
}

#productShell .title-cta-focus{
  font-size: var(--hero-title);
  line-height: 0.92;
}

#productShell .transition-hard .scene{ transform: none; }
#productShell .transition-zoom .scene{ transform: none; }
#productShell .transition-zoom .scene.is-on{ transform: none; }
#productShell .transition-flash .scene{ transform: none; }
#productShell .transition-burst .scene{ transform: none; }
#productShell .transition-burst .scene.is-on{ transform: none; }


#productShell .transition-flash .scene[data-scene="2"]{
  transform: none !important;
}

#productShell .transition-flash .scene[data-scene="2"].is-on{
  transform: none !important;
}

#productShell .transition-flash .scene[data-scene="3"]{
  transform: none !important;
}

#productShell .transition-flash .scene[data-scene="3"].is-on{
  transform: none !important;
}

@keyframes fadeUpIn{
  0% { opacity: 0; transform: translateY(14px) scale(0.99); }
  82% { opacity: 1; transform: translateY(-1px) scale(1.002); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes strikeIn{ to { transform: scaleX(1); } }
@keyframes proofLive{ from { transform: scale(1); } to { transform: scale(1.045); } }
@keyframes proofProgress{ from { transform: scaleX(0); } to { transform: scaleX(1); } }

#productShell .proof-wrap{
  position: relative;
  width: min(100%, var(--hero-content-max));
  aspect-ratio: 16 / 10;
  border-radius: var(--hero-panel-r);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 0 0 1px rgba(19, 38, 75, 0.06) inset;
}

#productShell .proof-wrap::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--pixy-blue), var(--accent-red));
  transform: scaleX(0);
  transform-origin: left;
  animation: none;
  z-index: 3;
}

#productShell .scene.is-on .proof-wrap::after{
  animation: proofProgress 1.4s linear both;
}

#productShell .proof-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 1;
  transform: scale(1.08);
}

#productShell .proof-overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  background: none;
}

#productShell .proof-badge{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pixy-blue);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 38, 75, 0.14);
  border-radius: 999px;
  padding: 5px 8px;
}

#productShell .scene[data-scene="2"].is-on .proof-wrap{
  animation: proofImpact 420ms cubic-bezier(0.2, 1, 0.3, 1);
}

#productShell .scene[data-scene="2"]::before{
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 55% 50%, rgba(235, 30, 40, 0.08), transparent 42%), radial-gradient(circle at 35% 40%, rgba(26, 51, 102, 0.12), transparent 46%);
  pointer-events: none;
  opacity: 0;
}

#productShell .scene[data-scene="2"].is-on::before{
  animation: lightLeak 520ms ease-out both;
}

@keyframes proofImpact{
  0% { transform: scale(0.85); }
  100% { transform: scale(1); }
}

@keyframes lightLeak{
  0% { opacity: 0; transform: scale(0.9); }
  55% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 0.35; transform: scale(1); }
}

#productShell .scene[data-scene="7"].is-on, #productShell .scene[data-scene="8"].is-on{
  animation: finalPush 600ms ease-out;
}

@keyframes finalPush{
  0% { transform: scale(0.96); }
  100% { transform: scale(1.02); }
}

#productShell .plans{
  display: grid;
  gap: 10px;
  width: min(100%, var(--hero-content-max));
  position: relative;
}

#productShell .plan{
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 10px 14px;
  color: #13264b;
  font-size: var(--hero-title-compact);
  font-weight: 800;
  letter-spacing: 0.04em;
  background: #ffffff;
  opacity: 0.72;
  transition: transform 240ms var(--ease-spring), box-shadow 240ms var(--ease-spring), border-color 240ms var(--ease-spring);
  text-align: left;
  white-space: nowrap;
}

#productShell .plan-free{
  opacity: 1;
  border-width: 2px;
  border-color: var(--accent-red);
  background: linear-gradient(160deg, #fff5f5 0%, #ffffff 100%);
  transform: scale(1.02);
  box-shadow: 0 0 0 2px rgba(235, 30, 40, 0.2), 0 12px 30px rgba(19, 38, 75, 0.2);
}

#productShell .plan-sub{
  display: block;
  margin-top: 4px;
  font-size: var(--hero-line);
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0;
  white-space: normal;
}

#productShell .plan.is-hover{
  transform: scale(1.06);
  opacity: 1;
  border-color: rgba(19, 38, 75, 0.3);
  box-shadow: 0 10px 24px rgba(19, 38, 75, 0.16), 0 0 0 1px rgba(19, 38, 75, 0.08) inset;
}

#productShell .inspect{
  position: absolute;
  width: min(70vw, 210px);
  right: -8px;
  top: 40px;
  border-radius: var(--hero-panel-r);
  border: 1px solid var(--card-border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 252, 0.95));
  color: var(--text-secondary);
  font-size: var(--hero-line);
  line-height: 1.3;
  font-weight: 700;
  padding: 10px 12px;
  opacity: 0;
  transform: scale(0.6) translateX(30px);
  pointer-events: none;
  transition: opacity 320ms cubic-bezier(0.22, 1, 0.36, 1), transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(14px);
}

#productShell .inspect.is-on{ opacity: 1; transform: scale(1) translateX(0); }

#productShell .neon{
  border: 1px solid var(--card-border);
  border-radius: var(--hero-panel-r);
  padding: var(--hero-panel-pad);
  width: min(100%, var(--hero-content-max));
  background: linear-gradient(160deg, #ffffff 0%, #e8ecf4 55%, #e0e7f2 100%);
  box-shadow: 0 0 0 1px rgba(19, 38, 75, 0.08) inset, 0 0 20px rgba(19, 38, 75, 0.1), 0 0 40px rgba(19, 38, 75, 0.08);
  animation: pulseNeon 7s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

#productShell .code{
  font-size: var(--hero-code);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--pixy-blue);
  text-shadow: 0 0 20px rgba(19, 38, 75, 0.16);
}

#productShell .cta-main{
  font-size: var(--hero-title-compact);
  font-weight: 900;
  color: #13264b;
  line-height: 1.1;
  margin-bottom: 4px;
}

#productShell .cta-sub{
  font-size: var(--hero-line);
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.1;
}

@keyframes pulseNeon{
  0% { transform: scale(0.997); }
  50% { transform: scale(1.006); }
  100% { transform: scale(1.0); }
}

#productShell .cursor{
  position: absolute;
  width: 24px;
  height: 24px;
  z-index: 30;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: left 280ms var(--ease-spring), top 280ms var(--ease-spring), transform 120ms var(--ease), opacity 120ms linear;
  filter: drop-shadow(0 0 6px rgba(19, 38, 75, 0.22));
  opacity: 0;
}

#productShell .cursor svg{ width: 100%; height: 100%; display: block; }

#productShell .cursor.is-click{ transform: translate(-50%, -50%) scale(0.74); }
#productShell .cursor.is-on{ opacity: 1; }

#productShell .ripple{
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(19, 38, 75, 0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none;
  z-index: 29;
  animation: ripple 520ms var(--ease) forwards;
}

@keyframes ripple{ to { transform: translate(-50%, -50%) scale(6); opacity: 0; } }

#productShell .flash{
  position: absolute;
  inset: 0;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
  z-index: 26;
}

#productShell .flash.is-on{ animation: flash 340ms ease-out forwards; }
@keyframes flash{ 0% { opacity: 0; } 22% { opacity: 0.95; } 100% { opacity: 0; } }
#productShell .flash.is-peak{ animation: flashPeak 420ms ease-out forwards; }
@keyframes flashPeak{ 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }

#productShell .progress-wrap{
  height: 5px;
  border-radius: 999px;
  background: rgba(19, 38, 75, 0.08);
  border: 1px solid rgba(19, 38, 75, 0.12);
  overflow: hidden;
}

#productShell .progress{
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #13264b, #3d5a8a);
  box-shadow: 0 0 12px rgba(19, 38, 75, 0.28);
  transition: width 80ms linear, transform 120ms ease-out;
  transform-origin: center;
}

#productShell .logo-mark{
  width: var(--hero-logo);
  height: auto;
  margin-bottom: 2px;
  opacity: 0;
  transform: translateY(10px) scale(0.94);
}

#productShell .logo-outro{
  width: var(--hero-logo);
  margin-bottom: 8px;
}

#productShell .logo-final{
  width: var(--hero-logo-xl);
  margin-bottom: 4px;
}

#productShell .final-brand{
  width: min(100%, var(--hero-content-max));
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

#productShell .title-final{
  font-size: var(--hero-title);
  line-height: 0.92;
}

#productShell .final-tagline{
  font-size: var(--hero-line);
  font-weight: 800;
  color: var(--text-secondary);
  transform: none;
}

#productShell .final-download{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(19, 38, 75, 0.2);
  background: linear-gradient(150deg, #13264b, #25467e);
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 20px rgba(19, 38, 75, 0.22);
}

#productShell .final-store{
  font-size: var(--hero-line);
}

#productShell .scene.is-on .logo-mark{
  animation: logoLift 520ms var(--ease-spring) both;
}

#productShell .scene[data-scene="1"] .logo-mark{
  width: var(--hero-logo-xl);
}

#productShell .scene[data-scene="1"].is-on .logo-mark{
  animation-delay: 0ms;
}

#productShell .scene[data-scene="1"].is-on .title{
  animation-delay: 420ms;
}

#productShell .scene[data-scene="1"].is-on .line{
  animation-delay: 780ms;
}


#productShell .scene[data-scene="2"] .title-steps, #productShell .scene[data-scene="2"] .steps-flow .step-card, #productShell .scene[data-scene="2"] .steps-flow .step-arrow, #productShell .scene[data-scene="2"] .title-proof, #productShell .scene[data-scene="2"] .proof-wrap, #productShell .scene[data-scene="2"] .proof-badge{
  opacity: 0;
}

#productShell .scene[data-scene="2"].is-on .title-steps{
  animation: fadeUpIn 380ms ease-out 0ms both;
}

#productShell .scene[data-scene="2"].is-on .steps-flow .step-card:nth-child(1), #productShell .scene[data-scene="2"].is-on .steps-flow .step-arrow:nth-child(2){
  animation: fadeUpIn 320ms ease-out 360ms both;
}

#productShell .scene[data-scene="2"].is-on .steps-flow .step-card:nth-child(3), #productShell .scene[data-scene="2"].is-on .steps-flow .step-arrow:nth-child(4){
  animation: fadeUpIn 320ms ease-out 700ms both;
}

#productShell .scene[data-scene="2"].is-on .steps-flow .step-card:nth-child(5){
  animation: fadeUpIn 320ms ease-out 1040ms both;
}

#productShell .scene[data-scene="2"].is-on .title-proof{
  animation: fadeUpIn 360ms ease-out 1420ms both;
}

#productShell .scene[data-scene="2"].is-on .proof-wrap{
  animation: fadeUpIn 380ms ease-out 1680ms both;
}

#productShell .scene[data-scene="2"].is-on .proof-badge{
  animation: fadeUpIn 320ms ease-out 2060ms both;
}

#productShell .title-pricing{
  font-size: var(--hero-title);
  white-space: normal;
}

#productShell .title-trial, #productShell .title-bot{
  font-size: var(--hero-title);
  line-height: 1;
}


#productShell .scene[data-scene="4"] .title-bot, #productShell .scene[data-scene="6"] .line, #productShell .scene[data-scene="6"] .title-subscription, #productShell .scene[data-scene="6"] .scene6-followup-line{
  max-width: 92%;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;
}

#productShell .scene[data-scene="6"] .title-subscription{
  max-width: min(100%, var(--hero-content-max));
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: var(--hero-title);
  line-height: 0.95;
}

#productShell .scene[data-scene="4"] .title-bot{
  font-size: var(--hero-title);
  line-height: 1.05;
}

#productShell .scene[data-scene="6"] .line, #productShell .scene[data-scene="6"] .scene6-followup-line{
  font-size: var(--hero-line);
  line-height: 1.12;
  white-space: nowrap !important;
}

#productShell .scene[data-scene="6"] .scene6-followup-title, #productShell .scene[data-scene="6"] .scene6-followup-line{
  opacity: 0;
  transform: translateY(10px);
}

#productShell .scene[data-scene="6"].is-on .scene6-followup-title{
  animation: fadeUpIn 360ms ease-out 1250ms both;
}

#productShell .scene[data-scene="6"].is-on .scene6-followup-line{
  animation: fadeUpIn 360ms ease-out 1480ms both;
}

#productShell .title-token{
  white-space: nowrap;
  font-size: var(--hero-title-compact);
  letter-spacing: -0.01em;
}

#productShell .scene[data-scene="3"]{
  justify-items: center;
  align-content: center;
}

#productShell .trial-evolution-card{
  width: min(100%, var(--hero-content-max));
  border: 1px solid var(--card-border);
  border-radius: var(--hero-panel-r);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 1px rgba(19, 38, 75, 0.06) inset;
  padding: var(--hero-panel-pad);
  display: grid;
  gap: var(--hero-stack-gap);
  max-height: 132px;
  overflow: hidden;
}

#productShell .scene[data-scene="3"].is-on .trial-evolution-card{
  animation: trialExtend 640ms var(--ease) 520ms forwards;
}

@keyframes trialExtend{
  from { max-height: 132px; }
  to { max-height: 420px; }
}

#productShell .trial-phase{
  border: 1px solid rgba(19, 38, 75, 0.12);
  border-radius: var(--hero-inner-r);
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
}

#productShell .trial-tag{
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  position: relative;
  min-height: 0.9rem;
}

#productShell .trial-label-old, #productShell .trial-label-new{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  text-align: center;
}

#productShell .trial-label-old{
  color: var(--pixy-blue);
  opacity: 1;
}

#productShell .trial-label-new{
  color: var(--accent-red);
  opacity: 0;
}

#productShell .scene[data-scene="3"].is-on .trial-label-old{
  animation: hideOldTrialLabel 1ms linear 520ms forwards;
}

#productShell .scene[data-scene="3"].is-on .trial-label-new{
  animation: showNewTrialLabel 1ms linear 520ms forwards;
}

@keyframes hideOldTrialLabel{
  to { opacity: 0; }
}

@keyframes showNewTrialLabel{
  to { opacity: 1; }
}

#productShell .trial-tag-new{
  color: var(--pixy-blue);
}

#productShell .trial-state, #productShell .trial-token-note{
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.2;
}

#productShell .trial-state{
  margin-top: 4px;
}

#productShell .trial-old-row, #productShell .trial-new-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(19, 38, 75, 0.12);
  border-radius: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
}

#productShell .trial-old-row{
  min-height: 58px;
}

#productShell .trial-tools-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

#productShell .trial-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(19, 38, 75, 0.2);
  background: rgba(255, 255, 255, 0.96);
  color: var(--pixy-blue);
  font-size: 0.66rem;
  font-weight: 800;
  white-space: nowrap;
}

#productShell .trial-state{
  color: var(--pixy-blue);
  font-weight: 900;
  white-space: nowrap;
  border: 1px solid rgba(19, 38, 75, 0.18);
  border-radius: 999px;
  background: rgba(19, 38, 75, 0.06);
  padding: 5px 10px;
  font-size: 0.72rem;
  line-height: 1;
}

#productShell .scene[data-scene="3"] .trial-old-row{
  opacity: 0;
  transform: translateY(8px);
}

#productShell .scene[data-scene="3"].is-on .trial-old-row{
  animation: fadeUpIn 340ms ease-out 0ms forwards;
}

#productShell .trial-new-row{
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
  opacity: 0;
  transform: translateY(8px);
}

#productShell .scene[data-scene="3"].is-on .trial-new-row{
  animation: trialNewExpand 640ms var(--ease) 520ms forwards, fadeUpIn 320ms ease-out 520ms forwards;
}

@keyframes trialNewExpand{
  from {
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-color: transparent;
  }
  to {
    max-height: 220px;
    margin-top: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-color: rgba(19, 38, 75, 0.12);
  }
}

#productShell .trial-token-note{
  font-size: 0.68rem;
  color: var(--pixy-blue);
  font-weight: 900;
  white-space: nowrap;
  margin-left: 4px;
  border: 1px solid rgba(19, 38, 75, 0.18);
  border-radius: 999px;
  background: rgba(19, 38, 75, 0.06);
  padding: 5px 10px;
  line-height: 1;
}

#productShell .scene[data-scene="3"] .title-token{
  animation-delay: 1260ms;
}

#productShell .scene[data-scene="3"] .token-layout{
  opacity: 0;
  transform: translateY(10px);
}

#productShell .scene[data-scene="3"].is-on .token-layout{
  animation: fadeUpIn 420ms ease-out 1560ms forwards;
}

#productShell .token-layout{
  position: relative;
  width: min(100%, var(--hero-content-max));
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: var(--hero-stack-gap);
  justify-items: center;
  margin-inline: auto;
}

#productShell .token-revit{
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(19, 38, 75, 0.06) inset;
  border-radius: var(--hero-inner-r);
  padding: var(--hero-panel-pad);
  min-height: 152px;
  display: grid;
  align-content: space-between;
  gap: var(--hero-stack-gap);
  width: 100%;
}

#productShell .token-dashboard{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--hero-stack-gap);
  padding: 5px;
}

#productShell .token-tool{
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(19, 38, 75, 0.16);
  color: var(--pixy-blue);
  font-size: 0.62rem;
  padding: 5px;
  min-height: 30px;
  border-radius: var(--hero-inner-r);
  display: grid;
  place-items: center;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

#productShell .token-tool-icon{
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--pixy-blue);
  letter-spacing: 0.03em;
}

#productShell .token-tool.is-flash{
  border-color: rgba(19, 38, 75, 0.4);
  box-shadow: 0 0 14px rgba(19, 38, 75, 0.2);
  transform: scale(1.03);
}

#productShell .token-btn{
  background: var(--pixy-blue);
  color: #fff;
  border: 1px solid rgba(19, 38, 75, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--hero-inner-r);
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 8px 20px rgba(19, 38, 75, 0.24);
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

#productShell .token-btn.is-active{
  filter: brightness(1.08);
  box-shadow: 0 0 15px rgba(19, 38, 75, 0.35), 0 10px 22px rgba(19, 38, 75, 0.2);
  transform: translateY(-1px) scale(1.01);
}

#productShell .token-manager{
  border: 1px solid var(--card-border);
  border-radius: var(--hero-inner-r);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(19, 38, 75, 0.06) inset;
  padding: 10px;
  width: min(100%, var(--hero-content-max));
  backdrop-filter: blur(12px);
}

#productShell .token-title{
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--pixy-blue);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
  text-align: center;
}

#productShell .token-count{
  font-size: 0.82rem;
  color: var(--pixy-blue);
  font-family: "Consolas", "Courier New", monospace;
  font-weight: 900;
  background: rgba(19, 38, 75, 0.06);
  border: 1px solid rgba(19, 38, 75, 0.2);
  border-radius: 6px;
  padding: 6px 8px;
  text-shadow: none;
  text-align: center;
  transition: color 140ms ease;
  transform-origin: center;
}

#productShell .token-count.is-hit{
  color: #e41f2d;
  animation: tokenCountHit 260ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes tokenCountHit{
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

#productShell .token-pulse{
  position: absolute;
  left: 46%;
  top: 68%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(19, 38, 75, 0.8);
  transform: scale(0);
  pointer-events: none;
}

#productShell .token-pulse.is-on{
  animation: tokenPulse 520ms ease-out;
}

@keyframes tokenPulse{
  0% { transform: scale(0); opacity: 1; }
  70% { transform: scale(8); opacity: 0.45; }
  100% { transform: scale(10); opacity: 0; }
}

#productShell .bot-mock{
  width: min(100%, var(--hero-content-max));
  border: 1px solid var(--card-border);
  border-radius: var(--hero-panel-r);
  background: rgba(255, 255, 255, 0.95);
  padding: 12px;
  display: grid;
  gap: 8px;
  max-height: none;
  overflow: visible;
}

#productShell .bot-mock.is-expanded{
  max-height: none;
  transition: none;
}

#productShell .bot-mock.is-expanded-final{
  max-height: none;
  transition: none;
}

#productShell .bot-head{
  display: flex;
  align-items: center;
  gap: 8px;
}

#productShell .bot-username{
  margin-left: auto;
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--pixy-blue);
  white-space: nowrap;
}

#productShell .bot-avatar-img{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(19, 38, 75, 0.2);
}

#productShell .bot-meta{
  display: grid;
  line-height: 1;
  gap: 2px;
}

#productShell .bot-name{
  font-size: 0.76rem;
  font-weight: 900;
  color: var(--pixy-blue);
}

#productShell .bot-status{
  font-size: 0.64rem;
  font-weight: 700;
  color: #13a33b;
}

#productShell .bot-bubble{
  max-width: 92%;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}

#productShell .bot-bubble.is-hidden{
  display: none;
}

#productShell .bot-user{
  justify-self: end;
  color: #fff;
  background: #2a7de1;
}

#productShell .bot-reply{
  justify-self: start;
  color: var(--text-secondary);
  background: rgba(232, 236, 244, 0.9);
  border: 1px solid rgba(19, 38, 75, 0.12);
}

#productShell .bot-msg{
  min-height: 0;
  margin-top: 6px;
}

#productShell .bot-delivery{
  display: none;
  opacity: 0;
  transform: translateY(8px);
  color: #0d8a3f;
  background: rgba(20, 163, 75, 0.12);
  border: 1px solid rgba(20, 163, 75, 0.35);
}

#productShell .bot-delivery.is-on{
  display: block;
  animation: fadeUpIn 340ms ease-out both;
}

#productShell .bot-start{
  margin-top: 0;
  background: #2a7de1;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 10px 12px;
  transform: none;
}

#productShell .title-steps{
  font-size: var(--hero-title);
  line-height: 0.98;
}

#productShell .steps-flow{
  width: min(100%, var(--hero-content-max));
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: var(--hero-stack-gap);
}

#productShell .step-card{
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: var(--hero-panel-pad);
  border: 1px solid var(--card-border);
  border-radius: var(--hero-inner-r);
  background: rgba(255, 255, 255, 0.92);
}

#productShell .step-icon{
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--accent-red);
}

#productShell .step-label{
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--pixy-blue);
  line-height: 1.1;
}

#productShell .step-arrow{
  font-size: 1rem;
  font-weight: 900;
  color: var(--pixy-blue);
}

#productShell .proof-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

#productShell .proof-pane{
  position: relative;
  overflow: hidden;
}

#productShell .proof-pane .proof-video{
  width: 100%;
  height: 100%;
}

#productShell .proof-manual .proof-video{
  filter: saturate(0.35) contrast(0.95);
  opacity: 0.82;
}

#productShell .proof-pixy .proof-video{
  filter: saturate(1.05) contrast(1.05);
  opacity: 1;
}

#productShell .pane-label{
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(19, 38, 75, 0.7);
  border-radius: 999px;
  padding: 3px 8px;
}

#productShell .proof-social{
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 4;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pixy-blue);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(19, 38, 75, 0.16);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
  opacity: 0;
}

#productShell .scene[data-scene="2"].is-on .proof-social{
  animation: socialPop 460ms ease-out 220ms both;
}

@keyframes socialPop{
  from { opacity: 0; transform: translateX(-50%) translateY(8px) scale(0.94); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

#productShell .plan-icon{
  display: inline-block;
  min-width: 38px;
  font-size: var(--hero-caption);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--pixy-blue);
}

#productShell .cta-limited{
  margin-top: 2px;
  margin-bottom: 4px;
  font-size: var(--hero-caption);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-red);
}

@keyframes logoLift{
  from { opacity: 0; transform: translateY(10px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

#servicesWrap *{ box-sizing: border-box; margin: 0; padding: 0; }

    #servicesWrap{
      --pixy-blue: #13264b;
      --accent-red: #eb1e28;
      --accent-green: #13a33b;
      --white: #ffffff;
      --bg: #f8f9fb;
      --text-secondary: #333d4d;
      --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
      width: 100%;
      min-height: 0;
      display: block;
      background: #000;
      overflow: hidden;
      font-family: "Inter", sans-serif;
      padding: 0;
    }

    #servicesWrap .reel-shell{
      position: relative;
      left: auto;
      top: auto;
      width: 100%;
      max-width: 100%;
      margin-inline: auto;
      /* Match the product reel aspect ratio for visual consistency */
      aspect-ratio: 16 / 7;
      height: auto;
      border-radius: 0;
      overflow: hidden;
      background: var(--bg);
      box-shadow: 0 8px 40px rgba(0,0,0,0.18);
      transform: none;
      transform-origin: unset;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      will-change: auto;
    }

    #servicesWrap .scene{
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: var(--hero-stack-gap);
      padding: var(--hero-scene-pad-y) var(--hero-scene-pad-x);
      text-align: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s var(--ease-kinetic);
    }

    #servicesWrap .scene.is-on{ opacity: 1; pointer-events: auto; }

    
    #servicesWrap .k-title{
      font-size: var(--hero-title);
      font-weight: 900;
      line-height: 0.9;
      color: var(--pixy-blue);
      text-transform: uppercase;
      letter-spacing: -0.04em;
      transform: translateY(40px);
      opacity: 0;
    }

    
    #servicesWrap .scene[data-scene="1"] .k-title, #servicesWrap .scene[data-scene="3"] .k-title{
      color: var(--accent-red);
    }

    
    #servicesWrap .scene[data-scene="2"] .k-title, #servicesWrap .scene[data-scene="4"] .k-title{
      color: var(--accent-green);
    }

    #servicesWrap .k-sub{
      font-size: var(--hero-line);
      font-weight: 700;
      color: var(--accent-red);
      margin-bottom: calc(var(--hero-stack-gap) * 0.67);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      transform: translateY(20px);
      opacity: 0;
    }

    #servicesWrap .k-desc{
      font-size: var(--hero-line);
      font-weight: 600;
      color: var(--text-secondary);
      margin-top: calc(var(--hero-stack-gap) * 0.5);
      line-height: 1.32;
      transform: translateY(20px);
      opacity: 0;
      margin-bottom: calc(var(--hero-stack-gap) * 0.67);
    }

    #servicesWrap .is-on .k-title, #servicesWrap .is-on .k-sub, #servicesWrap .is-on .k-desc{
      animation: k-slide-up 0.5s var(--ease-kinetic) forwards;
    }
    #servicesWrap .is-on .k-title{ animation-delay: 0.1s; }
    #servicesWrap .is-on .k-desc{ animation-delay: 0.2s; }

    @keyframes k-slide-up{
      to { transform: translateY(0); opacity: 1; }
    }

    
    #servicesWrap .card-container{
      display: flex;
      flex-direction: column;
      gap: var(--hero-stack-gap);
      width: min(100%, var(--hero-content-max));
      opacity: 0;
      transform: translateY(20px);
    }

    #servicesWrap .is-on .card-container{
      animation: k-slide-up 0.5s var(--ease-kinetic) 0.3s forwards;
    }

    #servicesWrap .fill-card{
      position: relative;
      border: 1px solid rgba(19, 38, 75, 0.15);
      border-radius: var(--hero-panel-r);
      padding: var(--hero-panel-pad);
      font-weight: 700;
      color: var(--pixy-blue);
      font-size: var(--hero-line);
      text-align: center;
      overflow: hidden;
      background: transparent;
      transition: color 0.6s var(--ease-kinetic), border-color 0.6s var(--ease-kinetic), box-shadow 0.6s var(--ease-kinetic);
    }

    
    #servicesWrap .contact-card{
        padding: var(--hero-panel-pad);
        font-size: var(--hero-line);
        letter-spacing: 0.02em;
        text-transform: none; 
    }

    
    #servicesWrap .fill-card::after{
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 0%;
      height: 100%;
      background: var(--pixy-blue);
      z-index: -1;
      transition: width 0.8s var(--ease-kinetic);
    }

    
    #servicesWrap .is-on .fill-card.is-filled{
      color: var(--white);
      border-color: var(--pixy-blue);
      box-shadow: 0 10px 25px rgba(19, 38, 75, 0.2);
    }

    #servicesWrap .is-on .fill-card.is-filled::after{
      width: 100%;
    }

    #servicesWrap .cta-area{
      width: 100%;
      margin-top: var(--hero-block-gap);
    }

    #servicesWrap .cta-button{
      background: var(--pixy-blue);
      color: white;
      text-decoration: none;
      padding: var(--hero-panel-pad);
      border-radius: var(--hero-inner-r);
      font-weight: 900;
      font-size: var(--hero-cta-text);
      display: block;
      text-transform: uppercase;
      margin-bottom: var(--hero-block-gap);
    }

    #servicesWrap .footer-text{
      font-size: var(--hero-caption);
      font-weight: 700;
      color: var(--text-secondary);
      margin-top: var(--hero-stack-gap);
      text-transform: uppercase;
      line-height: 1.6;
    }

    #servicesWrap .hook-accent{
      font-size: var(--hero-hook);
      color: var(--accent-red);
      line-height: 0.8;
      display: block;
    }

    
    #servicesWrap .scene-final{
      justify-content: center;
      gap: var(--hero-stack-gap);
      padding-inline: var(--hero-scene-pad-x);
    }

    #servicesWrap .final-title{
      font-size: var(--hero-title);
      line-height: 0.88;
    }

    #servicesWrap .final-desc{
      font-size: var(--hero-line);
      max-width: 88%;
      margin-bottom: calc(var(--hero-stack-gap) * 0.83);
    }

    #servicesWrap .final-panel{
      width: min(100%, var(--hero-content-max));
      border: 1px solid rgba(19, 38, 75, 0.14);
      border-radius: var(--hero-panel-r);
      background: rgba(255, 255, 255, 0.72);
      box-shadow: 0 16px 34px rgba(19, 38, 75, 0.14);
      padding: var(--hero-panel-pad);
      display: grid;
      gap: var(--hero-stack-gap);
      opacity: 0;
      transform: translateY(16px);
    }

    #servicesWrap .scene.is-on .final-panel{
      animation: k-slide-up 0.45s var(--ease-kinetic) 0.35s forwards;
    }

    #servicesWrap .final-cta{
      margin: 0;
      border-radius: var(--hero-inner-r);
      font-size: var(--hero-cta-text);
      padding: var(--hero-panel-pad);
      background: linear-gradient(145deg, #13264b, #1d3a72);
      box-shadow: 0 10px 20px rgba(19, 38, 75, 0.24);
    }

    #servicesWrap .final-contact-list{
      display: grid;
      gap: calc(var(--hero-stack-gap) * 0.67);
    }

    #servicesWrap .final-contact-item{
      border: 1px solid rgba(19, 38, 75, 0.14);
      border-radius: var(--hero-inner-r);
      background: rgba(255, 255, 255, 0.88);
      padding: calc(var(--hero-stack-gap) * 0.85) var(--hero-stack-gap);
      text-align: left;
      display: grid;
      gap: 2px;
    }

    #servicesWrap .final-contact-label{
      font-size: var(--hero-caption);
      font-weight: 800;
      letter-spacing: 0.08em;
      color: var(--accent-red);
      text-transform: uppercase;
    }

    #servicesWrap .final-contact-value{
      font-size: var(--hero-meta);
      font-weight: 700;
      color: var(--pixy-blue);
      letter-spacing: 0.01em;
    }

  /* ================================================================
     MOBILE OVERRIDES — portrait-friendly single-column layout
     ================================================================ */
  @media (max-width: 767px) {
    @keyframes fadeOutMobile {
      from { opacity: 1; transform: translateY(0); }
      to { opacity: 0; transform: translateY(-12px); }
    }

    #productShell .reel-shell {
      aspect-ratio: 4 / 3 !important;
      height: auto !important;
    }

    #servicesWrap .reel-shell {
      aspect-ratio: 4 / 3 !important;
      height: auto !important;
    }

    #productShell .content {
      padding: 20px 14px;
    }

    #productShell .scene {
      padding: 30px 14px 20px;
      gap: 12px;
      justify-content: flex-start;
    }

    /* Scene 1 mobile: separate sequential scenes */
    #productShell .scene[data-scene="1"] {
      display: grid !important;
      grid-template-columns: 1fr !important;
      align-content: center !important;
      justify-items: center !important;
      align-items: center !important;
      padding: 0px !important;
      margin: 0 auto !important;
      width: 100% !important;
      text-align: center;
    }
    #productShell .scene[data-scene="1"] > * {
      grid-area: 1 / 1;
    }

    #productShell .scene[data-scene="1"] .scene1-brand {
      display: grid !important;
      gap: 6px;
      justify-items: center;
      margin: 0 auto !important;
      text-align: center;
      width: 100% !important;
    }

    #productShell .scene[data-scene="1"] .scene1-brand .logo-mark {
      width: clamp(70px, 20vw, 120px) !important;
    }

    #productShell .scene[data-scene="1"] .scene1-brand .title-brand {
      font-size: clamp(1.5rem, 6.5vw, 2.2rem) !important;
    }

    #productShell .scene[data-scene="1"] .scene1-brand .line {
      font-size: clamp(0.72rem, 3vw, 0.92rem) !important;
    }

    #productShell .scene[data-scene="1"] .scene1-right-steps {
      display: grid !important;
      gap: 10px;
      justify-items: center;
      margin: 0 auto !important;
      text-align: center;
      width: 100% !important;
    }

    #productShell .scene[data-scene="1"] .scene1-right-steps .title-steps {
      font-size: clamp(1.1rem, 4.5vw, 1.6rem) !important;
    }

    #productShell .scene[data-scene="1"] .scene1-right-steps .title-proof {
      font-size: clamp(1.3rem, 5.5vw, 2rem) !important;
      line-height: 0.92 !important;
    }

    #productShell .steps-flow {
      grid-template-columns: 1fr auto 1fr auto 1fr;
      gap: 5px;
    }

    #productShell .step-card {
      padding: 6px 3px;
    }

    #productShell .step-icon {
      font-size: 0.48rem;
    }

    #productShell .step-label {
      font-size: 0.54rem;
    }

    #productShell .step-arrow {
      font-size: 0.75rem;
    }

    /* Scene 1 mobile sequencing */
    #productShell .scene[data-scene="1"] .scene1-brand,
    #productShell .scene[data-scene="1"] .scene1-right-steps {
      opacity: 0;
      transform: translateY(12px);
    }

    #productShell .scene[data-scene="1"].is-on .scene1-brand {
      animation: fadeUpIn 480ms ease-out 80ms both, fadeOutMobile 300ms ease-in 1700ms forwards;
    }

    #productShell .scene[data-scene="1"].is-on .scene1-brand .logo-mark {
      animation: fadeUpIn 320ms ease-out 140ms both;
    }

    #productShell .scene[data-scene="1"].is-on .scene1-brand .title-brand {
      animation: fadeUpIn 320ms ease-out 360ms both;
    }

    #productShell .scene[data-scene="1"].is-on .scene1-brand .line {
      animation: fadeUpIn 320ms ease-out 580ms both;
    }

    #productShell .scene[data-scene="1"].is-on .scene1-right-steps {
      animation: fadeUpIn 420ms ease-out 1900ms both;
    }

    /* Scene 3 mobile: separate sequential scenes */
    #productShell .scene[data-scene="3"] {
      display: grid !important;
      grid-template-columns: 1fr !important;
      align-content: center !important;
      justify-items: center !important;
      align-items: center !important;
      padding: 0px !important;
      margin: 0 auto !important;
      width: 100% !important;
      text-align: center;
    }
    #productShell .scene[data-scene="3"] > * {
      grid-area: 1 / 1;
    }

    #productShell .scene[data-scene="3"] .scene3-left-cluster {
      display: grid !important;
      align-content: center;
      justify-items: center;
      align-items: center;
      width: 100%;
      grid-area: 1 / 1;
    }

    #productShell .scene[data-scene="3"] .scene3-left-cluster > .s3-group {
      grid-area: 1 / 1 !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      margin: 0 auto !important;
      gap: 16px;
      opacity: 0;
      transform: translateY(12px);
      width: 100% !important;
    }

    #productShell .scene[data-scene="3"] .scene3-left-cluster .title-trial {
      font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
    }

    #productShell .scene[data-scene="3"] .scene3-left-cluster .title-token {
      font-size: clamp(0.92rem, 3.8vw, 1.3rem) !important;
    }

    #productShell .scene[data-scene="3"] .scene3-right-bot {
      width: 100%;
      display: flex !important;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }

    #productShell .scene[data-scene="3"] .scene3-bot-title {
      font-size: clamp(0.92rem, 4vw, 1.4rem) !important;
    }

    #productShell .trial-evolution-card {
      max-height: 100px;
      width: 100% !important;
      max-width: 100% !important;
    }

    #productShell .trial-pill {
      font-size: 0.52rem;
      padding: 2px 6px;
      min-height: 20px;
    }

    #productShell .token-revit {
      min-height: auto;
      padding: 8px;
    }

    #productShell .token-dashboard {
      gap: 6px;
    }

    #productShell .token-tool {
      padding: 3px;
      min-height: 22px;
    }

    #productShell .token-tool-icon {
      font-size: 0.52rem;
    }

    #productShell .token-btn {
      padding: 6px 8px;
      font-size: 0.68rem;
    }

    #productShell .token-count {
      font-size: 0.64rem;
      padding: 3px 5px;
    }

    #productShell .bot-mock {
      width: 100% !important;
      max-width: 100% !important;
      padding: 8px;
    }

    /* Scene 3 mobile sequencing */
    #productShell .scene[data-scene="3"].is-on .scene3-left-cluster > .s3-group:nth-child(1) {
      animation: fadeUpIn 400ms ease-out 80ms both, fadeOutMobile 300ms ease-in 1600ms forwards;
    }

    #productShell .scene[data-scene="3"].is-on .scene3-left-cluster > .s3-group:nth-child(2) {
      animation: fadeUpIn 400ms ease-out 1800ms both;
      transition: opacity 300ms ease-in, transform 300ms ease-in, visibility 300ms;
    }

    #productShell .scene[data-scene="3"].is-bot-phase .scene3-left-cluster > .s3-group:nth-child(2) {
      opacity: 0;
      transform: translateY(-12px);
      visibility: hidden;
      pointer-events: none;
    }

    #productShell .scene[data-scene="3"] .scene3-right-bot {
      opacity: 0;
      transform: translateY(12px);
    }

    #productShell .scene[data-scene="3"].is-bot-phase .scene3-right-bot {
      opacity: 1;
      transform: translateY(0);
      animation: fadeUpIn 420ms ease-out both;
    }

    #productShell .scene[data-scene="3"].is-bot-phase .scene3-bot-title {
      animation: fadeUpIn 380ms ease-out both;
    }

    #productShell .scene[data-scene="3"].is-bot-phase .scene3-right-bot .bot-mock {
      animation: fadeUpIn 420ms ease-out 400ms both;
    }

    /* Scene 5 mobile: separate sequential scenes */
    #productShell .scene[data-scene="5"] {
      display: grid !important;
      grid-template-columns: 1fr !important;
      align-content: center !important;
      justify-items: center !important;
      align-items: center !important;
      padding: 0px !important;
      margin: 0 auto !important;
      width: 100% !important;
      text-align: center;
    }
    #productShell .scene[data-scene="5"] > * {
      grid-area: 1 / 1;
    }

    #productShell .scene[data-scene="5"] .scene5-left-stack {
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: center;
      width: 100%;
    }

    #productShell .scene[data-scene="5"] .scene5-copy {
      justify-items: center !important;
      text-align: center !important;
    }

    #productShell .scene[data-scene="5"] .scene5-copy .title {
      font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
    }

    #productShell .scene[data-scene="5"] .scene5-copy .line {
      font-size: clamp(0.72rem, 3vw, 0.92rem) !important;
    }

    #productShell .payment-shift-card {
      width: 100% !important;
      max-width: 100% !important;
    }

    #productShell .payment-shift-head .title-shift {
      font-size: clamp(1.1rem, 4.5vw, 1.6rem) !important;
    }

    #productShell .payment-columns {
      gap: 6px;
    }

    #productShell .payment-col {
      padding: 6px 5px;
    }

    #productShell .payment-badge {
      font-size: 0.48rem;
      padding: 2px 5px;
    }

    #productShell .payment-label {
      font-size: 0.56rem;
    }

    #productShell .payment-plan-chip {
      font-size: 0.54rem;
      padding: 4px 5px;
    }

    #productShell .payment-arrow {
      font-size: 0.9rem;
    }

    /* Scene 5 mobile sequencing */
    #productShell .scene[data-scene="5"] .scene5-left-stack,
    #productShell .scene[data-scene="5"] .payment-shift-card {
      opacity: 0;
      transform: translateY(12px);
    }

    #productShell .scene[data-scene="5"].is-on .scene5-left-stack {
      animation: fadeUpIn 420ms ease-out 120ms both, fadeOutMobile 300ms ease-in 2100ms forwards;
    }

    #productShell .scene[data-scene="5"].is-on .scene5-copy:nth-child(1) {
      animation: fadeUpIn 380ms ease-out 260ms both;
    }

    #productShell .scene[data-scene="5"].is-on .scene5-copy:nth-child(2) {
      animation: fadeUpIn 380ms ease-out 680ms both;
    }

    #productShell .scene[data-scene="5"].is-on .payment-shift-card {
      animation: fadeUpIn 380ms ease-out 2300ms both !important;
    }
    #productShell .scene[data-scene="5"].is-on .payment-col-old { animation-delay: 2420ms !important; }
    #productShell .scene[data-scene="5"].is-on .payment-arrow { animation-delay: 2500ms !important; }
    #productShell .scene[data-scene="5"].is-on .payment-col-new { animation-delay: 2540ms !important; }
    #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(1)::before { animation-delay: 2680ms !important; }
    #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(1) { animation-delay: 2680ms !important; }
    #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(2)::before { animation-delay: 2920ms !important; }
    #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(2) { animation-delay: 2920ms !important; }
    #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(3)::before { animation-delay: 3160ms !important; }
    #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(3) { animation-delay: 3160ms !important; }
    #productShell .scene[data-scene="5"].is-on .strike::after { animation-delay: 2520ms !important; }

    /* Scene 7 mobile: promo code + countdown */
    /* Scene 7 mobile — Community Gallery */
    #productShell .scene[data-scene="7"] {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 20px !important;
      padding-top: 0 !important;
    }

    #productShell .scene[data-scene="7"] .title {
      color: var(--pixy-blue) !important;
    }

    #productShell .scene7-left {
      display: flex !important;
      flex-direction: column;
      gap: 8px;
      align-items: center !important;
      text-align: center !important;
      width: 100%;
      opacity: 0;
      transform: translateY(12px);
    }

    #productShell .scene[data-scene="7"].is-on .scene7-left {
      animation: fadeUpIn 400ms ease-out 80ms both;
    }

    #productShell .scene[data-scene="7"].is-bot-phase .scene7-left {
      /* Keep it visible when bot phase starts */
      opacity: 1;
      transform: translateY(0);
      visibility: visible;
    }

    #productShell .title-community {
      text-align: center !important;
      font-size: clamp(1.5rem, 6.5vw, 2.2rem) !important;
    }

    #productShell .scene7-sub {
      text-align: center !important;
      font-size: clamp(0.72rem, 3vw, 0.9rem) !important;
    }

    #productShell .scene7-right {
      width: 100%;
      display: flex !important;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      opacity: 0;
      transform: translateY(12px);
    }

    #productShell .scene[data-scene="7"].is-bot-phase .scene7-right {
      opacity: 1;
      transform: translateY(0);
      animation: fadeUpIn 420ms ease-out both;
    }

    #productShell .title-community-bot {
      font-size: clamp(0.92rem, 4vw, 1.4rem) !important;
      color: var(--pixy-blue) !important;
    }

    #productShell .scene[data-scene="7"].is-bot-phase .scene7-bot-title {
      animation: fadeUpIn 380ms ease-out both;
    }

    #productShell .scene[data-scene="7"].is-bot-phase #communityBotMock {
      animation: fadeUpIn 420ms ease-out 400ms both;
    }

    #productShell #communityBotMock {
      width: 100% !important;
      max-width: 100% !important;
      padding: 8px;
    }

    /* Scene 8 mobile: final brand */
    #productShell .scene[data-scene="8"] {
      display: flex !important;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding-top: 60px;
      gap: 16px;
    }

    #productShell .scene[data-scene="8"] .final-brand {
      width: 100%;
      gap: 8px;
    }

    #productShell .scene[data-scene="8"] .logo-final {
      width: clamp(90px, 26vw, 150px) !important;
    }

    #productShell .scene[data-scene="8"] .title-final {
      font-size: clamp(1.6rem, 6.5vw, 2.4rem) !important;
    }

    #productShell .scene[data-scene="8"] .final-tagline {
      font-size: clamp(0.82rem, 3.2vw, 1.1rem) !important;
    }

    #productShell .scene[data-scene="8"] .final-download {
      min-width: 150px;
      padding: 10px 18px;
      font-size: 0.82rem !important;
    }

    /* Services reel mobile */
    #servicesWrap .scene {
      padding: 18px 12px;
      gap: 10px;
    }

    #servicesWrap .k-title {
      font-size: clamp(1.3rem, 5.5vw, 2rem) !important;
    }

    #servicesWrap .k-sub {
      font-size: clamp(0.68rem, 2.8vw, 0.86rem) !important;
    }

    #servicesWrap .k-desc {
      font-size: clamp(0.72rem, 3vw, 0.9rem) !important;
    }

    #servicesWrap .card-container {
      width: 100% !important;
    }

    #servicesWrap .fill-card {
      font-size: clamp(0.72rem, 2.8vw, 0.9rem) !important;
      padding: 10px 8px;
    }

    #servicesWrap .scene[data-scene="0"] .k-title {
      font-size: clamp(1.5rem, 6.5vw, 2.4rem) !important;
    }

    #servicesWrap .scene[data-scene="0"] .hook-accent {
      font-size: clamp(1.8rem, 8vw, 3.2rem) !important;
    }

    #servicesWrap .scene[data-scene="0"] .k-desc {
      font-size: clamp(0.72rem, 3vw, 0.92rem) !important;
    }

    #servicesWrap .final-panel {
      width: 100% !important;
    }

    #servicesWrap .final-title {
      font-size: clamp(1.3rem, 5.5vw, 2rem) !important;
    }

    #servicesWrap .final-desc {
      font-size: clamp(0.72rem, 3vw, 0.9rem) !important;
      max-width: 100%;
    }

    #servicesWrap .cta-button,
    #servicesWrap .final-cta {
      font-size: clamp(0.78rem, 3.2vw, 0.98rem) !important;
      padding: 10px 12px;
    }

    /* Hero fabric mobile adjustments */
    .hero.hero--fabric {
      min-height: auto;
      padding-top: 64px;
    }

    .hero--fabric .hero-fabric {
      padding: 4px 12px 10px;
      justify-content: center !important;
      gap: 16px !important;
    }

    .hero--fabric .hero-reel-host {
      margin-top: 28px !important;
      flex: 0 0 auto !important;
    }

    .hero--fabric .hero-badge--above-reel {
      font-size: 0.75rem;
      padding: 6px 14px;
      top: 0px;
      white-space: nowrap !important;
      width: max-content;
    }
  }

  /* ================================================================
     MULTI-COLUMN HERO LAYOUTS — fills the 16:7 horizontal space
     No content or animation changes — layout only
     Desktop only (≥768px)
     ================================================================ */
  @media (min-width: 768px) {

  /* --- Product Scene 2: LEFT = title + steps  |  RIGHT = big impact number --- */
  #productShell .scene[data-scene="2"] {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: clamp(20px, 3.5vw, 52px);
    row-gap: var(--hero-stack-gap);
    text-align: center;
    direction: ltr !important;
    justify-items: center;
  }

  #productShell .scene[data-scene="2"] .title-steps {
    grid-column: 1; grid-row: 1;
    justify-self: center; max-width: 100%;
  }

  #productShell .scene[data-scene="2"] .steps-flow {
    grid-column: 1; grid-row: 2;
    justify-self: center; width: 100%; max-width: 100%;
  }

  #productShell .scene[data-scene="2"] .title-proof {
    grid-column: 2; grid-row: 1 / span 2;
    align-self: center; justify-self: center;
    font-size: clamp(2.6rem, 5.8vw, 4.4rem) !important;
    line-height: 0.84 !important;
    max-width: 100%;
    text-align: center !important;
    direction: ltr !important;
  }

  /* --- Product Scene 3: 2 columns (left cluster + right bot column) --- */
  #productShell .scene[data-scene="3"] {
    display: grid !important;
    grid-template-columns: 1.45fr 0.95fr;
    align-content: center;
    align-items: center;
    justify-items: stretch;
    column-gap: clamp(18px, 2.8vw, 40px);
    row-gap: var(--hero-stack-gap);
    text-align: center;
  }

  .s3-group { display: contents; }

  #productShell .scene[data-scene="3"] .scene3-left-cluster{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    column-gap: clamp(16px, 2.2vw, 28px);
    row-gap: var(--hero-stack-gap);
    align-items: start;
  }

  #productShell .scene[data-scene="3"] .scene3-left-cluster .title-trial{
    grid-column: 1 / -1;
    grid-row: 1;
    margin: 0;
  }

  #productShell .scene[data-scene="3"] .scene3-left-cluster .trial-evolution-card{
    grid-column: 1;
    grid-row: 2 / span 2;
    width: 100%;
    max-width: 100%;
    align-self: center;
    opacity: 0;
    transform: translateY(52px);
  }

  #productShell .scene[data-scene="3"] .scene3-left-cluster .title-token{
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    font-size: var(--hero-title-compact) !important;
  }

  #productShell .scene[data-scene="3"] .scene3-left-cluster .token-layout{
    grid-column: 2;
    grid-row: 3;
    width: 100%;
    max-width: 100%;
  }

  #productShell .scene[data-scene="3"] .scene3-right-bot{
    display: grid;
    gap: var(--hero-stack-gap);
    align-content: start;
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .scene[data-scene="3"] .scene3-bot-title{
    text-align: center;
    font-size: clamp(1.18rem, 2.2vw, 1.9rem) !important;
    line-height: 0.95 !important;
    margin: 0;
    opacity: 0;
    transform: translateY(74px);
  }

  #productShell .scene[data-scene="3"] .scene3-right-bot .bot-mock{
    width: 100%;
    max-width: 100%;
    align-self: center;
    opacity: 0;
    transform: translateY(10px);
  }

  /* Sequential reveal in scene 3: full left column then right column */
  #productShell .scene[data-scene="3"] .scene3-left-cluster{
    opacity: 0;
    transform: translateY(12px);
  }

  @keyframes fullColumnCenterThenLeft {
    0% {
      opacity: 0;
      transform: translateX(calc(50vw - 50% - var(--hero-scene-pad-x))) translateY(12px) scale(0.98);
    }
    22% {
      opacity: 1;
      transform: translateX(calc(50vw - 50% - var(--hero-scene-pad-x))) translateY(0) scale(1);
    }
    78% {
      opacity: 1;
      transform: translateX(calc(50vw - 50% - var(--hero-scene-pad-x))) translateY(0) scale(1);
    }
    100% {
      opacity: 1;
      transform: translateX(0) translateY(0) scale(1);
    }
  }

  @keyframes fullColumnCenterHold {
    0% {
      opacity: 0;
      transform: translateX(calc(50vw - 50% - var(--hero-scene-pad-x))) translateY(12px) scale(0.98);
    }
    100% {
      opacity: 1;
      transform: translateX(calc(50vw - 50% - var(--hero-scene-pad-x))) translateY(0) scale(1);
    }
  }

  @keyframes fullColumnShiftLeft {
    0% {
      opacity: 1;
      transform: translateX(calc(50vw - 50% - var(--hero-scene-pad-x))) translateY(0) scale(1);
    }
    100% {
      opacity: 1;
      transform: translateX(0) translateY(0) scale(1);
    }
  }

  @keyframes fullColumnPageCenterThenLeft {
    0% {
      opacity: 0;
      transform: translateX(calc(50vw - 50% - var(--hero-scene-pad-x))) translateY(12px) scale(0.98);
    }
    22% {
      opacity: 1;
      transform: translateX(calc(50vw - 50% - var(--hero-scene-pad-x))) translateY(0) scale(1);
    }
    78% {
      opacity: 1;
      transform: translateX(calc(50vw - 50% - var(--hero-scene-pad-x))) translateY(0) scale(1);
    }
    100% {
      opacity: 1;
      transform: translateX(0) translateY(0) scale(1);
    }
  }

  #productShell .scene[data-scene="3"].is-on .scene3-left-cluster{
    animation: fullColumnCenterHold 900ms ease-out 80ms both;
  }

  #productShell .scene[data-scene="3"].is-on .scene3-left-cluster .trial-evolution-card{
    animation:
      trialCardMiddleToTop 560ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both,
      trialExtend 640ms var(--ease) 680ms forwards;
  }

  @keyframes trialCardMiddleToTop{
    0% {
      opacity: 0;
      transform: translateY(52px);
    }
    38% {
      opacity: 1;
      transform: translateY(52px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  #productShell .scene[data-scene="3"].is-left-shift .scene3-left-cluster{
    animation: fullColumnShiftLeft 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes botTitleMiddleToTop{
    0% {
      opacity: 0;
      transform: translateY(74px);
    }
    35% {
      opacity: 1;
      transform: translateY(74px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  #productShell .scene[data-scene="3"].is-bot-phase .scene3-right-bot{
    opacity: 1;
    transform: translateY(0);
  }

  #productShell .scene[data-scene="3"].is-bot-phase .scene3-bot-title{
    animation: botTitleMiddleToTop 980ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  #productShell .scene[data-scene="3"].is-bot-phase .scene3-right-bot .bot-mock{
    animation: fadeUpIn 420ms cubic-bezier(0.22, 1, 0.36, 1) 1020ms both;
  }

  /* --- Services scenes 1–4: LEFT = text  |  RIGHT = 2-col card grid --- */
  #servicesWrap .scene[data-scene="1"],
  #servicesWrap .scene[data-scene="2"],
  #servicesWrap .scene[data-scene="3"],
  #servicesWrap .scene[data-scene="4"] {
    display: grid !important;
    grid-template-columns: minmax(160px, 2fr) minmax(220px, 3fr);
    grid-auto-rows: auto;
    align-content: center;
    column-gap: clamp(24px, 4.5vw, 64px);
    row-gap: calc(var(--hero-stack-gap) * 0.55);
    text-align: left;
    align-items: start;
    padding: var(--hero-scene-pad-y) var(--hero-scene-pad-x);
  }

  /* Text elements (k-sub, k-title, k-desc) → left column, DOM order = auto rows */
  #servicesWrap .scene[data-scene="1"] > :not(.card-container),
  #servicesWrap .scene[data-scene="2"] > :not(.card-container),
  #servicesWrap .scene[data-scene="3"] > :not(.card-container),
  #servicesWrap .scene[data-scene="4"] > :not(.card-container) {
    grid-column: 1;
    text-align: left;
    margin: 0;
  }

  /* card-container → right column, spans all rows, internal 2×2 grid */
  #servicesWrap .scene[data-scene="1"] > .card-container,
  #servicesWrap .scene[data-scene="2"] > .card-container,
  #servicesWrap .scene[data-scene="3"] > .card-container,
  #servicesWrap .scene[data-scene="4"] > .card-container {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: center;
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: var(--hero-stack-gap);
  }

  /* Scene 1 and 3 have no k-sub → k-title starts at row 1 and fills more space */
  #servicesWrap .scene[data-scene="1"] .k-title,
  #servicesWrap .scene[data-scene="3"] .k-title {
    align-self: center;
  }

  /* ================================================================
     REMAINING SCENES — fix empty side-space
     ================================================================ */

  /* --- Scene 4 (Bot): LEFT = headline  |  RIGHT = chat mockup --- */
  #productShell .scene[data-scene="4"] {
    display: grid !important;
    grid-template-columns: 1fr 1.4fr;
    align-content: center;
    align-items: center;
    column-gap: clamp(24px, 4vw, 56px);
    row-gap: var(--hero-stack-gap);
    justify-items: center;
  }

  #productShell .scene[data-scene="4"] .title-bot {
    grid-column: 1; grid-row: 1;
    text-align: center;
    font-size: clamp(2rem, 4.2vw, 3.4rem) !important;
    line-height: 0.92 !important;
  }

  #productShell .scene[data-scene="4"] .bot-mock {
    grid-column: 2; grid-row: 1;
    width: 100%; max-width: 100%;
  }

  /* --- Scene 5 (Merged): left stacked copy + right payment card --- */
  #productShell .scene[data-scene="5"]{
    display: grid !important;
    grid-template-columns: 0.95fr 1.35fr;
    align-content: center;
    align-items: center;
    column-gap: clamp(26px, 4.2vw, 64px);
    row-gap: var(--hero-stack-gap);
    justify-items: stretch;
    text-align: left;
  }

  #productShell .scene[data-scene="5"] .scene5-left-stack{
    display: grid;
    gap: clamp(16px, 2.2vw, 30px);
    align-content: center;
  }

  #productShell .scene[data-scene="5"] .scene5-copy{
    display: grid;
    gap: clamp(4px, 0.9vw, 10px);
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    justify-items: start;
  }

  #productShell .scene[data-scene="5"] .scene5-copy .title{
    font-size: clamp(1.8rem, 3.8vw, 3rem) !important;
    line-height: 0.9 !important;
    margin: 0;
  }

  #productShell .scene[data-scene="5"] .scene5-copy .line{
    font-size: clamp(0.96rem, 1.55vw, 1.18rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin: 0;
    transform: none !important;
    transform-origin: center center;
    justify-self: center;
  }

  #productShell .scene[data-scene="5"] .scene5-copy .scene5-subline{
    font-size: clamp(0.84rem, 1.2vw, 1rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0;
    letter-spacing: 0 !important;
  }

  #productShell .scene[data-scene="5"] .payment-shift-card {
    width: min(100%, 1000px);
    max-width: 100%;
    justify-self: end;
  }

  #productShell .scene[data-scene="5"] .payment-shift-head .title-shift {
    font-size: clamp(2rem, 4.2vw, 3.2rem) !important;
  }

  /* Scene 5 strict sequencing: left column finishes first, then right column */
  #productShell .scene[data-scene="5"] .scene5-left-stack,
  #productShell .scene[data-scene="5"] .payment-shift-card{
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .scene[data-scene="5"].is-on .scene5-left-stack{
    animation: fullColumnPageCenterThenLeft 2300ms ease-out 120ms both;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy .title,
  #productShell .scene[data-scene="5"].is-on .scene5-copy .line{
    animation: none !important;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy .title{
    opacity: 1;
    transform: none;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy:nth-child(1){
    animation: fadeUpIn 420ms cubic-bezier(0.22, 1, 0.36, 1) 260ms both;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy:nth-child(2){
    animation: fadeUpIn 420ms cubic-bezier(0.22, 1, 0.36, 1) 980ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-shift-card{
    animation: fadeUpIn 380ms ease-out 2520ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-old{
    animation: fadeUpIn 320ms ease-out 2680ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new{
    animation: fadeUpIn 320ms ease-out 2840ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(1){
    animation: chipTextFill 340ms ease-out 3000ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(1)::before{
    animation: chipBgFill 340ms ease-out 3000ms forwards;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(2){
    animation: chipTextFill 340ms ease-out 3220ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(2)::before{
    animation: chipBgFill 340ms ease-out 3220ms forwards;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(3){
    animation: chipTextFill 340ms ease-out 3440ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(3)::before{
    animation: chipBgFill 340ms ease-out 3440ms forwards;
  }

  /* --- Scene 7 (PIXY20): single-column layout --- */
  /* --- Scene 7: Community Gallery — LEFT = title | RIGHT = bot mock --- */
  #productShell .scene[data-scene="7"] {
    display: grid !important;
    grid-template-columns: 1.25fr 0.75fr;
    align-content: center;
    align-items: center;
    justify-items: center;
    column-gap: clamp(16px, 2.4vw, 32px);
    row-gap: var(--hero-stack-gap);
    text-align: center;
  }

  /* LEFT column — big title */
  #productShell .scene7-left {
    display: grid;
    gap: clamp(12px, 2vh, 22px);
    align-content: center;
    justify-items: center;
    text-align: center;
    width: 100%;
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .scene[data-scene="7"].is-on .scene7-left {
    animation: fullColumnCenterHold 900ms ease-out 80ms both;
  }

  #productShell .scene[data-scene="7"].is-left-shift .scene7-left {
    animation: fullColumnShiftLeft 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  #productShell .title-community {
    font-size: clamp(2.8rem, 5.6vw, 5rem) !important;
    text-align: center;
    line-height: 0.9 !important;
    color: var(--pixy-blue) !important;
    margin: 0;
    white-space: nowrap;
  }

  #productShell .scene7-sub {
    text-align: center;
    font-size: clamp(1rem, 1.7vw, 1.35rem) !important;
    opacity: 0.7;
    margin: 0;
  }

  /* RIGHT column — compact bot mock */
  #productShell .scene7-right {
    display: grid;
    gap: 8px;
    align-content: center;
    justify-items: center;
    width: 100%;
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .title-community-bot {
    text-align: center;
    font-size: clamp(0.86rem, 1.5vw, 1.25rem) !important;
    line-height: 0.95 !important;
    color: var(--pixy-blue) !important;
    margin: 0;
    opacity: 0;
    transform: translateY(40px);
  }

  #productShell .scene[data-scene="7"] #communityBotMock {
    width: 100%;
    max-width: 290px;
    padding: 7px;
    gap: 3px;
    opacity: 0;
    transform: translateY(10px);
  }

  #productShell .scene[data-scene="7"] #communityBotMock .bot-bubble {
    font-size: 0.6rem;
    padding: 4px 7px;
    border-radius: 9px;
    max-width: 88%;
  }

  #productShell .scene[data-scene="7"] #communityBotMock .bot-start {
    font-size: 0.66rem;
    padding: 6px 8px;
    border-radius: 8px;
  }

  #productShell .scene[data-scene="7"] #communityBotMock .bot-avatar-img {
    width: 20px;
    height: 20px;
  }

  #productShell .scene[data-scene="7"] #communityBotMock .bot-name { font-size: 0.62rem; }
  #productShell .scene[data-scene="7"] #communityBotMock .bot-status { font-size: 0.52rem; }
  #productShell .scene[data-scene="7"] #communityBotMock .bot-username { font-size: 0.54rem; }
  #productShell .scene[data-scene="7"] #communityBotMock .bot-head { gap: 6px; }

  #productShell .scene[data-scene="7"].is-bot-phase .scene7-right {
    opacity: 1;
    transform: translateY(0);
  }

  #productShell .scene[data-scene="7"].is-bot-phase .scene7-bot-title {
    animation: botTitleMiddleToTop 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  #productShell .scene[data-scene="7"].is-bot-phase #communityBotMock {
    animation: fadeUpIn 420ms cubic-bezier(0.22, 1, 0.36, 1) 500ms both;
  }

  /* --- Scene 5 (Merged): left stacked copy + right payment card --- */
  #productShell .scene[data-scene="5"]{
    display: grid !important;
    grid-template-columns: 0.95fr 1.35fr;
    align-content: center;
    align-items: center;
    column-gap: clamp(26px, 4.2vw, 64px);
    row-gap: var(--hero-stack-gap);
    justify-items: stretch;
    text-align: left;
  }

  #productShell .scene[data-scene="5"] .scene5-left-stack{
    display: grid;
    gap: clamp(16px, 2.2vw, 30px);
    align-content: center;
  }

  #productShell .scene[data-scene="5"] .scene5-copy{
    display: grid;
    gap: clamp(4px, 0.9vw, 10px);
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    justify-items: start;
  }

  #productShell .scene[data-scene="5"] .scene5-copy .title{
    font-size: clamp(1.8rem, 3.8vw, 3rem) !important;
    line-height: 0.9 !important;
    margin: 0;
  }

  #productShell .scene[data-scene="5"] .scene5-copy .line{
    font-size: clamp(0.96rem, 1.55vw, 1.18rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin: 0;
    transform: none !important;
    transform-origin: center center;
    justify-self: center;
  }

  #productShell .scene[data-scene="5"] .scene5-copy .scene5-subline{
    font-size: clamp(0.84rem, 1.2vw, 1rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0;
    letter-spacing: 0 !important;
  }

  #productShell .scene[data-scene="5"] .payment-shift-card {
    width: min(100%, 1000px);
    max-width: 100%;
    justify-self: end;
  }

  #productShell .scene[data-scene="5"] .payment-shift-head .title-shift {
    font-size: clamp(2rem, 4.2vw, 3.2rem) !important;
  }

  /* Scene 5 strict sequencing: left column finishes first, then right column */
  #productShell .scene[data-scene="5"] .scene5-left-stack,
  #productShell .scene[data-scene="5"] .payment-shift-card{
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .scene[data-scene="5"].is-on .scene5-left-stack{
    animation: fullColumnPageCenterThenLeft 2300ms ease-out 120ms both;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy .title,
  #productShell .scene[data-scene="5"].is-on .scene5-copy .line{
    animation: none !important;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy .title{
    opacity: 1;
    transform: none;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy:nth-child(1){
    animation: fadeUpIn 420ms cubic-bezier(0.22, 1, 0.36, 1) 260ms both;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy:nth-child(2){
    animation: fadeUpIn 420ms cubic-bezier(0.22, 1, 0.36, 1) 980ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-shift-card{
    animation: fadeUpIn 380ms ease-out 2520ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-old{
    animation: fadeUpIn 320ms ease-out 2680ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new{
    animation: fadeUpIn 320ms ease-out 2840ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(1){
    animation: chipTextFill 340ms ease-out 3000ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(1)::before{
    animation: chipBgFill 340ms ease-out 3000ms forwards;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(2){
    animation: chipTextFill 340ms ease-out 3220ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(2)::before{
    animation: chipBgFill 340ms ease-out 3220ms forwards;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(3){
    animation: chipTextFill 340ms ease-out 3440ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(3)::before{
    animation: chipBgFill 340ms ease-out 3440ms forwards;
  }

  /* --- Scene 7 (PIXY20): single-column layout --- */
  /* --- Scene 7: Community Gallery — LEFT = title | RIGHT = bot mock --- */
  #productShell .scene[data-scene="7"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    align-content: center;
    align-items: center;
    justify-items: center;
    column-gap: clamp(18px, 2.8vw, 40px);
    row-gap: var(--hero-stack-gap);
    text-align: center;
  }

  /* LEFT column — big title */
  #productShell .scene7-left {
    display: grid;
    gap: clamp(10px, 1.8vh, 20px);
    align-content: center;
    justify-items: center;
    text-align: center;
    width: 100%;
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .scene[data-scene="7"].is-on .scene7-left {
    animation: fullColumnCenterHold 900ms ease-out 80ms both;
  }

  #productShell .scene[data-scene="7"].is-left-shift .scene7-left {
    animation: fullColumnShiftLeft 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  #productShell .title-community {
    font-size: clamp(2rem, 4.4vw, 3.6rem) !important;
    text-align: center;
    line-height: 0.92 !important;
    color: var(--pixy-blue) !important;
    margin: 0;
    white-space: nowrap;
  }

  #productShell .scene7-sub {
    text-align: center;
    font-size: clamp(0.82rem, 1.4vw, 1.1rem) !important;
    opacity: 0.7;
    margin: 0;
  }

  /* RIGHT column — bot mock, constrained to stage height */
  #productShell .scene7-right {
    display: grid;
    gap: 10px;
    align-content: center;
    justify-items: center;
    width: 100%;
    max-height: 100%;
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .title-community-bot {
    text-align: center;
    font-size: clamp(1rem, 1.8vw, 1.5rem) !important;
    line-height: 0.95 !important;
    color: var(--pixy-blue) !important;
    margin: 0;
    opacity: 0;
    transform: translateY(40px);
  }

  #productShell .scene[data-scene="7"] #communityBotMock {
    width: 100%;
    max-width: 340px;
    padding: 8px;
    gap: 4px;
    opacity: 0;
    transform: translateY(10px);
  }

  #productShell .scene[data-scene="7"] #communityBotMock .bot-bubble {
    font-size: 0.66rem;
    padding: 5px 8px;
    border-radius: 10px;
  }

  #productShell .scene[data-scene="7"] #communityBotMock .bot-start {
    font-size: 0.72rem;
    padding: 7px 10px;
  }

  #productShell .scene[data-scene="7"] #communityBotMock .bot-avatar-img {
    width: 22px;
    height: 22px;
  }

  #productShell .scene[data-scene="7"] #communityBotMock .bot-name { font-size: 0.68rem; }
  #productShell .scene[data-scene="7"] #communityBotMock .bot-status { font-size: 0.56rem; }
  #productShell .scene[data-scene="7"] #communityBotMock .bot-username { font-size: 0.58rem; }

  #productShell .scene[data-scene="7"].is-bot-phase .scene7-right {
    opacity: 1;
    transform: translateY(0);
  }

  #productShell .scene[data-scene="7"].is-bot-phase .scene7-bot-title {
    animation: botTitleMiddleToTop 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  #productShell .scene[data-scene="7"].is-bot-phase #communityBotMock {
    animation: fadeUpIn 420ms cubic-bezier(0.22, 1, 0.36, 1) 500ms both;
  }

  /* --- Scene 5 (Merged): left stacked copy + right payment card --- */
  #productShell .scene[data-scene="5"]{
    display: grid !important;
    grid-template-columns: 0.95fr 1.35fr;
    align-content: center;
    align-items: center;
    column-gap: clamp(26px, 4.2vw, 64px);
    row-gap: var(--hero-stack-gap);
    justify-items: stretch;
    text-align: left;
  }

  #productShell .scene[data-scene="5"] .scene5-left-stack{
    display: grid;
    gap: clamp(16px, 2.2vw, 30px);
    align-content: center;
  }

  #productShell .scene[data-scene="5"] .scene5-copy{
    display: grid;
    gap: clamp(4px, 0.9vw, 10px);
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    justify-items: start;
  }

  #productShell .scene[data-scene="5"] .scene5-copy .title{
    font-size: clamp(1.8rem, 3.8vw, 3rem) !important;
    line-height: 0.9 !important;
    margin: 0;
  }

  #productShell .scene[data-scene="5"] .scene5-copy .line{
    font-size: clamp(0.96rem, 1.55vw, 1.18rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin: 0;
    transform: none !important;
    transform-origin: center center;
    justify-self: center;
  }

  #productShell .scene[data-scene="5"] .scene5-copy .scene5-subline{
    font-size: clamp(0.84rem, 1.2vw, 1rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0;
    letter-spacing: 0 !important;
  }

  #productShell .scene[data-scene="5"] .payment-shift-card {
    width: min(100%, 1000px);
    max-width: 100%;
    justify-self: end;
  }

  #productShell .scene[data-scene="5"] .payment-shift-head .title-shift {
    font-size: clamp(2rem, 4.2vw, 3.2rem) !important;
  }

  /* Scene 5 strict sequencing: left column finishes first, then right column */
  #productShell .scene[data-scene="5"] .scene5-left-stack,
  #productShell .scene[data-scene="5"] .payment-shift-card{
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .scene[data-scene="5"].is-on .scene5-left-stack{
    animation: fullColumnPageCenterThenLeft 2300ms ease-out 120ms both;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy .title,
  #productShell .scene[data-scene="5"].is-on .scene5-copy .line{
    animation: none !important;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy .title{
    opacity: 1;
    transform: none;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy:nth-child(1){
    animation: fadeUpIn 420ms cubic-bezier(0.22, 1, 0.36, 1) 260ms both;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy:nth-child(2){
    animation: fadeUpIn 420ms cubic-bezier(0.22, 1, 0.36, 1) 980ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-shift-card{
    animation: fadeUpIn 380ms ease-out 2520ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-old{
    animation: fadeUpIn 320ms ease-out 2680ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new{
    animation: fadeUpIn 320ms ease-out 2840ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(1){
    animation: chipTextFill 340ms ease-out 3000ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(1)::before{
    animation: chipBgFill 340ms ease-out 3000ms forwards;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(2){
    animation: chipTextFill 340ms ease-out 3220ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(2)::before{
    animation: chipBgFill 340ms ease-out 3220ms forwards;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(3){
    animation: chipTextFill 340ms ease-out 3440ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(3)::before{
    animation: chipBgFill 340ms ease-out 3440ms forwards;
  }

  /* --- Scene 7 (PIXY20): single-column layout --- */
  /* --- Scene 7: Community Gallery — LEFT = title | RIGHT = bot mock --- */
  #productShell .scene[data-scene="7"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    align-content: center;
    align-items: center;
    justify-items: center;
    column-gap: clamp(18px, 2.8vw, 40px);
    row-gap: var(--hero-stack-gap);
    text-align: center;
  }

  /* LEFT column — big title, starts centered then slides left */
  #productShell .scene7-left {
    display: grid;
    gap: clamp(8px, 1.4vh, 16px);
    align-content: center;
    justify-items: center;
    text-align: center;
    width: 100%;
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .scene[data-scene="7"].is-on .scene7-left {
    animation: fullColumnCenterHold 900ms ease-out 80ms both;
  }

  #productShell .scene[data-scene="7"].is-left-shift .scene7-left {
    animation: fullColumnShiftLeft 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  #productShell .title-community {
    font-size: var(--hero-title) !important;
    text-align: center;
    line-height: 0.95 !important;
    color: var(--pixy-blue) !important;
    margin: 0;
    white-space: nowrap;
  }

  #productShell .scene7-sub {
    text-align: center;
    font-size: var(--hero-line) !important;
    opacity: 0.7;
    margin: 0;
  }

  /* RIGHT column — bot mock (narrower, matches trial bot) */
  #productShell .scene7-right {
    display: grid;
    gap: var(--hero-stack-gap);
    align-content: start;
    justify-items: center;
    width: 100%;
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .title-community-bot {
    text-align: center;
    font-size: clamp(1.18rem, 2.2vw, 1.9rem) !important;
    line-height: 0.95 !important;
    color: var(--pixy-blue) !important;
    margin: 0;
    opacity: 0;
    transform: translateY(74px);
  }

  #productShell .scene[data-scene="7"] #communityBotMock {
    width: 100%;
    max-width: 380px;
    align-self: center;
    opacity: 0;
    transform: translateY(10px);
  }

  #productShell .scene[data-scene="7"].is-bot-phase .scene7-right {
    opacity: 1;
    transform: translateY(0);
  }

  #productShell .scene[data-scene="7"].is-bot-phase .scene7-bot-title {
    animation: botTitleMiddleToTop 980ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  #productShell .scene[data-scene="7"].is-bot-phase #communityBotMock {
    animation: fadeUpIn 420ms cubic-bezier(0.22, 1, 0.36, 1) 1020ms both;
  }

  /* --- Scene 5 (Merged): left stacked copy + right payment card --- */
  #productShell .scene[data-scene="5"]{
    display: grid !important;
    grid-template-columns: 0.95fr 1.35fr;
    align-content: center;
    align-items: center;
    column-gap: clamp(26px, 4.2vw, 64px);
    row-gap: var(--hero-stack-gap);
    justify-items: stretch;
    text-align: left;
  }

  #productShell .scene[data-scene="5"] .scene5-left-stack{
    display: grid;
    gap: clamp(16px, 2.2vw, 30px);
    align-content: center;
  }

  #productShell .scene[data-scene="5"] .scene5-copy{
    display: grid;
    gap: clamp(4px, 0.9vw, 10px);
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    justify-items: start;
  }

  #productShell .scene[data-scene="5"] .scene5-copy .title{
    font-size: clamp(1.8rem, 3.8vw, 3rem) !important;
    line-height: 0.9 !important;
    margin: 0;
  }

  #productShell .scene[data-scene="5"] .scene5-copy .line{
    font-size: clamp(0.96rem, 1.55vw, 1.18rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin: 0;
    transform: none !important;
    transform-origin: center center;
    justify-self: center;
  }

  #productShell .scene[data-scene="5"] .scene5-copy .scene5-subline{
    font-size: clamp(0.84rem, 1.2vw, 1rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0;
    letter-spacing: 0 !important;
  }

  #productShell .scene[data-scene="5"] .payment-shift-card {
    width: min(100%, 1000px);
    max-width: 100%;
    justify-self: end;
  }

  #productShell .scene[data-scene="5"] .payment-shift-head .title-shift {
    font-size: clamp(2rem, 4.2vw, 3.2rem) !important;
  }

  /* Scene 5 strict sequencing: left column finishes first, then right column */
  #productShell .scene[data-scene="5"] .scene5-left-stack,
  #productShell .scene[data-scene="5"] .payment-shift-card{
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .scene[data-scene="5"].is-on .scene5-left-stack{
    animation: fullColumnPageCenterThenLeft 2300ms ease-out 120ms both;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy .title,
  #productShell .scene[data-scene="5"].is-on .scene5-copy .line{
    animation: none !important;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy .title{
    opacity: 1;
    transform: none;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy:nth-child(1){
    animation: fadeUpIn 420ms cubic-bezier(0.22, 1, 0.36, 1) 260ms both;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy:nth-child(2){
    animation: fadeUpIn 420ms cubic-bezier(0.22, 1, 0.36, 1) 980ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-shift-card{
    animation: fadeUpIn 380ms ease-out 2520ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-old{
    animation: fadeUpIn 320ms ease-out 2680ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new{
    animation: fadeUpIn 320ms ease-out 2840ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(1){
    animation: chipTextFill 340ms ease-out 3000ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(1)::before{
    animation: chipBgFill 340ms ease-out 3000ms forwards;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(2){
    animation: chipTextFill 340ms ease-out 3220ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(2)::before{
    animation: chipBgFill 340ms ease-out 3220ms forwards;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(3){
    animation: chipTextFill 340ms ease-out 3440ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(3)::before{
    animation: chipBgFill 340ms ease-out 3440ms forwards;
  }

  /* --- Scene 7 (PIXY20): single-column layout --- */
  /* --- Scene 7: Community Gallery — LEFT = title | RIGHT = bot mock --- */
  #productShell .scene[data-scene="7"] {
    display: grid !important;
    grid-template-columns: 1.45fr 0.95fr;
    align-content: center;
    align-items: center;
    justify-items: stretch;
    column-gap: clamp(18px, 2.8vw, 40px);
    row-gap: var(--hero-stack-gap);
    text-align: center;
  }

  /* LEFT column — big title, starts centered then slides left */
  #productShell .scene7-left {
    display: grid;
    gap: clamp(8px, 1.4vh, 16px);
    align-content: center;
    justify-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .scene[data-scene="7"].is-on .scene7-left {
    animation: fullColumnCenterHold 900ms ease-out 80ms both;
  }

  #productShell .scene[data-scene="7"].is-left-shift .scene7-left {
    animation: fullColumnShiftLeft 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  #productShell .title-community {
    font-size: var(--hero-title) !important;
    text-align: center;
    line-height: 0.95 !important;
    color: var(--pixy-blue) !important;
    margin: 0;
  }

  #productShell .scene7-sub {
    text-align: center;
    font-size: var(--hero-line) !important;
    opacity: 0.7;
    margin: 0;
  }

  /* RIGHT column — bot mock (identical to scene 3) */
  #productShell .scene7-right {
    display: grid;
    gap: var(--hero-stack-gap);
    align-content: start;
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .title-community-bot {
    text-align: center;
    font-size: clamp(1.18rem, 2.2vw, 1.9rem) !important;
    line-height: 0.95 !important;
    color: var(--pixy-blue) !important;
    margin: 0;
    opacity: 0;
    transform: translateY(74px);
  }

  #productShell .scene[data-scene="7"] #communityBotMock {
    width: 100%;
    max-width: 100%;
    align-self: center;
    opacity: 0;
    transform: translateY(10px);
  }

  #productShell .scene[data-scene="7"].is-bot-phase .scene7-right {
    opacity: 1;
    transform: translateY(0);
  }

  #productShell .scene[data-scene="7"].is-bot-phase .scene7-bot-title {
    animation: botTitleMiddleToTop 980ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  #productShell .scene[data-scene="7"].is-bot-phase #communityBotMock {
    animation: fadeUpIn 420ms cubic-bezier(0.22, 1, 0.36, 1) 1020ms both;
  }

  /* --- Scene 5 (Merged): left stacked copy + right payment card --- */
  #productShell .scene[data-scene="5"]{
    display: grid !important;
    grid-template-columns: 0.95fr 1.35fr;
    align-content: center;
    align-items: center;
    column-gap: clamp(26px, 4.2vw, 64px);
    row-gap: var(--hero-stack-gap);
    justify-items: stretch;
    text-align: left;
  }

  #productShell .scene[data-scene="5"] .scene5-left-stack{
    display: grid;
    gap: clamp(16px, 2.2vw, 30px);
    align-content: center;
  }

  #productShell .scene[data-scene="5"] .scene5-copy{
    display: grid;
    gap: clamp(4px, 0.9vw, 10px);
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    justify-items: start;
  }

  #productShell .scene[data-scene="5"] .scene5-copy .title{
    font-size: clamp(1.8rem, 3.8vw, 3rem) !important;
    line-height: 0.9 !important;
    margin: 0;
  }

  #productShell .scene[data-scene="5"] .scene5-copy .line{
    font-size: clamp(0.96rem, 1.55vw, 1.18rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin: 0;
    transform: none !important;
    transform-origin: center center;
    justify-self: center;
  }

  #productShell .scene[data-scene="5"] .scene5-copy .scene5-subline{
    font-size: clamp(0.84rem, 1.2vw, 1rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0;
    letter-spacing: 0 !important;
  }

  #productShell .scene[data-scene="5"] .payment-shift-card {
    width: min(100%, 1000px);
    max-width: 100%;
    justify-self: end;
  }

  #productShell .scene[data-scene="5"] .payment-shift-head .title-shift {
    font-size: clamp(2rem, 4.2vw, 3.2rem) !important;
  }

  /* Scene 5 strict sequencing: left column finishes first, then right column */
  #productShell .scene[data-scene="5"] .scene5-left-stack,
  #productShell .scene[data-scene="5"] .payment-shift-card{
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .scene[data-scene="5"].is-on .scene5-left-stack{
    animation: fullColumnPageCenterThenLeft 2300ms ease-out 120ms both;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy .title,
  #productShell .scene[data-scene="5"].is-on .scene5-copy .line{
    animation: none !important;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy .title{
    opacity: 1;
    transform: none;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy:nth-child(1){
    animation: fadeUpIn 420ms cubic-bezier(0.22, 1, 0.36, 1) 260ms both;
  }

  #productShell .scene[data-scene="5"].is-on .scene5-copy:nth-child(2){
    animation: fadeUpIn 420ms cubic-bezier(0.22, 1, 0.36, 1) 980ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-shift-card{
    animation: fadeUpIn 380ms ease-out 2520ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-old{
    animation: fadeUpIn 320ms ease-out 2680ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new{
    animation: fadeUpIn 320ms ease-out 2840ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(1){
    animation: chipTextFill 340ms ease-out 3000ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(1)::before{
    animation: chipBgFill 340ms ease-out 3000ms forwards;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(2){
    animation: chipTextFill 340ms ease-out 3220ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(2)::before{
    animation: chipBgFill 340ms ease-out 3220ms forwards;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(3){
    animation: chipTextFill 340ms ease-out 3440ms both;
  }

  #productShell .scene[data-scene="5"].is-on .payment-col-new .payment-plan-chip:nth-child(3)::before{
    animation: chipBgFill 340ms ease-out 3440ms forwards;
  }

  /* --- Scene 7: Community Gallery — LEFT = title | RIGHT = bot mock --- */
  #productShell .scene[data-scene="7"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    align-content: center;
    align-items: center;
    justify-items: center;
    column-gap: clamp(18px, 2.8vw, 40px);
    row-gap: var(--hero-stack-gap);
    text-align: center;
  }

  #productShell .scene[data-scene="7"] .title {
    color: var(--pixy-blue) !important;
  }

  /* LEFT column — starts centered on page, then slides left */
  #productShell .scene7-left {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.4vh, 16px);
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .scene[data-scene="7"].is-on .scene7-left {
    animation: fullColumnCenterThenLeft 2600ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
  }

  #productShell .title-community {
    font-size: var(--hero-title) !important;
    text-align: center;
    line-height: 0.95 !important;
    color: var(--pixy-blue) !important;
    margin: 0;
  }

  #productShell .scene7-sub {
    text-align: center;
    font-size: var(--hero-line) !important;
    opacity: 0.6;
    margin: 0;
  }

  /* RIGHT column — bot mock */
  #productShell .scene7-right {
    display: grid;
    gap: var(--hero-stack-gap);
    align-content: center;
    width: 100%;
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .scene[data-scene="7"].is-on .scene7-right {
    animation: fadeUpIn 520ms cubic-bezier(0.22, 1, 0.36, 1) 2500ms both;
  }

  #productShell .title-community-bot {
    text-align: center;
    font-size: var(--hero-title-compact) !important;
    line-height: 1 !important;
    color: var(--pixy-blue) !important;
    margin: 0;
  }

  #productShell .scene[data-scene="7"] #communityBotMock {
    width: 100%;
    max-width: 100%;
    align-self: center;
  }

  /* --- Scene 8 (Final Brand): bigger logo + wider layout --- */
  #productShell .scene[data-scene="8"] .final-brand {
    width: min(100%, 900px);
  }

  #productShell .scene[data-scene="8"] .logo-final {
    width: clamp(140px, 18vw, 280px) !important;
  }

  #productShell .scene[data-scene="8"] .title-final {
    font-size: clamp(2.4rem, 5.2vw, 4rem) !important;
  }

  #productShell .scene[data-scene="8"] .final-tagline {
    font-size: clamp(1.1rem, 2.2vw, 1.6rem) !important;
  }

  #productShell .scene[data-scene="8"] .final-download {
    min-width: 220px;
    padding: 14px 28px;
    font-size: 1.1rem !important;
  }

  /* Services scene 0: bigger hook text */
  #servicesWrap .scene[data-scene="0"] {
    padding: var(--hero-scene-pad-y) clamp(48px, 8vw, 120px);
  }

  #servicesWrap .scene[data-scene="0"] .k-title {
    font-size: clamp(2.4rem, 5.5vw, 4.4rem) !important;
    line-height: 0.84 !important;
  }

  #servicesWrap .scene[data-scene="0"] .hook-accent {
    font-size: clamp(3rem, 7vw, 5.5rem) !important;
    line-height: 0.78 !important;
    margin-bottom: 4px;
  }

  /* Services final scene (5): 2-col layout */
  #servicesWrap .scene[data-scene="5"] {
    display: grid !important;
    grid-template-columns: 1fr 1.5fr;
    align-content: center;
    align-items: center;
    column-gap: clamp(24px, 4.5vw, 64px);
    padding: var(--hero-scene-pad-y) var(--hero-scene-pad-x);
    text-align: left;
  }

  #servicesWrap .scene[data-scene="5"] > :not(.final-panel) {
    grid-column: 1;
    text-align: left;
    margin: 0;
  }

  #servicesWrap .scene[data-scene="5"] .final-panel {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    width: 100%;
  }

  /* ================================================================
     FINAL POLISH — card overflow + text-only scene scaling
     ================================================================ */

  /* Fix: cards clipping at right edge in services 2-col layout */
  #servicesWrap .scene[data-scene="1"] > .card-container,
  #servicesWrap .scene[data-scene="2"] > .card-container,
  #servicesWrap .scene[data-scene="3"] > .card-container,
  #servicesWrap .scene[data-scene="4"] > .card-container {
    overflow: hidden;
    box-sizing: border-box;
  }

  /* fill-cards must not overflow their grid cell */
  #servicesWrap .fill-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* Product Scene 1 — logo intro: scale up the brand display */
  #productShell .scene[data-scene="1"]{
    display: grid !important;
    grid-template-columns: 0.95fr 1.05fr;
    align-content: center;
    align-items: center;
    column-gap: clamp(18px, 2.8vw, 40px);
    justify-items: stretch;
  }

  #productShell .scene[data-scene="1"] .scene1-brand{
    text-align: center;
    display: grid;
    gap: 8px;
    justify-items: center;
    align-content: center;
  }

  #productShell .scene[data-scene="1"] .scene1-right-steps{
    display: grid;
    gap: var(--hero-stack-gap);
    align-content: center;
    justify-items: center;
    text-align: center;
  }

  #productShell .scene[data-scene="1"] .scene1-right-steps .title-steps{
    margin: 0;
  }

  #productShell .scene[data-scene="1"] .scene1-right-steps .steps-flow{
    width: 100%;
    max-width: 100%;
  }

  #productShell .scene[data-scene="1"] .scene1-right-steps .title-proof{
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 3.4rem) !important;
    line-height: 0.9 !important;
  }

  /* Scene 1 left column reveal (logo -> title -> line) */
  #productShell .scene[data-scene="1"] .scene1-brand .logo-mark,
  #productShell .scene[data-scene="1"] .scene1-brand .title,
  #productShell .scene[data-scene="1"] .scene1-brand .line{
    opacity: 0;
    transform: translateY(10px);
  }

  /* Scene 1 sequencing: left column first, then right column */
  #productShell .scene[data-scene="1"] .scene1-brand,
  #productShell .scene[data-scene="1"] .scene1-right-steps{
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .scene[data-scene="1"] .scene1-right-steps .title-steps,
  #productShell .scene[data-scene="1"] .scene1-right-steps .steps-flow,
  #productShell .scene[data-scene="1"] .scene1-right-steps .title-proof{
    opacity: 0;
    transform: translateY(12px);
  }

  #productShell .scene[data-scene="1"].is-on .scene1-brand{
    animation: fullColumnPageCenterThenLeft 1800ms ease-out 80ms both;
  }

  #productShell .scene[data-scene="1"].is-on .scene1-brand .logo-mark{
    animation: fadeUpIn 320ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
  }

  #productShell .scene[data-scene="1"].is-on .scene1-brand .title-brand{
    animation: fadeUpIn 320ms cubic-bezier(0.22, 1, 0.36, 1) 360ms both;
  }

  #productShell .scene[data-scene="1"].is-on .scene1-brand .line{
    animation: fadeUpIn 320ms cubic-bezier(0.22, 1, 0.36, 1) 580ms both;
  }

  #productShell .scene[data-scene="1"].is-on .scene1-right-steps{
    animation: none;
    opacity: 1;
    transform: none;
  }

  #productShell .scene[data-scene="1"].is-on .scene1-right-steps .title-steps{
    animation: fadeUpIn 360ms cubic-bezier(0.22, 1, 0.36, 1) 1940ms both;
  }

  #productShell .scene[data-scene="1"].is-on .scene1-right-steps .steps-flow{
    animation: fadeUpIn 360ms cubic-bezier(0.22, 1, 0.36, 1) 2160ms both;
  }

  #productShell .scene[data-scene="1"].is-on .scene1-right-steps .title-proof{
    animation: fadeUpIn 360ms cubic-bezier(0.22, 1, 0.36, 1) 2380ms both;
  }

  #productShell .scene[data-scene="1"] .logo-hero {
    width: clamp(128px, 16vw, 230px) !important;
  }

  #productShell .scene[data-scene="1"] .title-brand {
    font-size: clamp(2.6rem, 6vw, 4.8rem) !important;
    line-height: 0.88 !important;
  }

  #productShell .scene[data-scene="1"] .line {
    font-size: clamp(1.0rem, 2.1vw, 1.5rem) !important;
    letter-spacing: 0.1em !important;
  }

  /* Product Scene 8 — final brand: give it presence */
  #productShell .scene[data-scene="8"] {
    padding: clamp(20px, 2.8vw, 36px) clamp(40px, 6vw, 100px);
  }

  #productShell .scene[data-scene="8"] .final-brand {
    width: min(100%, 960px);
    gap: clamp(12px, 2.5vw, 32px);
  }

  #productShell .scene[data-scene="8"] .logo-final {
    width: clamp(160px, 20vw, 300px) !important;
  }

  #productShell .scene[data-scene="8"] .title-final {
    font-size: clamp(2.8rem, 6.4vw, 5rem) !important;
    letter-spacing: -0.03em !important;
    line-height: 0.86 !important;
  }

  #productShell .scene[data-scene="8"] .final-tagline {
    font-size: clamp(1.1rem, 2.4vw, 1.8rem) !important;
    letter-spacing: 0.04em !important;
  }

  #productShell .scene[data-scene="8"] .final-download {
    min-width: 240px;
    padding: 16px 34px;
    font-size: 1.15rem !important;
    border-radius: 50px !important;
  }

  /* Bot scene (4) — chat card should fill the right column better */
  #productShell .scene[data-scene="4"] .bot-mock {
    max-width: 580px;
    width: 100%;
  }

  /* Services scene 0 — hook text: make it truly fill the space */
  #servicesWrap .scene[data-scene="0"] {
    padding: clamp(20px, 2.8vw, 36px) clamp(56px, 9vw, 140px);
  }

  #servicesWrap .scene[data-scene="0"] .k-title {
    font-size: clamp(2.8rem, 7vw, 5.8rem) !important;
    line-height: 0.84 !important;
    letter-spacing: -0.04em !important;
    max-width: 100%;
  }

  #servicesWrap .scene[data-scene="0"] .hook-accent {
    font-size: clamp(4rem, 10vw, 8rem) !important;
    line-height: 0.76 !important;
    display: block;
    margin-bottom: 4px;
  }

  #servicesWrap .scene[data-scene="0"] .k-desc {
    font-size: clamp(1.0rem, 2.1vw, 1.5rem) !important;
    margin-top: 1.2rem !important;
  }

  } /* end @media (min-width: 768px) */

/* =============================================================================
   Pixy reel — single-fabric hero integration (index.html)
   ============================================================================= */
.hero.hero--fabric {
    flex-direction: column;
    overflow: hidden;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 72px;
    padding-bottom: 0;
    box-sizing: border-box;
    /* Match body / flat site background — no gradient band in the reel area */
    background: var(--background) !important;
}

.hero.hero--fabric::before {
    display: none !important;
}

.hero--fabric .hero-fabric {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    max-width: min(100%, 1280px);
    margin-inline: auto;
    gap: clamp(8px, 1.5vw, 16px);
    padding: 4px 24px 12px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.hero--fabric .hero-badge--above-reel {
    position: absolute;
    left: 50%;
    top: 4px;
    transform: translateX(-50%);
    z-index: 2;
    margin-bottom: 0;
}

.hero--fabric .hero-reel-host {
    flex: 1 1 auto;
    width: 100vw;
    max-width: 100vw;
    min-height: 0;
    overflow: visible;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: clamp(-108px, -11vh, -56px);
}

.hero--fabric .hero-cta-block {
    flex-shrink: 0;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    margin-top: clamp(20px, 3.5vh, 44px);
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
    position: relative !important;
    z-index: 99 !important;
}

.hero--fabric #productShell,
.hero--fabric #productShell .reel-shell,
.hero--fabric #productShell .content,
.hero--fabric #productShell .stage {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.hero--fabric #productShell .reel-shell {
    isolation: auto !important;
}

.hero--fabric #productShell {
    overflow: visible !important;
}

.hero--fabric #productShell .reel-shell {
    overflow: visible !important;
}

.hero--fabric #productShell .reel-shell::after {
    opacity: 0 !important;
}

.hero--fabric #productShell .bg-shape {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Layer stack: scenes & cursor (cursor has pointer-events: none) */
#productShell .scene {
    z-index: 1;
}

#productShell .scene.is-on {
    z-index: 5;
}

#productShell .flash {
    z-index: 34;
}

#productShell .ripple {
    z-index: 36;
}

#productShell .cursor {
    z-index: 38;
}

/* Store tier pills: stay above reel overlays if stacking contexts collide */
.decision-engine .tier-pill {
    position: relative;
    z-index: 2;
}

/* Requested reel text colors */
#productShell .title-brand,
#productShell .title-steps,
#productShell .title-trial,
#productShell .final-tagline {
    color: var(--pixy-blue) !important;
}

#productShell .title-proof .proof-old {
    color: var(--pixy-blue) !important;
}

#productShell .title-proof .proof-new {
    color: var(--pixy-blue) !important;
}

/* ===== Gallery Section Background Mosaic ===== */

/* Gallery section needs relative + overflow for mosaic to be contained */
.gallery-section {
    position: relative;
    overflow: hidden;
}

/* Dark background for gallery section */
.gallery-section {
    background: #0d1117 !important;
}

/* Make section title, subtitle, filter labels readable on dark bg */
.gallery-section .section-title,
.gallery-section .section-subtitle {
    color: #f0f2f8;
}
.gallery-section .section-subtitle {
    color: rgba(240, 242, 248, 0.65);
}

/* Filter pills on dark background */
.gallery-section .gallery-filter {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(240, 242, 248, 0.75);
}
.gallery-section .gallery-filter:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #f0f2f8;
    background: rgba(255, 255, 255, 0.1);
}
.gallery-section .gallery-filter.is-active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
}

/* CTA button on dark bg */
.gallery-section .gallery-cta .btn {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

/* Mosaic container */
.pixy-bg-mosaic {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Vertical drifting columns */
.pixy-bg-mosaic--vertical .pbm-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 0;
    will-change: transform;
}

.pixy-bg-mosaic--vertical .pbm-col--up {
    animation: pbmDriftUp 55s linear infinite;
}
.pixy-bg-mosaic--vertical .pbm-col--down {
    animation: pbmDriftDown 65s linear infinite;
}
.pixy-bg-mosaic--vertical .pbm-col:nth-child(3) { animation-duration: 48s; }
.pixy-bg-mosaic--vertical .pbm-col:nth-child(4) { animation-duration: 72s; }
.pixy-bg-mosaic--vertical .pbm-col:nth-child(5) { animation-duration: 58s; }

@keyframes pbmDriftUp {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}
@keyframes pbmDriftDown {
    from { transform: translateY(-50%); }
    to   { transform: translateY(0); }
}

/* Cells */
.pbm-cell {
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    opacity: 0.55;
}

.pbm-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.5) saturate(0.7);
}

/* Dark frosted veil */
.pbm-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(10, 14, 20, 0.65);
    backdrop-filter: blur(3px) saturate(0.9);
    -webkit-backdrop-filter: blur(3px) saturate(0.9);
}

/* Edge fades — bleed into the dark bg color */
.pbm-fade-top,
.pbm-fade-bottom {
    position: absolute;
    left: 0; right: 0;
    height: 120px;
    z-index: 2;
    pointer-events: none;
}
.pbm-fade-top {
    top: 0;
    background: linear-gradient(to bottom, #0d1117, transparent);
}
.pbm-fade-bottom {
    bottom: 0;
    background: linear-gradient(to top, #0d1117, transparent);
}

/* Content sits above the mosaic */
.gallery-section > .container {
    position: relative;
    z-index: 3;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .pbm-col { animation: none !important; }
}

/* ===== Pattern Gallery Section ===== */
.gallery-section { background: var(--background); }

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.gallery-filter {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1.5px solid var(--card-border);
    background: var(--white);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.gallery-filter:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.gallery-filter.is-active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(19, 38, 75, 0.2);
}

.gallery-grid {
    columns: 3;
    column-gap: 16px;
    margin-bottom: 48px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(19, 38, 75, 0.88) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    gap: 6px;
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__label {
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.3;
}

.gallery-item__tag {
    display: inline-block;
    background: var(--accent-red);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 0.02em;
    align-self: flex-start;
}

.gallery-item.is-hidden { display: none; }

.gallery-cta {
    display: flex;
    justify-content: center;
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(10, 16, 32, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: lbFadeIn 0.2s ease;
}

.gallery-lightbox[hidden] { display: none; }

@keyframes lbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.gallery-lightbox__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 1100px;
    width: 100%;
}

.gallery-lightbox__img {
    max-height: 80vh;
    max-width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
    display: block;
    object-fit: contain;
}

.gallery-lightbox__caption {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.gallery-lightbox__tag {
    display: inline-block;
    background: var(--accent-red);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    letter-spacing: 0.03em;
}

.gallery-lightbox__close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 1.3rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 9001;
}

.gallery-lightbox__close:hover { background: var(--accent-red); border-color: var(--accent-red); }

.gallery-lightbox__nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 1.5rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 9001;
}

.gallery-lightbox__nav:hover { background: var(--primary-blue); border-color: var(--primary-blue); }
.gallery-lightbox__nav--prev { left: 16px; }
.gallery-lightbox__nav--next { right: 16px; }

@media (max-width: 1024px) { .gallery-grid { columns: 2; } }

@media (max-width: 640px) {
    .gallery-grid { columns: 1; }
    .gallery-filters { gap: 8px; }
    .gallery-filter { padding: 6px 14px; font-size: 0.8rem; }
    .gallery-lightbox__nav { display: none; }
}

/* Gallery JS Refactor Additions */
.gallery-empty {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Touch UX & A11y */
.gallery-lightbox__nav,
.gallery-lightbox__close {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    /* Persistent labels on mobile */
    .gallery-item__overlay {
        opacity: 1 !important;
        background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%) !important;
    }
}

/* Gallery Love Button */
.gallery-love-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    opacity: 0;
    transform: translateY(-10px);
}

.gallery-item:hover .gallery-love-btn {
    opacity: 1;
    transform: translateY(0);
}

.gallery-love-btn:hover {
    background: #fff;
    transform: translateY(0) scale(1.05);
}

.gallery-love-btn svg {
    width: 18px;
    height: 18px;
    color: #ff3b30;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), fill 0.3s ease;
}

.gallery-love-btn.is-loved svg {
    transform: scale(1.15);
    fill: currentColor;
}

.gallery-love-btn.is-loved {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Pricing Container Redesign ===== */

.pricing-container {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
}

/* --- Pricing Sections --- */

.pricing-section {
    background: var(--background);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* display:flex above beats the UA's [hidden] rule — restore it, or the
   inactive store tab's section stays visible under the active one. */
.pricing-section[hidden] {
    display: none !important;
}

.pricing-section__header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    justify-content: center;
}

.pricing-section__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.pricing-section__tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(19, 38, 75, 0.06);
    padding: 3px 10px;
    border-radius: 999px;
}

.pricing-section__desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: -8px 0 0;
    max-width: 580px;
    align-self: center;
    line-height: 1.5;
}

/* --- Pricing Grid --- */

.pricing-grid {
    display: grid;
    gap: 16px;
}

.pricing-grid--3col {
    grid-template-columns: repeat(3, 1fr);
}

.pricing-grid--2col {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 820px) {
    .pricing-grid--3col,
    .pricing-grid--2col {
        grid-template-columns: 1fr;
    }
}

/* --- Compact Card --- */

.pc-card {
    position: relative;
    background: var(--white);
    border: 1px solid rgba(19, 38, 75, 0.1);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pc-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(19, 38, 75, 0.18);
}

.pc-card--featured {
    border-top: 3px solid var(--accent-red);
}

.pc-card--accent {
    border-top: 3px solid var(--primary-blue);
}

.pc-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
    pointer-events: none;
}

.pc-card__badge--gold {
    background: linear-gradient(135deg, #fff9e6 0%, #ffe8a8 100%);
    color: var(--primary-blue);
    border: 1px solid rgba(235, 30, 40, 0.2);
}

.pc-card__badge--blue {
    background: linear-gradient(135deg, #e8f0ff 0%, #c7d9ff 100%);
    color: var(--primary-blue);
    border: 1px solid rgba(19, 38, 75, 0.18);
}

.pc-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 70px;
}

/* The head is icon + text side by side, and the text block defaulted to
   flex: 0 1 auto — so it shrank to its content instead of taking the width
   left over. On a phone that squeezed the title to one word per line. */
.pc-card__head > *:not(.pc-card__icon) {
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 768px) {
    /* The 70px right padding reserves room for the corner badge, which costs
       half the row on a 250px card and leaves the title one word per line.
       The badge only occupies the top ~44px, so drop the side reserve and
       start the head below it instead. */
    .pc-card__head {
        padding-right: 0;
    }

    .pc-card:has(.pc-card__ribbon) .pc-card__head {
        padding-top: 26px;
    }
}

.pc-card__icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pc-card__icon--ai {
    background: linear-gradient(135deg, #eef2ff 0%, #dce4ff 100%);
    color: var(--primary-blue);
}

.pc-card__icon--classic {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    color: var(--primary-blue);
}

.pc-card__icon svg {
    width: 20px;
    height: 20px;
}

.pc-card__name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.pc-card__sub {
    font-size: 1rem;
    color: var(--accent-red);
    margin: 2px 0 0;
    font-weight: 700;
}

.pc-card__desc {
    font-size: 0.78rem;
    color: rgba(19, 38, 75, 0.65);
    line-height: 1.5;
    margin: 0;
}

/* --- Compact Pricing Area --- */

.pc-card__pricing {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(19, 38, 75, 0.03);
    border: 1px solid rgba(19, 38, 75, 0.06);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-top: auto;
}

.pc-card__price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.pc-card__price {
    font-size: 2.2rem;
    font-weight: 900;
    /* Pixels are the AI currency, and AI is the blue half of the palette;
       red stays with the lifetime tool bundles. */
    color: var(--primary-blue);
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

.pc-card__price-per {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pc-card__price-compare {
    font-size: 0.78rem;
    color: rgba(19, 38, 75, 0.4);
}

.pc-card__price-vat {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pc-card__save {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.22);
    border-radius: 999px;
    padding: 3px 7px;
}

/* --- Switch Toggle --- */

.pc-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
    -webkit-user-select: none;
    user-select: none;
}

.pc-switch__track {
    position: relative;
    width: 36px;
    height: 20px;
    background: rgba(19, 38, 75, 0.15);
    border-radius: 999px;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.pc-switch__thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pc-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pc-switch input:checked ~ .pc-switch__track {
    background: var(--primary-blue);
}

.pc-switch input:checked ~ .pc-switch__track .pc-switch__thumb {
    transform: translateX(16px);
}

.pc-switch__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pc-switch__detail {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-secondary);
}

/* --- Included Badge --- */

.pc-included {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1E8E4F;
    background: #E8F4EC;
    padding: 4px 10px;
    border-radius: 999px;
    justify-content: center;
}

/* --- Tools Popup Trigger --- */

.pc-tools-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 2px 0;
    border: none;
    background: none;
    font-family: inherit;
}

.pc-tools-trigger__icon {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid var(--primary-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 800;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease;
}

.pc-tools-trigger:hover .pc-tools-trigger__icon {
    background: var(--primary-blue);
    color: var(--white);
}

.pc-tools-popup {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
    transform: translateX(-50%) translateY(4px);
    z-index: 100;
    pointer-events: none;
}

.pc-tools-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--primary-blue);
}

.pc-tools-trigger:hover .pc-tools-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.pc-tools-popup__title {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.65;
    margin: 0 0 6px;
}

.pc-tools-popup__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pc-tools-popup__list li {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 2px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pc-tools-popup__list li::before {
    content: '✓';
    font-size: 0.65rem;
    opacity: 0.7;
}

/* --- Compact CTA --- */

.pc-card__cta {
    width: 100%;
    margin-top: auto;
    padding: 14px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: var(--white);
    background: var(--primary-blue);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
    box-shadow: 0 3px 10px rgba(19, 38, 75, 0.2);
}

.pc-card__cta:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(19, 38, 75, 0.28);
}

.pc-card__cta--accent {
    background: var(--accent-red);
    box-shadow: 0 3px 10px rgba(235, 30, 40, 0.22);
}

.pc-card__cta--accent:hover {
    background: var(--accent-red-hover);
    box-shadow: 0 5px 16px rgba(235, 30, 40, 0.3);
}

/* --- Compact Billing Pills --- */

.pc-billing-pills {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.pc-billing-pill {
    flex: 1;
    min-width: 0;
    padding: 7px 8px;
    border: 1px solid rgba(19, 38, 75, 0.16);
    border-radius: 6px;
    background: var(--white);
    color: rgba(19, 38, 75, 0.65);
    font-size: 0.68rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.pc-billing-pill:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.pc-billing-pill.is-active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* --- Compact Tier Row --- */

.pc-tier-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pc-tier-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(19, 38, 75, 0.75);
    white-space: nowrap;
}

.pc-tier-select {
    flex: 1;
    min-width: 0;
    max-width: 160px;
    padding: 7px 30px 7px 10px;
    border: 1px solid rgba(19, 38, 75, 0.16);
    border-radius: 6px;
    background: var(--white);
    color: rgba(19, 38, 75, 0.8);
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(19,38,75,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.pc-tier-select:hover {
    border-color: var(--primary-blue);
}

.pc-billing-note {
    font-size: 0.65rem;
    color: rgba(19, 38, 75, 0.4);
    text-align: center;
}

/* --- Ribbon Badges (replaces old pc-card__badge) --- */

.pc-card__ribbon {
    position: absolute;
    top: 16px;
    right: -6px;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px 5px 10px;
    color: var(--white);
    background: var(--accent-red);
    border-radius: 4px 0 0 4px;
    box-shadow: 0 2px 8px rgba(235, 30, 40, 0.3);
    z-index: 2;
    pointer-events: none;
}

.pc-card__ribbon::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    border: 3px solid transparent;
    border-top-color: #a8141b;
    border-right-color: #a8141b;
}

.pc-card__ribbon--red {
    background: var(--accent-red);
    box-shadow: 0 2px 8px rgba(235, 30, 40, 0.3);
}

.pc-card__ribbon--red::after {
    border-top-color: #a8141b;
    border-right-color: #a8141b;
}

.pc-card__ribbon--navy {
    background: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(19, 38, 75, 0.3);
}

.pc-card__ribbon--navy::after {
    border-top-color: #0c1a35;
    border-right-color: #0c1a35;
}

/* --- Inline Tools List (AI Suite cards) --- */

.pc-card__tools-inline {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 10px;
    background: rgba(19, 38, 75, 0.03);
    border: 1px solid rgba(19, 38, 75, 0.06);
    border-radius: 6px;
}

.pc-card__tools-inline--classic {
    border-color: rgba(22, 163, 74, 0.15);
    background: rgba(22, 163, 74, 0.04);
}

.pc-card__tools-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(19, 38, 75, 0.45);
}

.pc-card__tools-list {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(19, 38, 75, 0.7);
    line-height: 1.5;
}

/* --- Toolkit Expand (animated slide-down) --- */

.pc-card__toolkit-expand {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.pc-card__toolkit-expand.is-open {
    grid-template-rows: 1fr;
}

.pc-card__toolkit-expand-inner {
    min-height: 0;
    overflow: hidden;
}

.pc-card__toolkit-expand.is-open .pc-card__toolkit-expand-inner {
    padding-top: 4px;
}

.pc-card__toolkit-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 8px 10px;
    background: rgba(22, 163, 74, 0.04);
    border: 1px solid rgba(22, 163, 74, 0.15);
    border-radius: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 12px;
}

.pc-card__toolkit-list li {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(19, 38, 75, 0.7);
    padding: 2px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pc-card__toolkit-list li::before {
    content: '✓';
    font-size: 0.6rem;
    color: #1E8E4F;
    font-weight: 700;
}

/* --- Gapless Bottom Stack (AI Suite Cards) --- */

.pc-card__bottom-stack {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(19, 38, 75, 0.06);
    background: rgba(19, 38, 75, 0.02);
}

.pc-card__bottom-stack .pc-card__tools-inline {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(19, 38, 75, 0.06);
    background: transparent;
}

.pc-card__bottom-stack .pc-card__pricing {
    border: none;
    border-radius: 0;
    margin-top: 0;
    background: transparent;
}
