:root {
    --st-deep: #2E0B66;
    --st-violet: #7C3AED;
    --st-violet-2: #A855F7;
    --st-lilac: #EDE3FB;
    --st-coral: #FF6B4A;
    --st-ink: #1C1330;
    --st-ink-soft: #5B4E70;
    --st-paper: #FBF9FE;
    --st-line: #E7DEF7;
    --st-radius: 20px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--st-paper);
    color: var(--st-ink);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.st-bleed {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.st-bleed__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 28px;
}

a {
    color: inherit;
    text-decoration: none;
}

.st-h1, .st-h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    letter-spacing: -0.02em;
}

.st-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--st-violet);
    margin: 0 0 14px;
    font-weight: 500;
}

/* Nav — styles the existing Bootstrap navbar in _Layout.cshtml */
.st-navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(251, 249, 254, 0.9) !important;
    backdrop-filter: blur(10px);
}

.st-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.st-brand__mark {
    height: 32px;
    width: 32px;
}

.st-brand__mark--sm {
    height: 28px;
    width: 28px;
}

.st-brand__word {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 19px;
    color: var(--st-ink);
}

.st-navbar .nav-link {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--st-ink-soft) !important;
}

    .st-navbar .nav-link:hover {
        color: var(--st-ink) !important;
    }

.st-btn--sm {
    padding: 8px 18px;
    font-size: 14px;
}

/* Buttons */
.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: transform .15s ease, opacity .15s ease;
}

    .st-btn:hover {
        transform: translateY(-1px);
    }

.st-btn--primary {
    background: linear-gradient(135deg, var(--st-violet), var(--st-violet-2));
    color: #fff;
}

.st-btn--ghost {
    background: transparent;
    color: var(--st-ink);
    border: 1.5px solid var(--st-line);
}

.st-btn--light {
    background: #fff;
    color: var(--st-deep);
}

.st-btn--outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
}

/* Hero */
.st-hero {
    padding: 40px 0 60px;
}

.st-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.st-h1 {
    font-size: 58px;
    line-height: 1.04;
    font-weight: 700;
    color: var(--st-ink);
}

.st-h1__accent {
    color: var(--st-violet);
}

.st-hero__sub {
    font-size: 17.5px;
    line-height: 1.6;
    color: var(--st-ink-soft);
    max-width: 460px;
    margin: 22px 0 32px;
}

.st-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.st-hero__meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    color: var(--st-ink-soft);
    margin-top: 18px;
}

/* Phone mockup — signature element */
.st-hero__visual {
    display: flex;
    justify-content: center;
}

.st-phone {
    width: 320px;
    background: #fff;
    border-radius: 32px;
    border: 1px solid var(--st-line);
    box-shadow: 0 30px 60px -20px rgba(46, 11, 102, 0.25);
    overflow: hidden;
}

.st-phone__bar {
    background: linear-gradient(135deg, var(--st-deep), var(--st-violet));
    padding: 18px 20px 16px;
    color: #fff;
}

.st-avatar-row {
    display: flex;
}

.st-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--st-deep);
    display: inline-block;
}

.st-avatar--a {
    background: #C9A6F5;
}

.st-avatar--b {
    background: #FFB199;
    margin-left: -10px;
}

.st-phone__names {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 15px;
}

.st-online {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    font-size: 11px;
    opacity: 0.75;
}

.st-thread {
    padding: 20px 18px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.st-bubble {
    max-width: 78%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(6px);
    animation: st-pop .4s ease forwards;
}

.st-bubble--in {
    align-self: flex-start;
    background: var(--st-lilac);
    color: var(--st-ink);
    border-bottom-left-radius: 4px;
}

.st-bubble--out {
    align-self: flex-end;
    background: var(--st-violet);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.st-typing {
    align-self: flex-start;
    display: flex;
    gap: 4px;
    background: var(--st-lilac);
    padding: 12px 14px;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    opacity: 0;
    animation: st-pop .4s ease forwards;
}

    .st-typing span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--st-violet-2);
        animation: st-bounce 1s infinite ease-in-out;
    }

        .st-typing span:nth-child(2) {
            animation-delay: .15s;
        }

        .st-typing span:nth-child(3) {
            animation-delay: .3s;
        }

@keyframes st-pop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes st-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-4px);
    }
}

.st-phone__composer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-top: 1px solid var(--st-line);
    font-size: 13px;
    color: var(--st-ink-soft);
}

.st-send {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--st-violet), var(--st-coral));
    display: inline-block;
}

@media (max-width: 900px) {
    .st-hero__grid {
        grid-template-columns: 1fr;
    }

    .st-h1 {
        font-size: 42px;
    }

    .st-hero__sub {
        max-width: 100%;
    }
}

/* Stat strip */
.st-strip {
    background: var(--st-ink);
    padding: 28px 0;
}

.st-strip__row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.st-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.st-strip__num {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #fff;
}

.st-strip__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

/* Features */
.st-features {
    padding: 96px 0;
}

.st-h2 {
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.st-h2--left {
    text-align: left;
}

.st-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.st-card {
    background: #fff;
    border: 1px solid var(--st-line);
    border-radius: var(--st-radius);
    padding: 26px 22px;
}

    .st-card h3 {
        font-size: 17px;
        margin: 16px 0 8px;
    }

    .st-card p {
        font-size: 14px;
        line-height: 1.55;
        color: var(--st-ink-soft);
        margin: 0;
    }

.st-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

    .st-card__icon svg {
        width: 20px;
        height: 20px;
    }

.st-card__icon--a {
    background: linear-gradient(135deg, var(--st-violet), var(--st-violet-2));
}

.st-card__icon--b {
    background: linear-gradient(135deg, var(--st-coral), #FFB199);
}

.st-card__icon--c {
    background: linear-gradient(135deg, var(--st-deep), var(--st-violet));
}

.st-card__icon--d {
    background: linear-gradient(135deg, var(--st-violet-2), var(--st-lilac));
}

@media (max-width: 900px) {
    .st-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .st-features__grid {
        grid-template-columns: 1fr;
    }
}

/* Showcase */
.st-showcase {
    padding: 20px 0 100px;
}

.st-showcase__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
    background: linear-gradient(135deg, var(--st-deep), var(--st-violet));
    border-radius: 28px;
    padding: 64px;
    color: #fff;
}

.st-showcase .st-eyebrow {
    color: var(--st-lilac);
}

.st-showcase .st-h2 {
    text-align: left;
    color: #fff;
    margin-bottom: 18px;
}

.st-showcase__text {
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin: 0 0 20px;
    max-width: 440px;
}

.st-link {
    font-weight: 600;
    font-size: 14.5px;
    color: #fff;
    border-bottom: 1.5px solid rgba(255,255,255,0.5);
    padding-bottom: 2px;
}

.st-lockcard {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.st-lockcard__ring {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 3px solid var(--st-coral);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-coral);
}

    .st-lockcard__ring svg {
        width: 26px;
        height: 26px;
    }

.st-lockcard__label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    margin: 0 0 6px;
}

.st-lockcard__sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

@media (max-width: 900px) {
    .st-showcase__grid {
        grid-template-columns: 1fr;
        padding: 40px 28px;
    }
}

/* CTA */
.st-cta {
    background: var(--st-ink);
    padding: 90px 0;
    text-align: center;
}

.st-cta__title {
    color: #fff;
    margin-bottom: 14px;
}

.st-cta__sub {
    color: rgba(255,255,255,0.65);
    font-size: 16px;
    max-width: 480px;
    margin: 0 auto 34px;
}

.st-cta__actions {
    justify-content: center;
}

/* Footer */
.st-footer {
    padding: 40px 0;
    border-top: 1px solid var(--st-line);
}

.st-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.st-footer__links {
    display: flex;
    gap: 24px;
}

    .st-footer__links a {
        font-size: 13.5px;
        color: var(--st-ink-soft);
    }

.st-footer__copy {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--st-ink-soft);
    margin: 0;
}
