:root {
    --background: #080a13;
    --foreground: #f7f8ff;
    --card: rgba(18, 22, 37, .68);
    --card-solid: #111727;
    --border: rgba(255, 255, 255, .1);
    --border-strong: rgba(145, 122, 255, .36);
    --muted: #9aa4b8;
    --primary: #7a5cff;
    --accent: #e9c46a;
    --success: #4dd6a6;
    --danger: #ff6f86;
    --page: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--background);
    color: var(--foreground);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 0;
    overflow-x: hidden;
}

body.auth-modal-open {
    overflow: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
    letter-spacing: 0;
}

button {
    cursor: pointer;
}

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

.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;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: 64px;
    padding: 0 max(20px, calc((100vw - var(--page)) / 2));
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(8, 10, 19, .72);
    backdrop-filter: blur(20px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    font-weight: 800;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 10px;
    background: rgba(122, 92, 255, .2);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 0 24px rgba(122, 92, 255, .28);
}

.brand-mark img,
.prompt-icon img,
.plan-badge img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-mark-platform img {
    width: 125%;
    height: 125%;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.brand strong {
    font-size: 18px;
    letter-spacing: 0;
}

.nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nav-center a {
    padding: 9px 16px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: color .18s ease, background .18s ease;
}

.nav-center a:hover,
.nav-center a:first-child {
    color: #fff;
    background: rgba(255, 255, 255, .05);
}

.nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-login,
.nav-register,
.workspace-link {
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid rgba(122, 92, 255, .55);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(122, 92, 255, .14);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    flex: 0 0 auto;
}

.nav-login {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .18);
    box-shadow: none;
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
}

.landing-user-menu {
    position: relative;
}

.landing-avatar-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(122, 92, 255, .18);
    color: #fff;
    font-weight: 900;
}

.landing-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1200;
    width: 220px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #111727;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
}

.landing-user-menu.open .landing-user-dropdown {
    display: block;
}

.landing-user-summary {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

.landing-user-summary strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.landing-user-summary span {
    color: var(--muted);
    font-size: 13px;
}

.landing-user-dropdown a,
.landing-user-dropdown button {
    width: 100%;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #d8def0;
    text-align: left;
    font-size: 14px;
}

.landing-user-dropdown a:hover,
.landing-user-dropdown button:hover {
    background: rgba(255, 255, 255, .06);
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(120px);
}

.hero-glow-left {
    width: 600px;
    height: 600px;
    top: -220px;
    left: -180px;
    background: rgba(122, 92, 255, .16);
}

.hero-glow-right {
    width: 500px;
    height: 500px;
    right: -170px;
    bottom: -160px;
    background: rgba(233, 196, 106, .1);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px), var(--page));
    min-height: calc(100vh - 64px);
    margin: 0 auto;
    padding: 80px 0 96px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
    align-items: center;
    gap: 64px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: 0;
}

.hero h1 span {
    display: block;
    color: var(--primary);
}

.hero-slogan {
    margin: 22px 0 0;
    color: rgba(233, 196, 106, .86);
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 800;
}

.hero-desc {
    max-width: 590px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}

.prompt-card {
    margin-top: 34px;
    max-width: 620px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 20px;
    background: rgba(18, 22, 37, .62);
    box-shadow: 0 20px 70px rgba(0, 0, 0, .22);
    backdrop-filter: blur(18px);
}

.prompt-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.prompt-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    color: var(--primary);
}

.prompt-icon img {
    width: 30px;
    height: 30px;
}

.prompt-field {
    flex: 1;
    min-width: 0;
}

.prompt-card textarea {
    width: 100%;
    min-height: 72px;
    resize: vertical;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0;
    padding: 10px 0 16px;
    background: transparent;
    color: #fff;
    outline: none;
}

.prompt-options {
    display: grid;
    grid-template-columns: 1.15fr .7fr .82fr .7fr 46px;
    gap: 10px;
    margin-top: 16px;
    align-items: end;
}

.prompt-options label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.prompt-options select {
    width: 100%;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    padding: 0 10px;
    background: rgba(8, 10, 19, .85);
    color: #fff;
    outline: none;
}

.prompt-submit {
    width: 46px;
    height: 40px;
    border: 1px solid rgba(122, 92, 255, .52);
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 34px rgba(122, 92, 255, .32);
}

.prompt-state {
    display: block;
    margin-top: 12px;
    color: rgba(77, 214, 166, .92);
    font-size: 12px;
}

.hero-visual {
    min-width: 0;
}

.model-tabs {
    width: fit-content;
    margin: 0 auto 22px;
    padding: 4px;
    display: flex;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(18, 22, 37, .68);
}

.model-tabs span {
    padding: 9px 18px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.model-tabs .active {
    background: rgba(122, 92, 255, .16);
    color: #fff;
}

.orbital-stage {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(122, 92, 255, .2);
    border-radius: 50%;
    transform: rotate(-16deg);
}

.orbit-a {
    width: 500px;
    height: 260px;
}

.orbit-b {
    width: 430px;
    height: 430px;
    border-color: rgba(233, 196, 106, .16);
}

.orbit-c {
    width: 330px;
    height: 190px;
    transform: rotate(22deg);
}

.center-card {
    position: relative;
    width: min(78%, 390px);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    background: #0c1020;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .42), 0 0 80px rgba(122, 92, 255, .2);
}

.preview-video {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-stage.has-video .preview-video,
.center-card:has(.preview-video[src]) .preview-video {
    display: block;
}

.video-poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.center-card-label {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    background: rgba(8, 10, 19, .68);
    backdrop-filter: blur(12px);
}

.center-card-label span {
    color: var(--muted);
    font-size: 13px;
}

.floating-chip {
    position: absolute;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(18, 22, 37, .76);
    color: #dfe5ff;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(14px);
}

.chip-a {
    top: 18%;
    left: 7%;
}

.chip-b {
    top: 28%;
    right: 5%;
}

.chip-c {
    bottom: 19%;
    left: 16%;
}

.showcase-section,
.capabilities-section,
.pricing-section,
.final-cta,
.site-footer {
    width: min(calc(100% - 40px), var(--page));
    margin: 0 auto;
}

.showcase-section,
.capabilities-section,
.pricing-section,
.final-cta {
    padding: 88px 0;
}

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

.section-heading.center {
    text-align: center;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.16;
    font-weight: 900;
}

.section-heading p {
    max-width: 700px;
    margin: 14px auto 0;
    color: rgba(233, 196, 106, .86);
    font-size: 17px;
    line-height: 1.8;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.showcase-video-card {
    position: relative;
    min-height: 285px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: rgba(18, 22, 37, .62);
    cursor: pointer;
}

.showcase-video-card::before {
    content: "";
    display: block;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, rgba(122, 92, 255, .24), rgba(233, 196, 106, .08));
}

.showcase-video-card video,
.showcase-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-video-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .72));
    pointer-events: none;
}

.showcase-video-card figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.showcase-video-card figcaption strong {
    font-size: 17px;
}

.showcase-video-card figcaption span {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
}

.showcase-more {
    margin-top: 34px;
    text-align: center;
}

.showcase-more button {
    min-height: 52px;
    padding: 0 34px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(18, 22, 37, .42);
    color: #fff;
    font-weight: 800;
}

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

.capability-grid article {
    position: relative;
    min-height: 245px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: rgba(18, 22, 37, .62);
    overflow: hidden;
}

.capability-grid article::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(135deg, rgba(122, 92, 255, .12), transparent, rgba(233, 196, 106, .08));
    transition: opacity .18s ease;
}

.capability-grid article:hover::before {
    opacity: 1;
}

.capability-grid i {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(122, 92, 255, .12);
    color: var(--primary);
    font-size: 20px;
}

.capability-grid h3,
.capability-grid p {
    position: relative;
    z-index: 1;
}

.capability-grid h3 {
    margin: 24px 0 10px;
    font-size: 20px;
}

.capability-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.billing-toggle {
    width: fit-content;
    margin: 28px auto 0;
    padding: 5px;
    display: flex;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: var(--card);
}

.billing-toggle button {
    min-height: 38px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font-weight: 800;
}

.billing-toggle button.active {
    background: rgba(122, 92, 255, .16);
    color: #fff;
}

.billing-toggle span {
    margin-left: 6px;
    color: var(--success);
    font-size: 12px;
}

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

.pricing-grid.center {
    text-align: center;
}

.price-card {
    position: relative;
    min-height: 420px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: rgba(18, 22, 37, .62);
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-color: rgba(122, 92, 255, .5);
    background: linear-gradient(180deg, rgba(56, 45, 102, .72), rgba(18, 22, 37, .68));
    box-shadow: 0 0 60px rgba(122, 92, 255, .18);
}

.plan-badge,
.recommended {
    position: absolute;
    top: -8px;
    right: 18px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.plan-badge img {
    width: 18px;
    height: 18px;
}

.price-card h3 {
    margin: 0;
    font-size: 20px;
}

.price-line {
    margin: 26px 0 10px;
}

.price-line small {
    color: var(--muted);
    font-size: 24px;
}

.price-line strong {
    font-size: 48px;
    line-height: 1;
}

.price-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.price-card ul {
    display: grid;
    gap: 12px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.price-card li {
    color: #dfe5f8;
}

.price-card li i {
    margin-right: 8px;
    color: var(--success);
}

.price-card button,
.price-card a {
    margin-top: auto;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.price-card.featured button,
.price-card.featured a {
    border-color: transparent;
    background: var(--primary);
}

.final-cta {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.final-cta::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(122, 92, 255, .14);
    filter: blur(120px);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.final-cta > * {
    position: relative;
    z-index: 1;
}

.cta-badge {
    width: fit-content;
    margin: 0 auto 22px;
    padding: 8px 14px;
    border: 1px solid rgba(122, 92, 255, .25);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(122, 92, 255, .1);
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

.final-cta h2 {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.12;
}

.final-cta h2 span {
    color: var(--primary);
}

.final-cta p {
    max-width: 720px;
    margin: 20px auto 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.cta-actions {
    margin-top: 34px;
}

.cta-actions a,
.cta-actions button {
    min-height: 58px;
    padding: 0 36px;
    border: 0;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 0 48px rgba(122, 92, 255, .34);
}

.cta-points {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
}

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

.cta-points span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

.site-footer {
    position: relative;
    padding: 0 0 28px;
    overflow: hidden;
}

.footer-line {
    width: 100%;
    height: 8px;
    margin-bottom: 54px;
    background: url("/static/welcome-target/footer-line.png") center / contain no-repeat;
    opacity: .65;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(260px, 2fr) repeat(3, 1fr);
    gap: 38px;
}

.footer-brand-block p {
    max-width: 420px;
    color: var(--muted);
    line-height: 1.8;
}

.footer-brand-block > span,
.footer-column span,
.footer-column a {
    color: var(--muted);
}

.footer-column img {
    display: block;
    width: 99px;
    height: 99px;
    object-fit: contain;
    margin: 0 left 0px;
    border-radius: 0px;
    background: #fff;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column strong {
    color: #fff;
}

.footer-column a:hover {
    color: #fff;
}

.auth-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 4, 10, .72);
    backdrop-filter: blur(12px);
}

.landing-payment-overlay {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 5, 12, .78);
    backdrop-filter: blur(16px);
}

.landing-payment-overlay.active {
    display: flex;
}

.landing-payment-modal {
    width: min(860px, 94vw);
    max-height: min(720px, 90vh);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    background:
        radial-gradient(circle at 18% 0, rgba(122, 92, 255, .2), transparent 34%),
        linear-gradient(180deg, rgba(22, 25, 36, .96), rgba(11, 13, 21, .98));
    box-shadow: 0 34px 110px rgba(0, 0, 0, .58), inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.landing-payment-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.landing-payment-head h3 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 20px;
}

.landing-payment-head p {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
}

.landing-payment-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, .76);
    font-size: 26px;
    cursor: pointer;
}

.landing-payment-body {
    padding: 18px 20px 20px;
}

.landing-payment-picker {
    padding: 8px 2px 4px;
}

.landing-payment-picker-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 8px;
}

.landing-payment-picker-title span {
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
}

.landing-payment-picker-title strong {
    color: #fff;
    font-size: 32px;
    line-height: 1;
}

.landing-payment-picker > p,
.landing-payment-hint {
    margin: 0 0 18px;
    color: rgba(210, 216, 238, .78);
    font-size: 14px;
    line-height: 1.7;
}

.landing-payment-methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.landing-payment-methods button {
    min-height: 132px;
    padding: 18px;
    border: 1px solid rgba(122, 92, 255, .24);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035));
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.landing-payment-methods button:hover {
    border-color: rgba(122, 92, 255, .64);
    background: linear-gradient(180deg, rgba(122, 92, 255, .18), rgba(74, 140, 255, .08));
    box-shadow: 0 18px 40px rgba(0, 0, 0, .34), 0 0 26px rgba(122, 92, 255, .18);
    transform: translateY(-2px);
}

.landing-payment-methods button:disabled {
    opacity: .64;
    cursor: progress;
    transform: none;
}

.landing-payment-methods i {
    display: block;
    margin-bottom: 14px;
    color: #8f7bff;
    font-size: 24px;
}

.landing-payment-methods span {
    display: block;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
}

.landing-payment-methods small {
    display: block;
    margin-top: 7px;
    color: rgba(210, 216, 238, .68);
    font-size: 12px;
    line-height: 1.5;
}

.landing-payment-summary {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr .8fr;
    gap: 10px;
    margin-bottom: 14px;
}

.landing-payment-summary div {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
}

.landing-payment-summary span {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, .56);
    font-size: 12px;
}

.landing-payment-summary strong {
    color: #fff;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.landing-payment-frame {
    position: relative;
    z-index: 1;
    width: 900px;
    height: 760px;
    border: 0;
    border-radius: 0;
    background: #fff;
    transform: translate(6px, -178px) scale(.92);
    transform-origin: top center;
    overflow: hidden;
    scrollbar-width: none;
}

.landing-payment-frame::-webkit-scrollbar {
    display: none;
}

.landing-payment-alipay {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.landing-payment-paybox {
    position: relative;
    height: min(420px, calc(90vh - 250px));
    min-height: 360px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.landing-payment-paybox::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1px;
    bottom: 0;
    z-index: 20;
    width: 76px;
    background: #fff;
    pointer-events: none;
}

.landing-payment-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
}

.landing-payment-actions a,
.landing-payment-actions button,
.landing-payment-done button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    min-width: 112px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(122, 92, 255, .95), rgba(74, 140, 255, .9));
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(74, 98, 255, .22);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.landing-payment-actions a:hover,
.landing-payment-actions button:hover,
.landing-payment-done button:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 16px 36px rgba(74, 98, 255, .3);
}

.landing-payment-panel {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: rgba(255, 255, 255, .045);
    text-align: center;
}

.landing-payment-status {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .72);
}

.landing-payment-qr {
    display: block;
    width: min(240px, 72vw);
    height: auto;
    margin: 0 auto 14px;
    border-radius: 14px;
    background: #fff;
}

.landing-payment-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 9px 14px;
    border: 1px solid rgba(122, 92, 255, .32);
    border-radius: 999px;
    color: #fff;
    background: rgba(122, 92, 255, .12);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    overflow-wrap: anywhere;
}

.landing-payment-error,
.landing-payment-done {
    padding: 28px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    text-align: center;
}

.landing-payment-done i {
    color: #64d98a;
    font-size: 42px;
}

@media (max-width: 720px) {
    .landing-payment-summary {
        grid-template-columns: 1fr;
    }
    .landing-payment-methods {
        grid-template-columns: 1fr;
    }
    .landing-payment-frame {
        width: 820px;
        height: 740px;
        transform: translate(0, -172px) scale(.72);
    }
    .landing-payment-paybox {
        height: min(390px, calc(90vh - 240px));
        min-height: 320px;
    }
}

.auth-modal-overlay.active {
    display: flex;
}

.auth-modal {
    position: relative;
    width: min(460px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    background: #101727;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
    padding: 24px;
}

.auth-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 24px;
    line-height: 1;
}

.auth-modal-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 40px;
}

.auth-modal-head h2 {
    margin: 0;
    font-size: 24px;
}

.auth-modal-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.auth-tabs {
    margin: 22px 0;
    padding: 5px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
}

.auth-tab {
    height: 40px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
    font-weight: 900;
}

.auth-tab.active {
    background: #fff;
    color: #101727;
}

.auth-pane {
    display: none;
}

.auth-pane.active {
    display: block;
}

.modal-auth-form {
    display: grid;
    gap: 10px;
}

.modal-auth-form label {
    color: #d9e2f8;
    font-size: 13px;
    font-weight: 800;
}

.modal-auth-form input {
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 12px;
    background: rgba(5, 8, 17, .78);
    color: #fff;
    outline: none;
}

.modal-auth-form input:focus,
.prompt-options select:focus,
.prompt-card textarea:focus {
    border-color: rgba(122, 92, 255, .72);
    box-shadow: 0 0 0 3px rgba(122, 92, 255, .16);
}

.modal-phone-row {
    display: grid;
    grid-template-columns: 1fr 116px;
    gap: 10px;
}

.verify-btn,
.auth-submit {
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    font-weight: 900;
}

.verify-btn {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.verify-btn:disabled,
.auth-submit:disabled {
    opacity: .62;
    cursor: not-allowed;
}

.auth-submit {
    margin-top: 8px;
    background: var(--primary);
    color: #fff;
}

.auth-message {
    display: none;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.error-message {
    border: 1px solid rgba(255, 111, 134, .32);
    background: rgba(255, 111, 134, .1);
    color: #ffb8c5;
}

.success-message {
    border: 1px solid rgba(77, 214, 166, .32);
    background: rgba(77, 214, 166, .1);
    color: #a9f0d8;
}

.auth-switch {
    margin: 16px 0 0;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
}

.auth-switch button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--primary);
    font-weight: 900;
}

.auth-modal.auth-modal-split {
    width: min(92vw, 830px);
    max-height: min(88vh, 560px);
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 0;
    padding: 0;
    overflow: hidden;
    border-color: rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: #202329;
    box-shadow: 0 34px 110px rgba(0, 0, 0, .68);
}

.auth-visual-panel {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    padding: 30px 28px;
    background:
        radial-gradient(circle at 72% 78%, rgba(0, 211, 255, .34), transparent 34%),
        radial-gradient(circle at 18% 15%, rgba(255, 226, 243, .94), transparent 38%),
        linear-gradient(155deg, #ffe4ef 0%, #f7f0ff 42%, #c6e8ff 100%);
    color: #10131b;
}

.auth-visual-video {
    position: absolute;
    inset: auto -24% -8% -24%;
    width: 148%;
    height: 58%;
    object-fit: cover;
    opacity: .64;
    filter: saturate(1.18) blur(.2px);
    mask-image: linear-gradient(180deg, transparent 0, #000 22%);
}

.auth-visual-glow {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .44), transparent 38%),
        radial-gradient(circle at 62% 70%, rgba(90, 120, 255, .34), transparent 28%);
    pointer-events: none;
}

.auth-visual-content {
    position: relative;
    z-index: 1;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.auth-visual-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #172033;
    font-size: 15px;
    font-weight: 950;
}

.auth-visual-brand .brand-mark {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
}

.auth-visual-copy {
    margin-top: 42px;
}

.auth-visual-copy span {
    display: inline-block;
    margin-bottom: 12px;
    color: rgba(80, 84, 110, .78);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
}

.auth-visual-copy h3 {
    max-width: 250px;
    margin: 0;
    color: #0f1420;
    font-size: 34px;
    line-height: 1.12;
    font-weight: 950;
}

.auth-visual-copy p {
    max-width: 246px;
    margin: 14px 0 0;
    color: rgba(21, 27, 42, .68);
    font-size: 13px;
    line-height: 1.7;
}

.auth-visual-features {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.auth-visual-features span {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 11px;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 8px;
    background: rgba(255, 255, 255, .6);
    box-shadow: 0 10px 24px rgba(38, 54, 102, .08);
    color: rgba(15, 22, 38, .74);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.auth-visual-features i {
    width: 18px;
    color: #5869ff;
    font-size: 13px;
}

.auth-form-panel {
    position: relative;
    min-height: 520px;
    padding: 54px 48px 42px;
    overflow-y: auto;
    background: #202329;
}

.auth-form-panel .auth-modal-close {
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-color: transparent;
    background: transparent;
    color: rgba(255, 255, 255, .58);
    font-size: 24px;
    transition: color .18s ease, background .18s ease;
}

.auth-form-panel .auth-modal-close:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.auth-form-panel .auth-modal-head {
    padding-right: 36px;
}

.auth-form-panel .auth-modal-head h2 {
    color: #fff;
    font-size: 26px;
    font-weight: 950;
}

.auth-form-panel .auth-modal-head p {
    margin-top: 8px;
    color: rgba(215, 222, 238, .58);
}

.auth-form-panel .auth-tabs {
    width: 172px;
    margin: 26px 0 22px;
    padding: 4px;
    border-color: rgba(255, 255, 255, .08);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
}

.auth-form-panel .auth-tab {
    height: 34px;
    border-radius: 7px;
    color: rgba(218, 225, 242, .58);
    font-size: 13px;
}

.auth-form-panel .auth-tab.active {
    background: #5f8fff;
    color: #fff;
}

.auth-form-panel .modal-auth-form {
    gap: 12px;
}

.auth-form-panel .modal-auth-form label {
    color: rgba(232, 237, 248, .78);
    font-size: 13px;
}

.auth-form-panel .modal-auth-form input {
    height: 42px;
    border-color: rgba(255, 255, 255, .13);
    border-radius: 4px;
    background: #202329;
    color: #fff;
}

.auth-form-panel .modal-auth-form input::placeholder {
    color: rgba(218, 225, 242, .36);
}

.auth-form-panel .modal-phone-row {
    grid-template-columns: 1fr 108px;
    gap: 10px;
}

.auth-form-panel .verify-btn {
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 4px;
    background: rgba(255, 255, 255, .04);
    color: rgba(226, 233, 248, .72);
    font-size: 13px;
}

.auth-form-panel .verify-btn:not(:disabled):hover {
    border-color: rgba(95, 143, 255, .48);
    color: #fff;
}

.auth-form-panel .auth-submit {
    width: 100%;
    min-height: 42px;
    margin-top: 10px;
    border-radius: 4px;
    background: #5f8fff;
    box-shadow: 0 14px 30px rgba(95, 143, 255, .24);
    font-size: 14px;
}

.auth-form-panel .auth-submit:hover {
    background: #6f9bff;
}

.auth-agreement {
    margin: 0;
    color: rgba(218, 225, 242, .52);
    font-size: 12px;
    line-height: 1.6;
}

.auth-form-panel .auth-switch {
    margin-top: 18px;
    text-align: left;
}

.auth-form-panel .auth-switch button {
    color: #76a0ff;
}

@media (max-width: 1080px) {
    .auth-modal.auth-modal-split {
        grid-template-columns: 300px minmax(0, 1fr);
        width: min(94vw, 760px);
    }

    .auth-form-panel {
        padding: 50px 38px 38px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

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

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

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

@media (max-width: 720px) {
    .auth-modal-overlay {
        padding: 14px;
    }

    .auth-modal.auth-modal-split {
        max-height: calc(100vh - 28px);
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .auth-visual-panel {
        min-height: 230px;
        padding: 24px;
    }

    .auth-visual-video {
        height: 72%;
        inset: auto -18% -20% -18%;
    }

    .auth-visual-copy {
        margin-top: 24px;
    }

    .auth-visual-copy h3 {
        max-width: 100%;
        font-size: 27px;
    }

    .auth-visual-copy p {
        max-width: 100%;
        margin-top: 10px;
    }

    .auth-visual-features {
        display: none;
    }

    .auth-form-panel {
        min-height: auto;
        padding: 46px 24px 28px;
    }

    .auth-form-panel .auth-tabs {
        width: 100%;
    }

    .site-nav {
        padding: 0 14px;
        gap: 10px;
    }

    .brand strong {
        font-size: 17px;
    }

    .nav-register,
    .workspace-link {
        min-height: 36px;
        padding: 0 12px;
        font-size: 12px;
    }

    .landing-avatar-btn {
        width: 36px;
        height: 36px;
    }

    .hero-inner,
    .showcase-section,
    .capabilities-section,
    .pricing-section,
    .final-cta,
    .site-footer {
        width: min(calc(100% - 28px), var(--page));
    }

    .hero-inner {
        padding: 48px 0 64px;
        gap: 34px;
    }

    .hero h1 {
        font-size: clamp(40px, 13vw, 58px);
    }

    .prompt-options {
        grid-template-columns: 1fr 1fr;
    }

    .prompt-submit {
        width: 100%;
        grid-column: 1 / -1;
    }

    .orbital-stage {
        min-height: 360px;
    }

    .orbit-a {
        width: 330px;
        height: 175px;
    }

    .orbit-b {
        width: 290px;
        height: 290px;
    }

    .orbit-c {
        width: 230px;
        height: 135px;
    }

    .floating-chip {
        display: none;
    }

    .showcase-grid,
    .capability-grid,
    .pricing-grid,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-records {
        justify-content: flex-start;
    }

    .modal-phone-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .showcase-section {
        width: min(calc(100% - 24px), 1760px);
    }

    .showcase-carousel {
        padding: 0 44px 8px;
    }

    .showcase-nav {
        width: 38px;
        height: 38px;
    }

    .showcase-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .showcase-video-card,
    .card-tall {
        flex-basis: min(72vw, 420px);
        height: 230px;
    }

    .card-wide {
        flex-basis: min(72vw, 420px);
    }
}

@media (max-width: 560px) {
    .showcase-carousel {
        padding: 0 34px 8px;
    }

    .showcase-grid {
        gap: 12px;
        padding-top: 18px;
    }

    .showcase-video-card,
    .card-wide,
    .card-tall {
        flex-basis: min(78vw, 330px);
        height: 190px;
    }
}

@media (max-width: 720px) {
    .prompt-card {
        max-width: 100%;
        padding: 18px;
    }

    .hero-capability-panel {
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 34px;
    }

    .hero-capability-card,
    .hero-capability-card > div {
        min-height: 210px;
    }

    .hero-capability-card h3 {
        font-size: 24px;
    }

    .prompt-options {
        grid-template-columns: 1fr 1fr;
    }

    .prompt-submit {
        width: 42px;
        grid-column: 2;
        justify-self: end;
    }
}

/* Design-target overrides based on templates/welcome/网站设计图.jpg */
body {
    background:
        radial-gradient(circle at 50% -10%, rgba(106, 82, 255, .16), transparent 38rem),
        #000;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .28;
    background:
        radial-gradient(ellipse at 28% 18%, rgba(92, 68, 210, .36), transparent 42%),
        radial-gradient(ellipse at 76% 18%, rgba(35, 119, 210, .22), transparent 38%);
    mask-image: linear-gradient(180deg, #000 0 34%, transparent 62%);
    animation: welcomeGlowDrift 24s ease-in-out infinite alternate;
}

body::after {
    content: "";
    position: fixed;
    inset: 72px 0 auto 0;
    z-index: 0;
    height: 360px;
    pointer-events: none;
    opacity: .22;
    background:
        linear-gradient(100deg, transparent 0 16%, rgba(90, 70, 220, .38) 22%, transparent 31% 100%),
        linear-gradient(80deg, transparent 0 52%, rgba(35, 172, 255, .18) 57%, transparent 66% 100%);
    filter: blur(6px);
    transform: translate3d(0, 0, 0);
    animation: welcomeRibbonFloat 32s ease-in-out infinite alternate;
}

@keyframes welcomeGlowDrift {
    from {
        transform: translate3d(-10px, 0, 0) scale(1);
    }
    to {
        transform: translate3d(14px, 8px, 0) scale(1.015);
    }
}

@keyframes welcomeRibbonFloat {
    from {
        transform: translate3d(-1.5%, 0, 0);
    }
    to {
        transform: translate3d(1.5%, 8px, 0);
    }
}

.site-nav {
    width: min(calc(100% - 56px), 1080px);
    min-height: 52px;
    margin: 52px auto 0;
    padding: 0 18px;
    grid-template-columns: 220px 1fr 180px;
    border: 1px solid rgba(121, 87, 255, .2);
    border-radius: 999px;
    background: rgba(24, 24, 34, .86);
    box-shadow: 0 0 28px rgba(93, 65, 255, .24), inset 0 0 0 1px rgba(255, 255, 255, .03);
}

.brand {
    gap: 8px;
}

.brand-mark {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
}

.brand strong {
    font-size: 18px;
    color: #dce7ff;
    text-shadow: 0 0 10px rgba(111, 175, 255, .55);
}

.nav-center {
    gap: 38px;
}

.nav-center a {
    position: relative;
    padding: 0;
    border-radius: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .68);
}

.nav-center a:first-child,
.nav-center a:hover {
    color: #fff;
    background: transparent;
}

.nav-center a:first-child::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -19px;
    width: 58px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #6f45ff, transparent);
    transform: translateX(-50%);
}

.nav-login,
.nav-register,
.workspace-link {
    min-height: 32px;
    padding: 0 22px;
    border: 0;
    background: linear-gradient(135deg, #4d5dff, #8b4dff);
    box-shadow: 0 0 20px rgba(98, 78, 255, .46);
    font-size: 13px;
}

.nav-login {
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
    box-shadow: none;
}

main,
.site-footer {
    position: relative;
    z-index: 1;
}

.hero {
    min-height: 690px;
}

.hero-inner {
    width: min(calc(100% - 56px), 1080px);
    min-height: 650px;
    padding: 108px 0 72px;
    grid-template-columns: 1fr 350px;
    gap: 52px;
}

.hero h1 {
    margin-top: 58px;
    text-align: center;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 950;
    text-shadow: 0 0 18px rgba(255, 255, 255, .2);
    white-space: nowrap;
}

.hero-slogan {
    position: relative;
    margin: 28px auto 0;
    width: fit-content;
    color: rgba(222, 228, 250, .94);
    font-size: 29px;
    font-weight: 400;
    letter-spacing: 0;
}

.hero-slogan::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -13px;
    width: 86px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #6d4cff, transparent);
    transform: translateX(-50%);
}

.hero-desc {
    max-width: none;
    margin: 34px auto 0;
    text-align: center;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    line-height: 1.85;
    text-wrap: balance;
}

.prompt-card {
    max-width: 740px;
    min-height: 158px;
    margin: 54px 0 0;
    padding: 20px 22px 16px;
    border-color: rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(24, 24, 24, .9);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
}

.prompt-upload-stack {
    position: relative;
    width: 92px;
    height: 78px;
    flex: 0 0 92px;
    display: block;
    cursor: pointer;
    margin-top: -8px;
    margin-left: -8px;
}

.prompt-upload-stack input {
    position: absolute;
    inset: 0;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

.upload-card {
    position: absolute;
    top: 8px;
    left: 20px;
    width: 48px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 4px;
    background: linear-gradient(160deg, #f1f1f1, #a8a8a8);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.upload-card-a {
    opacity: .68;
    transform: translate(-7px, 4px) rotate(-10deg);
}

.upload-card-b {
    opacity: .82;
    transform: translate(3px, 0) rotate(5deg);
}

.upload-card-c {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(20, 20, 20, .42);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    transform: translate(-2px, 2px) rotate(-5deg);
}

.prompt-upload-stack:hover .upload-card-a {
    transform: translate(-28px, 8px) rotate(-16deg);
}

.prompt-upload-stack:hover .upload-card-b {
    transform: translate(0, -5px) rotate(0deg);
}

.prompt-upload-stack:hover .upload-card-c {
    border-color: rgba(122, 92, 255, .7);
    box-shadow: 0 14px 30px rgba(122, 92, 255, .22);
    transform: translate(30px, 8px) rotate(15deg);
}

.prompt-upload-stack em {
    position: absolute;
    left: 50%;
    bottom: -14px;
    z-index: 6;
    width: 96px;
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
    font-style: normal;
    text-align: center;
    transform: translateX(-50%);
    pointer-events: none;
}

.prompt-card textarea {
    min-height: 78px;
    padding-top: 2px;
    border: 0;
    color: #fff;
    font-size: 14px;
}

.prompt-card textarea::placeholder {
    color: rgba(255, 255, 255, .7);
}

.prompt-options {
    grid-template-columns: 150px 70px 78px 74px minmax(48px, 1fr);
    gap: 10px;
    align-items: center;
    margin-top: 12px;
}

.prompt-options label span {
    display: none;
}

.prompt-options select,
.prompt-submit {
    height: 38px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(31, 31, 34, .96);
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
    font-weight: 800;
}

.prompt-options label:first-child select {
    color: #00d8ff;
    border-color: rgba(0, 216, 255, .24);
}

.prompt-submit {
    width: 42px;
    min-width: 42px;
    justify-self: end;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #4e6cff, #8d4cff);
    color: #fff;
    box-shadow: 0 0 18px rgba(118, 89, 255, .5);
}

.submit-arrow {
    width: 16px;
    height: 16px;
    display: block;
    margin: auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.prompt-state {
    display: none;
}

.hero-capability-panel {
    max-width: 740px;
    margin: 54px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hero-capability-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: #0b0c10;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .38);
    isolation: isolate;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.hero-capability-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .18) 42%, rgba(0, 0, 0, .78) 100%),
        radial-gradient(circle at 18% 5%, rgba(122, 92, 255, .2), transparent 35%);
    pointer-events: none;
}

.hero-capability-light::before {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .16) 42%, rgba(0, 0, 0, .8) 100%),
        linear-gradient(8deg, rgba(0, 0, 0, .82) 0 22%, transparent 22% 63%, rgba(0, 0, 0, .92) 63% 100%);
}

.hero-capability-dark::before {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .76) 0%, rgba(0, 0, 0, .28) 44%, rgba(0, 0, 0, .84) 100%),
        radial-gradient(circle at 72% 55%, rgba(0, 210, 255, .16), transparent 28%);
}

.hero-capability-card video,
.hero-capability-card img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .38s ease, filter .38s ease;
}

.hero-capability-card > div {
    position: relative;
    z-index: 2;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    padding: 22px;
    color: #fff;
}

.hero-capability-card span {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .28);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
}

.hero-capability-card h3 {
    margin: 0;
    color: #fff;
    font-size: 26px;
    line-height: 1.16;
    font-weight: 950;
    letter-spacing: 0;
    text-shadow: 0 6px 20px rgba(0, 0, 0, .42);
}

.hero-capability-card p {
    max-width: 245px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    line-height: 1.65;
    font-weight: 800;
}

.hero-capability-card button,
.hero-capability-card a {
    width: fit-content;
    margin-top: auto;
    border: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.hero-capability-card button i,
.hero-capability-card a i {
    font-size: 11px;
}

.hero-capability-card:hover {
    border-color: rgba(255, 255, 255, .2);
    box-shadow: 0 26px 62px rgba(0, 0, 0, .48), 0 0 28px rgba(122, 92, 255, .15);
    transform: translateY(-4px);
}

.hero-capability-card:hover video,
.hero-capability-card:hover img {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.06);
}

.hero {
    min-height: auto;
}

.hero-inner {
    width: min(calc(100% - 72px), 1320px);
    min-height: 620px;
    padding: 92px 0 74px;
    grid-template-columns: minmax(680px, 1fr) 360px;
    align-items: center;
    gap: 76px;
}

.hero h1 {
    margin-top: 0;
    text-align: left;
    font-size: clamp(44px, 4vw, 62px);
    white-space: normal;
}

.hero-slogan {
    margin: 24px 0 0;
}

.hero-slogan::after {
    left: 0;
    transform: none;
}

.hero-desc {
    max-width: 640px;
    margin: 32px 0 0;
    text-align: left;
}

.hero-capability-panel {
    max-width: 790px;
    margin-top: 42px;
    gap: 16px;
}

.hero-capability-card,
.hero-capability-card > div {
    min-height: 248px;
}

.hero-capability-card h3 {
    font-size: 28px;
}

.hero-capability-card p {
    max-width: 270px;
}

.phone-stage {
    padding-top: 0;
}

.phone-frame {
    width: 304px;
    height: 492px;
}

@media (max-width: 1180px) {
    .hero-inner {
        width: min(calc(100% - 48px), 980px);
        grid-template-columns: 1fr;
        gap: 42px;
        padding-top: 78px;
    }

    .hero h1,
    .hero-desc {
        text-align: center;
    }

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

    .hero-slogan::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .hero-capability-panel {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .hero-capability-panel {
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 34px;
    }

    .hero-capability-card,
    .hero-capability-card > div {
        min-height: 210px;
    }

    .hero-capability-card h3 {
        font-size: 24px;
    }

    .workspace-preview-section {
        width: min(calc(100% - 28px), 1500px);
        padding: 42px 0 20px;
    }

    .workspace-preview-copy {
        margin-bottom: 20px;
    }

    .workspace-preview-copy p {
        font-size: 14px;
    }

    .workspace-preview-frame {
        border-radius: 16px;
    }

    .workspace-preview-frame img {
        aspect-ratio: 4 / 3;
        object-position: 48% 50%;
    }
}

.phone-stage {
    display: flex;
    justify-content: center;
    padding-top: 48px;
}

.phone-frame {
    position: relative;
    width: 292px;
    height: 472px;
    padding: 20px;
    border: 1px solid rgba(0, 211, 255, .42);
    border-radius: 36px;
    background: rgba(10, 14, 25, .58);
    box-shadow:
        0 0 0 9px rgba(0, 203, 255, .06),
        0 0 42px rgba(0, 203, 255, .28),
        inset 0 0 24px rgba(122, 92, 255, .24);
}

.phone-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 4px solid rgba(125, 85, 255, .8);
    border-radius: 24px;
    background: #111;
    box-shadow: inset 0 0 22px rgba(255, 255, 255, .16);
}

.phone-inner .video-poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-inner .hero-phone-video {
    position: absolute;
    inset: 0;
}

.phone-inner .hero-phone-video {
    z-index: 1;
}

.phone-play {
    position: absolute;
    right: 36px;
    top: 50%;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(81, 104, 255, .95), rgba(136, 70, 255, .95));
    color: #fff;
    box-shadow: 0 0 28px rgba(112, 83, 255, .6);
    transform: translateY(-50%);
    z-index: 2;
}

.phone-play.is-playing {
    opacity: .72;
}

.phone-play.is-playing:hover {
    opacity: 1;
}

.phone-title {
    position: absolute;
    top: 38px;
    left: 0;
    right: 0;
    text-align: center;
    color: #f6d390;
    font-size: 34px;
    font-weight: 900;
    font-family: "STKaiti", "KaiTi", serif;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .8);
}

.hero-visual .phone-stage {
    padding-top: 0;
}

.hero-visual .phone-frame {
    width: 304px;
    height: 492px;
}

@media (max-width: 720px) {
    .hero-visual .phone-frame {
        width: min(292px, 78vw);
        height: auto;
        aspect-ratio: 304 / 492;
    }
}

.workspace-preview-section {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 56px), 1500px);
    margin: 0 auto;
    padding: 58px 0 30px;
}

.workspace-preview-section::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 48%;
    z-index: -1;
    width: min(980px, 88vw);
    height: 360px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(0, 211, 255, .16), transparent 58%),
        radial-gradient(circle at 32% 48%, rgba(122, 92, 255, .22), transparent 48%);
    filter: blur(24px);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.workspace-preview-copy {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.workspace-preview-copy span {
    display: inline-block;
    margin-bottom: 10px;
    color: rgba(122, 92, 255, .95);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .18em;
}

.workspace-preview-copy h2 {
    margin: 0;
    color: #f7f8ff;
    font-size: clamp(30px, 3.6vw, 42px);
    line-height: 1.18;
    font-weight: 950;
    letter-spacing: 0;
    text-shadow: 0 0 20px rgba(122, 92, 255, .22);
}

.workspace-preview-copy p {
    margin: 14px 0 0;
    color: rgba(172, 180, 207, .92);
    font-size: 15px;
    line-height: 1.8;
}

.workspace-preview-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(118, 92, 255, .2);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(18, 22, 37, .78), rgba(5, 7, 14, .92)),
        #060810;
    box-shadow:
        0 40px 120px rgba(0, 0, 0, .52),
        0 0 0 1px rgba(255, 255, 255, .04) inset,
        0 0 48px rgba(0, 211, 255, .14);
}

.workspace-preview-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, .16), transparent 22% 76%, rgba(0, 211, 255, .12)),
        linear-gradient(180deg, transparent 74%, rgba(0, 0, 0, .28));
    pointer-events: none;
}

.workspace-preview-frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.showcase-section,
.capabilities-section,
.pricing-section,
.final-cta,
.site-footer {
    width: min(calc(100% - 56px), 1080px);
}

.showcase-section {
    width: min(calc(100% - 96px), 1760px);
    padding: 54px 0 34px;
}

.capabilities-section {
    width: min(calc(100% - 56px), 1080px);
    padding: 72px 0 44px;
}

.capabilities-section .section-heading span {
    display: inline-block;
    margin-bottom: 10px;
    color: rgba(122, 92, 255, .95);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .18em;
}

.capabilities-section .section-heading h2 {
    color: #f7f8ff;
    text-shadow: 0 0 18px rgba(122, 92, 255, .22);
}

.capabilities-section .section-heading p {
    color: rgba(172, 180, 207, .92);
}

.capabilities-section .capability-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.capabilities-section .capability-grid article {
    min-height: 230px;
    border-color: rgba(122, 92, 255, .18);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(18, 22, 37, .86), rgba(8, 10, 19, .92));
    box-shadow: 0 18px 42px rgba(0, 0, 0, .32), inset 0 0 0 1px rgba(255, 255, 255, .03);
}

.capabilities-section .capability-grid article:hover {
    border-color: rgba(122, 92, 255, .42);
    box-shadow: 0 24px 54px rgba(0, 0, 0, .4), 0 0 32px rgba(122, 92, 255, .16);
}

.showcase-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    text-align: center;
}

.showcase-header > div {
    max-width: 720px;
}

.showcase-header span {
    display: inline-block;
    margin-bottom: 10px;
    color: rgba(122, 92, 255, .95);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .18em;
}

.showcase-header h2 {
    margin: 0;
    color: #f7f8ff;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 900;
    text-shadow: 0 0 18px rgba(122, 92, 255, .22);
}

.showcase-header h2::before {
    display: none;
}

.showcase-header p {
    margin: 12px 0 0;
    color: rgba(172, 180, 207, .92);
    font-size: 15px;
    line-height: 1.7;
}

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

.section-heading h2 {
    font-size: 31px;
    text-shadow: 0 0 16px rgba(255, 255, 255, .18);
}

.section-heading p {
    margin-top: 18px;
    color: rgba(172, 180, 207, .9);
    font-size: 16px;
}

.showcase-grid {
    width: 100%;
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x proximity;
    padding: 24px 12px 36px;
    scroll-padding-inline: 12px;
    scrollbar-width: none;
    perspective: 1200px;
    transform-style: preserve-3d;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
}

.showcase-grid::-webkit-scrollbar {
    display: none;
}

.showcase-carousel {
    position: relative;
    overflow: visible;
    padding: 0 58px 8px;
}

.showcase-nav {
    position: absolute;
    top: 50%;
    z-index: 30;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 18, 22, .72);
    color: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    transform: translateY(-50%);
    transition: background .18s ease, transform .18s ease, opacity .18s ease;
    cursor: pointer;
    pointer-events: auto;
}

.showcase-nav:hover {
    background: rgba(122, 92, 255, .82);
    transform: translateY(-50%) scale(1.06);
}

.showcase-prev {
    left: 0;
}

.showcase-prev i {
    transform: rotate(180deg);
}

.showcase-next {
    right: 0;
}

.showcase-video-card {
    flex: 0 0 490px;
    height: 276px;
    min-height: 0;
    border-radius: 12px;
    border: 1px solid rgba(122, 92, 255, .18);
    background: linear-gradient(180deg, rgba(18, 22, 37, .92), rgba(7, 9, 18, .96));
    scroll-snap-align: start;
    box-shadow:
        0 22px 50px rgba(0, 0, 0, .42),
        0 0 0 1px rgba(255, 255, 255, .04) inset,
        0 0 28px rgba(122, 92, 255, .08);
    transform: rotateY(-4deg) translateZ(0);
    transform-origin: center;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, filter .24s ease;
    overflow: hidden;
}

.showcase-video-card::before {
    display: none;
}

.showcase-video-card video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.04);
}

.showcase-video-card:hover {
    z-index: 5;
    border-color: rgba(122, 92, 255, .5);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, .5),
        0 0 0 1px rgba(255, 255, 255, .08) inset,
        0 0 45px rgba(122, 92, 255, .28);
    transform: rotateY(0deg) translateY(-8px) scale(1.045);
    filter: brightness(1.08);
}

.card-wide {
    flex-basis: 490px;
}

.showcase-video-card:first-child {
    transform: rotateY(0deg) translateZ(0);
}

.card-tall {
    flex-basis: 490px;
}

.showcase-video-card:nth-child(6) {
    display: block;
}

.showcase-video-card figcaption {
    display: none;
}

.showcase-video-card figcaption span {
    display: none;
}

.showcase-video-card figcaption strong {
    display: none;
}

.showcase-video-card video {
    background: #050505;
}

.showcase-video-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    height: auto;
    background:
        linear-gradient(135deg, rgba(122, 92, 255, .18), transparent 28%),
        linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, .3));
    pointer-events: none;
}

.showcase-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.showcase-more span {
    width: 12px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .36);
}

.showcase-more span.active {
    width: 28px;
    background: #fff;
}

.pricing-section {
    padding: 46px 0 90px;
}

.pricing-section span {
    display: inline-block;
    margin-bottom: 10px;
    color: rgba(122, 92, 255, .95);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .18em;
}

.pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.price-card {
    min-height: 570px;
    padding: 28px 18px 24px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(39, 39, 42, .95), rgba(13, 14, 16, .98));
}

.price-card.featured {
    background: linear-gradient(180deg, rgba(38, 31, 58, .98), rgba(15, 13, 28, .98));
}

.price-card.max-card {
    background: linear-gradient(180deg, rgba(29, 42, 62, .98), rgba(11, 17, 25, .98));
}

.plan-badge,
.recommended {
    top: 22px;
    right: 18px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #ff725d;
    color: #fff;
    font-size: 11px;
}

.recommended {
    right: 80px;
    background: #ffe047;
    color: #2c2200;
}

.price-card h3 {
    font-size: 18px;
    letter-spacing: .04em;
}

.price-card > small {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, .55);
}

.price-line {
    margin: 24px 0 6px;
}

.price-line small {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.price-line strong {
    font-size: 45px;
}

.price-line del {
    margin-left: 8px;
    color: rgba(255, 255, 255, .32);
    font-size: 14px;
}

.price-card p {
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
}

.price-card ul {
    gap: 13px;
    margin: 32px 0 24px;
}

.price-card li {
    color: rgba(255, 255, 255, .66);
    font-size: 13px;
    line-height: 1.45;
    min-width: 0;
    overflow-wrap: anywhere;
}

.price-card li:first-child,
.price-card li:nth-child(2) {
    min-height: 58px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-card li b {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
}

.price-card li:first-child strong {
    font-size: 22px;
}

.price-card li:nth-child(2) strong {
    font-size: 14px;
}

.price-card li strong {
    color: #fff;
    font-size: 22px;
}

.price-card button,
.price-card a {
    min-height: 40px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f3f7ff, #dce4f2);
    color: #1a1b20;
    font-size: 13px;
}

.price-card.featured button,
.price-card.featured a {
    background: linear-gradient(90deg, #f5f1ff, #7f6cc9);
}

.price-card.max-card button,
.price-card.max-card a {
    background: linear-gradient(90deg, #f4faff, #5f93c8);
}

.final-cta {
    display: none;
}

.site-footer {
    width: min(calc(100% - 56px), 1080px);
    margin: 0 auto;
    padding: 56px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    overflow: visible;
}

.footer-line {
    display: none;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(260px, 1.7fr) repeat(3, 1fr);
    gap: 34px;
}

.footer-brand-block p {
    max-width: 420px;
    margin: 14px 0;
    color: rgba(154, 164, 184, .9);
    line-height: 1.8;
}

.footer-brand-block > span,
.footer-column span,
.footer-column a {
    color: rgba(154, 164, 184, .9);
    font-size: 14px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column strong {
    color: #fff;
    margin-bottom: 4px;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: space-between;
    color: rgba(154, 164, 184, .78);
    font-size: 13px;
}

.footer-records {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after {
        animation: none;
    }
}

@media (max-width: 1080px) {
    .hero h1 {
        white-space: normal;
    }

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

@media (max-width: 720px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-records {
        justify-content: flex-start;
    }
}

/* Final hero/nav layout polish */
.site-nav {
    width: min(calc(100% - 72px), 1280px);
    min-height: 58px;
    margin-top: 30px;
    padding: 0 18px 0 22px;
    grid-template-columns: 220px minmax(0, 1fr) minmax(230px, auto);
    gap: 18px;
    background: rgba(19, 19, 30, .88);
    border-color: rgba(122, 92, 255, .24);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, .34),
        0 0 30px rgba(122, 92, 255, .16),
        inset 0 0 0 1px rgba(255, 255, 255, .035);
}

.brand {
    min-width: 0;
}

.brand strong {
    font-size: 17px;
}

.nav-center {
    justify-content: center;
    gap: 8px;
}

.nav-center a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 999px;
    color: rgba(234, 238, 255, .68);
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.nav-center a:hover,
.nav-center a:first-child {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.nav-center a:first-child::after {
    bottom: -13px;
    width: 42px;
}

.nav-actions {
    justify-content: flex-end;
    gap: 10px;
}

.landing-locale-select {
    width: 86px;
    min-height: 36px;
    padding: 0 24px 0 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: rgba(244, 246, 255, .9);
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}

.landing-locale-select:focus-visible {
    outline: 2px solid rgba(122, 92, 255, .7);
    outline-offset: 2px;
}

.landing-locale-select option {
    color: #11131a;
}

.nav-login,
.nav-register,
.workspace-link {
    min-height: 36px;
    padding: 0 20px;
}

.nav-login {
    min-width: 72px;
}

.nav-register,
.workspace-link {
    min-width: 104px;
}

.hero {
    min-height: 760px;
}

.hero-inner {
    width: min(calc(100% - 96px), 1360px);
    min-height: 690px;
    padding: 98px 0 62px;
    grid-template-columns: minmax(620px, 780px) minmax(300px, 380px);
    justify-content: center;
    align-items: center;
    gap: clamp(54px, 7vw, 120px);
}

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

.hero h1 {
    font-size: clamp(48px, 4.3vw, 66px);
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-slogan {
    margin-top: 22px;
    font-size: clamp(25px, 2.1vw, 32px);
}

.hero-desc {
    margin-top: 28px;
    max-width: 620px;
    font-size: 15px;
    line-height: 1.85;
}

.hero-capability-panel {
    max-width: 760px;
    margin-top: 34px;
    gap: 14px;
}

.hero-capability-card,
.hero-capability-card > div {
    min-height: 188px;
}

.hero-capability-card {
    border-radius: 12px;
}

.hero-capability-card > div {
    padding: 18px 20px;
}

.hero-capability-card span {
    margin-bottom: 8px;
    font-size: 11px;
}

.hero-capability-card h3 {
    font-size: clamp(22px, 1.75vw, 28px);
}

.hero-capability-card p {
    max-width: 310px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.55;
}

.hero-capability-card button,
.hero-capability-card a {
    font-size: 13px;
}

.hero-visual {
    align-self: center;
}

.hero-visual .phone-frame {
    width: 300px;
    height: 486px;
}

@media (max-width: 1180px) {
    .site-nav {
        width: min(calc(100% - 36px), 960px);
        grid-template-columns: 1fr auto auto;
        margin-top: 18px;
    }

    .mobile-menu-btn {
        display: inline-flex;
        order: 2;
    }

    .nav-center {
        position: absolute;
        top: calc(100% + 8px);
        left: 20px;
        right: 20px;
        display: none;
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: #101727;
    }

    .site-nav.menu-open .nav-center {
        display: grid;
    }

    .hero-inner {
        width: min(calc(100% - 48px), 960px);
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 72px 0 54px;
        gap: 38px;
    }

    .hero h1,
    .hero-desc {
        text-align: center;
    }

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

    .hero-slogan::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .hero-capability-panel {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 720px) {
    .site-nav {
        width: min(calc(100% - 24px), 960px);
        min-height: 52px;
        padding: 0 12px;
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .brand strong {
        font-size: 16px;
    }

    .nav-center {
        left: 12px;
        right: 12px;
    }

    .nav-center a {
        justify-content: center;
    }

    .nav-login,
    .nav-register,
    .workspace-link {
        min-height: 34px;
        min-width: 0;
        padding: 0 12px;
    }

    .landing-locale-select {
        width: 68px;
        min-height: 34px;
        padding-left: 8px;
        font-size: 11px;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        width: min(calc(100% - 28px), 960px);
        padding: 52px 0 42px;
    }

    .hero h1 {
        font-size: clamp(38px, 12vw, 52px);
    }

    .hero-desc {
        margin-top: 24px;
        font-size: 14px;
    }

    .hero-capability-panel {
        grid-template-columns: 1fr;
        margin-top: 28px;
    }

    .hero-capability-card,
    .hero-capability-card > div {
        min-height: 178px;
    }

    .hero-visual .phone-frame {
        width: min(292px, 78vw);
        height: auto;
        aspect-ratio: 300 / 486;
    }
}

/* Hero phone preview polish */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-visual .phone-stage {
    width: 100%;
    padding-top: 0;
    display: flex;
    justify-content: center;
}

.hero-visual .phone-frame {
    width: 348px;
    height: 562px;
    padding: 22px;
    border-radius: 42px;
    background:
        linear-gradient(180deg, rgba(8, 14, 28, .78), rgba(3, 8, 17, .86)),
        radial-gradient(circle at 50% 18%, rgba(122, 92, 255, .3), transparent 36%);
    box-shadow:
        0 0 0 10px rgba(0, 203, 255, .07),
        0 0 54px rgba(0, 203, 255, .32),
        inset 0 0 32px rgba(122, 92, 255, .28);
}

.hero-visual .phone-inner {
    border-width: 4px;
    border-radius: 28px;
    box-shadow:
        inset 0 0 26px rgba(255, 255, 255, .14),
        0 0 0 1px rgba(255, 255, 255, .08);
}

.hero-visual .phone-play {
    left: 50%;
    right: auto;
    top: 50%;
    width: 70px;
    height: 70px;
    padding: 0;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .28);
    transform: translate(-50%, -50%);
    transition: transform .18s ease, opacity .18s ease, filter .18s ease;
}

.hero-visual .phone-play:hover {
    background: transparent;
    transform: translate(-50%, -50%) scale(1.06);
}

.hero-visual .phone-play img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 26px rgba(122, 92, 255, .5));
}

.hero-visual .phone-progress {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    height: 5px;
    overflow: visible;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.hero-visual .phone-inner:hover.is-preview-playing .phone-progress {
    opacity: 1;
    visibility: visible;
}

.hero-visual .phone-progress-fill {
    position: relative;
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #8f7bff, #6e49ff);
    transition: width .12s linear;
}

.hero-visual .phone-progress-fill::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -6px;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, .86);
    border-radius: 50%;
    background: #7a5cff;
    box-shadow: 0 0 18px rgba(122, 92, 255, .86);
    transform: translateY(-50%);
}

@media (max-width: 1180px) {
    .hero-visual .phone-frame {
        width: 326px;
        height: 527px;
    }
}

@media (max-width: 720px) {
    .hero-visual .phone-frame {
        width: min(318px, 82vw);
        height: auto;
        aspect-ratio: 348 / 562;
    }
}

/* Auth modal final layout fix: keep submit actions visible when messages appear. */
.auth-modal.auth-modal-split {
    width: min(92vw, 860px);
    height: min(560px, calc(100vh - 40px));
    min-height: 0;
    max-height: calc(100vh - 40px);
    overflow: hidden;
}

.auth-modal.auth-modal-split .auth-form-panel {
    min-height: 0;
    height: 100%;
    max-height: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    padding: 42px 48px 36px;
}

.auth-modal.auth-modal-split .auth-modal-head {
    flex: 0 0 76px;
    display: flex;
    align-items: flex-start;
    padding-right: 42px;
}

.auth-modal.auth-modal-split .auth-form-panel .auth-tabs {
    flex: 0 0 auto;
    margin: 0 0 18px;
}

.auth-modal.auth-modal-split .auth-pane {
    min-height: 0;
}

.auth-modal.auth-modal-split .auth-pane.active {
    display: block;
    flex: 0 0 auto;
    overflow: visible;
}

.auth-modal.auth-modal-split .auth-message {
    margin-bottom: 10px;
    padding: 9px 12px;
}

.auth-modal.auth-modal-split .modal-auth-form {
    align-content: start;
    gap: 8px;
}

.auth-modal.auth-modal-split .modal-auth-form label {
    margin-top: 0;
}

.auth-modal.auth-modal-split .auth-agreement {
    margin-top: 0;
    line-height: 1.45;
}

.auth-modal.auth-modal-split .auth-submit {
    min-height: 40px;
    margin-top: 6px;
}

.auth-modal.auth-modal-split .auth-submit i {
    display: none;
}

.auth-modal.auth-modal-split .auth-switch {
    margin-top: 10px;
}

@media (max-width: 720px) {
    .auth-modal.auth-modal-split {
        height: auto;
        min-height: auto;
        max-height: calc(100vh - 28px);
        overflow: hidden;
    }

    .auth-modal.auth-modal-split .auth-form-panel {
        height: auto;
        overflow: hidden;
        padding: 34px 22px 22px;
    }

    .auth-modal.auth-modal-split .auth-modal-head {
        flex-basis: 70px;
    }

    .auth-modal.auth-modal-split .auth-pane.active {
        overflow: visible;
    }

    .auth-modal.auth-modal-split .modal-phone-row {
        grid-template-columns: 1fr;
    }
}
