:root {
    --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --bg-deep: #04070f;
    --bg-gradient-start: #080d18;
    --bg-gradient-end: #04070f;
    --surface-obsidian: #090f1d;
    --surface-slate: #111a2e;
    --surface-slate-hover: #182542;
    --surface-light: #edf2fa;
    --surface-light-soft: #f6f9fe;
    --surface-white: #ffffff;
    --glass-surface: rgba(10, 16, 31, 0.86);
    --glass-surface-mobile: #0a101f;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-strong: rgba(255, 255, 255, 0.16);
    --glass-highlight: rgba(255, 255, 255, 0.16);
    --brand-primary: #2997ff;
    --brand-secondary: #2563eb;
    --brand-deep: #1d4ed8;
    --brand-glow: rgba(41, 151, 255, 0.35);
    --brand-subtle: rgba(41, 151, 255, 0.12);
    --brand-subtle-border: rgba(41, 151, 255, 0.3);
    --brand-accent: #10d998;
    --brand-accent-bright: #34f0b5;
    --brand-accent-deep: #059669;
    --brand-accent-glow: rgba(16, 217, 152, 0.34);
    --brand-accent-subtle: rgba(16, 217, 152, 0.14);
    --brand-ultra: #8b5cf6;
    --brand-ultra-deep: #6d28d9;
    --text-main: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.86);
    --text-muted: rgba(255, 255, 255, 0.64);
    --text-dark: #0f172a;
    --text-dark-secondary: #1e293b;
    --text-dark-muted: #475569;
    --text-on-accent: #041812;
    --success: #32d74b;
    --success-subtle: rgba(50, 215, 75, 0.14);
    --danger: #ff453a;
    --danger-subtle: rgba(255, 69, 58, 0.14);
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 26px;
    --radius-xl: 32px;
    --gap-sm: 12px;
    --gap-md: 20px;
    --gap-lg: 28px;
    --page-side-pad: 5vw;
    --shadow-ambient: 0 14px 34px -14px rgba(0, 0, 0, 0.42);
    --shadow-soft: 0 8px 22px -10px rgba(15, 23, 42, 0.1);
    --shadow-glow: 0 0 24px rgba(41, 151, 255, 0.22);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.light-theme {
    --bg-deep: #e8eef6;
    --bg-gradient-start: #f5f8fc;
    --bg-gradient-end: #e6edf6;
    --glass-surface: rgba(255, 255, 255, 0.9);
    --glass-surface-mobile: #ffffff;
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-border-strong: rgba(15, 23, 42, 0.15);
    --glass-highlight: #ffffff;
    --brand-primary: #2563eb;
    --brand-secondary: #1d4ed8;
    --brand-glow: rgba(37, 99, 235, 0.22);
    --brand-subtle: rgba(37, 99, 235, 0.1);
    --brand-subtle-border: rgba(37, 99, 235, 0.26);
    --text-main: #0f172a;
    --text-secondary: #1e293b;
    --text-muted: #475569;
    --shadow-ambient: 0 12px 28px -12px rgba(15, 23, 42, 0.14);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.16);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: clip;
    width: 100%;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 150ms var(--ease-out);
}

ul {
    list-style: none;
}

.header {
    position: fixed;
    top: 14px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: calc(100% - (var(--page-side-pad) * 2));
    max-width: none;
    height: 62px;
    z-index: 1000;
    background: var(--glass-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
    transition: transform 200ms var(--ease-out), background-color 200ms var(--ease-out);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 28px;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand-primary);
    transition: transform 150ms var(--ease-out);
}

.logo:active {
    transform: scale(0.95);
}

.menu_links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.menu_links .link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    transition: color 150ms var(--ease-out), transform 150ms var(--ease-out);
}

.menu_links .link:active {
    transform: scale(0.95);
}

@media (hover: hover) and (pointer: fine) {
    .menu_links .link:hover {
        color: var(--text-main);
    }
}

.menu_links .link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-primary);
    transform: translateX(-50%);
    transition: width 180ms var(--ease-out);
    border-radius: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .menu_links .link:hover::after {
        width: 100%;
    }
}

#main-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-bottom: 40px;
}

.bento-shell {
    width: 100%;
    border-radius: var(--radius-xl);
    padding: 46px clamp(22px, 3.8vw, 56px);
    position: relative;
    overflow: hidden;
    contain: layout style;
}

.bento-shell--brand {
    background: linear-gradient(135deg, #123ac2 0%, #2157e0 52%, #2488f5 100%);
    color: #ffffff;
}

.bento-shell--light {
    background: var(--surface-obsidian);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bento-shell--dark,
.bento-shell--showcase {
    background: var(--surface-obsidian);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

body.light-theme .bento-shell--light {
    background: linear-gradient(180deg, #f6f9ff 0%, #e9f1fc 100%);
    color: var(--text-dark);
    border-color: rgba(15, 23, 42, 0.06);
}

.bento-eyebrow {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.56);
    margin-bottom: 12px;
}

body.light-theme .bento-shell--light .bento-eyebrow {
    color: var(--text-dark-muted);
}

.bento-eyebrow--light {
    color: rgba(255, 255, 255, 0.84);
}

.bento-eyebrow--dark {
    color: rgba(255, 255, 255, 0.56);
}

.bento-section-head {
    max-width: 760px;
    margin-bottom: 30px;
    text-align: left;
}

.section-title {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    text-align: center;
}

.section-title i {
    color: var(--brand-primary);
    margin-right: 12px;
}

.bento-title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
    text-align: left;
    color: #ffffff;
}

.bento-title i {
    display: none;
}

.bento-accent-text {
    color: var(--brand-accent-bright);
}

body.light-theme .bento-shell--light .bento-title {
    color: var(--text-dark);
}

body.light-theme .bento-shell--light .bento-accent-text {
    color: var(--brand-secondary);
}

.bento-section-lead {
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.7);
}

body.light-theme .bento-shell--light .bento-section-lead {
    color: var(--text-dark-muted);
}

.hero-section {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 14px var(--page-side-pad) 0;
    position: relative;
}

.hero-bento-shell {
    padding: 68px clamp(20px, 3.8vw, 52px) 38px;
}

.hero-blobs {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-blobs .blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.45;
}

.hero-blobs .blob:nth-child(1) {
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, rgba(52, 240, 181, 0.34) 0%, rgba(52, 240, 181, 0) 70%);
    top: -260px;
    left: -180px;
}

.hero-blobs .blob:nth-child(2) {
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, rgba(16, 42, 156, 0.72) 0%, rgba(16, 42, 156, 0) 70%);
    bottom: -240px;
    right: -160px;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-bento-top {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.85fr);
    gap: 28px;
    align-items: center;
}

.hero-bento-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
}

.hero-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.045em;
    color: #ffffff;
    margin: 0;
    max-width: 680px;
}

.hero-subtitle {
    font-size: clamp(15.5px, 1.35vw, 19px);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    max-width: 580px;
    min-height: 26px;
    transition: opacity 220ms var(--ease-out);
}

.hero-subtitle.fade-out {
    opacity: 0;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
}

.hero-chip i {
    color: var(--brand-accent-bright);
    font-size: 12.5px;
}

.hero-visual-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 196px;
}

.visual-stage-card {
    position: relative;
    width: 100%;
    max-width: 310px;
    height: 196px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.visual-pedestal {
    width: 244px;
    height: 34px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #dbe7ff 100%);
    box-shadow: 0 14px 28px rgba(10, 26, 94, 0.3);
    position: relative;
    z-index: 1;
}

.visual-cube {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    font-size: 30px;
    z-index: 2;
}

.visual-cube--primary {
    width: 96px;
    height: 96px;
    top: 6px;
    left: 26px;
    background: linear-gradient(145deg, #3ba4ff 0%, #1d4ed8 100%);
    color: #ffffff;
    transform: rotate(-10deg);
    box-shadow: 0 14px 24px rgba(10, 26, 94, 0.28);
}

.visual-cube--light {
    width: 90px;
    height: 90px;
    bottom: 22px;
    left: 58px;
    background: linear-gradient(145deg, #ffffff 0%, #e4eeff 100%);
    color: #2563eb;
    transform: rotate(-4deg);
    box-shadow: 0 12px 22px rgba(10, 26, 94, 0.22);
}

.visual-cube--accent {
    width: 98px;
    height: 98px;
    bottom: 22px;
    right: 42px;
    background: linear-gradient(145deg, #34f0b5 0%, #0bc48a 100%);
    color: var(--text-on-accent);
    transform: rotate(7deg);
    box-shadow: 0 14px 24px rgba(5, 150, 105, 0.3);
}

.upload-form,
.upload-form.new-design {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 24px 26px;
    background: #080e1c;
    color: #ffffff;
    border-radius: var(--radius-lg);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 52px -16px rgba(4, 10, 28, 0.62);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

body.light-theme .upload-form.new-design {
    background: #ffffff;
    color: var(--text-dark);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 20px 44px -16px rgba(15, 23, 42, 0.18);
}

.upload-form.is-dragover {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.45), 0 24px 52px -16px rgba(4, 10, 28, 0.62);
}

.drop-message {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(7, 11, 20, 0.96);
    border-radius: var(--radius-lg);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms var(--ease-out);
    gap: 12px;
    border: 2px dashed var(--brand-primary);
}

body.light-theme .drop-message {
    background: rgba(255, 255, 255, 0.97);
}

.upload-form.is-dragover .drop-message {
    opacity: 1;
}

.drop-message i {
    font-size: 46px;
    color: var(--brand-primary);
}

.drop-message span {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

body.light-theme .drop-message span {
    color: var(--text-dark);
}

.studio-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

body.light-theme .studio-topbar {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

.studio-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.studio-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-primary);
    box-shadow: 0 0 10px rgba(41, 151, 255, 0.75);
}

.studio-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #ffffff;
}

body.light-theme .studio-title {
    color: var(--text-dark);
}

.studio-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drop-preview {
    font-size: 13px;
    font-weight: 700;
    color: #6ab9ff;
    background: var(--brand-subtle);
    border: 1px solid var(--brand-subtle-border);
    padding: 5px 14px;
    border-radius: 999px;
    margin: 0;
}

body.light-theme .drop-preview {
    color: var(--brand-secondary);
}

#previewContainer:empty {
    display: none;
}

.studio-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--danger-subtle);
    border: 1px solid rgba(255, 69, 58, 0.25);
    color: var(--danger);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .studio-clear-btn:hover {
        background: var(--danger);
        color: #ffffff;
    }
}

.studio-clear-btn:active {
    transform: scale(0.95);
}

.drop-zone {
    background: linear-gradient(180deg, rgba(25, 42, 78, 0.78) 0%, rgba(16, 27, 50, 0.92) 100%);
    border: 2px dashed rgba(41, 151, 255, 0.56);
    border-radius: 20px;
    padding: 30px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 214px;
    text-align: center;
    cursor: pointer;
    transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), transform 160ms var(--ease-out);
    position: relative;
    overflow: hidden;
    gap: 14px;
}

body.light-theme .drop-zone {
    background: linear-gradient(180deg, #f4f8ff 0%, #ebf2ff 100%);
    border-color: rgba(37, 99, 235, 0.44);
}

@media (hover: hover) and (pointer: fine) {
    .drop-zone:hover,
    .upload-form.is-dragover .drop-zone {
        background: linear-gradient(180deg, rgba(31, 56, 104, 0.9) 0%, rgba(18, 36, 66, 0.96) 100%);
        border-color: var(--brand-primary);
        box-shadow: 0 0 0 4px rgba(41, 151, 255, 0.18);
    }
    body.light-theme .drop-zone:hover,
    body.light-theme .upload-form.is-dragover .drop-zone {
        background: linear-gradient(180deg, #eaf3ff 0%, #e1eeff 100%);
        border-color: var(--brand-secondary);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
    }
}

.drop-zone-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.drop-icon-ring {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(41, 151, 255, 0.18);
    border: 1.5px solid rgba(41, 151, 255, 0.42);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .drop-zone:hover .drop-icon-ring {
        background: var(--brand-primary);
        border-color: #60b5ff;
        transform: translateY(-2px);
    }
    .drop-zone:hover .drop-icon {
        color: #ffffff;
    }
}

.drop-icon {
    font-size: 28px;
    color: #59b3ff;
    transition: color 180ms var(--ease-out);
}

body.light-theme .drop-icon {
    color: var(--brand-secondary);
}

.drop-format-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    max-width: 520px;
}

.format-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.format-badge i {
    color: var(--brand-primary);
    font-size: 10.5px;
}

.format-badge.is-video {
    background: rgba(41, 151, 255, 0.18);
    border-color: rgba(41, 151, 255, 0.34);
    color: #93ccff;
}

.format-badge.is-video i {
    color: var(--brand-primary);
}

body.light-theme .format-badge {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
    color: var(--text-dark-secondary);
}

body.light-theme .format-badge.is-video {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.28);
    color: var(--brand-secondary);
}

body.light-theme .format-badge.is-video i {
    color: var(--brand-secondary);
}

.drop-zone-copy {
    max-width: 480px;
}

.drop-title {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    color: #ffffff;
}

body.light-theme .drop-title {
    color: var(--text-dark);
}

.drop-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}

body.light-theme .drop-desc {
    color: var(--text-dark-muted);
}

.drop-zone-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 2px;
}

.drop-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2997ff 0%, #2563eb 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.6);
    transition: transform 150ms var(--ease-out), filter 150ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .drop-zone:hover .drop-action-btn {
        filter: brightness(1.08);
        transform: translateY(-1px);
    }
}

.drop-kbd-hint {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

body.light-theme .drop-kbd-hint {
    color: var(--text-dark-muted);
}

.drop-kbd-hint kbd {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11.5px;
    font-family: inherit;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
}

body.light-theme .drop-kbd-hint kbd {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    color: var(--text-dark);
}

input[type="file"] {
    display: none;
}

.file-queue-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--surface-slate);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 16px;
}

body.light-theme .file-queue-wrapper {
    background: var(--surface-light-soft);
    border-color: rgba(15, 23, 42, 0.08);
}

.file-queue-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.queue-header-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.light-theme .queue-header-title {
    color: var(--text-dark);
}

.queue-header-title i {
    color: var(--brand-primary);
}

body.light-theme .queue-header-title i {
    color: var(--brand-secondary);
}

.queue-header-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
}

body.light-theme .queue-header-hint {
    color: var(--text-dark-muted);
}

.file-queue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
    gap: 12px;
    max-height: 244px;
    overflow-y: auto;
    padding: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.file-queue-grid::-webkit-scrollbar {
    width: 5px;
}

.file-queue-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 6px;
}

.queue-item {
    position: relative;
    border-radius: 14px;
    background: #0b1324;
    border: 2px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 150ms var(--ease-out), border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}

body.light-theme .queue-item {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.16);
}

@media (hover: hover) and (pointer: fine) {
    .queue-item:hover {
        border-color: var(--brand-primary);
        transform: translateY(-2px);
    }
}

.queue-item.is-active {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 2px rgba(41, 151, 255, 0.32);
}

body.light-theme .queue-item.is-active {
    border-color: var(--brand-secondary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.24);
}

.queue-thumb-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #050811;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .queue-thumb-box {
    background: #e2e8f0;
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

.queue-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.queue-video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--brand-primary);
    font-size: 22px;
}

.queue-type-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(2, 4, 8, 0.84);
    color: #ffffff;
}

.queue-remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(2, 4, 8, 0.86);
    border: none;
    color: #ff453a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    z-index: 3;
    transition: background-color 140ms var(--ease-out), color 140ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .queue-remove-btn:hover {
        background: #ff453a;
        color: #ffffff;
    }
}

.queue-meta {
    padding: 8px 9px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.queue-name {
    font-size: 11.5px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.light-theme .queue-name {
    color: var(--text-dark);
}

.queue-size {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.6);
    font-variant-numeric: tabular-nums;
}

body.light-theme .queue-size {
    color: var(--text-dark-muted);
}

#photoDisplay {
    width: 100%;
    max-width: 760px;
    aspect-ratio: 16 / 9;
    max-height: 360px;
    background: #020408;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    margin: 2px auto 0;
}

body.light-theme #photoDisplay {
    border-color: rgba(15, 23, 42, 0.12);
    background-color: #f0f2f5;
    background-image:
        linear-gradient(45deg, #e5e7eb 25%, transparent 25%),
        linear-gradient(-45deg, #e5e7eb 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e5e7eb 75%),
        linear-gradient(-45deg, transparent 75%, #e5e7eb 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

#photoDisplay img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.photo-controls-top {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 10;
}

.delete-photo-btn {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(7, 11, 20, 0.84);
    border: none;
    color: #ff453a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .delete-photo-btn:hover {
        background: #ff453a;
        color: #ffffff;
    }
}

.overlay-text,
#photoCounter {
    pointer-events: auto;
    position: static;
    background: rgba(7, 11, 20, 0.86);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(7, 11, 20, 0.8);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 150ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .nav-btn:hover {
        background: var(--brand-primary);
    }
}

.nav-btn.prev { left: 14px; }
.nav-btn.next { right: 14px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    padding: 0 28px;
    font-size: 15.5px;
    font-weight: 800;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 150ms var(--ease-out), background-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out), filter 150ms var(--ease-out), opacity 150ms var(--ease-out);
    text-decoration: none;
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.full-width {
    width: 100%;
    height: 58px;
    font-size: 16.5px;
}

.btn i {
    font-size: 18px;
}

.btn-secondary {
    background: var(--surface-slate);
    color: #ffffff;
}

.btn-primary {
    background: linear-gradient(135deg, #2997ff 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px -8px rgba(37, 99, 235, 0.52);
}

.btn-primary:disabled,
.btn-primary[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary.is-disabled-admin {
    opacity: 0.65;
    cursor: not-allowed;
    filter: grayscale(0.35);
}

@media (hover: hover) and (pointer: fine) {
    .btn-secondary:hover {
        background: var(--surface-slate-hover);
    }
    .btn-primary:not(:disabled):hover {
        filter: brightness(1.08);
        box-shadow: 0 14px 28px -8px rgba(37, 99, 235, 0.64);
    }
}

.btn-secondary:active,
.btn-primary:not(:disabled):active {
    transform: scale(0.98);
}

#uploadButton {
    position: relative;
    z-index: 5;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, #3ba4ff 0%, #2563eb 100%);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 30px -6px rgba(41, 151, 255, 0.58);
    font-weight: 800;
    letter-spacing: -0.01em;
}

#uploadButton:disabled,
#uploadButton[disabled] {
    opacity: 1;
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.28) 0%, rgba(37, 99, 235, 0.22) 100%);
    color: #e6f2ff;
    border: 1.5px solid rgba(41, 151, 255, 0.6);
    box-shadow: 0 8px 22px -10px rgba(41, 151, 255, 0.42);
    cursor: not-allowed;
}

body.light-theme #uploadButton:disabled,
body.light-theme #uploadButton[disabled] {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, rgba(41, 151, 255, 0.14) 100%);
    color: var(--brand-deep);
    border-color: rgba(37, 99, 235, 0.48);
    box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
    #uploadButton:not(:disabled):hover {
        background: linear-gradient(135deg, #52b1ff 0%, #2997ff 100%);
        box-shadow: 0 18px 34px -6px rgba(41, 151, 255, 0.72);
        transform: translateY(-1px);
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.55s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--surface-slate);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 2px;
    display: none;
    position: relative;
}

body.light-theme .progress-bar {
    background: #e2e8f0;
}

.progress-bar-inner {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #60d5ff);
    transition: width 180ms linear;
}

#timeRemaining {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 2px;
    display: none;
    font-variant-numeric: tabular-nums;
}

body.light-theme #timeRemaining {
    color: var(--text-dark-muted);
}

.workspace-upsell-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.18), rgba(37, 99, 235, 0.1));
    border: 1px solid rgba(41, 151, 255, 0.32);
    border-radius: 18px;
    padding: 14px 18px;
    text-decoration: none;
    color: inherit;
    transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .workspace-upsell-banner:hover {
        background: linear-gradient(135deg, rgba(41, 151, 255, 0.26), rgba(37, 99, 235, 0.16));
        border-color: rgba(41, 151, 255, 0.5);
    }
}

.upsell-left {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.upsell-icon {
    background: var(--brand-primary);
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    flex-shrink: 0;
}

.upsell-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

body.light-theme .upsell-title {
    color: var(--text-dark);
}

.upsell-desc {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.4;
}

body.light-theme .upsell-desc {
    color: var(--text-dark-muted);
}

.upsell-desc b {
    color: #6ab9ff;
}

body.light-theme .upsell-desc b {
    color: var(--brand-secondary);
}

.upsell-arrow {
    color: #6ab9ff;
    font-size: 14px;
    margin-left: 12px;
}

body.light-theme .upsell-arrow {
    color: var(--brand-secondary);
}

.upload-settings-wrapper {
    position: relative;
    border-radius: 16px;
    background: var(--surface-slate);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

body.light-theme .upload-settings-wrapper {
    background: var(--surface-light-soft);
    border-color: rgba(15, 23, 42, 0.08);
}

.settings-toggle {
    padding: 14px 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.84);
    transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}

body.light-theme .settings-toggle {
    color: var(--text-dark-secondary);
}

@media (hover: hover) and (pointer: fine) {
    .settings-toggle:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.04);
    }
    body.light-theme .settings-toggle:hover {
        color: var(--text-dark);
        background: rgba(15, 23, 42, 0.04);
    }
}

.settings-toggle-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-toggle-title i {
    color: var(--brand-primary);
}

.settings-toggle-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-quick-summary {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.07);
    padding: 4px 12px;
    border-radius: 999px;
}

body.light-theme .settings-quick-summary {
    background: #ffffff;
    color: var(--text-dark-muted);
}

.settings-toggle .arrow {
    transition: transform 240ms var(--ease-out);
}

.settings-toggle.active .arrow {
    transform: rotate(180deg);
    color: var(--brand-primary);
}

.settings-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 240ms var(--ease-out);
    background: rgba(0, 0, 0, 0.2);
}

body.light-theme .settings-content {
    background: #ffffff;
}

.settings-grid-inner {
    padding: 4px 18px 18px;
}

.setting-item {
    padding-top: 14px;
    text-align: left;
}

.settings-item-divider {
    margin-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

body.light-theme .settings-item-divider {
    border-top-color: rgba(15, 23, 42, 0.08);
}

.switch-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    width: 100%;
}

.setting-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.switch-label,
.retention-label-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
}

body.light-theme .switch-label,
body.light-theme .retention-label-title {
    color: var(--text-dark);
}

.setting-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.4;
}

body.light-theme .setting-desc {
    color: var(--text-dark-muted);
}

.switch-toggle {
    position: relative;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
}

.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(148, 163, 184, 0.34);
    transition: background-color 200ms var(--ease-out);
    border-radius: 999px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: transform 200ms var(--ease-out);
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--brand-primary);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.retention-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.retention-modal-link {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-width: 144px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}

body.light-theme .retention-modal-link {
    background: var(--surface-light);
    color: var(--text-dark);
}

@media (hover: hover) and (pointer: fine) {
    .retention-modal-link:hover {
        background: var(--brand-primary);
        color: #ffffff;
    }
}

#retentionDropdown {
    position: absolute;
    inset: 0;
    background: #080e1c;
    border-radius: inherit;
    z-index: 100;
    padding: 20px;
    flex-direction: column;
}

body.light-theme #retentionDropdown {
    background: #ffffff;
}

.retention-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.retention-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.light-theme .retention-title {
    color: var(--text-dark);
}

.retention-title i {
    color: var(--brand-primary);
}

body.light-theme .retention-title i {
    color: var(--brand-secondary);
}

.retention-close {
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
}

body.light-theme .retention-close {
    color: var(--text-dark-muted);
}

@media (hover: hover) and (pointer: fine) {
    .retention-close:hover {
        color: var(--danger);
    }
}

.retention-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
    overflow-y: auto;
    padding-right: 4px;
}

.retention-opt {
    padding: 10px;
    background: var(--surface-slate);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    transition: background-color 140ms var(--ease-out), color 140ms var(--ease-out);
}

body.light-theme .retention-opt {
    background: var(--surface-light);
    color: var(--text-dark);
}

@media (hover: hover) and (pointer: fine) {
    .retention-opt:hover {
        background: var(--brand-primary);
        color: #ffffff;
    }
}

.hero-bento-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

.hero-bento-card {
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 18px;
    align-items: center;
    text-align: left;
    transition: transform 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .hero-bento-card:hover {
        transform: translateY(-3px);
    }
}

.hero-bento-card--light {
    background: #0a1224;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

body.light-theme .hero-bento-card--light {
    background: #f4f7ff;
    border-color: transparent;
    color: var(--text-dark);
}

.hero-bento-card--accent {
    background: linear-gradient(135deg, #2ae9ac 0%, #0ec98c 100%);
    color: var(--text-on-accent);
}

.hero-bento-card-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hero-bento-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.hero-bento-card--light .hero-bento-icon {
    background: rgba(41, 151, 255, 0.18);
    color: #60b5ff;
}

body.light-theme .hero-bento-card--light .hero-bento-icon {
    background: rgba(37, 99, 235, 0.12);
    color: var(--brand-secondary);
}

.hero-bento-card--accent .hero-bento-icon {
    background: rgba(4, 24, 18, 0.12);
    color: var(--text-on-accent);
}

.hero-bento-card-title {
    font-size: clamp(20px, 1.8vw, 25px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-bento-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-bento-card-body p {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.hero-bento-card--light .hero-bento-card-body p {
    color: rgba(255, 255, 255, 0.74);
}

body.light-theme .hero-bento-card--light .hero-bento-card-body p {
    color: var(--text-dark-muted);
}

.hero-bento-card--accent .hero-bento-card-body p {
    color: rgba(4, 24, 18, 0.84);
}

.hero-bento-meta {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
    opacity: 0.82;
}

.hero-scroll-cue {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -6px 0 -4px;
    position: relative;
    z-index: 10;
}

.scroll-arrow-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--text-muted);
    background: var(--glass-surface);
    transition: color 180ms ease, background-color 180ms ease;
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    .scroll-arrow-btn:hover {
        color: #ffffff;
        background: var(--brand-primary);
    }
}

.section-container,
.bento-section {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 var(--page-side-pad);
    position: relative;
    z-index: 1;
}

.section {
    border-radius: var(--radius-xl);
    padding: 46px clamp(22px, 3.8vw, 56px);
    position: relative;
}

#info-section-layout,
.bento-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 38px;
    align-items: center;
    margin-bottom: 32px;
}

.bento-info-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.section-text {
    font-size: 16.5px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 640px;
}

body.light-theme .bento-shell--light .section-text {
    color: var(--text-dark-muted);
}

.highlight {
    color: #54adff;
    font-weight: 700;
}

body.light-theme .bento-shell--light .highlight {
    color: var(--brand-secondary);
}

.bento-tabs-card {
    width: 100%;
    background: var(--surface-slate);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 22px;
}

body.light-theme .bento-shell--light .bento-tabs-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.06);
    box-shadow: var(--shadow-soft);
}

.bento-pill-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: 20px;
}

body.light-theme .bento-shell--light .bento-pill-tabs {
    background: #edf2fa;
}

.bento-pill-tab {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.68);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}

body.light-theme .bento-shell--light .bento-pill-tab {
    color: var(--text-dark-muted);
}

.bento-pill-tab.is-active {
    background: var(--brand-primary);
    color: #ffffff;
}

body.light-theme .bento-shell--light .bento-pill-tab.is-active {
    background: var(--brand-secondary);
    color: #ffffff;
}

@media (hover: hover) and (pointer: fine) {
    .bento-pill-tab:not(.is-active):hover {
        color: #ffffff;
    }
    body.light-theme .bento-shell--light .bento-pill-tab:not(.is-active):hover {
        color: var(--text-dark);
    }
}

.bento-tab-panel {
    animation: tabReveal 200ms var(--ease-out);
}

.bento-tab-panel[hidden] {
    display: none;
}

@keyframes tabReveal {
    from { opacity: 0; transform: translate3d(0, 5px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.bento-tab-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 8px;
}

body.light-theme .bento-shell--light .bento-tab-title {
    color: var(--text-dark);
}

.bento-tab-desc {
    font-size: 14.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

body.light-theme .bento-shell--light .bento-tab-desc {
    color: var(--text-dark-muted);
}

.bento-check-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bento-check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

body.light-theme .bento-shell--light .bento-check-list li {
    color: var(--text-dark-secondary);
}

.bento-check-list li i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand-accent);
    color: var(--text-on-accent);
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#info-section-visual,
.bento-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.bento-mascot-stage {
    width: 100%;
    max-width: 460px;
    min-height: 340px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 86% 12%, rgba(52, 240, 181, 0.28) 0%, rgba(52, 240, 181, 0) 52%),
        linear-gradient(155deg, #2563eb 0%, #1d4ed8 55%, #0f172a 100%);
    padding: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.bento-mascot-badge {
    position: relative;
    z-index: 2;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.bento-mascot-icon {
    position: relative;
    z-index: 2;
    width: 138px;
    height: 138px;
    border-radius: 32px;
    background: linear-gradient(145deg, #ffffff 0%, #dbeafe 100%);
    color: var(--brand-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 58px;
    box-shadow: 0 16px 32px rgba(2, 6, 23, 0.28);
}

.bento-mascot-pills {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.bento-mascot-pills span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
}

.bento-mascot-pills span i {
    color: var(--brand-accent-bright);
}

.info-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .bento-shell--light .info-contacts {
    border-top-color: rgba(15, 23, 42, 0.08);
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background: var(--surface-slate);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    border-radius: 999px;
    transition: transform 150ms var(--ease-out), background-color 150ms var(--ease-out), color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.contact-item i {
    color: var(--brand-primary);
    font-size: 16px;
    transition: color 150ms var(--ease-out);
}

body.light-theme .bento-shell--light .contact-item {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    color: var(--text-dark);
}

body.light-theme .bento-shell--light .contact-item i {
    color: var(--brand-secondary);
}

@media (hover: hover) and (pointer: fine) {
    .contact-item:hover,
    body.light-theme .bento-shell--light .contact-item:hover {
        background: var(--brand-primary);
        border-color: var(--brand-primary);
        color: #ffffff;
        transform: translateY(-2px);
    }
    .contact-item:hover i,
    body.light-theme .bento-shell--light .contact-item:hover i {
        color: #ffffff;
    }
}

.stats-grid,
.bento-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.stat-card,
.bento-kpi-card {
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    min-height: 230px;
    min-width: 0;
    transition: transform 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .bento-kpi-card:hover {
        transform: translateY(-4px);
    }
}

.bento-kpi-card--accent {
    background: linear-gradient(155deg, #2ae9ac 0%, #0ec98c 100%);
    color: var(--text-on-accent);
}

.bento-kpi-card--brand {
    background: linear-gradient(155deg, #2997ff 0%, #1d4ed8 100%);
    color: #ffffff;
}

.bento-kpi-card--light {
    background: linear-gradient(155deg, #172646 0%, #101a30 100%);
    border: 1px solid rgba(41, 151, 255, 0.24);
    color: #ffffff;
}

body.light-theme .bento-kpi-card--light {
    background: #f2f6ff;
    border-color: transparent;
    color: var(--text-dark);
}

.bento-kpi-card--slate {
    background: var(--surface-slate);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.bento-kpi-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.bento-kpi-title {
    font-size: 15.5px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.bento-kpi-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.16);
}

.bento-kpi-arrow i {
    transform: rotate(45deg);
}

.bento-kpi-card--accent .bento-kpi-arrow,
body.light-theme .bento-kpi-card--light .bento-kpi-arrow {
    background: rgba(15, 23, 42, 0.08);
}

.stat-number {
    display: block;
    width: 100%;
    font-size: clamp(26px, 2.7vw, 42px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
    margin: 4px 0 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-variant-numeric: tabular-nums;
}

.bento-kpi-foot {
    width: 100%;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bento-kpi-card--accent .bento-kpi-foot,
body.light-theme .bento-kpi-card--light .bento-kpi-foot {
    border-top-color: rgba(15, 23, 42, 0.12);
}

.stat-label {
    font-size: 15px;
    font-weight: 800;
}

.bento-kpi-sub {
    font-size: 12.5px;
    font-weight: 600;
    opacity: 0.74;
}

.pricing-showcase-wrap {
    width: 100%;
    position: relative;
}

.pricing-container {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pricing-container::-webkit-scrollbar {
    display: none;
}

.pricing-card {
    flex: 1 0 320px;
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .pricing-card:hover {
        transform: translateY(-4px);
    }
}

.pricing-card--light {
    background: linear-gradient(160deg, #172544 0%, #0f182c 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

body.light-theme .pricing-card--light {
    background: #f4f7ff;
    border-color: transparent;
    color: var(--text-dark);
}

.pricing-card--brand {
    background: linear-gradient(160deg, #2997ff 0%, #1d4ed8 100%);
    color: #ffffff;
}

.pricing-card--accent {
    background: linear-gradient(160deg, #2ae9ac 0%, #0ec98c 100%);
    color: var(--text-on-accent);
}

.pricing-card--dark {
    background: var(--surface-slate);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.pricing-card--ultra {
    background: linear-gradient(160deg, #9333ea 0%, #5b21b6 100%);
    color: #ffffff;
}

.pricing-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.pricing-pill,
.pricing-card .tag {
    position: static;
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: none;
}

.pricing-card--light .pricing-pill {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

body.light-theme .pricing-card--light .pricing-pill {
    background: rgba(15, 23, 42, 0.08);
    color: var(--text-dark);
}

.pricing-card--brand .pricing-pill,
.pricing-card--dark .pricing-pill {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.pricing-card--accent .tag {
    background: var(--text-on-accent);
    color: #ffffff;
}

.pricing-card--ultra .tag--ultra {
    background: #ffffff;
    color: #5b21b6;
}

.pricing-index {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: rgba(255, 255, 255, 0.16);
}

.pricing-card--accent .pricing-index,
body.light-theme .pricing-card--light .pricing-index {
    background: rgba(4, 24, 18, 0.1);
}

.pricing-card h3 {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin-bottom: 14px;
}

.pricing-metric-box {
    border-radius: 18px;
    padding: 15px 17px;
    background: rgba(255, 255, 255, 0.14);
}

.pricing-card--light .pricing-metric-box {
    background: rgba(255, 255, 255, 0.07);
}

body.light-theme .pricing-card--light .pricing-metric-box {
    background: #ffffff;
}

.pricing-card--accent .pricing-metric-box {
    background: rgba(255, 255, 255, 0.28);
}

.pricing-card--dark .pricing-metric-box {
    background: rgba(255, 255, 255, 0.06);
}

.pricing-metric-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.78;
    margin-bottom: 6px;
}

.pricing-period-badge {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.2);
}

body.light-theme .pricing-card--light .pricing-period-badge {
    background: #edf2fa;
    color: var(--text-dark);
}

.pricing-card--accent .pricing-period-badge {
    background: rgba(4, 24, 18, 0.12);
    color: var(--text-on-accent);
}

.price-old {
    text-decoration: line-through;
    font-size: 13.5px;
    font-weight: 700;
    min-height: 20px;
    opacity: 0.6;
}

.price-new {
    font-size: 35px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin: 2px 0 6px;
}

.price-info {
    font-size: 13px;
    font-weight: 700;
    opacity: 0.84;
}

.pricing-card hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.16);
    margin: 16px 0;
}

.pricing-card--accent hr,
body.light-theme .pricing-card--light hr {
    background: rgba(4, 24, 18, 0.12);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 20px;
    flex: 1 0 auto;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
}

.features-list li .highlight {
    color: inherit;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.features-list li.is-muted {
    opacity: 0.55;
}

.features-list li i {
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 13px;
}

.pricing-card--light .features-list li i.fa-check {
    color: var(--brand-primary);
}

body.light-theme .pricing-card--light .features-list li i.fa-check {
    color: var(--brand-secondary);
}

.pricing-card--brand .features-list li i.fa-check,
.pricing-card--ultra .features-list li i.fa-check {
    color: #ffffff;
}

.pricing-card--accent .features-list li i.fa-check {
    color: var(--text-on-accent);
}

.pricing-card--dark .features-list li i.fa-check {
    color: var(--brand-accent);
}

.btn-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 800;
    margin-top: auto;
    transition: transform 150ms var(--ease-out), opacity 150ms var(--ease-out);
}

.pricing-card--light .btn-order {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

body.light-theme .pricing-card--light .btn-order {
    background: #070b14;
    color: #ffffff;
}

.pricing-card--brand .btn-order {
    background: #ffffff;
    color: #070b14;
}

.pricing-card--accent .btn-order {
    background: var(--text-on-accent);
    color: #ffffff;
}

.pricing-card--dark .btn-order {
    background: var(--brand-accent);
    color: var(--text-on-accent);
}

.pricing-card--ultra .btn-order {
    background: #ffffff;
    color: #4c1d95;
}

.btn-order--inactive,
.btn-order--current {
    pointer-events: none;
    opacity: 0.55;
}

@media (hover: hover) and (pointer: fine) {
    .btn-order:not(.btn-order--inactive):not(.btn-order--current):hover {
        opacity: 0.9;
    }
}

.btn-order:active {
    transform: scale(0.97);
}

.tariff-target {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 12.5px;
    line-height: 1.5;
    opacity: 0.85;
    text-align: left;
}

.pricing-card--accent .tariff-target,
body.light-theme .pricing-card--light .tariff-target {
    border-top-color: rgba(4, 24, 18, 0.12);
}

.tariff-target-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 800;
    margin-bottom: 4px;
}

.pricing-showcase-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.pricing-showcase-counter {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    font-variant-numeric: tabular-nums;
}

.pricing-showcase-counter span {
    color: #ffffff;
    font-weight: 800;
}

.pricing-showcase-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--surface-slate);
    color: #ffffff;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 150ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .pricing-nav-btn:hover {
        background: var(--brand-primary);
    }
}

.pricing-nav-btn:active {
    transform: scale(0.94);
}

.pricing-showcase-note {
    margin-top: 14px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.5);
    text-align: left;
}

.faq-search-box {
    position: relative;
    margin-bottom: 20px;
}

.faq-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.52);
    pointer-events: none;
    font-size: 15px;
}

body.light-theme .bento-shell--light .faq-search-icon {
    color: var(--text-dark-muted);
}

.faq-search-input {
    width: 100%;
    padding: 15px 48px 15px 50px;
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.09);
    background: var(--surface-slate);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    outline: none;
    transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}

.faq-search-input::placeholder {
    color: rgba(255, 255, 255, 0.46);
    font-weight: 500;
}

.faq-search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.2);
}

body.light-theme .bento-shell--light .faq-search-input {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    color: var(--text-dark);
}

body.light-theme .bento-shell--light .faq-search-input::placeholder {
    color: var(--text-dark-muted);
}

body.light-theme .bento-shell--light .faq-search-input:focus {
    border-color: var(--brand-secondary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.faq-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.light-theme .bento-shell--light .faq-search-clear {
    background: #edf2fa;
    color: var(--text-dark);
}

.faq-search-clear[hidden] {
    display: none;
}

.faq-empty-state {
    text-align: center;
    padding: 32px 20px;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    background: var(--surface-slate);
    color: rgba(255, 255, 255, 0.72);
}

body.light-theme .bento-shell--light .faq-empty-state {
    background: #ffffff;
    color: var(--text-dark-muted);
}

.faq-empty-state i {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--brand-primary);
}

body.light-theme .bento-shell--light .faq-empty-state i {
    color: var(--brand-secondary);
}

.faq-empty-state p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.faq-category {
    border-radius: var(--radius-md);
    background: var(--surface-slate);
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

body.light-theme .bento-shell--light .faq-category {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.06);
}

.faq-cat-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: transparent;
    border: none;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 150ms var(--ease-out);
}

body.light-theme .bento-shell--light .faq-cat-header {
    color: var(--text-dark);
}

@media (hover: hover) and (pointer: fine) {
    .faq-cat-header:hover {
        background: var(--surface-slate-hover);
    }
    body.light-theme .bento-shell--light .faq-cat-header:hover {
        background: #f8fbff;
    }
}

.faq-cat-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.faq-cat-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(41, 151, 255, 0.16);
    color: var(--brand-primary);
    font-size: 17px;
}

body.light-theme .bento-shell--light .faq-cat-icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--brand-secondary);
}

.faq-cat-titles {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.faq-cat-name {
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.25;
}

body.light-theme .bento-shell--light .faq-cat-name {
    color: var(--text-dark);
}

.faq-cat-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.35;
}

body.light-theme .bento-shell--light .faq-cat-desc {
    color: var(--text-dark-muted);
}

.faq-cat-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.faq-cat-count {
    font-size: 12.5px;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(41, 151, 255, 0.16);
    color: #6ab9ff;
}

body.light-theme .bento-shell--light .faq-cat-count {
    background: #edf2fa;
    color: var(--brand-secondary);
}

.faq-cat-arrow {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.56);
    transition: transform 220ms var(--ease-out), color 220ms var(--ease-out);
}

body.light-theme .bento-shell--light .faq-cat-arrow {
    color: var(--text-dark-muted);
}

.faq-category.is-open .faq-cat-arrow {
    transform: rotate(180deg);
    color: var(--brand-primary);
}

body.light-theme .bento-shell--light .faq-category.is-open .faq-cat-arrow {
    color: var(--brand-secondary);
}

.faq-cat-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 240ms var(--ease-out);
}

.faq-category.is-open .faq-cat-body {
    grid-template-rows: 1fr;
}

.faq-cat-inner {
    overflow: hidden;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 18px 18px;
}

.faq-item {
    border-radius: 16px;
    background: #0a101e;
    overflow: hidden;
    transition: background-color 150ms var(--ease-out);
}

.faq-item.active {
    background: #14213b;
}

body.light-theme .bento-shell--light .faq-item {
    background: #f3f7fe;
}

body.light-theme .bento-shell--light .faq-item.active {
    background: #eaf1ff;
}

.faq-question {
    width: 100%;
    padding: 17px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

body.light-theme .bento-shell--light .faq-question {
    color: var(--text-dark);
}

.faq-question span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-question span i {
    color: var(--brand-primary);
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

body.light-theme .bento-shell--light .faq-question span i {
    color: var(--brand-secondary);
}

.faq-question > i {
    transition: transform 220ms var(--ease-out);
    color: rgba(255, 255, 255, 0.52);
    flex-shrink: 0;
}

body.light-theme .bento-shell--light .faq-question > i {
    color: var(--text-dark-muted);
}

.faq-item.active .faq-question > i {
    transform: rotate(180deg);
    color: var(--brand-primary);
}

body.light-theme .bento-shell--light .faq-item.active .faq-question > i {
    color: var(--brand-secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 240ms var(--ease-out);
}

.faq-answer-content {
    padding: 0 20px 18px 50px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14.5px;
    line-height: 1.65;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.light-theme .bento-shell--light .faq-answer-content {
    color: var(--text-dark-secondary);
}

.faq-answer-content a {
    color: #54adff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.light-theme .bento-shell--light .faq-answer-content a {
    color: var(--brand-secondary);
}

.faq-answer-content code {
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(41, 151, 255, 0.18);
    color: #8ccaff;
    font-size: 0.9em;
    font-weight: 700;
}

body.light-theme .bento-shell--light .faq-answer-content code {
    background: rgba(37, 99, 235, 0.1);
    color: var(--brand-deep);
}

.faq-list {
    padding-left: 18px;
    list-style: disc;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.faq-support-card {
    margin-top: 24px;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #123ac2 0%, #2563eb 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

body.light-theme .bento-shell--light .faq-support-card {
    background: var(--surface-obsidian);
}

.faq-support-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1 1 320px;
}

.faq-support-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: var(--brand-accent);
    color: var(--text-on-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
}

.faq-support-body h4 {
    font-size: 18.5px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 4px;
}

.faq-support-body p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.faq-support-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.faq-support-btn {
    height: 48px;
    padding: 0 24px;
    font-size: 14.5px;
    border-radius: 999px;
    background: #ffffff;
    color: #070b14;
    box-shadow: none;
}

body.light-theme .bento-shell--light .faq-support-btn {
    background: linear-gradient(135deg, #2997ff 0%, #2563eb 100%);
    color: #ffffff;
}

.floating-helper-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 950;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .floating-helper-widget:hover {
        transform: translateY(-3px);
    }
}

.floating-helper-widget:active {
    transform: scale(0.95);
}

.floating-helper-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2997ff 0%, #1d4ed8 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    box-shadow: 0 8px 18px rgba(29, 78, 216, 0.36);
    margin-bottom: -10px;
    position: relative;
    z-index: 1;
}

.floating-helper-pill {
    position: relative;
    z-index: 2;
    padding: 6px 15px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2ae9ac 0%, #0ec98c 100%);
    color: var(--text-on-accent);
    font-size: 12.5px;
    font-weight: 800;
    box-shadow: 0 6px 14px rgba(16, 217, 152, 0.3);
}

.px-rev-wrap {
    width: 100%;
    overflow: hidden;
    padding: 48px 0;
    position: relative;
    text-align: center;
    contain: layout style;
}

.px-rev-wrap::before,
.px-rev-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.px-rev-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-deep), transparent);
}

.px-rev-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-deep), transparent);
}

.px-rev-wrap .section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.marquee-track {
    display: flex;
    width: max-content;
    margin-bottom: 18px;
    will-change: transform;
}

.track-left {
    animation: sL 50s linear infinite;
}

.track-right {
    animation: sR 50s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes sL {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes sR {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

.review-card {
    background: var(--surface-obsidian);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 370px;
    flex-shrink: 0;
    white-space: normal;
    margin-right: 18px;
    text-align: left;
}

body.light-theme .review-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.06);
    color: var(--text-dark);
}

.review-rating {
    color: #ffb800;
    font-size: 16px;
    margin-bottom: 14px;
    display: flex;
    gap: 4px;
}

.review-content {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.review-author {
    font-size: 13.5px;
    font-weight: 800;
    opacity: 0.65;
}

.custom-btn {
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 15.5px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    color: #ffffff;
    text-decoration: none;
    transition: transform 150ms var(--ease-out), filter 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}

.btn-orange {
    background: linear-gradient(135deg, #24eba9 0%, #0ac287 100%);
    color: var(--text-on-accent);
    box-shadow: 0 10px 24px -6px rgba(16, 217, 152, 0.45);
}

@media (hover: hover) and (pointer: fine) {
    .custom-btn:hover {
        transform: translateY(-2px);
        filter: brightness(1.06);
    }
}

.footer {
    padding: 48px var(--page-side-pad) 36px;
    background: transparent;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
    text-align: left;
}

.footer-container {
    max-width: none;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 36px;
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 15px;
    margin-bottom: 16px;
    font-weight: 800;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 150ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .footer-col ul li a:hover {
        color: var(--text-main);
    }
}

.footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-socials {
    display: flex;
    gap: 18px;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 22px;
    transition: color 150ms var(--ease-out), transform 150ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .footer-socials a:hover {
        color: var(--brand-primary);
        transform: translateY(-2px);
    }
}

.rustore-btn {
    display: flex;
    align-items: center;
    background: var(--surface-obsidian);
    color: #ffffff;
    border-radius: 16px;
    padding: 10px 20px 10px 14px;
    text-decoration: none;
    transition: transform 150ms var(--ease-out);
}

body.light-theme .rustore-btn {
    background: #ffffff;
    color: var(--text-dark);
}

@media (hover: hover) and (pointer: fine) {
    .rustore-btn:hover {
        transform: translateY(-2px);
    }
}

.rustore-logo {
    width: 32px;
    height: 32px;
    margin-right: 12px;
}

.rustore-info {
    display: flex;
    flex-direction: column;
}

.rustore-sub {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.2;
    font-weight: 600;
}

.rustore-title {
    font-size: 16px;
    color: var(--text-main);
    font-weight: 800;
    line-height: 1.2;
}

.footer-bottom {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-muted);
}

.footer-legal {
    margin-bottom: 12px;
}

.footer-legal a {
    color: var(--text-main);
    border-bottom: 1px solid transparent;
    transition: border-color 150ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .footer-legal a:hover {
        border-color: var(--text-main);
    }
}

.footer-copy {
    margin-bottom: 14px;
}

.footer-rating {
    display: flex;
    align-items: center;
}

.rating-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--surface-obsidian);
    border-radius: 16px;
    transition: transform 150ms var(--ease-out);
}

body.light-theme .rating-link {
    background: #ffffff;
}

@media (hover: hover) and (pointer: fine) {
    .rating-link:hover {
        transform: translateY(-2px);
    }
}

.rating-stars {
    color: #ffb800;
    display: flex;
    gap: 3px;
    font-size: 13px;
}

.rating-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rating-stats {
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.2;
}

.rating-num {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
}

.rating-total {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.rating-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-accent);
    font-weight: 800;
    margin-bottom: 2px;
}

body.light-theme .rating-label {
    color: var(--brand-accent-deep);
}

.age-badge {
    display: inline-block;
    border: 1px solid var(--text-muted);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.8;
}

.theme-switcher {
    position: fixed;
    bottom: 22px;
    left: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface-obsidian);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
    transition: transform 150ms var(--ease-out), color 150ms var(--ease-out);
}

body.light-theme .theme-switcher {
    background: #ffffff;
    color: var(--text-dark);
}

@media (hover: hover) and (pointer: fine) {
    .theme-switcher:hover {
        transform: scale(1.06);
        color: var(--brand-primary);
    }
}

.theme-switcher:active {
    transform: scale(0.92);
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(2, 4, 8, 0.74);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 200ms var(--ease-out);
}

.modal.is-visible {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--surface-obsidian);
    color: #ffffff;
    padding: 34px;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 480px;
    box-shadow: var(--shadow-ambient);
    position: relative;
    transform: scale(0.96);
    transition: transform 220ms var(--ease-out);
}

body.light-theme .modal-content {
    background: #ffffff;
    color: var(--text-dark);
}

.modal.is-visible .modal-content {
    transform: scale(1);
}

.modal-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 14px;
    text-align: center;
    letter-spacing: -0.025em;
}

.close-btn {
    position: absolute;
    top: 18px;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-muted);
}

.agreement-restrictions-box {
    background: rgba(255, 69, 58, 0.08);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: left;
    overflow-y: auto;
    flex-shrink: 1;
}

.restrictions-title {
    color: var(--danger);
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.restrictions-list {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 0;
    padding-left: 20px;
    list-style: disc;
    line-height: 1.6;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    padding: 14px 16px;
    background: var(--surface-slate);
    border-radius: 16px;
    cursor: pointer;
}

body.light-theme .checkbox-container {
    background: var(--surface-light);
}

#agreeCheckbox {
    width: 20px;
    height: 20px;
    accent-color: var(--brand-primary);
}

.modal-btn {
    width: 100%;
    padding: 16px;
    border-radius: 999px;
    border: none;
    background: var(--brand-primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 15.5px;
    cursor: pointer;
    opacity: 0.48;
    pointer-events: none;
    transition: opacity 180ms var(--ease-out);
}

.modal-btn:not(:disabled) {
    opacity: 1;
    pointer-events: all;
}

#toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    min-width: 300px;
    max-width: 400px;
    animation: slideInToast 220ms var(--ease-out);
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
}

@keyframes slideInToast {
    from { opacity: 0; transform: translate3d(0, -8px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.toast.hiding {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
}

body:not(.light-theme) .toast {
    background: var(--surface-slate);
    color: #ffffff;
}

body.light-theme .toast {
    background: #ffffff;
    color: var(--text-dark);
}

.toast-icon {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-sep {
    width: 1px;
    height: 20px;
    background: currentColor;
    opacity: 0.2;
}

.toast-msg {
    flex-grow: 1;
}

.toast.success .toast-icon { color: var(--brand-accent); }
.toast.error .toast-icon { color: var(--danger); }
.toast.info .toast-icon { color: var(--brand-primary); }

.px-stage-specs {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 0;
}

.px-stage-spec {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 10px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.px-stage-spec strong {
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.px-stage-spec span {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.25;
}

.bento-shell,
.upload-form.new-design,
.hero-bento-card,
.bento-tabs-card,
.bento-mascot-stage,
.bento-kpi-card,
.pricing-card,
.faq-category,
.faq-support-card,
.review-card,
.px-trail {
    position: relative;
    overflow: hidden;
}

.bento-shell::before,
.bento-shell::after,
.upload-form.new-design::before,
.upload-form.new-design::after,
.hero-bento-card::before,
.hero-bento-card::after,
.bento-tabs-card::before,
.bento-tabs-card::after,
.bento-mascot-stage::before,
.bento-mascot-stage::after,
.bento-kpi-card::before,
.bento-kpi-card::after,
.pricing-card::before,
.pricing-card::after,
.faq-category::before,
.faq-category::after,
.faq-support-card::before,
.faq-support-card::after,
.review-card::before,
.review-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 48px;
    pointer-events: none;
    z-index: 8;
    will-change: opacity, transform;
}

.bento-shell::before,
.upload-form.new-design::before,
.hero-bento-card::before,
.bento-tabs-card::before,
.bento-mascot-stage::before,
.bento-kpi-card::before,
.pricing-card::before,
.faq-category::before,
.faq-support-card::before,
.review-card::before {
    top: 0;
    transform-origin: top center;
    opacity: calc(var(--px-vel-down, 0) * 0.5);
    transform: scaleY(calc(0.25 + var(--px-vel-down, 0) * 0.65));
    background: linear-gradient(180deg, rgba(130, 198, 255, 0.16) 0%, rgba(41, 151, 255, 0.07) 30%, rgba(2, 6, 18, 0.2) 68%, transparent 100%);
    box-shadow: inset 0 1px 0 rgba(165, 218, 255, 0.18);
}

.bento-shell::after,
.upload-form.new-design::after,
.hero-bento-card::after,
.bento-tabs-card::after,
.bento-mascot-stage::after,
.bento-kpi-card::after,
.pricing-card::after,
.faq-category::after,
.faq-support-card::after,
.review-card::after {
    bottom: 0;
    transform-origin: bottom center;
    opacity: calc(var(--px-vel-up, 0) * 0.5);
    transform: scaleY(calc(0.25 + var(--px-vel-up, 0) * 0.65));
    background: linear-gradient(0deg, rgba(130, 198, 255, 0.16) 0%, rgba(41, 151, 255, 0.07) 30%, rgba(2, 6, 18, 0.2) 68%, transparent 100%);
    box-shadow: inset 0 -1px 0 rgba(165, 218, 255, 0.18);
}

.bento-shell::before,
.bento-shell::after {
    height: 60px;
}

.hero-bento-card--accent::before,
.bento-kpi-card--accent::before,
.pricing-card--accent::before {
    background: linear-gradient(180deg, rgba(4, 24, 18, 0.18) 0%, rgba(4, 24, 18, 0.07) 45%, transparent 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-bento-card--accent::after,
.bento-kpi-card--accent::after,
.pricing-card--accent::after {
    background: linear-gradient(0deg, rgba(4, 24, 18, 0.18) 0%, rgba(4, 24, 18, 0.07) 45%, transparent 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.22);
}

.bento-shell--brand::before,
.bento-mascot-stage::before,
.bento-kpi-card--brand::before,
.pricing-card--brand::before,
.faq-support-card::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(8, 20, 64, 0.14) 46%, transparent 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.bento-shell--brand::after,
.bento-mascot-stage::after,
.bento-kpi-card--brand::after,
.pricing-card--brand::after,
.faq-support-card::after {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0%, rgba(8, 20, 64, 0.14) 46%, transparent 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

.pricing-card--ultra::before {
    background: linear-gradient(180deg, rgba(233, 213, 255, 0.18) 0%, rgba(59, 7, 100, 0.16) 48%, transparent 100%);
    box-shadow: inset 0 1px 0 rgba(243, 232, 255, 0.22);
}

.pricing-card--ultra::after {
    background: linear-gradient(0deg, rgba(233, 213, 255, 0.18) 0%, rgba(59, 7, 100, 0.16) 48%, transparent 100%);
    box-shadow: inset 0 -1px 0 rgba(243, 232, 255, 0.22);
}

body.light-theme .bento-shell--light::before,
body.light-theme .upload-form.new-design::before,
body.light-theme .hero-bento-card--light::before,
body.light-theme .bento-tabs-card::before,
body.light-theme .bento-kpi-card--light::before,
body.light-theme .pricing-card--light::before,
body.light-theme .faq-category::before,
body.light-theme .review-card::before {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.14) 0%, rgba(37, 99, 235, 0.06) 42%, transparent 100%);
    box-shadow: inset 0 1px 0 rgba(37, 99, 235, 0.12);
}

body.light-theme .bento-shell--light::after,
body.light-theme .upload-form.new-design::after,
body.light-theme .hero-bento-card--light::after,
body.light-theme .bento-tabs-card::after,
body.light-theme .bento-kpi-card--light::after,
body.light-theme .pricing-card--light::after,
body.light-theme .faq-category::after,
body.light-theme .review-card::after {
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.14) 0%, rgba(37, 99, 235, 0.06) 42%, transparent 100%);
    box-shadow: inset 0 -1px 0 rgba(37, 99, 235, 0.12);
}

html.px-anim-ready [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.985);
    will-change: opacity, transform;
}

html.px-anim-ready [data-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transition: opacity 340ms cubic-bezier(0.22, 1, 0.36, 1) var(--px-delay, 0ms), transform 380ms cubic-bezier(0.22, 1, 0.36, 1) var(--px-delay, 0ms);
}

@media (max-width: 1100px) {
    .bento-shell,
    .section {
        padding: 36px 26px;
    }
    .hero-bento-shell {
        padding: 64px 26px 34px;
    }
    .stats-grid,
    .bento-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-bento-card {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 1024px) {
    .header,
    .modal {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .header {
        background: var(--glass-surface-mobile);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }
}

@media (max-width: 960px) {
    .hero-bento-top,
    #info-section-layout,
    .bento-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero-visual-slot {
        display: none;
    }
    .bento-mascot-stage {
        max-width: 100%;
        min-height: 240px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --page-side-pad: 12px;
    }
    #main-container {
        gap: 12px;
        padding-bottom: 28px;
    }
    .header {
        top: 10px;
        width: calc(100% - 24px);
    }
    .hero-section {
        padding: 12px var(--page-side-pad) 0;
    }
    .section-container,
    .bento-section {
        padding: 0 var(--page-side-pad);
    }
    .bento-shell,
    .section {
        border-radius: 22px;
        padding: 24px 16px;
    }
    .hero-bento-shell {
        border-radius: 22px;
        padding: 62px 16px 24px;
    }
    .hero-blobs {
        display: none;
    }
    .hero-content {
        gap: 18px;
    }
    .hero-title {
        font-size: clamp(28px, 7.8vw, 38px);
        line-height: 1.06;
    }
    .hero-subtitle {
        font-size: 15.5px;
    }
    .upload-form.new-design {
        padding: 16px;
        border-radius: 18px;
        gap: 14px;
        box-shadow: none;
    }
    .drop-zone {
        min-height: 186px;
        padding: 22px 14px;
        border-radius: 16px;
    }
    .drop-kbd-hint,
    .settings-quick-summary {
        display: none;
    }
    .hero-bento-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .hero-bento-card {
        border-radius: 18px;
        padding: 20px 18px;
    }
    .bento-section-head {
        margin-bottom: 22px;
    }
    .bento-title,
    .section-title {
        font-size: clamp(25px, 6.8vw, 33px);
    }
    .bento-tabs-card {
        padding: 16px;
        border-radius: 18px;
        box-shadow: none;
    }
    .bento-pill-tabs {
        padding: 5px;
        margin-bottom: 16px;
    }
    .bento-pill-tab {
        font-size: 12.5px;
        padding: 10px 8px;
    }
    .bento-tab-title {
        font-size: 20px;
    }
    .px-stage-specs {
        grid-template-columns: 1fr;
    }
    .stats-grid,
    .bento-kpi-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .stat-card,
    .bento-kpi-card {
        min-height: 174px;
        border-radius: 18px;
        padding: 20px 18px;
    }
    .stat-number {
        font-size: clamp(32px, 9vw, 42px);
        margin: 4px 0 12px;
    }
    .pricing-container {
        gap: 12px;
    }
    .pricing-card {
        flex: 0 0 min(84vw, 316px);
        border-radius: 20px;
        padding: 20px 18px;
    }
    .pricing-card h3 {
        font-size: 25px;
    }
    .price-new {
        font-size: 33px;
    }
    .faq-cat-header {
        padding: 16px;
        gap: 12px;
    }
    .faq-cat-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 12px;
    }
    .faq-cat-name {
        font-size: 15.5px;
    }
    .faq-cat-desc {
        font-size: 12.5px;
    }
    .faq-accordion {
        padding: 4px 12px 14px;
    }
    .faq-question {
        padding: 14px;
        font-size: 14.5px;
    }
    .faq-answer-content {
        padding: 0 14px 16px;
        font-size: 14px;
    }
    .faq-support-card {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 16px;
        border-radius: 18px;
    }
    .faq-support-actions {
        width: 100%;
    }
    .faq-support-btn {
        flex: 1 1 auto;
    }
    .floating-helper-widget {
        right: 14px;
        bottom: 14px;
    }
    .floating-helper-avatar {
        width: 46px;
        height: 46px;
        font-size: 18px;
        box-shadow: none;
    }
    .floating-helper-pill {
        box-shadow: none;
    }
    .theme-switcher {
        left: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
        box-shadow: none;
    }
    .px-rev-wrap {
        padding: 36px 0;
    }
    .px-rev-wrap::before,
    .px-rev-wrap::after {
        width: 40px;
    }
    .review-card {
        width: 286px;
        padding: 20px;
        border-radius: 18px;
    }
    .footer-actions {
        flex-direction: column;
        text-align: center;
    }
    .footer-socials { order: 1; }
    .footer-rating { order: 2; }
    .footer-apps { order: 3; }
    .bento-shell::before,
    .bento-shell::after,
    .upload-form.new-design::before,
    .upload-form.new-design::after,
    .hero-bento-card::before,
    .hero-bento-card::after,
    .bento-tabs-card::before,
    .bento-tabs-card::after,
    .bento-mascot-stage::before,
    .bento-mascot-stage::after,
    .bento-kpi-card::before,
    .bento-kpi-card::after,
    .pricing-card::before,
    .pricing-card::after,
    .faq-category::before,
    .faq-category::after,
    .faq-support-card::before,
    .faq-support-card::after,
    .review-card::before,
    .review-card::after {
        display: none;
        content: none;
    }
    html.px-anim-ready [data-reveal] {
        transform: translate3d(0, 14px, 0);
    }
    html.px-anim-ready [data-reveal].is-revealed {
        transition: opacity 260ms cubic-bezier(0.22, 1, 0.36, 1) var(--px-delay, 0ms), transform 280ms cubic-bezier(0.22, 1, 0.36, 1) var(--px-delay, 0ms);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer {
        text-align: center;
    }
    .footer-actions,
    .footer-socials {
        justify-content: center;
    }
    .info-contacts {
        flex-direction: column;
        align-items: stretch;
    }
    .contact-item {
        justify-content: center;
    }
    .retention-row {
        flex-direction: column;
        align-items: stretch;
    }
    .retention-modal-link {
        width: 100%;
    }
    #toast-container {
        top: 16px;
        right: 12px;
        left: 12px;
    }
    .toast {
        min-width: 0;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
        transform: none !important;
    }
    .modal-content, .toast {
        transition: opacity 180ms ease;
    }
    .bento-shell::before,
    .bento-shell::after,
    .upload-form.new-design::before,
    .upload-form.new-design::after,
    .hero-bento-card::before,
    .hero-bento-card::after,
    .bento-tabs-card::before,
    .bento-tabs-card::after,
    .bento-mascot-stage::before,
    .bento-mascot-stage::after,
    .bento-kpi-card::before,
    .bento-kpi-card::after,
    .pricing-card::before,
    .pricing-card::after,
    .faq-category::before,
    .faq-category::after,
    .faq-support-card::before,
    .faq-support-card::after,
    .review-card::before,
    .review-card::after {
        display: none;
    }
    html.px-anim-ready [data-reveal] {
        opacity: 1;
        transform: none;
    }
}