html,
body {
    width: 100%;
    min-height: 100%;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #172033;
    background: #f6f8fb;
    font-family: "SF Pro SC", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

p,
h1,
h2,
h3 {
    margin-top: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 16px clamp(20px, 5vw, 72px);
    color: #fff;
    background: rgba(9, 17, 31, .86);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(18px);
}

.brand,
.header-actions {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-title {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    line-height: 1;
}

.brand-title strong,
.brand-title em {
    font-style: normal;
}

.brand-title strong {
    color: #fff;
    font-size: 19px;
    font-weight: 900;
}

.brand-title em {
    color: #9cffdb;
    font-size: 15px;
    font-weight: 800;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #0c1a2b;
    font-size: 13px;
    font-weight: 900;
    background: transparent;
    border-radius: 9px;
    box-shadow: 0 0 28px rgba(121, 242, 192, .45);
    overflow: hidden;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.header-actions {
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, .76);
}

.header-actions a {
    padding: 9px 12px;
    border-radius: 8px;
}

.header-actions a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

.header-actions .nav-button {
    color: #07101e;
    font-weight: 700;
    background: #fff;
}

.header-actions .nav-button:hover {
    color: #07101e;
    background: #79f2c0;
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 16% 18%, rgba(121, 242, 192, .24), transparent 32%),
        radial-gradient(circle at 84% 12%, rgba(255, 206, 86, .2), transparent 28%),
        linear-gradient(135deg, #07101e 0%, #12253a 48%, #20252f 100%);
}

.hero-section:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    width: min(1180px, calc(100% - 40px));
    min-height: calc(100vh - 69px);
    margin: 0 auto;
    padding: 66px 0 82px;
}

.eyebrow,
.section-heading span,
.cta-section span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #79f2c0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.eyebrow span {
    width: 9px;
    height: 9px;
    background: #ffce56;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 206, 86, .8);
}

.hero-copy h1 {
    max-width: 660px;
    margin-bottom: 16px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: 0;
}

.hero-subtitle {
    max-width: 620px;
    margin-bottom: 12px;
    color: #9cffdb;
    font-size: clamp(20px, 2.4vw, 30px);
    line-height: 1.35;
    font-weight: 800;
}

.hero-desc {
    max-width: 620px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
    line-height: 1.8;
}

.hero-actions,
.hero-metrics,
.workflow-line,
.scene-grid {
    display: flex;
}

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

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 8px;
}

.primary-button {
    color: #07101e;
    background: #79f2c0;
    box-shadow: 0 14px 34px rgba(121, 242, 192, .24);
}

.primary-button:hover {
    color: #07101e;
    transform: translateY(-2px);
    background: #92ffd2;
    box-shadow: 0 18px 38px rgba(121, 242, 192, .32);
}

.secondary-button {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
}

.secondary-button:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .46);
    background: rgba(255, 255, 255, .14);
}

.hero-metrics {
    gap: 28px;
    flex-wrap: wrap;
}

.hero-metrics div {
    min-width: 118px;
}

.hero-metrics strong {
    display: block;
    margin-bottom: 5px;
    font-size: 26px;
    line-height: 1;
}

.hero-metrics span {
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
}

.hero-visual {
    position: relative;
    min-height: 640px;
}

.visual-glow {
    position: absolute;
    inset: 42px 10px 30px 10px;
    background: conic-gradient(from 180deg, #79f2c0, #6aa9ff, #ffce56, #79f2c0);
    filter: blur(54px);
    opacity: .34;
}

.console-window {
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    margin: 20px 0 0;
    padding: 18px;
    background: rgba(8, 17, 30, .82);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    box-shadow: 0 34px 100px rgba(0, 0, 0, .38);
}

.window-top {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 16px;
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
}

.window-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.window-top span:nth-child(1) {
    background: #ff6b6b;
}

.window-top span:nth-child(2) {
    background: #ffce56;
}

.window-top span:nth-child(3) {
    background: #79f2c0;
}

.window-top em {
    margin-left: auto;
    font-style: normal;
}

.prompt-card,
.pipeline-step,
.code-panel,
.feature-card,
.workflow-item,
.scene-item {
    border: 1px solid rgba(23, 32, 51, .1);
    border-radius: 8px;
}

.prompt-card {
    padding: 18px;
    color: #d9e7ff;
    background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
    border-color: rgba(255, 255, 255, .12);
}

.prompt-card label {
    display: block;
    margin-bottom: 8px;
    color: #79f2c0;
    font-size: 12px;
    font-weight: 800;
}

.prompt-card p {
    margin: 0;
    line-height: 1.7;
}

.pipeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.pipeline-step {
    position: relative;
    min-height: 132px;
    padding: 16px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .1);
}

.pipeline-step.active {
    background: rgba(121, 242, 192, .13);
    border-color: rgba(121, 242, 192, .45);
}

.pipeline-step i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 26px;
    margin-bottom: 18px;
    color: #07101e;
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
    background: #79f2c0;
    border-radius: 6px;
}

.pipeline-step strong,
.pipeline-step span {
    display: block;
}

.pipeline-step strong {
    margin-bottom: 8px;
    font-size: 16px;
}

.pipeline-step span {
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    line-height: 1.6;
}

.code-panel {
    padding: 18px;
    background: #050b15;
    border-color: rgba(255, 255, 255, .12);
}

.code-line {
    display: block;
    height: 10px;
    margin: 10px 0;
    background: linear-gradient(90deg, rgba(121,242,192,.9), rgba(106,169,255,.22));
    border-radius: 20px;
}

.w90 {
    width: 90%;
}

.w80 {
    width: 80%;
}

.w70 {
    width: 70%;
}

.w55 {
    width: 55%;
}

.section-block,
.workflow-section,
.cta-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.section-block {
    padding: 88px 0 28px;
}

.workflow-section {
    padding: 76px 0;
}

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

.section-heading span,
.cta-section span {
    color: #0f8f64;
}

.section-heading h2,
.cta-section h2 {
    margin-bottom: 0;
    color: #172033;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: 0;
}

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

.feature-card {
    min-height: 238px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(20, 32, 50, .06);
}

.feature-card:hover,
.scene-item:hover,
.workflow-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(20, 32, 50, .1);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 32px;
    margin-bottom: 26px;
    color: #07101e;
    font-size: 13px;
    font-weight: 900;
    background: #ffce56;
    border-radius: 7px;
}

.feature-card:nth-child(2n) .feature-icon {
    background: #79f2c0;
}

.feature-card:nth-child(3n) .feature-icon {
    color: #fff;
    background: #3d7cff;
}

.feature-card h3,
.workflow-item h3 {
    margin-bottom: 12px;
    color: #172033;
    font-size: 20px;
    font-weight: 900;
}

.feature-card p,
.workflow-item p,
.scene-item span,
.cta-section p {
    margin-bottom: 0;
    color: #637083;
    font-size: 15px;
    line-height: 1.75;
}

.reason-section {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
    gap: 28px;
    align-items: stretch;
    width: min(1180px, calc(100% - 40px));
    margin: 44px auto 28px;
    padding: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 8% 10%, rgba(121, 242, 192, .18), transparent 32%),
        radial-gradient(circle at 92% 86%, rgba(61, 124, 255, .22), transparent 30%),
        linear-gradient(135deg, #07101e, #17283b);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(20, 32, 50, .14);
}

.reason-copy span {
    display: inline-flex;
    margin-bottom: 16px;
    color: #79f2c0;
    font-size: 13px;
    font-weight: 800;
}

.reason-copy h2 {
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.18;
    font-weight: 900;
}

.reason-copy p,
.reason-item p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    line-height: 1.8;
}

.reason-grid {
    display: grid;
    gap: 12px;
}

.reason-item {
    padding: 20px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
}

.reason-item strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 17px;
}

.workflow-section {
    max-width: none;
    width: 100%;
    background:
        linear-gradient(180deg, rgba(255,255,255,0), #fff 14%, #fff 86%, rgba(255,255,255,0));
}

.workflow-section .section-heading,
.workflow-line {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.workflow-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.workflow-line:before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 25px;
    height: 2px;
    background: linear-gradient(90deg, #79f2c0, #3d7cff, #ffce56);
}

.workflow-item {
    position: relative;
    z-index: 1;
    padding: 0 20px 22px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.workflow-item b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 0 22px;
    color: #07101e;
    font-size: 20px;
    background: #79f2c0;
    border: 6px solid #fff;
    border-radius: 50%;
    box-shadow: 0 12px 24px rgba(121, 242, 192, .28);
}

.scene-section {
    padding-top: 44px;
}

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

.scene-item {
    padding: 22px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(20, 32, 50, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.scene-item strong {
    display: block;
    margin-bottom: 8px;
    color: #172033;
    font-size: 18px;
}

.scene-item span {
    display: block;
}

.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 72px;
    margin-bottom: 72px;
    padding: 42px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgba(255,206,86,.32), transparent 30%),
        linear-gradient(135deg, #07101e, #15304f);
    border-radius: 8px;
}

.cta-section h2 {
    color: #fff;
}

.cta-section p {
    max-width: 620px;
    margin-top: 14px;
    color: rgba(255, 255, 255, .72);
}

.cta-section .primary-button {
    flex: 0 0 auto;
}

.footer {
    padding: 22px 20px;
    color: rgba(255, 255, 255, .56);
    text-align: center;
    background: #070d16;
}

.footer p {
    margin: 0;
    font-size: 14px;
}

.footer .opensource-credit {
    margin-top: 8px;
    color: rgba(255, 255, 255, .46);
    font-size: 13px;
}

.footer a {
    color: rgba(255, 255, 255, .68);
}

.footer a:hover {
    color: #79f2c0;
}

@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 58px;
    }

    .hero-visual {
        min-height: auto;
    }

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

    .reason-section {
        grid-template-columns: 1fr;
    }

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

    .workflow-line:before {
        display: none;
    }
}

@media (max-width: 760px) {
    .site-header {
        position: sticky;
        align-items: center;
        flex-direction: row;
        gap: 10px;
        padding: 10px 12px;
    }

    .header-actions {
        justify-content: flex-end;
        width: auto;
        overflow-x: auto;
        padding-bottom: 2px;
        gap: 4px;
        font-size: 11px;
    }

    .brand {
        gap: 6px;
        font-size: 13px;
    }

    .brand-title {
        gap: 1px;
    }

    .brand-title strong {
        font-size: 14px;
    }

    .brand-title em {
        font-size: 12px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .brand-mark img {
        border-radius: 7px;
    }

    .header-actions a {
        padding: 7px 6px;
    }

    .header-actions a {
        flex: 0 0 auto;
    }

    .hero-grid {
        width: min(100% - 32px, 1180px);
        padding: 30px 0 34px;
        gap: 18px;
    }

    .hero-copy h1 {
        margin-bottom: 14px;
        font-size: 34px;
        line-height: 1.08;
    }

    .hero-subtitle {
        margin-bottom: 10px;
        font-size: 17px;
        line-height: 1.45;
    }

    .hero-desc {
        margin-bottom: 16px;
        font-size: 14px;
        line-height: 1.65;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        min-height: 40px;
    }

    .feature-grid,
    .workflow-line,
    .scene-grid {
        grid-template-columns: 1fr;
    }

    .eyebrow {
        margin-bottom: 12px;
        font-size: 12px;
    }

    .hero-actions {
        gap: 9px;
        margin-bottom: 14px;
    }

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

    .hero-metrics div {
        min-width: 0;
    }

    .hero-metrics strong {
        font-size: 20px;
    }

    .hero-metrics span {
        font-size: 11px;
    }

    .console-window {
        margin-top: 0;
        padding: 10px;
    }

    .window-top {
        padding-bottom: 9px;
    }

    .prompt-card {
        padding: 11px;
    }

    .prompt-card p {
        font-size: 12px;
        line-height: 1.5;
    }

    .pipeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin: 9px 0;
    }

    .pipeline-step {
        min-height: auto;
        padding: 10px;
    }

    .pipeline-step i {
        width: 28px;
        height: 22px;
        margin-bottom: 8px;
        font-size: 11px;
    }

    .pipeline-step strong {
        margin-bottom: 5px;
        font-size: 13px;
    }

    .pipeline-step span {
        font-size: 11px;
        line-height: 1.45;
    }

    .code-panel {
        padding: 10px;
    }

    .code-line {
        height: 7px;
        margin: 7px 0;
    }

    .section-block,
    .reason-section,
    .workflow-section .section-heading,
    .workflow-line,
    .cta-section {
        width: min(100% - 32px, 1180px);
    }

    .section-block {
        padding-top: 62px;
    }

    .workflow-section {
        padding: 54px 0;
    }

    .feature-card {
        min-height: auto;
    }

    .reason-section {
        margin-top: 34px;
        padding: 24px 18px;
    }

    .reason-copy h2 {
        font-size: 25px;
    }

    .reason-copy p,
    .reason-item p {
        font-size: 14px;
        line-height: 1.7;
    }

    .cta-section {
        align-items: stretch;
        flex-direction: column;
        margin-top: 50px;
        margin-bottom: 50px;
        padding: 28px 20px;
    }
}
