:root {
    --ink: #111827;
    --muted: #64748b;
    --panel: #ffffff;
    --line: #dbe3ef;
    --blue: #2764ff;
    --violet: #7c3aed;
    --pink: #ec4899;
    --cyan: #22d3ee;
    --green: #16a34a;
    --bg: #f5f7fb;
    --dark: #0b1020;
    --radius: 8px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
}

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

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 4vw, 64px);
    color: #fff;
    background: rgba(9, 14, 29, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.brand,
.nav-links {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-weight: 850;
    font-size: 1.1rem;
}

.brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 65% 35%, #fff 0 8%, transparent 9%),
        conic-gradient(from 160deg, var(--cyan), var(--blue), var(--pink), #facc15, var(--cyan));
}

.nav-links {
    gap: 22px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.78);
}

.nav-links a:hover {
    color: #fff;
}

.hero {
    position: relative;
    min-height: 760px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.65fr);
    align-items: center;
    gap: clamp(24px, 5vw, 72px);
    padding: 70px clamp(18px, 5vw, 76px) 96px;
    overflow: hidden;
    color: #fff;
    background: #080d1b;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(8,13,27,0.95) 0%, rgba(8,13,27,0.72) 46%, rgba(8,13,27,0.45) 100%),
        url("https://images.unsplash.com/photo-1511379938547-c1f69419868d?auto=format&fit=crop&w=2200&q=80");
    background-size: cover;
    background-position: center;
}

.hero > * {
    position: relative;
}

.hero-media {
    position: absolute;
    inset: auto 0 0 auto;
    width: min(680px, 54vw);
    height: 44%;
    opacity: 0.82;
    background-image: url("https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=1400&q=80");
    background-size: cover;
    background-position: center;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
}

.film-strip {
    position: absolute;
    inset: 22px 22px auto auto;
    display: flex;
    gap: 9px;
}

.film-strip span {
    width: 54px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.12);
}

.hero-copy {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--cyan);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 0.78rem;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(3rem, 6vw, 6.8rem);
    line-height: 0.96;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.9rem);
    line-height: 1.02;
    letter-spacing: 0;
}

h3 {
    margin: 0;
    font-size: 1.1rem;
}

.hero-text {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255,255,255,0.76);
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    line-height: 1.55;
}

.hero-actions,
.field-grid,
.format-list,
.comparison {
    display: flex;
    flex-wrap: wrap;
}

.hero-actions {
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    color: #fff;
    background: var(--blue);
}

.button.secondary {
    color: #fff;
    border-color: rgba(255,255,255,0.32);
    background: rgba(255,255,255,0.08);
}

.button.wide {
    width: 100%;
}

.preview-console {
    align-self: end;
    max-width: 440px;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(9, 14, 29, 0.78);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 28px 80px rgba(0,0,0,0.28);
}

.console-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.72);
    font-size: 0.88rem;
}

.console-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--pink);
}

.console-header span:nth-child(2) {
    background: #f59e0b;
}

.console-header span:nth-child(3) {
    background: var(--green);
}

.console-header strong {
    margin-left: auto;
}

.waveform {
    height: 140px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: 8px;
    margin: 18px 0;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.06);
}

.waveform i {
    display: block;
    height: var(--h);
    border-radius: 3px;
    background: linear-gradient(180deg, var(--cyan), var(--blue));
    animation: pulse 1.7s ease-in-out infinite alternate;
}

.waveform i:nth-child(2n) {
    animation-delay: 0.3s;
}

.waveform i:nth-child(3n) {
    animation-delay: 0.7s;
}

@keyframes pulse {
    from { transform: scaleY(0.72); opacity: 0.65; }
    to { transform: scaleY(1); opacity: 1; }
}

.pipeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.pipeline li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.82);
}

.pipeline span {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #fff;
    background: rgba(39,100,255,0.9);
    font-weight: 850;
    font-size: 0.8rem;
}

.section {
    padding: 74px clamp(18px, 5vw, 76px);
}

.intro-band,
.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: start;
}

.intro-band p,
.section-heading p,
.process p,
.contact p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 1.02rem;
}

.upload-panel,
.contact-form,
.example-card,
.steps div {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 50px rgba(15,23,42,0.08);
}

.upload-panel,
.contact-form {
    padding: 18px;
}

.drop-zone {
    display: grid;
    place-items: center;
    min-height: 190px;
    padding: 24px;
    border: 2px dashed #b7c6dc;
    border-radius: var(--radius);
    color: var(--ink);
    text-align: center;
    cursor: pointer;
    background: #f8fbff;
}

.drop-zone input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.drop-zone strong {
    margin-top: 8px;
    font-size: 1.2rem;
}

.drop-zone small {
    color: var(--muted);
}

.drop-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    background: var(--blue);
    font-size: 2rem;
    line-height: 1;
}

.field-grid {
    gap: 14px;
    margin: 16px 0;
}

.field-grid label,
.contact-form label {
    display: grid;
    flex: 1 1 230px;
    gap: 7px;
    font-weight: 700;
    color: #334155;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cfd9e8;
    border-radius: var(--radius);
    padding: 12px 13px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

textarea {
    resize: vertical;
}

.upload-status {
    margin-top: 14px;
}

.progress {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #dbeafe;
}

.progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--blue);
    transition: width 0.25s ease;
}

.upload-status p {
    margin: 8px 0 0;
    color: var(--muted);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 28px;
}

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

.example-card {
    overflow: hidden;
}

.video-window {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.video-window::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.58));
}

.video-window.city {
    background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=80");
}

.video-window.stage {
    background-image: url("https://images.unsplash.com/photo-1506157786151-b8491531f063?auto=format&fit=crop&w=1200&q=80");
}

.video-window.desert {
    background-image: url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=1200&q=80");
}

.play-dot {
    position: absolute;
    z-index: 2;
    left: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
}

.play-dot::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 12px;
    border-left: 14px solid var(--blue);
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
}

.motion-bars,
.spotlight,
.sun-pulse {
    position: absolute;
    z-index: 1;
    inset: 0;
}

.motion-bars {
    background: repeating-linear-gradient(90deg, transparent 0 42px, rgba(34,211,238,0.22) 43px 46px);
    animation: drift 6s linear infinite;
}

.spotlight {
    background: radial-gradient(circle at 48% 22%, rgba(255,255,255,0.65), transparent 28%);
    animation: sweep 4s ease-in-out infinite alternate;
}

.sun-pulse {
    background: radial-gradient(circle at 70% 28%, rgba(255,221,140,0.6), transparent 18%);
    animation: breathe 3s ease-in-out infinite alternate;
}

@keyframes drift {
    from { transform: translateX(-80px); }
    to { transform: translateX(80px); }
}

@keyframes sweep {
    from { transform: translateX(-18%); }
    to { transform: translateX(18%); }
}

@keyframes breathe {
    from { transform: scale(0.9); opacity: 0.55; }
    to { transform: scale(1.08); opacity: 0.95; }
}

.example-body {
    padding: 18px;
}

.example-body p {
    color: var(--muted);
    line-height: 1.5;
}

.comparison {
    gap: 8px;
}

.comparison span,
.format-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #1e3a8a;
    background: #e8f0ff;
    font-weight: 750;
    font-size: 0.86rem;
}

.process {
    background: #10182c;
    color: #fff;
}

.process .section-heading p,
.process p {
    color: rgba(255,255,255,0.72);
}

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

.steps div {
    padding: 22px;
    color: var(--ink);
}

.steps span {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--blue);
    font-weight: 900;
}

.formats {
    display: grid;
    grid-template-columns: minmax(260px, 0.55fr) 1fr;
    gap: 30px;
    align-items: center;
}

.format-list {
    gap: 10px;
}

.format-list span {
    min-height: 42px;
    padding-inline: 14px;
    color: #312e81;
    background: #ede9fe;
}

.contact {
    background: #fff;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 24px clamp(18px, 5vw, 76px);
    color: rgba(255,255,255,0.72);
    background: var(--dark);
}

@media (max-width: 980px) {
    .hero,
    .intro-band,
    .contact,
    .formats {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .preview-console {
        align-self: auto;
        max-width: none;
    }

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

@media (max-width: 680px) {
    .topbar,
    .footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        overflow-x: auto;
    }

    .hero {
        padding-top: 44px;
    }

    h1 {
        font-size: 3rem;
    }

    .hero-media {
        display: none;
    }

    .example-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .section {
        padding-block: 52px;
    }
}
