html {
    scroll-behavior: smooth;
}

.landing-page {
    position: relative;
    padding-top: 92px;
    padding-bottom: 96px;
    background: #000000;
    color: #f5f7ff;
    overflow: hidden;
    --mouse-x: 50%;
    --mouse-y: 18%;
}

.landing-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 76%, rgba(199, 176, 255, 0.38), transparent 20%),
        radial-gradient(circle at 42% 88%, rgba(167, 122, 255, 0.34), transparent 26%),
        radial-gradient(circle at 92% 8%, rgba(126, 99, 214, 0.14), transparent 18%);
    filter: blur(28px);
    opacity: 0.92;
    pointer-events: none;
}

.landing-page::after {
    content: "";
    position: absolute;
    inset: -12% -6% auto;
    height: 68%;
    background:
        linear-gradient(115deg, rgba(0, 0, 0, 0) 16%, rgba(164, 137, 232, 0.12) 36%, rgba(143, 111, 224, 0.14) 50%, rgba(214, 200, 255, 0.08) 66%, rgba(0, 0, 0, 0) 82%),
        linear-gradient(255deg, rgba(0, 0, 0, 0) 24%, rgba(91, 71, 166, 0.12) 46%, rgba(171, 151, 235, 0.08) 60%, rgba(0, 0, 0, 0) 76%);
    filter: blur(54px);
    opacity: 0.74;
    pointer-events: none;
    z-index: 0;
}

.landing-page .subtitle,
.landing-page p,
.landing-page .card-kicker,
.landing-page .step-index,
.landing-page .panel-label,
.landing-page .column-title,
.landing-page .hero-metrics span,
.landing-page .capability-card p,
.landing-page .workflow-step p {
    color: rgba(230, 236, 255, 0.74);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #f8fbff;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.landing-hero {
    position: relative;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 36px;
}

.landing-dot-grid {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.36;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

.landing-dot-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.landing-ribbon {
    position: absolute;
    width: 62vw;
    height: 300px;
    border-radius: 999px;
    filter: blur(42px);
    opacity: 0.9;
    pointer-events: none;
    animation: ribbonFloat 16s ease-in-out infinite alternate;
    z-index: 0;
}

.landing-ribbon-left {
    left: -18vw;
    top: 10%;
    transform: rotate(14deg);
    background: linear-gradient(90deg, rgba(32, 24, 70, 0.04), rgba(164, 141, 233, 0.34), rgba(205, 190, 255, 0.28), rgba(12, 10, 28, 0.01));
    animation-delay: -4s;
}

.landing-ribbon-right {
    right: -22vw;
    top: 36%;
    transform: rotate(-12deg);
    background: linear-gradient(90deg, rgba(14, 10, 30, 0.01), rgba(124, 96, 208, 0.22), rgba(176, 152, 239, 0.3), rgba(214, 202, 255, 0.24));
}

.landing-mouse-glow {
    position: absolute;
    width: 460px;
    height: 460px;
    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 18%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205, 186, 255, 0.18), rgba(158, 122, 236, 0.14) 34%, rgba(18, 12, 36, 0) 74%);
    filter: blur(28px);
    pointer-events: none;
    z-index: 0;
}

@keyframes heroPanelNeonOrbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes ribbonFloat {
    0% {
        transform: translate3d(0, 0, 0) rotate(var(--ribbon-rotate, 0deg)) scale(1);
    }
    50% {
        transform: translate3d(6vw, -3vh, 0) rotate(calc(var(--ribbon-rotate, 0deg) + 4deg)) scale(1.04);
    }
    100% {
        transform: translate3d(-4vw, 4vh, 0) rotate(calc(var(--ribbon-rotate, 0deg) - 3deg)) scale(0.98);
    }
}

.hero-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    place-items: center;
    padding: 40px 0 60px;
}

.hero-copy-centered {
    width: min(920px, 100%);
    text-align: center;
}

.hero-copy h1 {
    max-width: 13ch;
    margin: 18px auto 14px;
    font-size: clamp(2.55rem, 5.2vw, 4.35rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    color: #ffffff;
}

.hero-copy h1 span {
    display: block;
}

.hero-copy h1 span + span {
    margin-top: 0.08em;
}

.hero-copy .subtitle {
    max-width: 620px;
    margin: 0 auto 22px;
    font-size: 1rem;
    line-height: 1.68;
}

.hero-panel-centered {
    max-width: 710px;
    margin: 0 auto 26px;
}

.hero-panel-card,
.capability-card,
.workflow-step,
.cta-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.hero-panel-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-panel-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: conic-gradient(
        from 0deg,
        rgba(255, 255, 255, 0) 0deg,
        rgba(147, 113, 216, 0.0) 38deg,
        rgba(214, 200, 255, 0.95) 96deg,
        rgba(110, 37, 255, 0.82) 136deg,
        rgba(255, 255, 255, 0) 180deg,
        rgba(255, 255, 255, 0) 360deg
    );
    opacity: 0;
    filter: blur(10px);
    transform: rotate(0deg);
    transition: opacity 0.24s ease;
    z-index: -2;
}

.hero-panel-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: calc(28px - 1px);
    background:
        linear-gradient(180deg, rgba(18, 22, 34, 0.92), rgba(20, 24, 40, 0.88)),
        rgba(8, 10, 18, 0.82);
    z-index: -1;
}

.hero-panel-card:hover::before {
    opacity: 1;
    animation: heroPanelNeonOrbit 2.8s linear infinite;
}

.hero-panel-card:hover {
    border-color: rgba(190, 170, 255, 0.32);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.34), 0 0 26px rgba(147, 113, 216, 0.18);
}

.prompt-card {
    padding: 22px;
    border-radius: 28px;
    background: transparent;
    backdrop-filter: blur(18px);
}

.prompt-card > * {
    position: relative;
    z-index: 1;
}

.prompt-head {
    text-align: left;
    font-size: 1.05rem;
    color: rgba(240, 244, 255, 0.84);
    margin-bottom: 18px;
}

.prompt-body {
    min-height: 120px;
    border-radius: 22px;
    background: radial-gradient(circle at 20% 30%, rgba(137, 146, 255, 0.24), transparent 36%), rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 18px;
}

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

.prompt-suggestions span,
.prompt-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(240, 244, 255, 0.8);
    font-size: 13px;
    font-weight: 700;
}

.prompt-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-top: 16px;
    flex-wrap: wrap;
}

.prompt-modes,
.prompt-actions,
.hero-actions,
.signal-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.prompt-chip.active {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.btn-large {
    min-height: 50px;
    padding: 0 22px;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f5f8ff;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.hero-metrics div {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}

.hero-metrics strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
}

.signal-band {
    padding: 28px 0 54px;
}

.signal-band-content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 24px 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-pills span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f2f6ff;
    font-size: 13px;
}

.capabilities-section,
.workflow-section,
.cta-section {
    padding-top: 28px;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 28px;
}

.section-heading h2 {
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
    margin-top: 12px;
    color: #ffffff;
}

.capabilities-grid,
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.capability-card,
.workflow-step {
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}

.capability-card h3,
.workflow-step h3 {
    font-size: 24px;
    line-height: 1.08;
    margin: 14px 0 10px;
    color: #ffffff;
}

.cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 32px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(134, 112, 255, 0.1));
}

.cta-card h2 {
    margin-top: 10px;
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
    max-width: 14ch;
    color: #ffffff;
}


.landing-ribbon-left {
    --ribbon-rotate: 18deg;
}

.landing-ribbon-right {
    --ribbon-rotate: -16deg;
}

@media (max-width: 1100px) {
    .landing-page {
        padding-top: 86px;
        padding-bottom: 80px;
    }

    .landing-hero {
        min-height: auto;
        padding: 36px 0 10px;
    }

    .hero-grid {
        padding: 24px 0 40px;
    }

    .hero-copy-centered,
    .section-heading {
        max-width: 100%;
    }

    .hero-copy h1 {
        max-width: 12ch;
        font-size: clamp(2.35rem, 5vw, 3.7rem);
    }

    .hero-copy .subtitle {
        max-width: 680px;
        font-size: 1.18rem;
    }

    .hero-metrics,
    .signal-band-content,
    .capabilities-grid,
    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 820px) {
    .landing-page {
        padding-top: 78px;
        padding-bottom: 64px;
    }

    .landing-hero {
        padding: 28px 0 6px;
        border-radius: 26px;
    }

    .hero-grid {
        padding: 18px 0 28px;
    }

    .hero-copy h1 {
        margin: 12px auto 10px;
        font-size: clamp(1.95rem, 7.4vw, 2.75rem);
        letter-spacing: -0.06em;
        max-width: none;
    }

    .hero-copy .subtitle {
        margin-bottom: 16px;
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .hero-panel-centered {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .prompt-card,
    .signal-band-content,
    .capability-card,
    .workflow-step,
    .cta-card {
        padding: 22px;
        border-radius: 22px;
    }

    .section-heading h2,
    .cta-card h2 {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .landing-ribbon {
        width: 92vw;
        height: 170px;
        filter: blur(34px);
    }
}

@media (max-width: 640px) {
    .landing-page {
        padding-top: 72px;
        padding-bottom: 52px;
    }

    .landing-page::before {
        background:
            radial-gradient(circle at 8% 78%, rgba(199, 176, 255, 0.28), transparent 24%),
            radial-gradient(circle at 88% 10%, rgba(126, 99, 214, 0.12), transparent 20%);
        filter: blur(24px);
    }

    .landing-page::after,
    .landing-ribbon-right {
        display: none;
    }

    .landing-ribbon-left {
        width: 84vw;
        height: 132px;
        left: -16vw;
        top: 14%;
        filter: blur(30px);
        opacity: 0.72;
    }

    .landing-mouse-glow {
        width: 300px;
        height: 300px;
        filter: blur(24px);
    }

    .hero-grid {
        padding: 12px 0 20px;
    }

    .hero-copy-centered {
        width: min(100%, 560px);
    }

    .eyebrow,
    .prompt-suggestions span,
    .prompt-chip,
    .signal-pills span {
        font-size: 11px;
    }

    .hero-copy h1 {
        max-width: 11ch;
        margin: 10px auto 10px;
        font-size: clamp(1.95rem, 8vw, 2.5rem);
        line-height: 1.01;
    }

    .hero-copy .subtitle {
        max-width: 34ch;
        margin-bottom: 16px;
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .hero-panel-centered {
        margin-bottom: 16px;
    }

    .prompt-card,
    .signal-band-content,
    .capability-card,
    .workflow-step,
    .cta-card,
    .hero-metrics div {
        padding: 16px;
        border-radius: 18px;
    }

    .prompt-head {
        font-size: 0.96rem;
        margin-bottom: 14px;
    }

    .prompt-body {
        min-height: 96px;
        padding: 14px;
        border-radius: 18px;
    }

    .prompt-footer,
    .prompt-actions,
    .prompt-modes,
    .hero-actions,
    .signal-pills {
        flex-direction: column;
        align-items: stretch;
    }

    .prompt-actions .btn,
    .cta-card .btn,
    .prompt-modes .prompt-chip {
        width: 100%;
    }

    .prompt-suggestions {
        gap: 8px;
    }

    .prompt-suggestions span,
    .prompt-chip,
    .signal-pills span {
        min-height: 34px;
        padding: 0 12px;
    }

    .btn-large,
    .prompt-actions .btn,
    .cta-card .btn {
        min-height: 46px;
        padding: 0 18px;
    }

    .hero-metrics {
        gap: 10px;
        margin-top: 12px;
    }

    .hero-metrics strong,
    .capability-card h3,
    .workflow-step h3 {
        font-size: 18px;
    }

    .signal-band {
        padding: 14px 0 34px;
    }

    .signal-band-content,
    .capabilities-grid,
    .workflow-grid,
    .cta-card {
        gap: 14px;
    }

    .section-heading {
        margin-bottom: 20px;
    }

    .section-heading h2,
    .cta-card h2 {
        font-size: clamp(1.45rem, 7vw, 2.1rem);
        line-height: 1.08;
    }
}

@media (max-width: 480px) {
    .landing-page {
        padding-top: 66px;
        padding-bottom: 46px;
    }

    .landing-hero {
        border-radius: 18px;
        padding: 20px 0 4px;
    }

    .container {
        width: min(100%, calc(100% - 24px));
    }

    .hero-grid {
        padding: 8px 0 16px;
    }

    .hero-copy h1 {
        max-width: 10.5ch;
        font-size: clamp(1.7rem, 8.2vw, 2.15rem);
    }

    .hero-copy h1 span + span {
        margin-top: 0.12em;
    }

    .hero-copy .subtitle {
        max-width: 30ch;
        font-size: 0.82rem;
    }

    .eyebrow {
        padding: 5px 10px;
    }

    .prompt-card,
    .signal-band-content,
    .capability-card,
    .workflow-step,
    .cta-card,
    .hero-metrics div {
        padding: 14px;
        border-radius: 16px;
    }

    .prompt-head {
        font-size: 0.9rem;
    }

    .prompt-body {
        min-height: 82px;
        padding: 12px;
    }

    .hero-metrics strong,
    .capability-card h3,
    .workflow-step h3 {
        font-size: 17px;
    }

    .hero-metrics span,
    .capability-card p,
    .workflow-step p,
    .signal-band-content p {
        font-size: 0.86rem;
        line-height: 1.58;
    }

    .signal-pills span,
    .prompt-suggestions span,
    .prompt-chip,
    .footer-badges span {
        font-size: 10px;
    }
}
