:root {
    --bg: #0b0f17;
    --card: #111827;
    --muted: #9aa4b2;
    --text: #e7edf5;
    --line: #1f2a3a;
    --soft: #0f1624;
    --white: #ffffff;
    --shadow: 0 20px 60px rgba(0, 0, 0, .35);
    --radius: 18px;
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    color: var(--text);
    background: radial-gradient(1200px 800px at 20% 10%, #14213d 0%, var(--bg) 45%), var(--bg);
}

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

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(11, 15, 23, .6);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0
}

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

.brand__mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    color: #0b0f17;
    font-weight: 800;
}

.brand__name {
    font-weight: 800;
    letter-spacing: .2px
}

.brand__tag {
    font-size: 12px;
    color: var(--muted)
}

.nav {
    display: flex;
    gap: 16px;
    align-items: center
}

.nav a {
    color: var(--muted);
    font-weight: 600;
    font-size: 14px
}

.nav a:hover {
    color: var(--text)
}

.header__cta {
    display: flex;
    gap: 10px;
    align-items: center
}

.menuBtn {
    display: none;
    background: transparent;
    border: 0;
    color: var(--text);
    font-size: 20px;
    cursor: pointer
}

.mobileNav {
    display: none;
    padding: 12px 20px 18px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.mobileNav a {
    display: block;
    padding: 10px 0;
    color: var(--muted);
    font-weight: 600
}

.mobileNav .btn {
    margin-top: 8px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, .10);
    transition: transform .08s ease, background .2s ease, border-color .2s ease;
}

.btn:active {
    transform: translateY(1px)
}

.btn--primary {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    color: #0b0f17;
    border-color: transparent;
}

.btn--ghost {
    background: rgba(255, 255, 255, .04);
    color: var(--text);
}

.btn--full {
    width: 100%
}

.hero {
    padding: 64px 0 34px
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    align-items: start
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
}

h1 {
    font-size: 46px;
    line-height: 1.05;
    margin: 14px 0 12px
}

.subhead {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 54ch
}

.hero__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px
}

.trustRow {
    display: flex;
    gap: 14px;
    margin-top: 22px;
    flex-wrap: wrap
}

.trustRow__item {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 12px 14px;
    border-radius: 16px;
    min-width: 180px
}

.trustRow__big {
    font-weight: 800
}

.trustRow__small {
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px
}

.heroCard {
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.heroCard__top {
    padding: 18px 18px 0
}

.heroCard__badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(96, 165, 250, .14);
    border: 1px solid rgba(96, 165, 250, .25);
    color: #cfe6ff;
    font-weight: 800;
    font-size: 12px;
}

.heroCard__title {
    font-size: 18px;
    font-weight: 900;
    margin: 10px 0 6px
}

.heroCard__desc {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px
}

.form {
    padding: 14px 18px 18px
}

.form__row {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 12px
}

label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700
}

input,
textarea {
    width: 100%;
    background: rgba(11, 15, 23, .55);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 14px;
    padding: 12px 12px;
    color: var(--text);
    outline: none;
}

input:focus,
textarea:focus {
    border-color: rgba(96, 165, 250, .55)
}

.fineprint {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4
}

.section {
    padding: 56px 0
}

.section--alt {
    background: rgba(255, 255, 255, .02);
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.sectionHead h2 {
    font-size: 30px;
    margin: 0 0 10px
}

.sectionHead p {
    color: var(--muted);
    margin: 0 0 22px;
    max-width: 70ch;
    line-height: 1.6
}

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

.cards--tight {
    grid-template-columns: 1fr;
    gap: 12px
}

.card {
    padding: 16px 16px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
}

.card h3 {
    margin: 0 0 8px;
    font-size: 16px
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55
}

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

.shot {
    height: 150px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    background:
        radial-gradient(800px 250px at 30% 30%, rgba(96, 165, 250, .28), transparent 55%),
        radial-gradient(900px 250px at 70% 40%, rgba(167, 139, 250, .24), transparent 60%),
        rgba(255, 255, 255, .04);
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.shot__tag {
    font-size: 12px;
    color: var(--muted);
    font-weight: 800
}

.shot__title {
    font-size: 14px;
    font-weight: 900
}

.center {
    display: flex;
    justify-content: center;
    margin-top: 18px
}

.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: stretch
}

.priceCard {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    padding: 18px;
}

.priceCard--featured {
    background: linear-gradient(180deg, rgba(96, 165, 250, .15), rgba(255, 255, 255, .03));
    border-color: rgba(96, 165, 250, .35);
    box-shadow: var(--shadow);
}

.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(167, 139, 250, .16);
    border: 1px solid rgba(167, 139, 250, .30);
    color: #e9ddff;
    font-weight: 900;
    font-size: 12px;
    margin-bottom: 10px;
}

.priceCard__name {
    font-weight: 900
}

.priceCard__price {
    font-size: 36px;
    font-weight: 900;
    margin: 10px 0
}

.priceCard__price span {
    font-size: 14px;
    color: var(--muted);
    font-weight: 700
}

.priceCard ul {
    margin: 0 0 14px;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.9
}

.aiSplit {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 18px;
    align-items: start
}

.aiPanel {
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .04);
    padding: 16px;
    box-shadow: var(--shadow);
}

.aiPanel h3 {
    margin: 0 0 8px
}

.muted {
    color: var(--muted)
}

.output {
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(11, 15, 23, .45);
    border-radius: 16px;
    padding: 14px;
    min-height: 180px;
    overflow: auto;
}

.output__placeholder {
    color: var(--muted)
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12.5px;
    line-height: 1.55;
}

.footerCta {
    padding: 44px 0
}

.footerCta__inner {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .04);
    border-radius: var(--radius);
    padding: 18px;
}

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

.footer {
    padding: 22px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, .06)
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap
}

@media (max-width: 980px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    h1 {
        font-size: 38px
    }

    .cards {
        grid-template-columns: 1fr
    }

    .grid {
        grid-template-columns: 1fr
    }

    .pricing {
        grid-template-columns: 1fr
    }

    .aiSplit {
        grid-template-columns: 1fr
    }

    .nav,
    .header__cta {
        display: none
    }

    .menuBtn {
        display: block
    }

    .mobileNav.open {
        display: block
    }

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

/* --- CHATBOX STYLES --- */
.chat-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-fab:hover {
    transform: scale(1.1);
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 360px;
    height: 500px;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-header {
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    font-weight: 700;
    font-size: 15px;
}

.chat-close {
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 18px;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    padding: 10px 14px;
    border-radius: 16px;
    max-width: 85%;
    font-size: 14px;
    line-height: 1.5;
}

.chat-msg--bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.chat-msg--user {
    align-self: flex-end;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    color: #0b0f17;
    font-weight: 500;
    border-bottom-right-radius: 4px;
}

.chat-input {
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    background: rgba(11, 15, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--text);
    font-size: 14px;
    outline: none;
}

.chat-input button {
    background: transparent;
    border: none;
    color: #60a5fa;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

@media (max-width: 480px) {
    .chat-window {
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .chat-fab {
        bottom: 20px;
        right: 20px;
    }
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    width: fit-content;
    align-self: flex-start;
    margin-bottom: 8px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #60a5fa;
    border-radius: 50%;
    animation: typingPulse 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}