:root {
    color-scheme: dark;
    --page: #050b14;
    --surface: rgb(14 25 42 / 78%);
    --surface-border: rgb(148 181 218 / 17%);
    --text: #f4f8ff;
    --muted: #9aabc0;
    --primary: #087cff;
    --cyan: #63e6ff;
    --violet: #8b7cff;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--page);
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 78% 34%, rgb(8 124 255 / 17%), transparent 30%),
        radial-gradient(circle at 18% 82%, rgb(99 230 255 / 8%), transparent 28%),
        var(--page);
    color: var(--text);
    font-family: Inter, "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

button {
    font: inherit;
}

.ai-landing-page {
    position: relative;
    min-height: 100dvh;
    overflow-x: hidden;
    isolation: isolate;
}

.ai-landing-page::before {
    content: "";
    position: fixed;
    z-index: -3;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgb(151 190 230 / 4%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(151 190 230 / 4%) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.ambient {
    position: fixed;
    z-index: -2;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(2px);
}

.ambient-one {
    top: -220px;
    right: -140px;
    width: 560px;
    height: 560px;
    border: 1px solid rgb(99 230 255 / 14%);
    box-shadow: inset 0 0 100px rgb(8 124 255 / 8%);
}

.ambient-two {
    bottom: -340px;
    left: -220px;
    width: 680px;
    height: 680px;
    border: 1px solid rgb(139 124 255 / 12%);
    box-shadow: inset 0 0 120px rgb(139 124 255 / 7%);
}

.site-header {
    width: min(1180px, calc(100% - 48px));
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto;
    border-bottom: 1px solid rgb(148 181 218 / 12%);
}

.brand,
.preview-identity {
    display: inline-flex;
    align-items: center;
}

.brand {
    gap: 12px;
}

.brand-mark,
.ai-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgb(99 230 255 / 24%);
    background: linear-gradient(145deg, rgb(8 124 255 / 28%), rgb(99 230 255 / 8%));
    color: #baf4ff;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 10px 30px rgb(0 0 0 / 18%);
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
}

.brand-mark svg,
.ai-avatar svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.brand-copy strong {
    font-size: 17px;
    line-height: 1;
    letter-spacing: .13em;
}

.brand-copy small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.online-status,
.response-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #bfd0e4;
    font-size: 12px;
    font-weight: 700;
}

.online-status {
    border: 1px solid rgb(126 238 198 / 15%);
    border-radius: 999px;
    background: rgb(17 47 49 / 38%);
    padding: 9px 13px;
}

.online-status span,
.response-note i,
.preview-identity small i,
.preview-footer i {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    background: #55e6a5;
    box-shadow: 0 0 0 4px rgb(85 230 165 / 10%), 0 0 14px rgb(85 230 165 / 45%);
}

.ai-landing {
    width: min(1180px, calc(100% - 48px));
    min-height: calc(100dvh - 89px);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
    align-items: center;
    gap: clamp(48px, 7vw, 100px);
    margin: 0 auto;
    padding: 54px 0 86px;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 21px;
    color: #9ceeff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.eyebrow span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid rgb(99 230 255 / 20%);
    border-radius: 8px;
    background: rgb(99 230 255 / 7%);
    font-size: 12px;
}

h1 {
    max-width: 760px;
    margin: 0;
    color: var(--text);
    font-size: clamp(46px, 5.3vw, 74px);
    font-weight: 720;
    letter-spacing: -.052em;
    line-height: .99;
}

h1 em {
    display: block;
    background: linear-gradient(92deg, #7deaff 4%, #48a9ff 49%, #a99cff 96%);
    background-clip: text;
    color: transparent;
    font-style: normal;
}

.hero-lead {
    max-width: 640px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.67;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 34px;
}

.primary-action {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgb(138 211 255 / 48%);
    border-radius: 14px;
    background: linear-gradient(135deg, #087cff, #1765dc);
    box-shadow: 0 18px 34px rgb(8 124 255 / 22%), inset 0 1px 0 rgb(255 255 255 / 20%);
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    padding: 0 21px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.primary-action:hover {
    background: linear-gradient(135deg, #1888ff, #2372ec);
    box-shadow: 0 20px 40px rgb(8 124 255 / 30%), inset 0 1px 0 rgb(255 255 255 / 24%);
    transform: translateY(-2px);
}

.primary-action:focus-visible {
    outline: 3px solid rgb(99 230 255 / 34%);
    outline-offset: 3px;
}

.primary-action svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.capability-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.capability-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgb(148 181 218 / 14%);
    border-radius: 999px;
    background: rgb(12 24 40 / 48%);
    color: #b7c6d9;
    font-size: 11px;
    font-weight: 700;
    padding: 7px 11px 7px 7px;
}

.capability-list li > span {
    min-width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgb(99 230 255 / 12%);
    border-radius: 50%;
    background: rgb(99 230 255 / 6%);
    color: #8be9ff;
    font-size: 10px;
    font-weight: 900;
}

.ai-preview {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--surface-border);
    border-radius: 26px;
    background: linear-gradient(145deg, rgb(15 29 48 / 88%), rgb(8 16 29 / 94%));
    box-shadow: 0 40px 90px rgb(0 0 0 / 34%), inset 0 1px 0 rgb(255 255 255 / 7%);
    backdrop-filter: blur(20px);
    transform: perspective(1200px) rotateY(-2.5deg) rotateX(1deg);
}

.preview-glow {
    position: absolute;
    top: -180px;
    right: -140px;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    background: rgb(8 124 255 / 18%);
    filter: blur(28px);
    pointer-events: none;
}

.preview-header,
.preview-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-header {
    min-height: 78px;
    border-bottom: 1px solid rgb(148 181 218 / 12%);
    padding: 15px 19px;
}

.preview-identity {
    gap: 11px;
}

.ai-avatar {
    width: 45px;
    height: 45px;
    border-radius: 14px;
}

.preview-identity > span:last-child {
    display: grid;
    gap: 4px;
}

.preview-identity strong {
    font-size: 14px;
}

.preview-identity small {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #8fa3b9;
    font-size: 10px;
    font-weight: 700;
}

.preview-identity small i {
    width: 5px;
    height: 5px;
}

.ai-badge {
    border: 1px solid rgb(99 230 255 / 18%);
    border-radius: 8px;
    background: rgb(99 230 255 / 7%);
    color: #87eaff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    padding: 6px 8px;
}

.preview-conversation {
    position: relative;
    z-index: 1;
    min-height: 332px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 29px 23px;
}

.preview-message {
    width: fit-content;
    max-width: 84%;
    border: 1px solid rgb(148 181 218 / 12%);
    border-radius: 17px;
    padding: 12px 14px;
}

.preview-message span {
    display: block;
    margin-bottom: 6px;
    color: #8195ab;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.preview-message p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
}

.customer-preview {
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    background: linear-gradient(135deg, #087cff, #0c66d4);
    box-shadow: 0 12px 28px rgb(8 124 255 / 16%);
}

.customer-preview span,
.customer-preview p {
    color: #ffffff;
}

.customer-preview span {
    opacity: .65;
}

.ai-preview-message {
    align-self: flex-start;
    border-color: rgb(99 230 255 / 15%);
    border-bottom-left-radius: 5px;
    background: rgb(19 36 56 / 84%);
    color: #eaf5ff;
}

.thinking-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.thinking-row > span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #66dff8;
    animation: thinking-dot 1.4s ease-in-out infinite;
}

.thinking-row > span:nth-child(2) {
    animation-delay: .16s;
}

.thinking-row > span:nth-child(3) {
    animation-delay: .32s;
}

.thinking-row small {
    margin-left: 5px;
    color: #71869c;
    font-size: 9px;
    font-weight: 700;
}

.preview-footer {
    min-height: 48px;
    gap: 16px;
    border-top: 1px solid rgb(148 181 218 / 10%);
    color: #6f849a;
    font-size: 9px;
    font-weight: 700;
    padding: 0 19px;
}

.preview-footer span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.preview-footer i {
    width: 5px;
    height: 5px;
}

body.ai-landing-page .sds-webchat .chat-launcher {
    isolation: isolate;
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    overflow: visible;
    border: 2px solid rgb(187 242 255 / 68%);
    background: linear-gradient(145deg, #178cff, #075bd4);
    box-shadow: 0 20px 46px rgb(0 65 155 / 45%), 0 0 0 7px rgb(99 230 255 / 10%);
    color: #ffffff;
    animation: launcher-pulse 2.6s ease-in-out infinite;
}

body.ai-landing-page .sds-webchat .chat-launcher::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -11px;
    border: 1px solid rgb(99 230 255 / 30%);
    border-radius: inherit;
}

body.ai-landing-page .sds-webchat .chat-launcher::after {
    content: "Chat with Awani";
    position: absolute;
    right: calc(100% + 14px);
    border: 1px solid rgb(148 181 218 / 18%);
    border-radius: 999px;
    background: rgb(7 17 31 / 88%);
    box-shadow: 0 12px 32px rgb(0 0 0 / 30%);
    color: #eaf7ff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    padding: 11px 14px;
    white-space: nowrap;
    backdrop-filter: blur(12px);
}

body.ai-landing-page .sds-webchat .chat-launcher:hover {
    border-color: #c8f5ff;
    background: linear-gradient(145deg, #2c98ff, #1268e5);
    color: #ffffff;
    transform: translateY(-2px) scale(1.03);
}

body.ai-landing-page .sds-webchat .chat-launcher-icon {
    width: 31px;
    height: 31px;
}

@keyframes thinking-dot {
    0%,
    60%,
    100% {
        opacity: .35;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

@keyframes launcher-pulse {
    0%,
    100% {
        box-shadow: 0 20px 46px rgb(0 65 155 / 45%), 0 0 0 7px rgb(99 230 255 / 10%);
    }

    50% {
        box-shadow: 0 22px 52px rgb(0 65 155 / 50%), 0 0 0 13px rgb(99 230 255 / 5%);
    }
}

@media (max-width: 980px) {
    .site-header,
    .ai-landing {
        width: min(720px, calc(100% - 40px));
    }

    .ai-landing {
        grid-template-columns: 1fr;
        gap: 52px;
        padding-top: 56px;
        padding-bottom: 140px;
    }

    .hero-copy {
        text-align: center;
    }

    .eyebrow,
    .hero-actions,
    .capability-list {
        justify-content: center;
    }

    .hero-lead {
        margin-right: auto;
        margin-left: auto;
    }

    .ai-preview {
        width: min(500px, 100%);
        margin: 0 auto;
        transform: none;
    }
}

@media (max-width: 600px) {
    .site-header,
    .ai-landing {
        width: min(100% - 30px, 520px);
    }

    .site-header {
        min-height: 76px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .brand-copy small {
        font-size: 9px;
    }

    .online-status {
        width: 36px;
        height: 36px;
        justify-content: center;
        gap: 0;
        overflow: hidden;
        font-size: 0;
        padding: 0;
    }

    .ai-landing {
        gap: 42px;
        padding-top: 43px;
        padding-bottom: 132px;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: .09em;
    }

    h1 {
        font-size: clamp(39px, 11.8vw, 54px);
        line-height: 1.01;
    }

    .hero-lead {
        margin-top: 21px;
        font-size: 15px;
        line-height: 1.58;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
        margin-top: 27px;
    }

    .primary-action {
        width: min(100%, 310px);
    }

    .capability-list {
        margin-top: 27px;
    }

    .capability-list li {
        font-size: 10px;
    }

    .ai-preview {
        border-radius: 21px;
    }

    .preview-header {
        min-height: 70px;
        padding: 13px 15px;
    }

    .preview-conversation {
        min-height: 300px;
        padding: 24px 16px;
    }

    .preview-message {
        max-width: 91%;
    }

    .preview-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    body.ai-landing-page .sds-webchat .chat-launcher {
        width: 62px;
        height: 62px;
        min-width: 62px;
        min-height: 62px;
    }

    body.ai-landing-page .sds-webchat .chat-launcher::after {
        content: "Chat now";
        right: calc(100% + 10px);
        font-size: 11px;
        padding: 10px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .thinking-row > span,
    body.ai-landing-page .sds-webchat .chat-launcher {
        animation: none;
    }

    .primary-action,
    body.ai-landing-page .sds-webchat .chat-launcher {
        transition: none;
    }
}
