:root {
    --bg-dark: #07111f;
    --bg-dark-2: #091a31;
    --text: #f4f7ff;
    --muted: #afbbd6;
    --primary: #6f5cff;
    --primary-2: #39a6ff;
    --surface: #ffffff;
    --surface-soft: #f4f7ff;
    --shadow: 0 30px 70px rgba(10, 22, 50, 0.18);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: #13203b;
    background:
        radial-gradient(circle at top left, rgba(111, 92, 255, 0.16), transparent 24%),
        radial-gradient(circle at right 20%, rgba(57, 166, 255, 0.13), transparent 28%),
        linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
}

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

img,
svg {
    display: block;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(111, 92, 255, 0.22), transparent 22%),
        radial-gradient(circle at 82% 22%, rgba(57, 166, 255, 0.22), transparent 20%),
        linear-gradient(135deg, var(--bg-dark) 0%, #06152a 45%, var(--bg-dark-2) 100%);
    color: var(--text);
}

.hero-shell::before,
.hero-shell::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(12px);
    opacity: 0.6;
}

.hero-shell::before {
    width: 360px;
    height: 360px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(57, 166, 255, 0.3) 0%, rgba(57, 166, 255, 0) 68%);
}

.hero-shell::after {
    width: 320px;
    height: 320px;
    left: -120px;
    bottom: 20px;
    background: radial-gradient(circle, rgba(111, 92, 255, 0.24) 0%, rgba(111, 92, 255, 0) 70%);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(5, 12, 24, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand-footer {
    color: #ffffff;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(57, 166, 255, 0.14), rgba(111, 92, 255, 0.24));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 30px rgba(20, 55, 105, 0.4);
}

.brand-mark svg {
    width: 25px;
    height: 25px;
    stroke: #73ccff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.97rem;
    color: rgba(244, 247, 255, 0.88);
}

.nav-links a {
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font: inherit;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #8a55ff);
    box-shadow: 0 18px 35px rgba(111, 92, 255, 0.34);
}

.button-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.02);
}

.cta-outline {
    border-color: rgba(255, 255, 255, 0.36);
}

.hero {
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: 24px;
    padding: 54px 0 78px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #b8c5df;
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.92rem;
    font-weight: 600;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c6cff, #39a6ff);
    box-shadow: 0 0 18px rgba(57, 166, 255, 0.95);
}

.hero-copy h1 {
    margin: 22px 0 18px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.8rem, 5vw, 5.05rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    max-width: 11ch;
}

.hero-copy h1 span {
    background: linear-gradient(135deg, #b9a7ff 0%, #7e6dff 45%, #39a6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p {
    max-width: 580px;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: #d2ddf6;
    font-size: 0.95rem;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-points svg {
    width: 18px;
    height: 18px;
    stroke: #73ccff;
}

.hero-visual {
    position: relative;
    min-height: 580px;
    display: grid;
    place-items: center;
}

.visual-orb {
    position: absolute;
    inset: 8% 10% auto auto;
    width: min(560px, 100%);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(45, 163, 255, 0.18), rgba(45, 163, 255, 0) 46%),
        radial-gradient(circle at 50% 50%, rgba(121, 91, 255, 0.16), rgba(121, 91, 255, 0) 68%);
    filter: blur(2px);
}

.ai-portrait {
    position: relative;
    width: min(100%, 560px);
    aspect-ratio: 0.96 / 1;
    border-radius: 44% 56% 53% 47% / 40% 42% 58% 60%;
    overflow: hidden;
    background:
        radial-gradient(circle at 35% 20%, rgba(122, 235, 255, 0.22), rgba(122, 235, 255, 0) 26%),
        radial-gradient(circle at 50% 55%, rgba(43, 109, 255, 0.14), rgba(43, 109, 255, 0) 54%),
        linear-gradient(160deg, rgba(4, 20, 43, 0.85), rgba(11, 40, 82, 0.68));
    border: 1px solid rgba(95, 171, 255, 0.28);
    box-shadow: inset 0 0 60px rgba(80, 138, 255, 0.16), 0 40px 85px rgba(0, 0, 0, 0.38);
}

.ai-portrait::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, rgba(90, 192, 255, 0.16) 0 2px, transparent 2px 24px),
        repeating-linear-gradient(180deg, rgba(90, 192, 255, 0.07) 0 1px, transparent 1px 26px);
    mix-blend-mode: screen;
    opacity: 0.42;
}

.ai-portrait::after {
    content: "AI";
    position: absolute;
    top: 18%;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    color: #dbf5ff;
    text-shadow: 0 0 24px rgba(99, 204, 255, 0.95);
}

.profile-shape {
    position: absolute;
    inset: 8% 18% 8% 18%;
    background:
        radial-gradient(circle at 55% 20%, rgba(85, 177, 255, 0.9), rgba(85, 177, 255, 0.06) 28%, transparent 34%),
        linear-gradient(180deg, rgba(160, 219, 255, 0.97), rgba(114, 165, 255, 0.18));
    clip-path: polygon(59% 7%, 68% 8%, 77% 13%, 84% 19%, 88% 28%, 89% 39%, 86% 47%, 82% 53%, 77% 59%, 71% 63%, 68% 68%, 67% 74%, 66% 83%, 63% 92%, 54% 98%, 47% 97%, 45% 89%, 42% 78%, 41% 64%, 38% 58%, 33% 55%, 28% 53%, 25% 48%, 23% 43%, 24% 36%, 28% 31%, 33% 28%, 37% 24%, 41% 19%, 45% 13%, 50% 9%);
    filter: drop-shadow(0 0 28px rgba(117, 210, 255, 0.58));
    opacity: 0.95;
}

.profile-wire {
    position: absolute;
    inset: 0;
}

.profile-wire svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid svg {
    width: 100%;
    height: 100%;
    opacity: 0.95;
}

main {
    margin-top: -34px;
    position: relative;
    z-index: 2;
}

.section-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
}

.stack {
    display: grid;
    gap: 28px;
}

.section-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(124, 140, 182, 0.16);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    padding: 34px;
}

.section-header {
    margin-bottom: 24px;
}

.section-header.compact {
    margin-bottom: 0;
}

.section-header.compact h2 {
    font-size: 2rem;
}

.section-label {
    display: inline-block;
    margin-bottom: 8px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6357ff;
}

.section-header h2,
.assistant-card h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #14203b;
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.section-header p,
.assistant-card p {
    margin: 12px 0 0;
    color: #5a6b8a;
    line-height: 1.75;
}

.benefits-grid,
.services-grid {
    display: grid;
    gap: 18px;
}

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

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

.info-card {
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.92));
    border: 1px solid rgba(118, 131, 183, 0.14);
    box-shadow: 0 16px 34px rgba(20, 37, 74, 0.08);
}

.icon-badge {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(111, 92, 255, 0.18), rgba(57, 166, 255, 0.1));
    color: #655aff;
    box-shadow: inset 0 0 0 1px rgba(111, 92, 255, 0.1);
}

.icon-badge svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.info-card h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    color: #182443;
}

.info-card p {
    margin: 0;
    color: #61718e;
    line-height: 1.7;
    font-size: 0.96rem;
}

.info-card a {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6154ff;
    font-weight: 700;
}

.sidebar-form {
    position: sticky;
    top: 106px;
}

.form-card form {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.form-alert {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 0.92rem;
    line-height: 1.6;
}

.form-alert-success {
    color: #0f5132;
    background: rgba(25, 135, 84, 0.12);
    border: 1px solid rgba(25, 135, 84, 0.18);
}

.form-alert-error {
    color: #842029;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.16);
}

.field-help {
    margin: -6px 0 0;
    color: #b42318;
    font-size: 0.92rem;
    line-height: 1.5;
}

.field {
    width: 100%;
    min-height: 54px;
    border-radius: 16px;
    border: 1px solid rgba(108, 125, 173, 0.2);
    background: #fff;
    padding: 0 16px;
    font: inherit;
    color: #182443;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea.field {
    min-height: 122px;
    padding: 16px;
    resize: vertical;
}

.field-error {
    border-color: rgba(220, 53, 69, 0.6);
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.08);
}

.field:focus,
.chat-input:focus {
    border-color: rgba(111, 92, 255, 0.6);
    box-shadow: 0 0 0 4px rgba(111, 92, 255, 0.12);
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #61718e;
    font-size: 0.92rem;
    line-height: 1.55;
}

.check-row input {
    margin-top: 3px;
}

.check-row-error {
    color: #842029;
}

.success-band,
.faq-layout,
.footer-grid {
    display: grid;
    gap: 22px;
}

.success-band {
    grid-template-columns: 0.85fr 1.15fr;
}

.faq-layout {
    grid-template-columns: 1fr 340px;
}

.footer-grid {
    grid-template-columns: 1.15fr repeat(4, 1fr);
}

.metric-card,
.testimonial-card,
.logos-card {
    border-radius: 24px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.9));
    border: 1px solid rgba(118, 131, 183, 0.14);
}

.metric-card {
    display: grid;
    gap: 20px;
    align-content: start;
}

.metric strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    color: #5e54ff;
    letter-spacing: -0.05em;
}

.metric span {
    display: block;
    color: #61718e;
    line-height: 1.6;
}

.logos-card {
    display: grid;
    gap: 18px;
}

.logo-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.logo-chip {
    min-height: 84px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    border: 1px solid rgba(118, 131, 183, 0.14);
    background: rgba(248, 250, 255, 0.92);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: #223156;
    text-align: center;
}

.faq-list {
    display: grid;
    gap: 14px;
}

details {
    border-radius: 18px;
    background: rgba(248, 250, 255, 0.96);
    border: 1px solid rgba(118, 131, 183, 0.14);
    overflow: hidden;
}

summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 700;
    color: #182443;
    position: relative;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #6154ff;
    font-size: 1.35rem;
}

details[open] summary::after {
    content: "-";
}

.faq-body {
    padding: 0 22px 20px;
    color: #61718e;
    line-height: 1.7;
}

.assistant-card {
    padding: 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
    border: 1px solid rgba(118, 131, 183, 0.14);
    display: grid;
    gap: 18px;
    align-content: start;
}

.assistant-card .visual {
    min-height: 170px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(111, 92, 255, 0.25), transparent 42%),
        linear-gradient(135deg, #dce6ff 0%, #f7f9ff 100%);
    position: relative;
    overflow: hidden;
}

.assistant-card .visual::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 26px;
    background: linear-gradient(135deg, #5f55ff, #39a6ff);
    left: 28px;
    bottom: 22px;
    box-shadow: 0 20px 40px rgba(95, 85, 255, 0.28);
}

.assistant-card .visual::after {
    content: "";
    position: absolute;
    right: 28px;
    top: 30px;
    width: 128px;
    height: 86px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 18px 36px rgba(20, 37, 74, 0.1);
}

.cta-banner {
    margin: 28px 0 34px;
    padding: 30px 34px;
    border-radius: 30px;
    background:
        radial-gradient(circle at left center, rgba(255, 255, 255, 0.16), transparent 20%),
        linear-gradient(135deg, #5f55ff 0%, #395cff 45%, #2aa7ff 100%);
    color: #fff;
    box-shadow: 0 28px 55px rgba(51, 89, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cta-banner h3 {
    margin: 0 0 8px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -0.04em;
}

.cta-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.footer {
    padding: 38px 0 30px;
    background: linear-gradient(180deg, #07111f 0%, #050d18 100%);
    color: #d8e1f7;
}

.footer h4 {
    margin: 0 0 16px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    color: #ffffff;
}

.footer p,
.footer a {
    color: #aab7d1;
    line-height: 1.8;
    font-size: 0.96rem;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-intro {
    margin-top: 16px;
    max-width: 280px;
}

.footer-bottom {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #8f9fbd;
    font-size: 0.92rem;
    text-align: center;
}

.chat-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 30;
    width: min(380px, calc(100vw - 24px));
}

.chat-toggle {
    width: 100%;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #101d36, #0a1330);
    color: #ffffff;
    padding: 18px 20px;
    box-shadow: 0 22px 44px rgba(6, 20, 45, 0.35);
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}

.chat-toggle strong,
.chat-header strong {
    display: block;
    font-size: 1rem;
}

.chat-toggle small,
.chat-header small {
    color: #b8c5df;
}

.chat-toggle-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #6f5cff, #39a6ff);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.chat-panel {
    margin-top: 14px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 60px rgba(12, 26, 54, 0.22);
    border: 1px solid rgba(118, 131, 183, 0.16);
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #101d36, #0a1330);
}

.chat-close {
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
}

.chat-messages {
    max-height: 340px;
    overflow-y: auto;
    padding: 18px;
    display: grid;
    gap: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.message {
    display: flex;
}

.message p {
    margin: 0;
    padding: 12px 14px;
    border-radius: 18px;
    max-width: 88%;
    line-height: 1.6;
    font-size: 0.95rem;
}

.message.assistant p {
    color: #203050;
    background: #ffffff;
    border: 1px solid rgba(118, 131, 183, 0.14);
}

.message.user {
    justify-content: flex-end;
}

.message.user p {
    color: #ffffff;
    background: linear-gradient(135deg, #6f5cff, #5d84ff);
}

.chat-prompts {
    padding: 0 18px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
}

.prompt-chip {
    border: 1px solid rgba(111, 92, 255, 0.18);
    background: rgba(111, 92, 255, 0.08);
    color: #5144ee;
    border-radius: 999px;
    padding: 9px 12px;
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
}

.chat-form {
    display: flex;
    gap: 10px;
    padding: 16px 18px 18px;
    background: #ffffff;
}

.chat-input {
    flex: 1;
    min-height: 50px;
    border-radius: 15px;
    border: 1px solid rgba(108, 125, 173, 0.2);
    padding: 0 14px;
    outline: none;
    font: inherit;
}

.chat-send {
    min-width: 92px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary), #8a55ff);
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .nav-links {
        display: none;
    }

    .hero,
    .section-grid,
    .success-band,
    .faq-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 40px;
    }

    .hero-visual {
        min-height: 460px;
    }

    .sidebar-form {
        position: static;
    }

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

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

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

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

@media (max-width: 720px) {
    .container {
        width: min(calc(100% - 22px), var(--container));
    }

    .hero-copy h1 {
        font-size: clamp(2.5rem, 13vw, 3.6rem);
    }

    .section-card {
        padding: 24px;
    }

    .benefits-grid,
    .logo-row {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .brand span {
        font-size: 1.2rem;
    }

    .hero-visual {
        min-height: 360px;
    }

    .chat-widget {
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
    }

    .chat-form {
        flex-direction: column;
    }

    .chat-send {
        min-height: 50px;
    }
}
