.landing-page {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse at 76% 45%, rgba(54, 112, 255, .08), transparent 33%),
        #fff;
    color: #111827;
}

.landing-header {
    width: min(1240px, calc(100% - 64px));
    min-height: 94px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.landing-brand { display: inline-flex; align-items: center; }
.landing-brand img { display: block; width: 190px; height: auto; }
.landing-actions { display: flex; align-items: center; gap: 30px; }
.landing-login { color: #20242d; font-size: 15px; font-weight: 650; text-decoration: none; }
.landing-login:hover { color: #155eef; }

.landing-cta {
    min-height: 54px;
    padding: 0 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border: 0;
    border-radius: 10px;
    background: #155eef;
    box-shadow: 0 8px 18px rgba(21, 94, 239, .16);
    color: #fff;
    font-size: 16px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
    cursor: pointer;
}

.landing-cta:hover {
    transform: translateY(-2px);
    background: #0b4fd7;
    box-shadow: 0 12px 24px rgba(21, 94, 239, .22);
}

.landing-cta-small { min-height: 48px; padding: 0 21px; font-size: 14px; }
.landing-cta-main { min-width: 210px; margin-top: 30px; }
.landing-cta-main span { font-size: 21px; transition: transform .18s ease; }
.landing-cta-main:hover span { transform: translateX(3px); }

.landing-hero {
    width: min(1240px, calc(100% - 64px));
    min-height: min(760px, calc(100vh - 120px));
    margin: 0 auto;
    padding: 64px 0 86px;
    display: grid;
    grid-template-columns: minmax(0, .97fr) minmax(480px, 1.03fr);
    align-items: center;
    gap: clamp(44px, 6vw, 96px);
}

.landing-copy { max-width: 590px; padding: 12px 0 34px; }
.landing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    color: #42526b;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
}
.landing-eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: #155eef; box-shadow: 0 0 0 5px #eaf1ff; }
.landing-copy h1 {
    margin: 0;
    max-width: 650px;
    color: #111318;
    font-size: clamp(44px, 5.3vw, 70px);
    font-weight: 780;
    letter-spacing: -.065em;
    line-height: 1.02;
}
.landing-copy h1 span { color: #155eef; }
.landing-description {
    max-width: 530px;
    margin: 24px 0 0;
    color: #5e6675;
    font-size: 19px;
    line-height: 1.65;
}
.landing-footnote { margin: 14px 0 0 4px; color: #818a99; font-size: 13px; font-weight: 600; }

.landing-visual { min-width: 0; position: relative; }
.lottie-stage {
    min-height: 430px;
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
}
.lottie-stage::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 7% 1% 3%;
    border-radius: 40px;
    background: linear-gradient(145deg, #eef4ff 0%, #f7f9ff 52%, #eefaff 100%);
    transform: rotate(-2deg);
}
.lottie-orbit { position: absolute; z-index: -1; border: 1px solid rgba(21,94,239,.10); border-radius: 50%; }
.lottie-orbit-one { width: 420px; height: 420px; }
.lottie-orbit-two { width: 510px; height: 510px; opacity: .65; }
.preview-window {
    width: min(100%, 570px);
    overflow: hidden;
    border: 1px solid rgba(35, 57, 100, .1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(39, 64, 112, .16), 0 4px 14px rgba(39, 64, 112, .05);
    transform: rotate(1.2deg);
    animation: landing-float 6s ease-in-out infinite;
}
.preview-window-top {
    height: 48px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #155eef;
}
.preview-brand-mark { display: inline-flex; align-items: center; gap: 3px; margin-right: 8px; }
.preview-brand-mark i { display: block; width: 8px; height: 17px; border-radius: 3px; background: #fff; transform: skew(-25deg); }
.preview-brand-mark i + i { height: 12px; opacity: .65; }
.preview-top-line { width: 62px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.34); }
.preview-top-line-wide { width: 102px; }
.preview-avatar { width: 22px; height: 22px; margin-left: auto; border-radius: 50%; background: #b6d0ff; }
.preview-window-content { padding: 24px; }
.preview-skeleton { height: 17px; margin-bottom: 12px; border-radius: 5px; background: #f1f3f7; }
.preview-skeleton-short { width: 28%; height: 12px; }
.preview-upload-area {
    min-height: 174px;
    margin-top: 22px;
    padding: 26px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: 2px solid #92b6ff;
    border-radius: 12px;
    background: #f6f9ff;
}
.preview-file { width: 57px; height: 70px; position: relative; display: grid; place-items: center; border-radius: 9px; color: #fff; font-size: 25px; font-weight: 800; box-shadow: 0 8px 14px rgba(30,50,90,.13); }
.preview-file-image { background: linear-gradient(145deg, #24b89e, #118e82); }
.preview-file-video { background: linear-gradient(145deg, #ef8b68, #c85d4c); }
.preview-file-html { background: linear-gradient(145deg, #5e91ed, #3164c8); font-size: 17px; }
.preview-sparkle { position: absolute; top: 20px; right: 24px; color: #ffca40; font-size: 25px; }
.preview-window-bottom { margin-top: 20px; display: flex; justify-content: space-between; }
.preview-window-bottom span { width: 74px; height: 26px; border-radius: 6px; background: #f1f3f7; }
.preview-window-bottom span + span { background: #ffd84d; }
.floating-tag {
    position: absolute;
    z-index: 2;
    padding: 11px 15px;
    border: 1px solid rgba(35,57,100,.08);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(39,64,112,.13);
    color: #334155;
    font-size: 13px;
    font-weight: 750;
}
.floating-tag span { margin-right: 5px; color: #155eef; }
.floating-tag-one { top: 14%; left: -3%; transform: rotate(-5deg); }
.floating-tag-two { right: -2%; bottom: 14%; transform: rotate(4deg); }
.landing-bottom-rule { height: 18px; background: linear-gradient(90deg, #eef4ff, #e8f1ff 50%, #f1f7ff); }

@keyframes landing-float { 0%,100% { transform: translateY(0) rotate(1.2deg); } 50% { transform: translateY(-9px) rotate(.4deg); } }

@media (max-width: 960px) {
    .landing-hero { grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr); gap: 32px; }
    .landing-copy h1 { font-size: clamp(42px, 6vw, 60px); }
    .lottie-stage { min-height: 360px; }
    .preview-window-content { padding: 18px; }
    .preview-upload-area { min-height: 145px; }
    .lottie-orbit-one { width: 330px; height: 330px; }
    .lottie-orbit-two { width: 410px; height: 410px; }
}

@media (max-width: 700px) {
    .landing-header { width: calc(100% - 36px); min-height: 76px; }
    .landing-brand img { width: 154px; }
    .landing-actions { gap: 17px; }
    .landing-login { font-size: 14px; }
    .landing-cta-small { min-height: 42px; padding: 0 14px; font-size: 13px; }
    .landing-hero { width: calc(100% - 40px); min-height: auto; padding: 58px 0 66px; grid-template-columns: 1fr; gap: 34px; }
    .landing-copy { max-width: none; padding: 0; }
    .landing-eyebrow { margin-bottom: 19px; font-size: 12px; }
    .landing-copy h1 { max-width: 520px; font-size: clamp(42px, 11vw, 58px); }
    .landing-description { margin-top: 19px; font-size: 17px; line-height: 1.55; }
    .landing-cta-main { margin-top: 24px; }
    .landing-footnote { font-size: 12px; }
    .lottie-stage { min-height: 300px; margin: 0 -4px; }
    .preview-window { width: 94%; }
    .preview-window-top { height: 39px; padding: 0 12px; }
    .preview-window-content { padding: 14px; }
    .preview-upload-area { min-height: 120px; margin-top: 15px; padding: 18px; gap: 12px; }
    .preview-file { width: 45px; height: 57px; font-size: 21px; }
    .preview-file-html { font-size: 15px; }
    .preview-sparkle { top: 12px; right: 14px; }
    .floating-tag { padding: 9px 11px; font-size: 11px; }
    .floating-tag-one { top: 6%; left: -1%; }
    .floating-tag-two { right: -1%; bottom: 7%; }
    .lottie-orbit-one { width: 260px; height: 260px; }
    .lottie-orbit-two { width: 320px; height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
    .preview-window { animation: none; }
    .landing-cta, .landing-cta-main span { transition: none; }
}
