*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    transition: background .7s;
    overflow-x: hidden;
    color: #fff
}

::-webkit-scrollbar {
    width: 4px
}

::-webkit-scrollbar-thumb {
    background: rgba(167, 139, 250, .35);
    border-radius: 2px
}

/* ── 3 THEMES ── */
body.t-neon {
    background: #060610
}

body.t-cubist {
    background: #c8b99a
}

body.t-slate {
    background: linear-gradient(160deg, #0b1a26 0%, #0d2236 50%, #0a1c2e 100%)
}

/* SVG layers */
.svg-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .7s;
    pointer-events: none
}

.svg-bg.on {
    opacity: 1
}

/* cubist overlay — fixes readability */
.cubist-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(180, 163, 140, .82) 0%, rgba(160, 143, 120, .9) 100%);
    opacity: 0;
    transition: opacity .7s
}

body.t-cubist .cubist-overlay {
    opacity: 1
}

/* On cubist: darken text containers */
body.t-cubist .sec-title {
    color: rgba(20, 10, 40, .9)
}

body.t-cubist .sec-sub {
    color: rgba(20, 10, 40, .65)
}

body.t-cubist .card h3 {
    color: rgba(20, 10, 40, .88)
}

body.t-cubist .card p {
    color: rgba(20, 10, 40, .6)
}

body.t-cubist .demo-body h4 {
    color: rgba(20, 10, 40, .88)
}

body.t-cubist .demo-body p {
    color: rgba(20, 10, 40, .55)
}

body.t-cubist .sec-eyebrow {
    background: rgba(100, 60, 180, .25);
    border-color: rgba(100, 60, 180, .45);
    color: #5b30a0
}

body.t-cubist .nav-links a {
    color: rgba(20, 10, 40, .7)
}

body.t-cubist .nav-links a:hover {
    color: rgba(20, 10, 40, .95)
}

body.t-cubist .glass {
    background: rgba(255, 255, 255, .62);
    border-color: rgba(255, 255, 255, .75)
}

body.t-cubist .glass-sm {
    background: rgba(255, 255, 255, .55);
    border-color: rgba(255, 255, 255, .65)
}

body.t-cubist .glass-sm .tag {
    color: rgba(20, 10, 40, .55);
    background: rgba(0, 0, 0, .08);
    border-color: rgba(0, 0, 0, .12)
}

body.t-cubist .glass-sm .card-ico {
    background: rgba(100, 60, 180, .18);
    border-color: rgba(100, 60, 180, .3)
}

body.t-cubist .svc-card h4 {
    color: rgba(20, 10, 40, .85)
}

body.t-cubist .svc-card p {
    color: rgba(20, 10, 40, .55)
}

body.t-cubist .pc-name,
.pc-desc {
    color: rgba(20, 10, 40, .55)
}

body.t-cubist .pc-list li,
.pc-price {
    color: rgba(20, 10, 40, .8)
}

body.t-cubist .stat-l {
    color: rgba(20, 10, 40, .5)
}

body.t-cubist .chat-msg-text {
    color: rgba(20, 10, 40, .85)
}

body.t-cubist .chat-stream .msg-bot .msg-text {
    color: rgba(20, 10, 40, .8)
}

/* ── PICKER ── */
.bg-picker {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 300;
    display: flex;
    gap: 6px;
    align-items: center;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 40px;
    padding: 6px 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .22)
}

.bg-picker-lbl {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, .5);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-right: 2px
}

body.t-cubist .bg-picker-lbl {
    color: rgba(20, 10, 40, .55)
}

.bg-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 2.5px solid transparent;
    transition: all .22s;
    flex-shrink: 0
}

.bg-dot:hover {
    transform: scale(1.2)
}

.bg-dot.on {
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .35);
    transform: scale(1.15)
}

.bg-dot[data-t=neon] {
    background: linear-gradient(135deg, #0f0a2a, #4a0070)
}

.bg-dot[data-t=cubist] {
    background: linear-gradient(135deg, #b8a88a, #d4c4a8)
}

.bg-dot[data-t=slate] {
    background: linear-gradient(135deg, #0b1a26, #1a3a50)
}

.bg-dot[data-t=cubist].on {
    border-color: rgba(60, 30, 100, .6);
    box-shadow: 0 0 0 2px rgba(100, 60, 180, .3)
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, .18);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transition: background .3s
}

body.t-cubist nav {
    background: rgba(200, 180, 155, .7);
    border-bottom-color: rgba(0, 0, 0, .1)
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none
}

.logo-txt {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #a78bfa, #ec4899, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(167, 139, 250, .45))
}

body.t-cubist .logo-txt {
    filter: drop-shadow(0 1px 4px rgba(80, 40, 160, .28))
}

.nav-links {
    display: flex;
    gap: 22px;
    list-style: none
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
    transition: color .2s
}

.nav-links a:hover {
    color: #fff
}

.nav-cta {
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    border: none;
    border-radius: 18px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(167, 139, 250, .38);
    transition: all .2s;
    font-family: inherit;
    margin-right: 104px
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(167, 139, 250, .52)
}

/* ── GLASS ── */
.glass {
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 20px 56px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .28)
}

.glass-sm {
    background: rgba(255, 255, 255, .09);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .16)
}

/* ── HERO ── */
.hero {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 110px 20px 70px
}

.hero-shell {
    max-width: 680px;
    width: 100%;
    border-radius: 34px;
    padding: 50px 44px;
    animation: shellIn .7s cubic-bezier(.34, 1.56, .64, 1)
}

@keyframes shellIn {
    from {
        opacity: 0;
        transform: scale(.92) translateY(26px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 22px
}

.hero-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa, #ec4899, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(167, 139, 250, .45)
}

.hero-brand-name {
    font-size: 15px;
    font-weight: 800;
    color: rgba(255, 255, 255, .92);
    text-align: left
}

.hero-brand-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255, 255, 255, .5)
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 2px rgba(52, 211, 153, .25);
    animation: pdot 2.5s ease-in-out infinite;
    display: inline-block
}

@keyframes pdot {

    0%,
    100% {
        box-shadow: 0 0 0 2px rgba(52, 211, 153, .2)
    }

    50% {
        box-shadow: 0 0 0 5px rgba(52, 211, 153, .08)
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(167, 139, 250, .17);
    border: 1px solid rgba(167, 139, 250, .38);
    border-radius: 18px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #a78bfa;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 22px
}

.badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #a78bfa;
    animation: pdot 2s ease-in-out infinite
}

.hero h1 {
    font-size: clamp(30px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .95)
}

.grad {
    background: linear-gradient(135deg, #a78bfa, #ec4899, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

.hero-sub {
    font-size: clamp(14px, 1.6vw, 17px);
    color: rgba(255, 255, 255, .6);
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.7
}

.hero-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center
}

.btn-grad {
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    border: none;
    border-radius: 22px;
    padding: 13px 26px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(167, 139, 250, .42);
    transition: all .25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: inherit
}

.btn-grad:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(167, 139, 250, .56)
}

.btn-out {
    background: rgba(255, 255, 255, .14);
    border: 1.5px solid rgba(255, 255, 255, .26);
    border-radius: 22px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: inherit;
    backdrop-filter: blur(8px)
}

.btn-out:hover {
    background: rgba(255, 255, 255, .24);
    border-color: rgba(255, 255, 255, .42)
}

.stats-row {
    display: flex;
    margin-top: 36px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    overflow: hidden;
    flex-wrap: wrap
}

.stat {
    padding: 14px 24px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .1);
    flex: 1;
    min-width: 80px
}

.stat:last-child {
    border-right: none
}

.stat-n {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

.stat-l {
    font-size: 10px;
    color: rgba(255, 255, 255, .42);
    margin-top: 1px;
    font-weight: 500
}

/* ── SECTIONS ── */
section {
    position: relative;
    z-index: 10;
    padding: 72px 20px
}

.cnt {
    max-width: 1060px;
    margin: 0 auto
}

.sec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(167, 139, 250, .14);
    border: 1px solid rgba(167, 139, 250, .3);
    border-radius: 12px;
    padding: 3px 12px;
    font-size: 10px;
    font-weight: 700;
    color: #a78bfa;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 12px
}

.sec-title {
    font-size: clamp(24px, 3.2vw, 44px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: rgba(255, 255, 255, .96);
    margin-bottom: 10px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .4)
}

body.t-cubist .sec-title {
    color: #1a0a3a;
    text-shadow: 0 1px 3px rgba(255, 255, 255, .5)
}

.sec-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, .52);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.7
}

/* ── TABS ── */
.atabs {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 28px
}

.atab {
    padding: 8px 16px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid rgba(255, 255, 255, .17);
    color: rgba(255, 255, 255, .52);
    background: rgba(255, 255, 255, .07);
    transition: all .2s;
    font-family: inherit
}

.atab:hover,
.atab.on {
    border-color: rgba(167, 139, 250, .58);
    color: #a78bfa;
    background: rgba(167, 139, 250, .14)
}

body.t-cubist .atab {
    color: rgba(20, 10, 40, .55);
    border-color: rgba(0, 0, 0, .15)
}

body.t-cubist .atab.on {
    color: #5b30a0;
    border-color: rgba(100, 60, 180, .5);
    background: rgba(100, 60, 180, .15)
}

/* ── GRID / CARDS ── */
.g3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 14px
}

.g2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 14px
}

.card {
    border-radius: 22px;
    padding: 24px;
    transition: all .3s;
    overflow: hidden;
    animation: pop .4s cubic-bezier(.34, 1.56, .64, 1)
}

@keyframes pop {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.97)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(167, 139, 250, .4) !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28)
}

.card-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 14px;
    background: rgba(167, 139, 250, .17);
    border: 1px solid rgba(167, 139, 250, .26)
}

.card-ico.p {
    background: rgba(236, 72, 153, .17);
    border-color: rgba(236, 72, 153, .26)
}

.card-ico.b {
    background: rgba(6, 182, 212, .17);
    border-color: rgba(6, 182, 212, .26)
}

.card-ico.g {
    background: rgba(251, 191, 36, .17);
    border-color: rgba(251, 191, 36, .26)
}

.card h3 {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 7px
}

.card p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .52);
    line-height: 1.65
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 12px
}

.tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .38);
    border: 1px solid rgba(255, 255, 255, .11)
}

.panel {
    display: none
}

.panel.on {
    display: grid;
    animation: pop .32s ease
}

/* ── DEMO ── */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 14px
}

.demo-card {
    border-radius: 22px;
    overflow: hidden;
    transition: all .3s
}

.demo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .32)
}

.demo-thumb {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.demo-body {
    padding: 18px
}

.demo-body h4 {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 5px
}

.demo-body p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .48);
    margin-bottom: 12px;
    line-height: 1.6
}

.demo-link {
    font-size: 12.5px;
    font-weight: 600;
    color: #a78bfa;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap .18s
}

.demo-link:hover {
    gap: 9px
}

/* ── SERVICES ── */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 13px
}

.svc-card {
    border-radius: 18px;
    padding: 20px 22px;
    display: flex;
    gap: 13px;
    align-items: flex-start;
    transition: all .3s
}

.svc-card:hover {
    transform: translateY(-3px);
    border-color: rgba(167, 139, 250, .35) !important
}

.svc-ico {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 1px
}

.svc-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, .87);
    margin-bottom: 4px
}

.svc-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, .48);
    line-height: 1.6
}

/* ── PRICING ── */
.pg {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px
}

.pc {
    border-radius: 26px;
    padding: 28px;
    transition: all .3s;
    position: relative
}

.pc:hover {
    transform: translateY(-4px)
}

.pc.feat {
    border-color: rgba(167, 139, 250, .5) !important;
    background: linear-gradient(150deg, rgba(167, 139, 250, .2), rgba(236, 72, 153, .11)) !important
}

.pc-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    border-radius: 9px;
    padding: 3px 13px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap
}

.pc-name {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 5px
}

.pc-price {
    font-size: 30px;
    font-weight: 800;
    color: rgba(255, 255, 255, .92);
    margin-bottom: 2px
}

.pc-price span {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, .42)
}

.pc-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, .38);
    margin-bottom: 18px
}

.pc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px
}

.pc-list li {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .65);
    display: flex;
    align-items: flex-start;
    gap: 7px
}

.pc-list li::before {
    content: '✓';
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    flex-shrink: 0
}

body.t-cubist .pc-name,
.body.t-cubist .pc-desc {
    color: rgba(20, 10, 40, .55)
}

body.t-cubist .pc-list li {
    color: rgba(20, 10, 40, .7)
}

body.t-cubist .pc-price {
    color: rgba(20, 10, 40, .88)
}

/* ── CHATBOT SECTION ── */
#chat-section {
    padding: 72px 20px 100px
}

.chat-wrap {
    max-width: 700px;
    margin: 0 auto
}

.chat-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 3px 12px rgba(167, 139, 250, .42);
    flex-shrink: 0
}

.chat-hdr-name {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, .9)
}

.chat-hdr-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, .45);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 1px
}

.chat-hdr-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px
}

.mode-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 9px;
    background: rgba(52, 211, 153, .2);
    border: 1px solid rgba(52, 211, 153, .35);
    color: #34d399
}

.mode-badge.ai {
    background: rgba(167, 139, 250, .2);
    border-color: rgba(167, 139, 250, .4);
    color: #a78bfa
}

.chat-stream {
    height: 320px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .15) transparent
}

.chat-stream::-webkit-scrollbar {
    width: 3px
}

.chat-stream::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .18);
    border-radius: 2px
}

.msg-row {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    animation: pop .3s ease
}

.msg-row.me {
    flex-direction: row-reverse
}

.msg-av {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0
}

.msg-row.bot .msg-av {
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    color: #fff
}

.msg-row.me .msg-av {
    background: rgba(255, 255, 255, .22);
    color: rgba(255, 255, 255, .7)
}

.msg-b {
    max-width: 80%;
    padding: 9px 13px;
    border-radius: 18px;
    font-size: 13px;
    line-height: 1.55
}

.msg-row.bot .msg-b {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .18);
    border-bottom-left-radius: 5px;
    color: rgba(255, 255, 255, .9)
}

.msg-row.me .msg-b {
    background: linear-gradient(135deg, rgba(167, 139, 250, .55), rgba(236, 72, 153, .45));
    border: 1px solid rgba(255, 255, 255, .18);
    border-bottom-right-radius: 5px;
    color: #fff
}

body.t-cubist .msg-row.bot .msg-b {
    background: rgba(255, 255, 255, .6);
    color: rgba(20, 10, 40, .85);
    border-color: rgba(0, 0, 0, .12)
}

body.t-cubist .msg-row.me .msg-b {
    color: #fff
}

.typing {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 9px 12px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    border-bottom-left-radius: 5px;
    width: fit-content
}

.td {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    animation: tb 1.2s ease-in-out infinite
}

.td:nth-child(2) {
    animation-delay: .15s
}

.td:nth-child(3) {
    animation-delay: .3s
}

@keyframes tb {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: .5
    }

    30% {
        transform: translateY(-5px);
        opacity: 1
    }
}

.chat-suggest {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 16px 0
}

.suggest-btn {
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 14px;
    cursor: pointer;
    border: 1px solid rgba(167, 139, 250, .4);
    color: #a78bfa;
    background: rgba(167, 139, 250, .1);
    transition: all .2s;
    font-family: inherit
}

.suggest-btn:hover {
    background: rgba(167, 139, 250, .22);
    border-color: rgba(167, 139, 250, .6)
}

body.t-cubist .suggest-btn {
    color: #5b30a0;
    border-color: rgba(100, 60, 180, .4);
    background: rgba(100, 60, 180, .12)
}

.chat-composer {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    background: rgba(255, 255, 255, .11);
    border: 1.5px solid rgba(255, 255, 255, .18);
    border-radius: 24px;
    padding: 7px 9px 7px 14px;
    margin: 10px 16px 16px;
    transition: border-color .2s
}

.chat-composer:focus-within {
    border-color: rgba(167, 139, 250, .52)
}

body.t-cubist .chat-composer {
    background: rgba(255, 255, 255, .55);
    border-color: rgba(0, 0, 0, .15)
}

.chat-inp {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13.5px;
    font-family: inherit;
    color: inherit;
    resize: none;
    min-height: 20px;
    max-height: 100px;
    line-height: 1.45
}

.chat-inp::placeholder {
    color: rgba(255, 255, 255, .35)
}

body.t-cubist .chat-inp::placeholder {
    color: rgba(20, 10, 40, .4)
}

body.t-cubist .chat-inp {
    color: rgba(20, 10, 40, .85)
}

.send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(167, 139, 250, .42);
    transition: all .2s;
    flex-shrink: 0
}

.send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 18px rgba(167, 139, 250, .58)
}

.ai-upgrade-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    margin: 0 4px;
    background: linear-gradient(90deg, rgba(167, 139, 250, .15), rgba(236, 72, 153, .1));
    border: 1px solid rgba(167, 139, 250, .3);
    border-radius: 14px;
    font-size: 12.5px
}

.ai-upgrade-bar span {
    color: rgba(255, 255, 255, .7);
    flex: 1
}

body.t-cubist .ai-upgrade-bar span {
    color: rgba(20, 10, 40, .65)
}

.ai-upgrade-bar button {
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    border: none;
    border-radius: 12px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: all .2s
}

.ai-upgrade-bar button:hover {
    transform: scale(1.04)
}

/* ── FOOTER ── */
footer {
    position: relative;
    z-index: 10;
    padding: 40px 20px 48px
}

.foot-inner {
    max-width: 1060px;
    margin: 0 auto;
    border-radius: 26px;
    padding: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: space-between
}

.foot-brand p {
    font-size: 12px;
    color: rgba(255, 255, 255, .38);
    margin-top: 8px;
    line-height: 1.65;
    max-width: 200px
}

.foot-col h5 {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 10px;
    letter-spacing: .3px
}

.foot-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px
}

.foot-col a {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .38);
    text-decoration: none;
    transition: color .2s
}

.foot-col a:hover {
    color: #a78bfa
}

.foot-copy {
    max-width: 1060px;
    margin: 16px auto 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    font-size: 11.5px;
    color: rgba(255, 255, 255, .3);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between
}

.foot-copy a {
    color: rgba(167, 139, 250, .65);
    text-decoration: none
}

body.t-cubist .foot-brand p,
.body.t-cubist .foot-col a,
.body.t-cubist .foot-copy {
    color: rgba(20, 10, 40, .48)
}

body.t-cubist .foot-col h5 {
    color: rgba(20, 10, 40, .7)
}

/* ── NOTIF ── */
.notif {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    z-index: 400;
    background: rgba(10, 6, 30, .94);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(167, 139, 250, .4);
    border-radius: 18px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s
}

.notif.on {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0)
}

/* ── ORDER SECTION ── */
.order-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .05)
}

.order-tab {
    flex: 1;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, .45);
    transition: all .22s;
    border-bottom: 2.5px solid transparent
}

.order-tab.on {
    color: #a78bfa;
    border-bottom-color: #a78bfa;
    background: rgba(167, 139, 250, .08)
}

.order-tab:hover:not(.on) {
    color: rgba(255, 255, 255, .7)
}

.order-panel {
    display: none
}

.order-panel.on {
    display: block;
    animation: pop .3s ease
}

.order-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 8px
}

.svc-chk {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, .12);
    cursor: pointer;
    transition: all .2s;
    background: rgba(255, 255, 255, .05)
}

.svc-chk:hover {
    border-color: rgba(167, 139, 250, .4);
    background: rgba(167, 139, 250, .08)
}

.svc-chk input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #a78bfa;
    cursor: pointer;
    flex-shrink: 0
}

.svc-chk span {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .75)
}

.svc-chk:has(input:checked) {
    border-color: rgba(167, 139, 250, .6);
    background: rgba(167, 139, 250, .14)
}

.svc-chk:has(input:checked) span {
    color: #a78bfa
}

.order-inp {
    width: 100%;
    background: rgba(255, 255, 255, .09);
    border: 1.5px solid rgba(255, 255, 255, .15);
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 13.5px;
    font-family: inherit;
    color: rgba(255, 255, 255, .9);
    outline: none;
    resize: none;
    transition: border-color .2s
}

.order-inp:focus {
    border-color: rgba(167, 139, 250, .52)
}

.order-inp::placeholder {
    color: rgba(255, 255, 255, .3)
}

.order-send-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.osend-btn {
    flex: 1;
    min-width: 120px;
    padding: 13px 18px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all .22s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px
}

.osend-btn.tg {
    background: linear-gradient(135deg, #229ed9, #1a7fc1);
    color: #fff;
    box-shadow: 0 4px 16px rgba(34, 158, 217, .35)
}

.osend-btn.tg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 158, 217, .52)
}

.osend-btn.wa {
    background: linear-gradient(135deg, #25d366, #1aaa53);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .32)
}

.osend-btn.wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, .5)
}

.osend-btn.em {
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    color: #fff;
    box-shadow: 0 4px 16px rgba(167, 139, 250, .35)
}

.osend-btn.em:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(167, 139, 250, .52)
}

/* ─── CUBIST (LIGHT) THEME — COMPREHENSIVE TEXT FIXES ─── */

/* Hero brand name & status */
body.t-cubist .hero-brand-name {
    color: rgba(20, 10, 40, .9)
}

body.t-cubist .hero-brand-status {
    color: rgba(20, 10, 40, .6)
}

/* Hero h1 & p */
body.t-cubist h1 {
    color: rgba(20, 10, 40, .92) !important
}

body.t-cubist section>div p,
body.t-cubist .hero-sub {
    color: rgba(20, 10, 40, .65) !important
}

/* Badge */
body.t-cubist .badge {
    background: rgba(100, 60, 180, .2);
    border-color: rgba(100, 60, 180, .4);
    color: #5b30a0
}

/* Stats */
body.t-cubist .stat-n {
    background: linear-gradient(135deg, #6d28d9, #be185d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

body.t-cubist .stat-l {
    color: rgba(20, 10, 40, .55) !important
}

body.t-cubist .stats-row {
    background: rgba(0, 0, 0, .07);
    border-color: rgba(0, 0, 0, .12)
}

body.t-cubist .stat {
    border-right-color: rgba(0, 0, 0, .1)
}

/* Chat teaser label */
body.t-cubist .chat-hdr-name {
    color: rgba(20, 10, 40, .9)
}

body.t-cubist .chat-hdr-sub {
    color: rgba(20, 10, 40, .5)
}

/* Btn-out in light theme */
body.t-cubist .btn-out {
    background: rgba(0, 0, 0, .09);
    border-color: rgba(0, 0, 0, .22);
    color: rgba(20, 10, 40, .85)
}

body.t-cubist .btn-out:hover {
    background: rgba(0, 0, 0, .15);
    border-color: rgba(0, 0, 0, .32)
}

/* Footer in light theme */
body.t-cubist .foot-brand p {
    color: rgba(20, 10, 40, .55)
}

body.t-cubist .foot-col h5 {
    color: rgba(20, 10, 40, .75)
}

body.t-cubist .foot-col a {
    color: rgba(20, 10, 40, .52)
}

body.t-cubist .foot-col a:hover {
    color: #5b30a0
}

body.t-cubist .foot-copy {
    color: rgba(20, 10, 40, .38);
    border-top-color: rgba(0, 0, 0, .1)
}

body.t-cubist .foot-copy a {
    color: rgba(100, 50, 180, .7)
}

/* Order section in cubist */
body.t-cubist .order-tabs {
    border-bottom-color: rgba(0, 0, 0, .1);
    background: rgba(0, 0, 0, .03)
}

body.t-cubist .order-tab {
    color: rgba(20, 10, 40, .5)
}

body.t-cubist .order-tab.on {
    color: #5b30a0;
    border-bottom-color: #5b30a0;
    background: rgba(100, 60, 180, .1)
}

body.t-cubist .svc-chk {
    border-color: rgba(0, 0, 0, .12);
    background: rgba(0, 0, 0, .04)
}

body.t-cubist .svc-chk:hover {
    border-color: rgba(100, 60, 180, .4);
    background: rgba(100, 60, 180, .08)
}

body.t-cubist .svc-chk span {
    color: rgba(20, 10, 40, .75)
}

body.t-cubist .svc-chk:has(input:checked) {
    border-color: rgba(100, 60, 180, .55);
    background: rgba(100, 60, 180, .12)
}

body.t-cubist .svc-chk:has(input:checked) span {
    color: #5b30a0
}

body.t-cubist .order-inp {
    background: rgba(255, 255, 255, .65);
    border-color: rgba(0, 0, 0, .15);
    color: rgba(20, 10, 40, .9)
}

body.t-cubist .order-inp:focus {
    border-color: rgba(100, 60, 180, .5)
}

body.t-cubist .order-inp::placeholder {
    color: rgba(20, 10, 40, .38)
}

body.t-cubist .order-hint {
    color: rgba(20, 10, 40, .65) !important
}

/* Section subtitles inside order section */
body.t-cubist #order p[style] {
    color: rgba(20, 10, 40, .45) !important
}

/* ── RESPONSIVE ── */
@media(max-width:660px) {
    nav {
        padding: 11px 14px
    }

    .nav-links {
        display: none
    }

    .nav-cta {
        margin-right: 90px
    }

    .hero-shell {
        padding: 36px 20px
    }

    .foot-inner {
        padding: 24px 18px
    }

    .order-services {
        grid-template-columns: 1fr
    }

    .order-send-btns {
        flex-direction: column
    }

    .osend-btn {
        min-width: unset
    }
}