.demo-page {
    max-width: 1480px;
    margin: 0 auto;
    color: var(--text);
}

.demo-hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 1.2rem;
    align-items: stretch;
    margin-bottom: 1.4rem;
}

.demo-hero-copy,
.demo-hero-card,
.demo-side,
.demo-form-card {
    background: linear-gradient(180deg, rgba(15,20,41,.94), rgba(5,8,22,.94));
    border: 1px solid rgba(139,132,255,.2);
    border-radius: 28px;
    box-shadow: 0 24px 58px rgba(0,0,0,.28);
}

.demo-hero-copy {
    padding: clamp(1.6rem, 3vw, 3rem);
}

.demo-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .82rem;
    border-radius: 999px;
    background: rgba(34,197,94,.13);
    border: 1px solid rgba(34,197,94,.26);
    color: #C8F7D7;
    font-weight: 900;
    font-size: .8rem;
    margin-bottom: 1rem;
}

.demo-hero h1 {
    color: #fff;
    font-weight: 950;
    letter-spacing: -.055em;
    line-height: 1.02;
    font-size: clamp(2.05rem, 4vw, 4.4rem);
    margin-bottom: 1rem;
}

.demo-hero p,
.demo-side p,
.demo-form-head p {
    color: #C8D0EA;
    line-height: 1.72;
}

.demo-proof {
    display: flex;
    flex-wrap: wrap;
    gap: .62rem;
    margin-top: 1.4rem;
}

.demo-proof span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 999px;
    padding: .62rem .82rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(139,132,255,.18);
    color: #F3F6FF;
    font-weight: 850;
    font-size: .84rem;
}

.demo-proof i {
    color: #00D4FF;
}

.demo-hero-card {
    padding: 1.4rem;
    display: grid;
    align-content: center;
    gap: 1rem;
}

.demo-hero-card img {
    width: min(220px, 70%);
    margin: 0 auto;
    filter: drop-shadow(0 22px 38px rgba(0,0,0,.4));
}

.demo-hero-card strong,
.demo-side h2,
.demo-form-head h2 {
    color: #fff;
    font-weight: 950;
    letter-spacing: -.03em;
}

.demo-hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .7rem;
}

.demo-hero-card li {
    color: #DCE3FF;
    display: flex;
    gap: .65rem;
}

.demo-hero-card li::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    flex: 0 0 auto;
    margin-top: .45rem;
}

.demo-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 1.2rem;
    align-items: start;
}

.demo-side,
.demo-form-card {
    padding: 1.35rem;
}

.demo-step {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    padding: .95rem 0;
    border-top: 1px solid rgba(139,132,255,.16);
}

.demo-step span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 950;
    background: linear-gradient(135deg, #6C63FF, #00D4FF);
    flex: 0 0 auto;
}

.demo-step strong {
    color: #fff;
    display: block;
}

.demo-step small {
    color: #AEB8D8;
    line-height: 1.5;
}

.demo-form-head {
    margin-bottom: 1rem;
}

.demo-form {
    display: grid;
    gap: 1rem;
}

.demo-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.demo-form label {
    color: #E8ECFF;
    font-weight: 850;
    font-size: .88rem;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
    width: 100%;
    margin-top: .42rem;
    border: 1px solid rgba(139,132,255,.25);
    background: rgba(255,255,255,.055);
    color: #fff;
    border-radius: 16px;
    padding: .9rem 1rem;
    outline: none;
}

.demo-form textarea {
    resize: vertical;
}

.demo-form option {
    color: #111827;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
    border-color: rgba(0,212,255,.65);
    box-shadow: 0 0 0 4px rgba(0,212,255,.1);
}

.demo-checks {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    padding: .95rem;
    border-radius: 20px;
    border: 1px solid rgba(139,132,255,.18);
    background: rgba(255,255,255,.035);
}

.demo-checks strong {
    width: 100%;
    color: #fff;
}

.demo-checks label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .72rem;
    border-radius: 999px;
    background: rgba(5,8,22,.5);
    border: 1px solid rgba(139,132,255,.13);
    font-size: .82rem;
}

.demo-checks input {
    width: auto;
    margin: 0;
}

.demo-full {
    display: block;
}

.demo-submit {
    border: 0;
    border-radius: 18px;
    padding: 1rem 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, #6C63FF, #00D4FF);
    font-weight: 950;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .62rem;
    box-shadow: 0 22px 44px rgba(108,99,255,.28);
}

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

@media (max-width: 992px) {
    .demo-hero,
    .demo-grid,
    .demo-field-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .demo-hero-copy,
    .demo-hero-card,
    .demo-side,
    .demo-form-card {
        border-radius: 22px;
        padding: 1rem;
    }
}
