*,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        @font-face {
            font-family: 'JUST Sans';
            src: url('../fonts/just-sans/JUST Sans Regular.woff2') format('woff2'),
                 url('../fonts/just-sans/JUST Sans Regular.woff') format('woff');
            font-weight: 400;
            font-style: normal;
        }
        @font-face {
            font-family: 'JUST Sans';
            src: url('../fonts/just-sans/JUST Sans Medium.woff2') format('woff2'),
                 url('../fonts/just-sans/JUST Sans Medium.woff') format('woff');
            font-weight: 500;
            font-style: normal;
        }
        @font-face {
            font-family: 'JUST Sans';
            src: url('../fonts/just-sans/JUST Sans SemiBold.woff2') format('woff2'),
                 url('../fonts/just-sans/JUST Sans SemiBold.woff') format('woff');
            font-weight: 600;
            font-style: normal;
        }
        @font-face {
            font-family: 'JUST Sans';
            src: url('../fonts/just-sans/JUST Sans Bold.woff2') format('woff2'),
                 url('../fonts/just-sans/JUST Sans Bold.woff') format('woff');
            font-weight: 700;
            font-style: normal;
        }
        @font-face {
            font-family: 'JUST Sans';
            src: url('../fonts/just-sans/JUST Sans ExBold.woff2') format('woff2'),
                 url('../fonts/just-sans/JUST Sans ExBold.woff') format('woff');
            font-weight: 800;
            font-style: normal;
        }
        @font-face {
            font-family: 'JUST Sans';
            src: url('../fonts/just-sans/JUST Sans ExLight.woff2') format('woff2'),
                 url('../fonts/just-sans/JUST Sans ExLight.woff') format('woff');
            font-weight: 200;
            font-style: normal;
        }
        @font-face {
            font-family: 'JUST Sans';
            src: url('../fonts/just-sans/JUST Sans Light.woff2') format('woff2'),
                 url('../fonts/just-sans/JUST Sans Light.woff') format('woff');
            font-weight: 300;
            font-style: normal;
        }
        :root {
            --bg: #3744ce;
            --card-bg: rgba(255, 255, 255, .08);
            --border: rgba(255, 255, 255, .15);
            --lime: #E1EE2B;
            --lime-h: #F2EE2B;
            --blue: #3744ce;
            --blue-lt: #5560ee;
            --beige: #F6F5F3;
            --text-dim: rgba(255, 255, 255, .8);
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'JUST Sans', system-ui, -apple-system, sans-serif;
            background: url('/storage/background.png') center center / cover no-repeat fixed;
            color: #F6F5F3;
            min-height: 100vh;
        }
        /* ════════════════════════════════════════════
       HEADER
    ════════════════════════════════════════════ */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 200;
            padding: 0 40px;
            height: 110px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(55, 68, 206, .9);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
        }
        .site-logo {
            font-size: .92rem;
            font-weight: 900;
            letter-spacing: .04em;
            text-transform: uppercase;
        }
        .site-logo em {
            color: var(--lime);
            font-style: normal;
        }
        .header-pill {
            font-size: .68rem;
            font-weight: 700;
            letter-spacing: .1em;
            text-transform: uppercase;
            background: var(--lime);
            color: #000;
            padding: 5px 14px;
            border-radius: 20px;
        }
        /* ════════════════════════════════════════════
       HERO
    ════════════════════════════════════════════ */
        .hero {
            text-align: center;
            padding: 52px 20px 36px;
        }
        .hero-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: .72rem;
            font-weight: 700;
            letter-spacing: .14em;
            text-transform: uppercase;
            color: var(--lime);
            margin-bottom: 16px;
        }
        .hero-kicker::before,
        .hero-kicker::after {
            content: '';
            width: 28px;
            height: 1px;
            background: var(--lime);
            opacity: .5;
        }
        .hero h1 {
            font-size: clamp(1.9rem, 4.5vw, 2.9rem);
            font-weight: 900;
            line-height: 1.08;
            margin-bottom: 14px;
        }
        .hero h1 span {
            color: var(--lime);
        }
        .hero p {
            font-size: .97rem;
            color: var(--text-dim);
            max-width: 440px;
            margin: 0 auto;
        }
        /* ════════════════════════════════════════════
       STEP INDICATOR
    ════════════════════════════════════════════ */
        .steps {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0;
            padding: 0 20px;
            margin-bottom: 40px;
            flex-wrap: wrap;
            row-gap: 12px;
        }
        .step {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: .8rem;
            font-weight: 600;
            color: var(--text-dim);
        }
        .step-n {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: .78rem;
            flex-shrink: 0;
        }
        .step.active {
            color: #fff;
        }
        .step.active .step-n {
            background: var(--lime);
            color: #000;
        }
        .step-bar {
            width: 48px;
            height: 2px;
            background: var(--border);
            margin: 0 6px;
        }
        /* ════════════════════════════════════════════
       LAYOUT GRID
    ════════════════════════════════════════════ */
        .layout {
            max-width: 1160px;
            margin: 0 auto;
            padding: 0 24px 80px;
            display: grid;
            grid-template-columns: 360px 1fr;
            gap: 28px;
            align-items: start;
        }
        @media (max-width: 840px) {
            .layout {
                grid-template-columns: 1fr;
            }
            .preview-col {
                order: -1;
            }
        }
        /* ════════════════════════════════════════════
       FORM CARD
    ════════════════════════════════════════════ */
        .form-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 24px;
        }
        .sec-head {
            font-size: .66rem;
            font-weight: 800;
            letter-spacing: .14em;
            text-transform: uppercase;
            color: var(--lime);
            margin-bottom: 14px;
        }
        .field {
            margin-bottom: 14px;
        }
        .field>label {
            display: block;
            font-size: .78rem;
            font-weight: 600;
            color: rgba(255, 255, 255, .58);
            margin-bottom: 6px;
        }
        .opt-tag {
            font-weight: 400;
            color: rgba(255, 255, 255, .28);
        }
        input[type="text"] {
            width: 100%;
            background: rgba(255, 255, 255, .065);
            border: 1.5px solid rgba(255, 255, 255, .1);
            border-radius: 10px;
            padding: 10px 13px;
            font-size: .88rem;
            color: #fff;
            font-family: inherit;
            outline: none;
            transition: border-color .18s, background .18s;
        }
        input[type="text"]:focus {
            border-color: var(--lime);
            background: rgba(225, 238, 43, .035);
        }
        input[type="text"]::placeholder {
            color: rgba(255, 255, 255, .22);
        }
        /* Upload zones */
        .dropzone {
            position: relative;
            overflow: hidden;
            border: 2px dashed rgba(225, 238, 43, .4);
            border-radius: 12px;
            padding: 18px 14px;
            text-align: center;
            cursor: pointer;
            background: rgba(225, 238, 43, .015);
            transition: border-color .18s, background .18s;
        }
        .dropzone:hover,
        .dropzone.over {
            border-color: var(--lime);
            background: rgba(225, 238, 43, .055);
        }
        .dropzone input[type="file"] {
            position: absolute;
            inset: 0;
            opacity: 0;
            cursor: pointer;
            width: 100%;
            height: 100%;
        }
        .dz-icon {
            font-size: 1.65rem;
            display: block;
            margin-bottom: 4px;
        }
        .dz-text {
            font-size: .78rem;
            color: rgba(255, 255, 255, .46);
            line-height: 1.5;
        }
        .dz-text b {
            color: var(--lime);
            font-weight: 700;
        }
        .thumb-circle {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            object-fit: cover;
            display: none;
            margin: 8px auto 0;
            border: 2px solid var(--lime);
        }
        .thumb-rect {
            max-width: 100px;
            max-height: 34px;
            object-fit: contain;
            display: none;
            margin: 8px auto 0;
        }
        .rule {
            height: 1px;
            background: var(--border);
            margin: 18px 0;
        }
        /* ════════════════════════════════════════════
       PREVIEW COLUMN
    ════════════════════════════════════════════ */
        .preview-col {
            position: sticky;
            top: 76px;
            display: none;
        }
        .preview-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 11px;
        }
        .preview-label {
            font-size: .66rem;
            font-weight: 700;
            letter-spacing: .14em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, .35);
        }
        .live-tag {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: .7rem;
            font-weight: 700;
            color: var(--lime);
        }
        .live-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--lime);
            animation: blink 1.6s ease-in-out infinite;
        }
        @keyframes blink {
            0%,
            100% {
                opacity: 1
            }
            50% {
                opacity: .25
            }
        }
        .canvas-shell {
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 28px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06);
        }
        #speakerCanvas {
            width: 100%;
            height: auto;
            display: block;
        }
        .dl-btn {
            width: 100%;
            margin-top: 13px;
            padding: 14px 20px;
            background: var(--lime);
            color: var(--blue);
            border: none;
            border-radius: 12px;
            font-size: .95rem;
            font-weight: 800;
            font-family: inherit;
            cursor: pointer;
            letter-spacing: .01em;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: background .18s, transform .12s, box-shadow .18s;
            box-shadow: 0 4px 20px rgba(225, 238, 43, .25);
        }
        .dl-btn:hover {
            background: var(--lime-h);
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(225, 238, 43, .35);
        }
        .dl-btn:active {
            transform: translateY(0);
        }
        .dl-btn svg {
            flex-shrink: 0;
        }
        .sub-hint {
            text-align: center;
            margin-top: 8px;
            font-size: .74rem;
            color: rgba(255, 255, 255, .24);
        }
        /* ════════════════════════════════════════════
       FOOTER
    ════════════════════════════════════════════ */
        footer {
            border-top: 1px solid var(--border);
            padding: 20px;
            text-align: center;
            font-size: .75rem;
            color: rgba(255, 255, 255, .2);
        }
        footer a {
            color: var(--lime);
            text-decoration: none;
            opacity: .7;
        }
        footer a:hover {
            opacity: 1;
        }