:root {
    --gexyral-home-bg: #06101f;
    --gexyral-home-bg-deep: #030811;
    --gexyral-home-cyan: #37d7ff;
    --gexyral-home-blue: #3e79ff;
    --gexyral-home-violet: #8f6cff;
    --gexyral-home-muted: #9baec4;
    --gexyral-home-line: rgba(139, 190, 255, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.gexyral-home {
    margin: 0;
    color: var(--gexyral-color-light, #fff);
    background: var(--gexyral-home-bg-deep);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.gexyral-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gexyral-hero {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 46%, rgba(33, 105, 218, .18), transparent 30%),
        linear-gradient(135deg, #071426 0%, var(--gexyral-home-bg-deep) 56%, #07101d 100%);
}

.gexyral-hero::before {
    position: absolute;
    inset: 0;
    z-index: -3;
    content: "";
    opacity: .55;
    background-image:
        linear-gradient(rgba(95, 151, 220, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 151, 220, .055) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.gexyral-hero__visual,
.gexyral-hero__grid,
.gexyral-hero__beam,
.gexyral-hero__orb { position: absolute; pointer-events: none; }
.gexyral-hero__visual { inset: 0; z-index: -2; }
.gexyral-hero__grid {
    right: -11vw;
    bottom: -28vh;
    width: 76vw;
    height: 78vh;
    opacity: .42;
    border: 1px solid var(--gexyral-home-line);
    border-radius: 50%;
    transform: perspective(620px) rotateX(67deg) rotateZ(-12deg);
    background-image:
        linear-gradient(rgba(73, 162, 255, .2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(73, 162, 255, .2) 1px, transparent 1px);
    background-size: 42px 42px;
    box-shadow: 0 0 90px rgba(31, 118, 255, .12);
}
.gexyral-hero__beam {
    top: 14%;
    right: 12%;
    width: 36vw;
    height: 1px;
    opacity: .75;
    transform: rotate(-18deg);
    background: linear-gradient(90deg, transparent, var(--gexyral-home-cyan), transparent);
    box-shadow: 0 0 20px var(--gexyral-home-cyan);
}
.gexyral-hero__orb { border-radius: 50%; filter: blur(2px); }
.gexyral-hero__orb--one {
    top: 17%; right: 24%; width: 310px; height: 310px;
    opacity: .3;
    background: radial-gradient(circle at 40% 38%, rgba(73, 220, 255, .85), rgba(50, 93, 255, .16) 42%, transparent 70%);
    animation: gexyral-float 8s ease-in-out infinite;
}
.gexyral-hero__orb--two {
    right: 2%; bottom: 8%; width: 190px; height: 190px;
    opacity: .22;
    background: radial-gradient(circle, rgba(137, 81, 255, .9), transparent 68%);
    animation: gexyral-float 11s ease-in-out infinite reverse;
}

.gexyral-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .82fr);
    gap: clamp(48px, 6vw, 104px);
    align-items: center;
    min-height: 100svh;
    padding-top: 148px;
    padding-bottom: 72px;
}
.gexyral-hero__content { max-width: 760px; }
.gexyral-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 24px;
    color: #8bdfff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .19em;
}
.gexyral-hero__signal {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--gexyral-home-cyan);
    box-shadow: 0 0 0 6px rgba(55, 215, 255, .1), 0 0 17px var(--gexyral-home-cyan);
}
.gexyral-hero__title {
    margin: 0;
    max-width: 790px;
    color: #f7fbff;
    font-size: clamp(40px, 4.45vw, 70px);
    font-weight: 650;
    line-height: 1.16;
    letter-spacing: -.052em;
}
.gexyral-hero__title span {
    display: inline-block;
    color: transparent;
    background: linear-gradient(98deg, #eefaff 3%, #65dcff 43%, #7893ff 75%, #a985ff);
    background-clip: text;
    -webkit-background-clip: text;
}
.gexyral-hero__lead {
    max-width: 650px;
    margin: 27px 0 0;
    color: var(--gexyral-home-muted);
    font-size: 17px;
    line-height: 1.85;
}
.gexyral-hero__actions { display: flex; gap: 14px; margin-top: 36px; }
.gexyral-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin: 44px 0 0;
    padding: 0;
    color: #aabbd0;
    font-size: 13px;
    list-style: none;
}
.gexyral-hero__proof li { display: flex; align-items: center; gap: 9px; }
.gexyral-hero__proof span { color: #4bd8ff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }

.gexyral-ai-console {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(137, 190, 255, .24);
    border-radius: 24px;
    background: linear-gradient(155deg, rgba(15, 36, 65, .8), rgba(5, 15, 29, .76));
    box-shadow: 0 42px 110px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .045);
    backdrop-filter: blur(22px);
}
.gexyral-ai-console::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: radial-gradient(circle at 90% 0, rgba(55, 183, 255, .15), transparent 34%);
}
.gexyral-ai-console__topbar,
.gexyral-ai-console__footer {
    display: flex;
    align-items: center;
    color: #7790aa;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9px;
    letter-spacing: .13em;
}
.gexyral-ai-console__topbar {
    justify-content: space-between;
    min-height: 48px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(143, 191, 246, .13);
}
.gexyral-ai-console__topbar div { display: flex; align-items: center; gap: 8px; color: #9bb2c9; }
.gexyral-ai-console__status {
    width: 6px; height: 6px; border-radius: 50%;
    background: #43e6ad;
    box-shadow: 0 0 10px #43e6ad;
}
.gexyral-ai-console__body { padding: clamp(24px, 3vw, 38px); }
.gexyral-ai-console__label { margin: 0 0 17px; color: #d9e9f8; font-size: 15px; font-weight: 600; }
.gexyral-ai-console textarea {
    display: block;
    width: 100%;
    min-height: 126px;
    resize: vertical;
    border: 1px solid rgba(127, 180, 240, .2);
    border-radius: 15px;
    outline: 0;
    padding: 17px 18px;
    color: #e9f5ff;
    background: rgba(1, 9, 20, .58);
    font: inherit;
    font-size: 14px;
    line-height: 1.7;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.gexyral-ai-console textarea::placeholder { color: #60768e; }
.gexyral-ai-console textarea:focus { border-color: rgba(55, 215, 255, .58); box-shadow: 0 0 0 4px rgba(55, 215, 255, .07); }
.gexyral-ai-console__modes { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 13px; }
.gexyral-ai-console__mode {
    min-height: 39px;
    border: 1px solid rgba(126, 173, 227, .15);
    border-radius: 10px;
    color: #8ea5bd;
    background: rgba(19, 44, 73, .34);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: .2s ease;
}
.gexyral-ai-console__mode:hover,
.gexyral-ai-console__mode:focus-visible,
.gexyral-ai-console__mode.gexyral-is-active { color: #dff8ff; border-color: rgba(55, 215, 255, .44); background: rgba(28, 119, 163, .18); }
.gexyral-ai-console__submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.gexyral-ai-console__hint { margin: 0; color: #647b93; font-size: 10px; line-height: 1.55; }
.gexyral-ai-console__submit {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 15px;
    min-height: 43px;
    border: 0;
    border-radius: 12px;
    padding: 0 16px;
    color: #02101a;
    background: linear-gradient(110deg, #67e4ff, #7397ff);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(48, 173, 255, .2);
}
.gexyral-ai-console__feedback { min-height: 18px; margin: 12px 0 -8px; color: #75dbff; font-size: 11px; }
.gexyral-ai-console__footer { gap: 10px; padding: 14px 20px; border-top: 1px solid rgba(143, 191, 246, .1); }
.gexyral-ai-console__footer i { flex: 1; height: 1px; background: rgba(100, 157, 217, .16); }

@keyframes gexyral-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -22px, 0); } }

@media (max-width: 1050px) {
    .gexyral-hero__layout { grid-template-columns: 1fr; gap: 48px; padding-top: 150px; }
    .gexyral-hero__content { max-width: 850px; }
    .gexyral-ai-console { width: min(680px, 100%); }
    .gexyral-hero__grid { width: 110vw; }
}

@media (max-width: 720px) {
    .gexyral-hero::before { background-size: 44px 44px; }
    .gexyral-hero__layout { gap: 38px; padding-top: 116px; padding-bottom: 42px; }
    .gexyral-hero__eyebrow { margin-bottom: 18px; font-size: 10px; letter-spacing: .14em; }
    .gexyral-hero__title { font-size: clamp(35px, 10.4vw, 48px); line-height: 1.17; letter-spacing: -.045em; }
    .gexyral-hero__title br { display: none; }
    .gexyral-hero__lead { margin-top: 22px; font-size: 15px; line-height: 1.75; }
    .gexyral-hero__actions { flex-direction: column; align-items: stretch; margin-top: 29px; }
    .gexyral-hero__actions .gexyral-btn { justify-content: center; }
    .gexyral-hero__proof { display: grid; grid-template-columns: 1fr; gap: 11px; margin-top: 30px; }
    .gexyral-ai-console { border-radius: 18px; }
    .gexyral-ai-console__body { padding: 22px 17px; }
    .gexyral-ai-console__modes { grid-template-columns: 1fr 1fr; }
    .gexyral-ai-console__submit-row { align-items: flex-end; }
    .gexyral-ai-console__footer { padding-inline: 14px; }
}

@media (max-width: 390px) {
    .gexyral-ai-console__modes { grid-template-columns: 1fr; }
    .gexyral-ai-console__submit-row { display: block; }
    .gexyral-ai-console__submit { width: 100%; justify-content: space-between; margin-top: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .gexyral-hero__orb { animation: none; }
}
