@font-face {
    font-family: "Vazirmatn";
    src: url("/assets/fonts/Vazirmatn-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("/assets/fonts/Vazirmatn-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-main: #070f23;
    --bg-soft: #0d1732;
    --bg-card: #101d3e;
    --bg-card-2: #0f1a37;
    --line: rgba(110, 140, 210, 0.28);
    --line-strong: rgba(110, 140, 210, 0.46);
    --text-main: #e9f1ff;
    --text-muted: #a5b5d6;
    --brand: #3f82ff;
    --brand-strong: #2f6fe5;
    --success-bg: #103022;
    --success-line: #306b4e;
    --warning-bg: #3a2a0d;
    --warning-line: #7c5c2a;
    --danger-bg: #3c1d25;
    --danger-line: #854454;
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-soft: 0 30px 80px rgba(3, 8, 20, 0.55);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #3f88ff #080f22;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 20% -10%, rgba(27, 59, 117, 0.82) 0%, rgba(7, 15, 35, 0) 43%),
        linear-gradient(180deg, #081221 0%, #07101c 48%, #050914 100%);
    color: var(--text-main);
    font-family: "Vazirmatn", "Trebuchet MS", Tahoma, sans-serif;
    line-height: 1.75;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: #080f22;
    box-shadow: inset 0 0 12px rgba(32, 82, 184, 0.22);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 3px solid #080f22;
    background: linear-gradient(180deg, #58a7ff, #2d63f0);
    box-shadow:
        0 0 14px rgba(88, 167, 255, 0.35),
        inset 0 0 10px rgba(255, 255, 255, 0.12);
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

.container {
    width: min(1120px, 92vw);
    margin-inline: auto;
}

.ambient-shape {
    position: fixed;
    z-index: -1;
    border-radius: 999px;
    filter: blur(20px);
    opacity: 0.34;
    pointer-events: none;
}

.shape-a {
    width: 340px;
    height: 340px;
    background: #2d61d4;
    top: -140px;
    right: -130px;
}

.shape-b {
    width: 300px;
    height: 300px;
    background: #143f9f;
    bottom: -120px;
    left: -130px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(5, 12, 25, 0.78);
    border-bottom: 1px solid rgba(121, 160, 214, 0.22);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
    will-change: transform;
}

.topbar.topbar-hidden {
    opacity: 0.02;
    transform: translate3d(0, calc(-100% - 14px), 0);
    border-bottom-color: rgba(121, 160, 214, 0);
    box-shadow: none;
}

.topbar-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    color: #07101c;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(140deg, #7ee7c9, #58a7ff 58%, #f3c36d);
    box-shadow: 0 14px 34px rgba(84, 167, 255, 0.26);
}

.brand-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: block;
    object-fit: contain;
    border-radius: 13px;
    filter: drop-shadow(0 14px 24px rgba(84, 214, 255, 0.28));
    background: #fff;
}

.brand-copy {
    display: grid;
    gap: 1px;
}

.brand-copy strong {
    color: #f7fbff;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0;
}

.brand-copy small {
    color: #8ea6c9;
    font-size: 0.75rem;
    letter-spacing: 0;
    line-height: 1.2;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(115, 151, 211, 0.28);
    border-radius: 12px;
    background: rgba(9, 20, 41, 0.72);
    color: var(--text-main);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #dbe8ff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle:hover {
    border-color: rgba(126, 231, 201, 0.42);
    background: rgba(17, 34, 66, 0.9);
}

.topbar-inner.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.topbar-inner.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.topbar-inner.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
    .topbar {
        transition: none;
    }
}

.menu {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 6px;
    border: 1px solid rgba(115, 151, 211, 0.2);
    border-radius: 16px;
    background: rgba(9, 20, 41, 0.62);
    transition:
        transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.26s ease,
        border-color 0.26s ease,
        background-color 0.26s ease;
}

.menu a,
.link-button {
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: #b6c4dc;
    transition: all 0.2s ease;
}

.menu a:hover,
.link-button:hover {
    color: var(--text-main);
    border-color: rgba(126, 231, 201, 0.28);
    background: rgba(126, 231, 201, 0.09);
}

.menu .menu-cta {
    border-color: rgba(126, 231, 201, 0.48);
    background: linear-gradient(140deg, #6ee7c5, #4e9dff);
    color: #07101c;
    box-shadow: 0 14px 32px rgba(78, 157, 255, 0.25);
}

.menu .menu-cta:hover {
    transform: translateY(-1px);
    border-color: rgba(126, 231, 201, 0.72);
    color: #06101f;
    background: linear-gradient(140deg, #8cf3d8, #66b3ff);
    box-shadow: 0 16px 36px rgba(78, 157, 255, 0.34);
}

.menu .language-link {
    min-width: 44px;
    text-align: center;
    color: #e4f2ff;
    border-color: rgba(126, 231, 201, 0.24);
    background: rgba(126, 231, 201, 0.08);
    font-weight: 800;
}

.menu .language-link:hover {
    border-color: rgba(126, 231, 201, 0.5);
    background: rgba(126, 231, 201, 0.14);
}

.inline-form {
    margin: 0;
}

.link-button {
    cursor: pointer;
    background: rgba(25, 40, 75, 0.55);
}

.page-content {
    flex: 1 0 auto;
    padding-block: 28px 54px;
}

.alert {
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 1px solid;
    font-size: 0.94rem;
}

.alert-success {
    background: var(--success-bg);
    color: #a7f2ca;
    border-color: var(--success-line);
}

.alert-warning {
    background: var(--warning-bg);
    color: #ffdf96;
    border-color: var(--warning-line);
}

.alert-danger {
    background: var(--danger-bg);
    color: #ffb3c6;
    border-color: var(--danger-line);
}

.eyebrow {
    margin: 0 0 8px;
    color: #78a8ff;
    font-weight: 700;
    font-size: 0.84rem;
}

.lead,
.muted {
    color: var(--text-muted);
}

.actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.actions-row.tight {
    margin-top: 12px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 11px 18px;
    cursor: pointer;
    font-size: 0.93rem;
    font-weight: 700;
    transition:
        transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.34s ease,
        background 0.34s ease,
        box-shadow 0.34s ease,
        color 0.34s ease,
        filter 0.34s ease;
}

.btn-primary {
    overflow: hidden;
    background: linear-gradient(140deg, var(--brand), var(--brand-strong));
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(52, 106, 233, 0.4);
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: -70% -45%;
    background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.28) 49%, transparent 64%);
    transform: translateX(-145%) rotate(10deg);
    transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: saturate(1.08);
    box-shadow:
        0 18px 40px rgba(52, 106, 233, 0.52),
        0 0 0 1px rgba(126, 231, 201, 0.13);
}

.btn-primary:hover::after {
    transform: translateX(145%) rotate(10deg);
}

.btn-ghost {
    background: rgba(22, 37, 72, 0.75);
    color: var(--text-main);
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: var(--line-strong);
}

.hero-card,
.card,
.steps-card,
.auth-card,
.side-note,
.metric-card,
.guide-card {
    background: linear-gradient(165deg, rgba(17, 31, 63, 0.96), rgba(11, 20, 42, 0.96));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

/* Home page */
.home-page .page-content {
    /* padding-top: 33px; */
    padding-top: 17px;
}

.home-page .footer {
    display: none;
}

.home-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: linear-gradient(160deg, rgba(18, 33, 67, 0.98), rgba(8, 16, 36, 0.98));
    box-shadow: 0 35px 90px rgba(4, 9, 24, 0.58);
}

.hero-content {
    max-width: 1000px;
}

.hero-badges-shell {
    position: relative;
}

.hero-badges-scroll-sentinel {
    width: 1px;
    height: 1px;
    flex: 0 0 1px;
    pointer-events: none;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.78rem;
    color: #92bcff;
    background: rgba(55, 111, 229, 0.2);
    border: 1px solid rgba(84, 132, 230, 0.45);
    margin-bottom: 12px;
}

.home-hero h1 {
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: clamp(2rem, 5.1vw, 3.65rem);
    line-height: 1.4;
    letter-spacing: -0.4px;
}

.home-hero h1 span {
    color: #5ca0ff;
}

.mobileBr4 {
    display: inline;
}

.home-hero p {
    /* max-width: 760px; */
    margin-bottom: 20px;
    color: #adc0e6;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
    margin-bottom: 22px;
}

.hero-preview {
    position: relative;
    border: 1px solid rgba(95, 125, 192, 0.45);
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #0f203f 0%, #071327 100%);
}

.editor-head {
    display: flex;
    gap: 7px;
    padding: 12px 12px 10px;
    border-bottom: 1px solid rgba(88, 119, 188, 0.35);
    background: rgba(11, 23, 49, 0.8);
}

.editor-head span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: block;
}

.editor-head span:nth-child(1) {
    background: #fe5f56;
}

.editor-head span:nth-child(2) {
    background: #ffbc2e;
}

.editor-head span:nth-child(3) {
    background: #31c846;
}

.hero-preview pre {
    margin: 0;
    padding: 20px;
    overflow: auto;
    direction: ltr;
    text-align: left;
    color: #9fd0ff;
    font-size: 0.9rem;
    line-height: 1.72;
    background: radial-gradient(circle at 50% -10%, rgba(43, 92, 198, 0.26), transparent 55%);
}

.play-button {
    position: absolute;
    inset: auto 50% 50% auto;
    transform: translate(50%, 50%);
    width: 74px;
    height: 74px;
    border-radius: 999px;
    border: 1px solid rgba(102, 147, 255, 0.8);
    background: rgba(31, 71, 160, 0.55);
    color: #ffffff;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: 0 16px 36px rgba(18, 52, 128, 0.6);
}

.ai-live-demo {
    margin-top: 8px;
    padding-bottom: 14px;
}

.ai-live-topbar {
    padding: 12px 16px 10px;
    border-bottom: 1px solid rgba(88, 119, 188, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    min-height: 48px;
}

.ai-live-chip {
    border-radius: 999px;
    padding: 4px 10px;
    border: 1px solid rgba(102, 143, 240, 0.6);
    background: rgba(57, 109, 226, 0.2);
    color: #c9ddff;
    font-size: 0.74rem;
    line-height: 1.2;
}

#ai-demo-status {
    color: #9ec2ff;
    font-size: 0.85rem;
    letter-spacing: 0.1px;
    flex: 1;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-live-layout {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 12px;
    padding: 12px;
    align-items: stretch;
    padding-left: 20px;
}

.ai-live-prompt-box,
.ai-live-code-box {
    background: rgba(8, 17, 37, 0.78);
    border: 1px solid rgba(84, 121, 200, 0.34);
    border-radius: 14px;
    padding: 12px;
    height: 382px;
    min-height: 382px;
    max-height: 382px;
    overflow: hidden;
}

.ai-live-prompt-box {
    display: flex;
    flex-direction: column;
}

.ai-live-code-box {
    display: flex;
    flex-direction: column;
}

.ai-live-label {
    margin: 0 0 10px;
    font-size: 0.79rem;
    color: #8cb7ff;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.ai-live-prompt {
    margin: 0;
    height: 76px;
    min-height: 76px;
    max-height: 76px;
    overflow: auto;
    color: #e6f1ff;
    line-height: 1.8;
    font-size: 0.94rem;
}

.ai-live-prompt.typing::after {
    content: "|";
    margin-right: 2px;
    color: #7fb1ff;
    animation: ai-caret-blink 0.8s steps(1) infinite;
}

@keyframes ai-caret-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.ai-live-files {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 7px;
    align-content: start;
    overflow: auto;
    flex: 1;
    min-height: 0;
}

.ai-live-files li {
    border-radius: 9px;
    border: 1px solid rgba(80, 118, 200, 0.28);
    background: rgba(12, 26, 52, 0.9);
    color: #a9c2ea;
    font-size: 0.82rem;
    line-height: 1.45;
    position: relative;
    padding: 7px 34px 7px 10px;
    opacity: 0;
    transform: translateY(-8px);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease;
    direction: ltr;
    text-align: left;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.ai-live-files li.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ai-live-files li.is-working {
    border-color: rgba(103, 157, 255, 0.95);
    color: #d7e8ff;
    box-shadow: inset 0 0 0 1px rgba(94, 146, 247, 0.32);
    background: rgba(22, 44, 86, 0.9);
}

.ai-live-files li.is-ready {
    border-color: rgba(92, 157, 118, 0.65);
    color: #c7f0d6;
    background: rgba(17, 43, 31, 0.86);
}

.ai-live-files li.is-ready::after {
    content: "\2713";
    position: absolute;
    right: 9px;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2aa85f;
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1;
    display: grid;
    place-items: center;
    transform: translateY(-50%) scale(0.86);
    box-shadow: 0 0 0 2px rgba(14, 33, 23, 0.92);
    animation: ai-ready-check-pop 0.2s ease-out forwards;
}

@keyframes ai-ready-check-pop {
    to {
        transform: translateY(-50%) scale(1);
    }
}

.ai-live-code-box pre {
    margin: 0;
    min-height: 0;
    max-height: none;
    overflow: auto;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(83, 117, 191, 0.35);
    background: linear-gradient(180deg, rgba(7, 16, 35, 0.95), rgba(8, 14, 30, 0.95));
    flex: 1;
}

.ai-live-code-box code {
    display: block;
    white-space: pre;
    direction: ltr;
    text-align: left;
    color: #a8d2ff;
    line-height: 1.7;
    font-size: 0.83rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.value-section,
.testimonials,
.pricing,
.faq {
    margin-top: 56px;
}

.value-section,
.testimonials,
.pricing,
.cta-banner,
.faq,
.enterprise-savings,
.home-footer-custom,
.enterprise-page-shell {
    content-visibility: auto;
    contain-intrinsic-size: auto 620px;
}

.section-head {
    margin-bottom: 18px;
}

.section-head span {
    color: #6ea5ff;
    font-size: 0.82rem;
    font-weight: 700;
}

.section-head h2 {
    margin: 6px 0 4px;
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.35;
}

.section-head p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.value-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-card,
.testimonial-card,
.price-card,
.faq details {
    background: linear-gradient(155deg, rgba(17, 30, 60, 0.95), rgba(10, 19, 39, 0.95));
    border: 1px solid var(--line);
    border-radius: 16px;
}

.value-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 18px;
    transform: translateY(0);
    backface-visibility: hidden;
    will-change: transform, box-shadow;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.38s ease,
        box-shadow 0.38s ease,
        background 0.38s ease;
}

.value-card::before,
.price-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 22% 0%, rgba(126, 231, 201, 0.18), transparent 36%),
        linear-gradient(135deg, rgba(92, 160, 255, 0.12), transparent 52%);
    transform: translateY(14px) scale(0.98);
    transition:
        opacity 0.42s ease,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.value-card>*,
.price-card>* {
    position: relative;
    z-index: 1;
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(126, 231, 201, 0.5);
    background: linear-gradient(155deg, rgba(22, 39, 78, 0.98), rgba(11, 22, 45, 0.98));
    box-shadow:
        0 22px 48px rgba(14, 43, 92, 0.38),
        0 0 0 1px rgba(126, 231, 201, 0.09);
}

.value-card:hover::before,
.price-card:hover::before {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.value-card:hover .value-icon {
    border-color: rgba(126, 231, 201, 0.68);
    box-shadow: 0 0 0 4px rgba(126, 231, 201, 0.08);
}

.value-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(62, 122, 255, 0.22);
    border: 1px solid rgba(103, 145, 235, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition:
        border-color 0.34s ease,
        box-shadow 0.34s ease,
        transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.value-card:hover .value-icon {
    transform: translateY(-1px);
}

.value-card h3 {
    margin-bottom: 8px;
    font-size: 1.06rem;
}

.value-card p {
    margin-bottom: 0;
    color: #a8b9dc;
    font-size: 0.9rem;
}

.testimonials-swiper {
    padding-bottom: 34px;
}

.testimonial-card {
    padding: 18px;
    min-height: 182px;
}

.testimonial-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.testimonial-card p {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.stars {
    color: #6fa8ff;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.home-page .swiper-pagination-bullet {
    background: rgba(130, 162, 228, 0.55);
    opacity: 1;
}

.home-page .swiper-pagination-bullet-active {
    background: #4c8aff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-top: 10px;
}

.price-card {
    position: relative;
    overflow: visible;
    isolation: isolate;
    padding: 22px;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.38s ease,
        box-shadow 0.38s ease,
        background 0.38s ease;
}

.price-card:hover {
    transform: translateY(-7px);
    border-color: rgba(117, 164, 255, 0.68);
    background: linear-gradient(155deg, rgba(20, 37, 76, 0.98), rgba(11, 22, 47, 0.98));
    box-shadow:
        0 24px 54px rgba(31, 74, 164, 0.34),
        0 0 0 1px rgba(126, 231, 201, 0.08);
}

.price-card.active {
    border-color: rgba(78, 133, 255, 0.8);
    box-shadow: 0 18px 46px rgba(39, 83, 181, 0.38);
}

.price-card.active:hover {
    border-color: rgba(126, 231, 201, 0.72);
    box-shadow:
        0 28px 62px rgba(39, 83, 181, 0.48),
        0 0 0 1px rgba(126, 231, 201, 0.18),
        0 0 36px rgba(126, 231, 201, 0.09);
}

.plan-visual {
    margin: -4px 0 16px;
    border: 1px solid rgba(111, 151, 229, 0.28);
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(12, 25, 54, 0.95), rgba(5, 12, 27, 0.95));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.plan-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 18px 28px rgba(2, 8, 20, 0.34));
    transition:
        transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.48s ease;
}

.price-card:hover .plan-visual img {
    transform: translateY(-6px) scale(1.035);
    filter: drop-shadow(0 24px 34px rgba(2, 8, 20, 0.46));
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 16px;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 0.72rem;
    color: #d8e7ff;
    border: 1px solid rgba(107, 151, 255, 0.8);
    background: rgba(57, 109, 226, 0.5);
    animation: plan-badge-glow 1.45s ease-in-out infinite;
    z-index: 999;
}

@keyframes plan-badge-glow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.price-card.active .btn-primary {
    cursor: pointer;
    animation: plan-cta-pulse 2.2s ease-in-out infinite;
}

.price-card.active .btn-primary:hover {
    animation-play-state: paused;
}

@keyframes plan-cta-pulse {

    0%,
    100% {
        box-shadow: 0 14px 34px rgba(52, 106, 233, 0.4);
    }

    50% {
        box-shadow:
            0 18px 40px rgba(52, 106, 233, 0.55),
            0 0 0 5px rgba(126, 231, 201, 0.08);
    }
}

@media (prefers-reduced-motion: reduce) {

    .btn,
    .btn-primary::after,
    .value-card,
    .value-card::before,
    .price-card,
    .price-card::before,
    .plan-badge,
    .plan-visual img,
    .price-card.active .btn-primary {
        animation: none;
        transition: none;
    }
}

.annual-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 0.74rem;
    font-weight: 900;
    color: #031224;
    border: 1px solid rgba(175, 220, 255, 0.9);
    background: linear-gradient(120deg, #8cc6ff, #6ea5ff);
    box-shadow: 0 8px 20px rgba(85, 152, 255, 0.42);
}

.price-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.price {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.price-card.active .price {
    font-size: 2rem;
    color: #ffffff;
}

.billing-cycle {
    display: inline-block;
    margin: 0 0 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #081327;
    background: linear-gradient(120deg, #9fd1ff, #79b2ff);
    border: 1px solid rgba(173, 219, 255, 0.88);
}

.price-card ul {
    margin: 0 0 18px;
    padding-right: 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price-card li {
    margin-bottom: 8px;
}

.cta-banner {
    margin-top: 54px;
    padding: 28px;
    text-align: center;
    border: 1px solid rgba(89, 134, 240, 0.55);
    border-radius: 20px;
    background: linear-gradient(140deg, rgba(20, 39, 81, 0.96), rgba(16, 29, 61, 0.96));
}

.cta-banner h2 {
    margin-bottom: 8px;
    font-size: clamp(1.2rem, 2.8vw, 1.8rem);
}

.cta-banner p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.cta-banner .hero-actions {
    justify-content: center;
}

.faq-grid {
    display: grid;
    gap: 12px;
}

.faq details {
    padding: 12px 14px;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
}

.faq details p {
    margin: 10px 0 2px;
    color: var(--text-muted);
}

.enterprise-savings {
    margin-top: 56px;
}

.enterprise-savings__inner {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(95, 136, 230, 0.48);
    border-radius: 20px;
    background: linear-gradient(150deg, rgba(18, 35, 74, 0.97), rgba(11, 21, 44, 0.97));
    box-shadow: 0 22px 52px rgba(12, 27, 60, 0.45);
}

.enterprise-savings__badge {
    display: inline-block;
    margin-bottom: 10px;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 0.8rem;
    color: #9cc2ff;
    background: rgba(70, 127, 250, 0.2);
    border: 1px solid rgba(98, 149, 255, 0.5);
}

.enterprise-savings__content h2 {
    margin-bottom: 9px;
    font-size: clamp(1.2rem, 2.6vw, 1.8rem);
    line-height: 1.5;
}

.enterprise-savings__content p {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.enterprise-savings__content ul {
    margin: 0;
    padding-right: 18px;
    color: #b7c8e8;
}

.enterprise-savings__content li {
    margin-bottom: 6px;
}

.enterprise-savings__actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.enterprise-page-shell {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    align-items: start;
}

.enterprise-page-copy {
    padding: 28px;
    border: 1px solid rgba(95, 136, 230, 0.42);
    border-radius: 22px;
    background: linear-gradient(155deg, rgba(18, 35, 74, 0.94), rgba(8, 17, 37, 0.94));
    box-shadow: var(--shadow-soft);
}

.enterprise-page-copy h1 {
    margin-bottom: 12px;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    line-height: 1.45;
}

.enterprise-page-copy p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

.enterprise-page-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.enterprise-page-points span {
    border-radius: 999px;
    border: 1px solid rgba(126, 231, 201, 0.24);
    background: rgba(126, 231, 201, 0.08);
    color: #bdebdc;
    font-size: 0.8rem;
    padding: 6px 10px;
}

.enterprise-visual {
    margin-top: 22px;
    border: 1px solid rgba(126, 231, 201, 0.2);
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 10%, rgba(126, 231, 201, 0.12), transparent 34%),
        rgba(8, 18, 39, 0.72);
    box-shadow: inset 0 0 0 1px rgba(82, 139, 255, 0.08);
}

.enterprise-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.45s ease;
}

.enterprise-page-copy:hover .enterprise-visual img {
    transform: scale(1.025);
    filter: saturate(1.08);
}

.enterprise-form {
    display: grid;
    gap: 12px;
}

.enterprise-form .btn {
    margin-top: 6px;
    font-family: "Vazirmatn", "Trebuchet MS", Tahoma, sans-serif !important;
}

.enterprise-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.spatial-landing-shell {
    max-width: 1120px;
    margin: 50px auto;
}

.spatial-landing-card {
    position: relative;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(95, 136, 230, 0.42);
    border-radius: 28px;
    background: none;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.spatial-landing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(126, 231, 201, 0.08), transparent 38%, rgba(243, 195, 109, 0.06));
    pointer-events: none;
}

.spatial-landing-card>* {
    position: relative;
    z-index: 1;
}

.spatial-landing-card h1 {
    margin-bottom: 16px;
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    line-height: 1.45;
}

.spatial-landing-copy {
    display: grid;
    gap: 16px;
    color: #d5e0f5;
    font-size: 1rem;
    line-height: 2.15;
}

.spatial-landing-copy p {
    margin: 0;
}

.spatial-landing-copy a {
    color: #dff2ff;
    text-decoration: underline;
    text-decoration-color: #ffffff;
    text-underline-offset: 3px;
    transition: color 0.22s ease;
}

.spatial-landing-copy a:hover {
    color: #ffffff;
}

.spatial-landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.spatial-landing-actions .btn-ghost {
    margin-right: 5px;
}

.home-footer-custom {
    margin: 64px calc(50% - 50vw) -54px;
    padding: 44px max(4vw, calc((100vw - 1120px) / 2)) 26px;
    border-top: 1px solid rgba(126, 231, 201, 0.2);
    background:
        linear-gradient(180deg, rgba(10, 23, 43, 0.98), rgba(6, 12, 22, 0.99)),
        linear-gradient(90deg, rgba(126, 231, 201, 0.12), rgba(243, 195, 109, 0.08));
}

.footer-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr);
    gap: 34px;
    align-items: start;
}

.footer-brand-block p {
    max-width: 540px;
    margin: 16px 0 18px;
    color: #b5c5dc;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .brand-logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
}

.footer-brand strong {
    display: block;
    color: #f7fbff;
    font-size: 1.1rem;
    font-weight: 900;
}

.footer-brand small {
    display: block;
    color: #91a9cb;
    font-size: 0.78rem;
    line-height: 1.3;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 50px;
}

.footer-meta span {
    border-radius: 999px;
    border: 1px solid rgba(126, 231, 201, 0.22);
    background: rgba(126, 231, 201, 0.08);
    color: #bdebdc;
    font-size: 0.78rem;
    padding: 5px 10px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 25px;
}

.footer-columns h4 {
    margin-bottom: 12px;
    color: #eef5ff;
    font-size: 0.98rem;
}

.footer-columns p,
.footer-columns a {
    color: #a9bad3;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-columns a {
    width: max-content;
    max-width: 100%;
    transition: color 0.18s ease, transform 0.18s ease;
}

.footer-columns a:hover {
    color: #7ee7c9;
    transform: translateX(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(118, 148, 196, 0.18);
}

.footer-bottom p {
    margin: 0;
    color: #8ea2bd;
    font-size: 0.84rem;
}

.footer-bottom a {
    color: #7ee7c9;
    border-bottom: 1px solid rgba(126, 231, 201, 0.35);
    transition: color 0.24s ease, border-color 0.24s ease;
}

.footer-bottom a:hover {
    color: #d9fff3;
    border-color: rgba(126, 231, 201, 0.7);
}

[dir="ltr"] body {
    font-family: "Inter", "Segoe UI", "Trebuchet MS", Arial, sans-serif;
}

[dir="ltr"] .menu {
    justify-content: flex-start;
}

[dir="ltr"] .price-card ul,
[dir="ltr"] .enterprise-savings__content ul,
[dir="ltr"] .side-note ul {
    padding-right: 0;
    padding-left: 18px;
}

[dir="ltr"] #ai-demo-status {
    text-align: left;
}

[dir="ltr"] .ai-live-prompt.typing::after {
    margin-right: 0;
    margin-left: 2px;
}

[dir="ltr"] .footer-columns a:hover {
    transform: translateX(2px);
}

.copy {
    margin-top: 18px;
    color: #8ea2cc;
    font-size: 0.85rem;
    text-align: center;
}

/* Admin Panel */
.admin-login-wrap {
    max-width: 560px;
    margin-inline: auto;
}

.admin-login-card,
.admin-table-wrap,
.admin-stat-card {
    background: linear-gradient(165deg, rgba(17, 31, 63, 0.96), rgba(11, 20, 42, 0.96));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.admin-login-card {
    padding: 24px;
}

.admin-login-card .btn {
    margin-top: 10px;
    width: 100%;
}

.admin-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.admin-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.admin-stat-card {
    padding: 18px;
}

.admin-stat-card h2 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.admin-stat-card p {
    margin-bottom: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #9ec2ff;
}

.admin-table-wrap {
    padding: 18px;
}

.admin-inquiries-wrap {
    margin-bottom: 18px;
}

.admin-table-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.admin-table-header h2 {
    margin-bottom: 0;
}

.admin-table-scroller {
    overflow: auto;
    border-radius: 12px;
    border: 1px solid rgba(102, 133, 198, 0.35);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.admin-table th,
.admin-table td {
    padding: 11px 10px;
    border-bottom: 1px solid rgba(90, 120, 188, 0.22);
    text-align: right;
    vertical-align: top;
    font-size: 0.9rem;
}

.admin-table th {
    background: rgba(16, 29, 58, 0.95);
    color: #d9e8ff;
    font-weight: 700;
}

.admin-table td {
    color: #bdd0ef;
}

.admin-row-unseen td {
    background: rgba(37, 72, 142, 0.18);
}

.admin-inquiries-table {
    min-width: 1120px;
}

.admin-message-cell {
    max-width: 320px;
    white-space: normal;
}

.admin-conversations-table {
    min-width: 1180px;
}

.admin-link-strong {
    color: #dff2ff;
    font-weight: 800;
    transition: color 0.18s ease;
}

.admin-link-strong:hover {
    color: #7ee7c9;
}

.admin-mini-code {
    direction: ltr;
    text-align: left;
    color: #8ea2bd;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.78rem;
    margin-top: 4px;
}

.admin-tag-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(126, 231, 201, 0.26);
    background: rgba(126, 231, 201, 0.09);
    color: #bdebdc;
    padding: 5px 9px;
    font-size: 0.78rem;
}

.admin-seen-form {
    margin: 0;
}

.admin-seen-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    cursor: pointer;
    white-space: nowrap;
}

.admin-seen-checkbox input {
    width: auto;
    margin: 0;
    accent-color: #4ea0ff;
}

.admin-token-cell {
    direction: ltr;
    text-align: left;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.admin-filter-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.35fr) minmax(150px, 0.35fr) auto;
    gap: 12px;
    align-items: end;
}

.admin-filter-form label {
    margin: 0;
}

.admin-filter-form label span {
    display: block;
    color: #d9e8ff;
    font-size: 0.82rem;
    margin-bottom: 6px;
}

.admin-filter-actions {
    display: flex;
    gap: 8px;
}

.admin-kv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.admin-kv-grid div {
    border: 1px solid rgba(102, 133, 198, 0.28);
    border-radius: 12px;
    padding: 12px;
    background: rgba(9, 19, 40, 0.42);
}

.admin-kv-grid strong,
.admin-kv-grid span {
    display: block;
}

.admin-kv-grid strong {
    color: #d9e8ff;
    font-size: 0.82rem;
    margin-bottom: 6px;
}

.admin-kv-grid span {
    color: #bdd0ef;
    word-break: break-word;
}

.admin-message-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.admin-message-item {
    border: 1px solid rgba(102, 133, 198, 0.35);
    border-radius: var(--radius-lg);
    background: linear-gradient(165deg, rgba(17, 31, 63, 0.94), rgba(11, 20, 42, 0.94));
    box-shadow: var(--shadow-soft);
    padding: 16px;
}

.admin-message-head,
.admin-message-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}

.admin-message-head {
    margin-bottom: 10px;
}

.admin-message-meta {
    justify-content: flex-start;
    color: #8ea2bd;
    font-size: 0.82rem;
    margin-bottom: 10px;
}

.admin-message-meta span {
    border: 1px solid rgba(126, 231, 201, 0.18);
    border-radius: 999px;
    padding: 4px 9px;
    background: rgba(126, 231, 201, 0.06);
}

.admin-role-pill,
.admin-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.admin-role-pill {
    border: 1px solid rgba(78, 160, 255, 0.32);
    background: rgba(78, 160, 255, 0.1);
    color: #b9d6ff;
}

.admin-role-pill.role-user {
    border-color: rgba(126, 231, 201, 0.32);
    background: rgba(126, 231, 201, 0.1);
    color: #bdebdc;
}

.admin-role-pill.role-assistant {
    border-color: rgba(243, 195, 109, 0.32);
    background: rgba(243, 195, 109, 0.1);
    color: #ffe0a3;
}

.admin-role-pill.role-tool {
    border-color: rgba(183, 142, 255, 0.34);
    background: rgba(183, 142, 255, 0.1);
    color: #d8c4ff;
}

.admin-status-pill {
    border: 1px solid rgba(126, 231, 201, 0.28);
    color: #bdebdc;
    background: rgba(126, 231, 201, 0.08);
}

.admin-status-pill.status-error {
    border-color: rgba(255, 115, 115, 0.32);
    color: #ffc4c4;
    background: rgba(255, 115, 115, 0.1);
}

.admin-message-content,
.admin-json-details pre {
    direction: ltr;
    text-align: left;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    border: 1px solid rgba(102, 133, 198, 0.28);
    border-radius: 12px;
    background: rgba(5, 12, 26, 0.62);
    color: #dce8fb;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.82rem;
    line-height: 1.7;
    padding: 12px;
}

.admin-json-details {
    margin-top: 10px;
}

.admin-json-details summary {
    cursor: pointer;
    color: #d9e8ff;
    font-weight: 800;
    margin-bottom: 8px;
}

.admin-pagination {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.admin-pagination a,
.admin-pagination span {
    border: 1px solid rgba(92, 125, 192, 0.4);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.86rem;
    color: #bdd0ef;
}

.admin-pagination a:hover {
    background: rgba(40, 66, 123, 0.5);
}

.admin-pagination .page-disabled {
    opacity: 0.55;
}

/* Auth + Dashboard */
.auth-layout {
    display: grid;
    gap: 16px;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
}

.auth-layout.single {
    grid-template-columns: 1fr;
    max-width: 560px;
}

.auth-card,
.side-note,
.metric-card,
.guide-card,
.hero-card,
.card,
.steps-card {
    padding: 24px;
}

.form-block {
    margin-top: 14px;
}

label {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 7px;
    font-weight: 700;
    color: #c7d6f1;
}

input {
    width: 100%;
    border: 1px solid rgba(110, 140, 210, 0.4);
    border-radius: 12px;
    padding: 11px 13px;
    font-size: 1rem;
    outline: none;
    background: rgba(10, 19, 41, 0.85);
    color: #eaf1ff;
}

textarea {
    width: 100%;
    min-height: 130px;
    resize: vertical;
    border: 1px solid rgba(110, 140, 210, 0.4);
    border-radius: 12px;
    padding: 11px 13px;
    font-size: 1rem;
    outline: none;
    background: rgba(10, 19, 41, 0.85);
    color: #eaf1ff;
    font-family: inherit;
    line-height: 1.8;
}

input::placeholder {
    color: #91a7d2;
}

input:focus,
textarea:focus {
    border-color: #538eff;
    box-shadow: 0 0 0 3px rgba(82, 135, 255, 0.2);
}

textarea::placeholder {
    color: #91a7d2;
}

.field-error {
    color: #ffb3c6;
    font-size: 0.84rem;
    margin: -4px 0 4px;
}

.field-hint {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin: 9px 0 15px;
}

.side-note ul {
    margin: 8px 0 0;
    padding-right: 18px;
    color: var(--text-muted);
}

.dashboard-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 8px;
}

.dashboard-head__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(92, 128, 213, 0.45);
    background: rgba(14, 31, 63, 0.78);
    color: #d7e6ff;
    font-size: 0.88rem;
    font-weight: 700;
}

.dashboard-badge--soft {
    background: rgba(21, 43, 84, 0.45);
    color: #aecaef;
}

.metric-grid {
    margin-top: 20px;
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card {
    min-height: 210px;
}

.metric-number {
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    margin: 6px 0;
    font-weight: 800;
    color: #9ec2ff;
}

.stat-list {
    display: grid;
    gap: 7px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(105, 138, 208, 0.24);
    color: var(--text-muted);
    font-size: 0.88rem;
}

.stat-list strong {
    color: #edf4ff;
}

.token-card code {
    display: block;
    background: rgba(7, 16, 36, 0.8);
    border: 1px dashed rgba(109, 145, 227, 0.6);
    border-radius: 10px;
    padding: 10px;
    font-size: 0.84rem;
    margin: 7px 0 10px;
    word-break: break-all;
    direction: ltr;
    text-align: left;
    color: #c6ddff;
}

.usage-breakdown {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 14px 0;
}

.usage-breakdown>div {
    padding: 13px;
    border-radius: 14px;
    border: 1px solid rgba(102, 137, 212, 0.28);
    background: rgba(8, 18, 40, 0.72);
}

.usage-breakdown h3 {
    margin-bottom: 8px;
    font-size: 0.92rem;
    color: #cfe0ff;
}

.usage-breakdown p {
    margin: 3px 0;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.usage-breakdown strong {
    color: #edf4ff;
}

.guide-card {
    margin-top: 20px;
}

.topup-layout {
    margin-top: 20px;
    display: grid;
    gap: 15px;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.gateway-screen {
    overflow: hidden;
}

.gateway-screen__bar {
    display: flex;
    gap: 7px;
    margin: -24px -24px 20px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(94, 128, 201, 0.22);
    background: rgba(6, 13, 28, 0.78);
}

.gateway-screen__bar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(148, 186, 255, 0.7);
}

.gateway-screen__summary {
    padding: 12px 0 6px;
}

.gateway-amount {
    margin: 10px 0 12px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #9dc8ff;
}

.team-section {
    margin-top: 20px;
}

.team-section__grid,
.managed-users-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-section__header {
    margin: 20px 0 12px;
}

.compact-form label:not(:first-child) {
    margin-top: 14px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 18px;
    cursor: pointer;
}

.checkbox-row input {
    width: auto;
    margin: 0;
    accent-color: #4ea0ff;
}

.managed-user-card {
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(13, 24, 51, 0.92), rgba(8, 17, 35, 0.95));
    border: 1px solid rgba(98, 133, 205, 0.3);
    box-shadow: 0 26px 55px rgba(2, 8, 23, 0.32);
}

.managed-user-card__head,
.managed-user-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.managed-user-card__metrics {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 18px 0;
}

.managed-user-card__metrics>div {
    padding: 14px;
    border-radius: 14px;
    background: rgba(11, 22, 46, 0.82);
    border: 1px solid rgba(97, 127, 191, 0.22);
}

.managed-user-card__metrics span {
    display: block;
    margin-bottom: 6px;
    font-size: 0.84rem;
    color: #9cb1d6;
}

.managed-user-card__metrics strong {
    display: block;
    font-size: 1rem;
    color: #edf4ff;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.status-pill--active {
    background: rgba(19, 86, 53, 0.36);
    border: 1px solid rgba(56, 171, 110, 0.38);
    color: #8effc4;
}

.status-pill--inactive {
    background: rgba(89, 33, 33, 0.32);
    border: 1px solid rgba(191, 83, 83, 0.35);
    color: #ffb4b4;
}

.managed-users-empty {
    grid-column: 1 / -1;
}

.guide-item {
    margin-top: 14px;
    background: rgba(12, 24, 49, 0.75);
    border: 1px solid rgba(104, 136, 202, 0.35);
    border-radius: 12px;
    padding: 15px;
}

.guide-item h3 {
    margin-bottom: 7px;
}

.footer {
    flex-shrink: 0;
    border-top: 1px solid rgba(85, 120, 194, 0.25);
    background: rgba(6, 13, 30, 0.65);
}

.footer-inner {
    min-height: 66px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

@media (max-width: 1040px) {

    .value-grid,
    .pricing-grid,
    .metric-grid,
    .team-section__grid,
    .managed-users-grid,
    .footer-shell,
    .footer-columns,
    .enterprise-savings__inner,
    .enterprise-page-shell {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-shell {
        grid-template-columns: 1fr;
    }

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

    .ai-live-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .topbar-inner {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        align-content: center;
        justify-content: space-between;
        padding-block: 10px;
        column-gap: 10px;
        row-gap: 0;
    }

    .topbar-inner.menu-open {
        align-content: flex-start;
        row-gap: 10px;
    }

    .brand {
        min-width: 0;
    }

    .brand-copy {
        min-width: 0;
    }

    .brand-copy small {
        display: none;
    }

    .spatial-landing-card {
        border-radius: 22px;
    }

    .spatial-landing-copy {
        font-size: 0.97rem;
        line-height: 2.05;
    }

    .spatial-landing-actions {
        flex-direction: column;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .menu {
        order: 3;
        width: 100%;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;
        margin-top: 0;
        padding: 0 8px;
        border-width: 0;
        border-radius: 14px;
        overflow: hidden;
        flex-wrap: nowrap;
        transform: translateY(-12px) scale(0.98);
        transform-origin: top center;
        transition:
            max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.24s ease,
            padding 0.22s ease,
            margin-top 0.22s ease,
            transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0.34s;
    }

    .topbar-inner.menu-open .menu {
        max-height: 460px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        margin-top: 4px;
        padding: 8px;
        border-width: 1px;
        transform: translateY(0) scale(1);
        transition:
            max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.24s ease,
            padding 0.22s ease,
            margin-top 0.22s ease,
            transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0s;
    }

    .menu a,
    .link-button {
        width: 100%;
        white-space: nowrap;
        text-align: right;
    }

    .menu .menu-cta {
        text-align: center;
    }

    [dir="ltr"] .menu a,
    [dir="ltr"] .link-button {
        text-align: left;
    }

    [dir="ltr"] .menu .menu-cta {
        text-align: center;
    }

    .inline-form {
        width: 100%;
    }

    .home-hero {
        gap: 16px;
        padding: 18px;
        border-radius: 18px;
    }

    .hero-badges-shell {
        width: calc(100% + 36px);
        max-width: none;
        margin-inline: -18px;
    }

    .hero-badges-shell::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 42px;
        opacity: 1;
        pointer-events: none;
        z-index: 2;
        background: linear-gradient(90deg, rgba(8, 15, 34, 0.98), rgba(8, 15, 34, 0.78) 48%, rgba(8, 15, 34, 0));
        box-shadow: 14px 0 24px rgba(8, 15, 34, 0.42);
        transition: opacity 0.22s ease;
    }

    .hero-badges-shell.is-at-scroll-end::after {
        opacity: 0;
    }

    [dir="ltr"] .hero-badges-shell::after {
        left: auto;
        right: 0;
        background: linear-gradient(270deg, rgba(8, 15, 34, 0.98), rgba(8, 15, 34, 0.78) 48%, rgba(8, 15, 34, 0));
        box-shadow: -14px 0 24px rgba(8, 15, 34, 0.42);
    }

    .hero-badges {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
        max-width: none;
        margin-inline: 0;
        padding: 0 34px 4px 18px;
        gap: 7px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    [dir="ltr"] .hero-badges {
        padding: 0 18px 4px 34px;
    }

    .hero-badges::-webkit-scrollbar {
        display: none;
    }

    .hero-badge {
        flex: 0 0 auto;
        padding: 5px 12px;
        font-size: 0.72rem;
        margin-bottom: 0;
    }

    .home-hero h1 {
        margin-top: 14px;
        margin-bottom: 16px;
        font-size: clamp(1.45rem, 7.6vw, 2.16rem);
        line-height: 1.55;
    }

    .topup-layout {
        grid-template-columns: 1fr;
    }

    .home-hero p {
        font-size: 0.93rem;
        line-height: 1.9;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-block: 18px 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .ai-live-topbar {
        padding: 10px 12px 8px;
        align-items: flex-start;
        flex-direction: column;
    }

    .ai-live-layout {
        padding: 10px;
        gap: 10px;
    }

    .ai-live-prompt-box,
    .ai-live-code-box {
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .ai-live-prompt {
        height: auto;
        min-height: 74px;
        max-height: 120px;
    }

    .ai-live-files {
        max-height: 138px;
    }

    .ai-live-code-box pre {
        min-height: 236px;
        max-height: 236px;
    }

    .value-grid,
    .pricing-grid,
    .metric-grid,
    .team-section__grid,
    .managed-users-grid,
    .footer-shell,
    .footer-columns,
    .auth-layout,
    .admin-stats-grid,
    .enterprise-savings__inner,
    .enterprise-page-shell,
    .enterprise-form-grid {
        grid-template-columns: 1fr;
    }

    .enterprise-savings__actions {
        align-items: flex-start;
    }

    .auth-layout.single {
        max-width: none;
    }

    .dashboard-head {
        flex-direction: column;
    }

    .managed-user-card__head,
    .managed-user-card__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .managed-user-card__metrics {
        grid-template-columns: 1fr;
    }

    .usage-breakdown {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        text-align: right;
    }

    .cta-banner .hero-actions {
        justify-content: flex-start;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        padding-block: 10px;
    }

    .home-footer-custom {
        margin-top: 46px;
        padding-top: 34px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .mobileBr4 {
        display: block;
    }
}
