.ai-float-scene {
    position: relative;
    width: min(560px, 100%);
    height: 430px;
    perspective: 1100px;
    overflow: visible;
    box-sizing: border-box;
}

.ai-float-card {
    position: absolute;
    animation: hoverFloat var(--dur, 5.6s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    transform-style: preserve-3d;
    display: grid;
    place-items: center;
    pointer-events: none;
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 18px 34px -24px rgba(2, 44, 34, 0.35);
    overflow: hidden;
}

    .ai-float-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: transparent;
        pointer-events: none;
    }

    .ai-float-card.near {
        transform: translateZ(46px);
    }

    .ai-float-card.mid {
        transform: translateZ(22px);
    }

    .ai-float-card.far {
        transform: translateZ(0) scale(.92);
        opacity: .86;
    }

.ai-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1) sepia(.32) hue-rotate(142deg) saturate(2.1) brightness(.95) contrast(1.06) drop-shadow(0 14px 22px rgba(2, 44, 34, 0.28));
    opacity: .96;
    transform: scale(.92);
    position: relative;
    z-index: 1;
}

@keyframes hoverFloat {
    0% {
        transform: translateY(0) translateZ(var(--z, 0));
    }

    50% {
        transform: translateY(-14px) translateZ(var(--z, 0));
    }

    100% {
        transform: translateY(0) translateZ(var(--z, 0));
    }
}

.ai-card-1 {
    --dur: 5.1s;
    --delay: .1s;
    --z: 46px;
}

.ai-card-2 {
    --dur: 6.4s;
    --delay: .4s;
    --z: 22px;
}

.ai-card-3 {
    --dur: 7.1s;
    --delay: .7s;
    --z: 0;
}

.ai-card-4 {
    --dur: 5.8s;
    --delay: .25s;
    --z: 46px;
}

.ai-card-5 {
    --dur: 7.6s;
    --delay: 1s;
    --z: 0;
}

.ai-card-6 {
    --dur: 6.1s;
    --delay: .55s;
    --z: 22px;
}

.ai-card-7 {
    --dur: 6.9s;
    --delay: .85s;
    --z: 22px;
}

.chat-promo-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 1);
    border-radius: 1.5rem;
    background: radial-gradient(120% 130% at 100% 0%, rgba(20, 184, 166, 0.12), transparent 52%), radial-gradient(100% 120% at 0% 100%, rgba(6, 182, 212, 0.12), transparent 58%), linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 22px 44px -28px rgba(2, 44, 34, 0.26);
}

.chat-promo-glow {
    position: absolute;
    inset: auto -14% -68% auto;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.14) 0%, rgba(20, 184, 166, 0) 72%);
    pointer-events: none;
}

.chat-promo-content {
    position: relative;
    padding: 2rem;
}

.chat-promo-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid rgba(13, 148, 136, 0.2);
    background: rgba(20, 184, 166, 0.1);
    color: #0f766e;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
}

.chat-promo-feature {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(2px);
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}

.chat-promo-feature-icon {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
    color: rgb(8 145 178);
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5.4rem;
    height: 5.4rem;
    transform: translate(-50%, -50%);
    color: rgb(8 145 178);
    opacity: 0.14;
    pointer-events: none;
}

.service-card-content {
    position: relative;
    z-index: 1;
}

.why-us-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.why-us-item-icon {
    width: 1.2rem;
    height: 1.2rem;
    color: rgb(8 145 178);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .ai-float-scene {
        height: 360px;
    }

    .chat-promo-content {
        padding: 1.25rem;
    }
}

@media (min-width: 768px) {
    #mobileMenuButton,
    #mobileMenuPanel {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .ai-float-scene {
        width: min(530px, 100%);
        margin-left: 18px;
    }
}

:root {
    --home-bg: #171717;
    --home-surface: #212121;
    --home-surface-2: #2f2f2f;
    --home-surface-3: #303030;
    --home-line: rgba(255, 255, 255, 0.09);
    --home-line-strong: rgba(255, 255, 255, 0.16);
    --home-text: #f4f4f4;
    --home-muted: #b4b4b4;
    --home-faint: #8f8f8f;
    --home-brand: #1198a8;
    --home-brand-soft: rgba(17, 152, 168, 0.18);
    --home-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

html {
    color-scheme: dark;
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 50% -8%, rgba(255, 255, 255, 0.08), transparent 26rem),
        radial-gradient(circle at 15% 18%, rgba(17, 152, 168, 0.12), transparent 25rem),
        var(--home-bg);
    color: var(--home-text);
    text-rendering: geometricPrecision;
}

body > header {
    border-color: rgba(255, 255, 255, 0.06) !important;
    background: rgba(23, 23, 23, 0.82) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

body > header img[src$="logo.svg"] {
    filter: brightness(0) invert(1) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.22));
}

body > header .text-slate-900,
body > header .text-slate-800,
body > header .text-slate-700,
body > header .text-slate-600,
body > header .text-slate-500,
body > footer .text-slate-900,
body > footer .text-slate-800,
body > footer .text-slate-700,
body > footer .text-slate-600,
body > footer .text-slate-500,
body main .text-slate-900,
body main .text-slate-800,
body main .text-slate-700,
body main .text-slate-600,
body main .text-slate-500 {
    color: var(--home-muted) !important;
}

body > header .font-extrabold,
body > header .font-bold,
body > footer .font-extrabold,
body > footer .font-bold,
body main h1,
body main h2,
body main h3,
body main .font-extrabold,
body main .font-bold {
    color: var(--home-text) !important;
}

body > header a:hover,
body > footer a:hover,
body main a:hover {
    color: #fff !important;
}

body > header .bg-white,
body > header .bg-white\/80,
body > header .bg-white\/95,
body > header .bg-slate-50,
body > header .bg-brand-50,
body > header .border-slate-200,
body > header .border-slate-300,
body > header .border-brand-100,
body > footer,
body > footer .bg-white,
body main .bg-white,
body main .bg-slate-50,
body main .bg-slate-900,
body main .border-slate-200 {
    border-color: var(--home-line) !important;
    background: rgba(33, 33, 33, 0.78) !important;
}

body > header .bg-slate-900,
body > header .bg-brand-50,
body main .bg-brand-50,
body main .bg-brand-600 {
    background: rgba(255, 255, 255, 0.09) !important;
}

body > header .text-brand-700,
body main .text-brand-700 {
    color: #8edce5 !important;
}

body > header #creditValue {
    color: #fff !important;
}

body > header #mobileMenuButton,
body > header #userMenuButton,
body > header a[href*="SignIn"],
body main a.rounded-xl,
body main a.inline-flex,
body main span.inline-flex {
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}

body > header #mobileMenuPanel,
body > header #userMenuPanel {
    border-color: var(--home-line) !important;
    background: rgba(23, 23, 23, 0.96) !important;
    box-shadow: var(--home-shadow);
}

main {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 4%, rgba(255, 255, 255, 0.055), transparent 26rem),
        linear-gradient(180deg, #171717 0%, #1c1c1c 42%, #171717 100%);
}

main::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 68%);
    pointer-events: none;
}

main > section {
    position: relative;
}

.hero-grid {
    min-height: calc(100vh - 74px);
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 56% 10%, rgba(255, 255, 255, 0.05), transparent 25rem),
        radial-gradient(circle at 22% 72%, rgba(17, 152, 168, 0.12), transparent 22rem);
}

.hero-grid .bg-brand-50,
.hero-grid .border-brand-100 {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    color: #d9f8fb !important;
}

.hero-grid h1 {
    letter-spacing: -0.035em;
}

.hero-grid p {
    color: var(--home-muted) !important;
}

.hero-grid a[href="/Account/SignIn"],
.chat-promo-content a,
#cta-final a:first-child,
#pricing a {
    background: #f4f4f4 !important;
    color: #171717 !important;
}

.hero-grid a[href="#free-ai-chat"],
.hero-grid a[href="#pricing"],
#cta-final a:last-child {
    border: 1px solid var(--home-line-strong) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    color: var(--home-text) !important;
}

.home-chat-preview {
    position: relative;
    width: min(560px, 100%);
    min-height: 470px;
    display: grid;
    place-items: center;
}

.home-chat-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(4px);
    pointer-events: none;
}

.home-chat-orb-one {
    width: 270px;
    height: 270px;
    inset: 8% auto auto 4%;
    background: radial-gradient(circle, rgba(17, 152, 168, 0.34), transparent 68%);
}

.home-chat-orb-two {
    width: 210px;
    height: 210px;
    right: 2%;
    bottom: 8%;
    background: radial-gradient(circle, rgba(244, 244, 244, 0.14), transparent 66%);
}

.home-chat-card {
    position: relative;
    z-index: 1;
    width: min(500px, 100%);
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 30px;
    background:
        radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.08), transparent 18rem),
        rgba(33, 33, 33, 0.88);
    box-shadow: var(--home-shadow);
    backdrop-filter: blur(18px);
}

.home-chat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--home-line);
}

.home-chat-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.home-chat-brand-mark,
.home-chat-avatar {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.home-chat-brand-mark {
    width: 42px;
    height: 42px;
}

.home-chat-brand-mark img,
.home-chat-avatar img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.home-chat-brand strong {
    display: block;
    color: #fff;
    font-size: 15px;
}

.home-chat-brand small {
    display: block;
    margin-top: 3px;
    color: var(--home-faint);
    font-size: 12px;
}

.home-chat-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(34, 197, 94, 0.26);
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.1);
    color: #baf7cc;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
}

.home-chat-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
}

.home-chat-thread {
    display: grid;
    gap: 14px;
    padding: 24px 20px 18px;
}

.home-chat-message {
    color: var(--home-text);
    line-height: 1.9;
}

.home-chat-message p {
    margin: 0;
}

.home-chat-message-user {
    justify-self: end;
    max-width: 78%;
    border-radius: 22px 22px 6px 22px;
    background: var(--home-surface-2);
    padding: 12px 15px;
    color: #f4f4f4;
}

.home-chat-message-ai {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    max-width: 92%;
}

.home-chat-message-ai.compact {
    opacity: 0.86;
}

.home-chat-avatar {
    width: 34px;
    height: 34px;
    margin-top: 2px;
}

.home-chat-message-ai.compact .home-chat-avatar::before {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f4f4f4, rgba(244, 244, 244, 0.22));
}

.home-chat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.home-chat-tags span {
    border: 1px solid var(--home-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 650;
    padding: 5px 9px;
}

.home-chat-composer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 16px 16px;
    border: 1px solid var(--home-line-strong);
    border-radius: 24px;
    background: var(--home-surface-3);
    color: var(--home-faint);
    padding: 11px 12px 11px 17px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-chat-composer a {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #f4f4f4;
    color: #171717;
    transition: transform 160ms ease, background 160ms ease;
}

.home-chat-composer a:hover {
    background: #fff;
    transform: translateY(-1px);
}

.home-chat-composer svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.chat-promo-card,
body main article,
body main details,
#pricing .rounded-3xl,
#cta-final .rounded-3xl {
    border-color: var(--home-line) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.055), transparent 18rem),
        rgba(33, 33, 33, 0.76) !important;
    box-shadow: none !important;
    backdrop-filter: blur(12px);
}

.chat-promo-card,
#cta-final .rounded-3xl {
    box-shadow: var(--home-shadow) !important;
}

.chat-promo-badge,
.chat-promo-feature,
.why-us-item,
body main details {
    border-color: var(--home-line) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: var(--home-text) !important;
}

.chat-promo-feature-icon,
.service-card-watermark,
.why-us-item-icon {
    color: #8edce5 !important;
}

#free-ai-chat a[href="/Chat/New"] {
    background: #ffffff !important;
    color: #171717 !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
}

#free-ai-chat a[href="/Chat/New"]:hover {
    background: #e2e8f0 !important;
    color: #171717 !important;
}

#why-us,
#pricing {
    border-color: var(--home-line) !important;
    background: rgba(255, 255, 255, 0.025) !important;
}

#pricing ul,
#pricing p,
#faq p,
#steps p,
#services p,
#why-us p,
#cta-final p {
    color: var(--home-muted) !important;
}

#cta-final .rounded-3xl {
    background:
        radial-gradient(circle at 0% 100%, rgba(17, 152, 168, 0.28), transparent 24rem),
        linear-gradient(135deg, rgba(33, 33, 33, 0.94), rgba(23, 23, 23, 0.96)) !important;
}

.home-chat-card {
    background:
        radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.08), transparent 18rem),
        rgba(33, 33, 33, 0.88) !important;
    box-shadow: var(--home-shadow) !important;
}

body > footer {
    margin-top: 0 !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    background: #171717 !important;
}

body > footer a {
    border-color: var(--home-line) !important;
}

@media (prefers-reduced-motion: reduce) {
    .ai-float-card,
    .home-chat-composer a,
    body main a {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 1023px) {
    .hero-grid {
        min-height: auto;
    }

    .home-chat-preview {
        margin-top: 8px;
        min-height: 420px;
    }
}

@media (max-width: 640px) {
    .hero-grid h1 {
        font-size: 2.35rem !important;
        line-height: 1.25 !important;
    }

    .home-chat-preview {
        min-height: auto;
    }

    .home-chat-card {
        border-radius: 24px;
    }

    .home-chat-card-header {
        padding: 15px 15px 12px;
    }

    .home-chat-thread {
        padding: 18px 15px 14px;
    }

    .home-chat-message-user {
        max-width: 88%;
    }

    .home-chat-composer {
        margin: 0 12px 12px;
        font-size: 13px;
    }
}
