        :root {
            --ink: #25324a;
            --ink-strong: #20304b;
            --muted: #6c7483;
            --page: #f4f6fb;
            --surface: #ffffff;
            --surface-2: #e9eef6;
            --brand: #ff0b0b;
            --brand-dark: #d90000;
            --accent: #ff0b0b;
            --accent-dark: #b80000;
            --navy: #20304b;
            --card: #ffffff;
            --stroke: rgba(32, 48, 75, 0.14);
            --shadow: 0 26px 70px rgba(32, 48, 75, 0.16);
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
            color: var(--ink);
            background:
                radial-gradient(circle at 15% 10%, rgba(255, 11, 11, 0.11), transparent 34%),
                radial-gradient(circle at 86% 8%, rgba(32, 48, 75, 0.1), transparent 32%),
                linear-gradient(145deg, #ffffff 0%, #f4f6fb 50%, #e9eef6 100%);
            overflow-x: hidden;
        }

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

        .container {
            width: min(1200px, 92vw);
            margin: 0 auto;
        }

        .text-muted {
            color: var(--muted);
        }

        .nav {
            position: sticky;
            top: 0;
            backdrop-filter: blur(18px);
            background: rgba(255, 255, 255, 0.9);
            border-bottom: 1px solid var(--stroke);
            z-index: 10;
        }

        .nav-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 0;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            color: var(--ink-strong);
            letter-spacing: 0;
        }

        .logo-mark {
            position: relative;
            width: 42px;
            height: 42px;
            border-radius: 8px;
            background:
                linear-gradient(135deg, #ff0b0b, #20304b),
                #ffffff;
            box-shadow: 0 14px 30px rgba(255, 11, 11, 0.18);
        }

        .logo-mark::after {
            content: "";
            position: absolute;
            left: 16px;
            top: 12px;
            width: 0;
            height: 0;
            border-top: 9px solid transparent;
            border-bottom: 9px solid transparent;
            border-left: 13px solid #fff;
        }

        .nav-links {
            display: flex;
            gap: 24px;
            align-items: center;
            font-weight: 500;
            color: #4d596b;
        }

        .nav-links a:hover {
            color: var(--ink-strong);
        }

        .nav-actions {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .btn {
            padding: 12px 18px;
            border-radius: 8px;
            border: 1px solid transparent;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--brand), var(--brand-dark));
            color: #fff;
            box-shadow: 0 16px 38px rgba(255, 11, 11, 0.22);
        }

        .btn-primary:hover {
            background: var(--brand-dark);
            transform: translateY(-2px);
        }

        .btn-outline {
            border-color: rgba(32, 48, 75, 0.14);
            color: var(--ink-strong);
            background: rgba(255, 255, 255, 0.74);
        }

        .hero {
            position: relative;
            padding: 54px 0 34px;
            overflow: hidden;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
            gap: 44px;
            align-items: center;
        }

        .hero-title {
            font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
            font-size: clamp(2.8rem, 4vw + 1rem, 5.9rem);
            font-weight: 800;
            line-height: 0.98;
            letter-spacing: 0;
            margin: 0 0 22px;
            color: var(--ink-strong);
        }

        .hero-subtitle {
            font-size: 1.1rem;
            color: var(--muted);
            max-width: 520px;
        }

        .hero-actions {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            margin-top: 26px;
        }

        .hero-stats {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 18px;
            margin-top: 36px;
        }

        .stat {
            background: rgba(255, 255, 255, 0.78);
            border: 1px solid var(--stroke);
            padding: 18px;
            border-radius: 8px;
        }

        .stat strong {
            display: block;
            font-size: 1.4rem;
        }

        .hero-panel {
            background: var(--surface);
            border-radius: 12px;
            padding: 14px;
            box-shadow: var(--shadow);
            border: 1px solid var(--stroke);
            border-top: 7px solid var(--brand);
        }

        .panel-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 14px;
            color: var(--navy);
        }

        .badge {
            padding: 6px 12px;
            border-radius: 999px;
            background: rgba(255, 11, 11, 0.09);
            color: var(--brand-dark);
            font-size: 0.85rem;
            font-weight: 600;
        }

        .panel-list {
            display: grid;
            gap: 14px;
        }

        .panel-item {
            display: flex;
            justify-content: space-between;
            padding: 14px 16px;
            border-radius: 8px;
            background: #f8fafc;
            border: 1px solid rgba(32, 48, 75, 0.1);
        }

        .video-console {
            display: grid;
            gap: 14px;
        }

        .player-window {
            position: relative;
            min-height: 330px;
            overflow: hidden;
            border-radius: 10px;
            background:
                linear-gradient(145deg, rgba(255, 11, 11, 0.22), rgba(32, 48, 75, 0.42)),
                linear-gradient(180deg, #2a3955 0%, #111827 100%);
            border: 1px solid rgba(32, 48, 75, 0.18);
        }

        .player-window::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 44px 44px;
            opacity: 0.45;
        }

        .player-window::after {
            content: "";
            position: absolute;
            inset: auto 0 0;
            height: 42%;
            background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
        }

        .clip-tag {
            position: absolute;
            z-index: 2;
            padding: 8px 10px;
            border-radius: 8px;
            background: rgba(32, 48, 75, 0.82);
            border: 1px solid rgba(255, 255, 255, 0.14);
            color: #eef6f8;
            font-weight: 700;
            font-size: 0.82rem;
        }

        .clip-tag-a {
            left: 18px;
            top: 18px;
        }

        .clip-tag-b {
            right: 18px;
            top: 74px;
        }

        .clip-tag-c {
            left: 26px;
            bottom: 74px;
        }

        .play-button {
            position: absolute;
            z-index: 2;
            left: 50%;
            top: 48%;
            width: 74px;
            height: 74px;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.92);
            box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
        }

        .play-button::after {
            content: "";
            position: absolute;
            left: 30px;
            top: 22px;
            width: 0;
            height: 0;
            border-top: 15px solid transparent;
            border-bottom: 15px solid transparent;
            border-left: 22px solid var(--accent);
        }

        .player-meta {
            position: absolute;
            z-index: 2;
            left: 18px;
            right: 18px;
            bottom: 18px;
        }

        .player-title {
            display: flex;
            justify-content: space-between;
            gap: 14px;
            color: #fff;
            font-weight: 800;
        }

        .scrub {
            height: 8px;
            margin-top: 14px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.16);
            overflow: hidden;
        }

        .scrub span {
            display: block;
            width: 62%;
            height: 100%;
            background: linear-gradient(90deg, var(--accent), #ffffff);
        }

        .frame-strip {
            display: grid;
            grid-template-columns: repeat(6, minmax(0, 1fr));
            gap: 8px;
        }

        .frame {
            min-height: 58px;
            border-radius: 7px;
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
                linear-gradient(145deg, #30405e, #152033);
            border: 1px solid rgba(255, 255, 255, 0.12);
        }

        .frame:nth-child(2n) {
            background:
                linear-gradient(135deg, rgba(255, 11, 11, 0.18), transparent),
                linear-gradient(145deg, #3a2d3e, #152033);
        }

        .frame:nth-child(3n) {
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent),
                linear-gradient(145deg, #263957, #152033);
        }

        .section {
            padding: 80px 0;
            background: #f5f7fb;
            color: #15202b;
        }

        .section-tight {
            padding-top: 32px;
        }

        .section-tight-90 {
            padding-top: 8px;
        }

        .section-tight-bottom-80 {
            padding-bottom: 16px;
        }

        .section-tight-top-80 {
            padding-top: 16px;
        }

        .section-title {
            font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
            font-size: clamp(2rem, 1vw + 1.8rem, 3rem);
            font-weight: 800;
            margin: 0 0 16px;
        }

        .section-subtitle {
            color: #596579;
            max-width: 620px;
        }

        .section-subtitle-full {
            max-width: none;
        }

        .about-section {
            background: #f5f7fb;
        }

        .about-wrap {
            background: #ffffff;
            border: 1px solid rgba(16, 28, 38, 0.12);
            border-radius: 12px;
            padding: 32px;
        }

        .cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
            gap: 20px;
            margin-top: 32px;
        }

        .card {
            background: #ffffff;
            padding: 22px;
            border-radius: 8px;
            border: 1px solid rgba(16, 28, 38, 0.12);
            box-shadow: 0 10px 30px rgba(17, 20, 23, 0.08);
        }

        .card h3 {
            color: #15202b;
        }

        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 20px;
            margin-top: 36px;
        }

        .price {
            font-size: 2rem;
            font-weight: 700;
            color: var(--brand-dark);
        }

        .price small {
            font-size: 0.9rem;
            color: #596579;
        }

        .section .pill,
        .contact-card .pill {
            background: rgba(255, 11, 11, 0.09);
            color: var(--brand-dark);
        }

        .pill {
            display: inline-block;
            padding: 7px 12px;
            border-radius: 999px;
            background: rgba(255, 11, 11, 0.1);
            color: var(--brand-dark);
            font-weight: 800;
            font-size: 0.82rem;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 26px;
            margin-top: 28px;
        }

        .contact-card {
            padding: 22px;
            background: #fff;
            border-radius: 8px;
            border: 1px solid rgba(16, 28, 38, 0.12);
        }

        .contact-card input,
        .contact-card textarea {
            width: 100%;
            border-radius: 8px;
            border: 1px solid rgba(16, 28, 38, 0.14);
            padding: 10px 12px;
            margin-top: 10px;
            font-family: inherit;
        }

        .contact-card textarea {
            min-height: 120px;
            resize: vertical;
        }

        .contact-status {
            margin-top: 12px;
            font-weight: 600;
        }

        .footer {
            padding: 6px 0 10px;
            color: #7d8898;
            text-align: center;
            background: #f5f7fb;
        }

        .footer-links {
            display: inline-flex;
            gap: 8px;
            align-items: center;
            margin-top: 4px;
        }

        .footer-links a {
            color: #1f4b99;
            font-weight: 700;
            text-decoration: none;
        }

        .footer-links a:hover {
            text-decoration: underline;
        }

        .reveal {
            opacity: 0;
            transform: translateY(18px);
            animation: fadeUp 0.8s ease forwards;
        }

        @keyframes fadeUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 760px) {
            .nav-links {
                display: none;
            }

            .hero-actions {
                width: 100%;
            }

            .btn {
                width: 100%;
                justify-content: center;
            }
        }

        body.login-page .c-app > .container {
            width: 100%;
            max-width: none;
            padding: 0;
        }

        body.login-page .nav[style] {
            margin-bottom: 0 !important;
        }

        body.login-page {
            background:
                radial-gradient(circle at 12% 12%, rgba(255, 11, 11, 0.1), transparent 30%),
                radial-gradient(circle at 88% 18%, rgba(32, 48, 75, 0.1), transparent 30%),
                linear-gradient(145deg, #ffffff 0%, #f4f6fb 52%, #e9eef6 100%);
            color: var(--ink);
        }

        body.login-page .c-app {
            background:
                radial-gradient(circle at 12% 12%, rgba(255, 11, 11, 0.1), transparent 30%),
                radial-gradient(circle at 88% 18%, rgba(32, 48, 75, 0.1), transparent 30%),
                linear-gradient(145deg, #ffffff 0%, #f4f6fb 52%, #e9eef6 100%);
            color: var(--ink);
        }

        body.login-page .auth-shell {
            min-height: calc(100vh - 96px);
            padding: 42px 16px 56px;
        }

        body.login-page .auth-grid {
            width: min(1240px, 92vw);
            gap: 52px;
            align-items: start;
        }

        body.login-page .auth-hero {
            position: relative;
            padding: 8px 0;
        }

        /* Decorative brand strip removed so the page fits the screen. */
        body.login-page .auth-hero::after {
            content: none;
        }

        body.login-page .auth-pill {
            background: rgba(255, 11, 11, 0.09);
            color: var(--brand-dark);
            border: 1px solid rgba(255, 11, 11, 0.16);
        }

        body.login-page .auth-hero-title,
        body.login-page .auth-title {
            font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
            color: var(--navy);
            font-weight: 800;
            letter-spacing: 0;
        }

        body.login-page .auth-hero-title {
            font-size: clamp(1.9rem, 1.2vw + 1.6rem, 2.7rem);
            line-height: 1.03;
        }

        body.login-page .auth-hero-subtitle,
        body.login-page .auth-subtitle {
            color: var(--muted);
        }

        body.login-page .auth-stat {
            background: rgba(255, 255, 255, 0.88);
            border-color: rgba(32, 48, 75, 0.12);
            color: var(--navy);
            border-radius: 8px;
        }

        body.login-page .auth-card {
            background: rgba(255, 255, 255, 0.96);
            border-color: rgba(32, 48, 75, 0.14);
            border-radius: 12px;
            box-shadow: var(--shadow);
            border-top: 7px solid var(--brand);
        }

        body.login-page .auth-label {
            color: var(--navy);
        }

        body.login-page .auth-input {
            background: #f8fafc;
            border-color: rgba(32, 48, 75, 0.14);
            color: var(--navy);
            border-radius: 8px;
        }

        body.login-page .auth-input:focus {
            outline: none;
            border-color: rgba(255, 11, 11, 0.8);
            box-shadow: 0 0 0 4px rgba(255, 11, 11, 0.12);
        }

        body.login-page .auth-btn {
            background: linear-gradient(135deg, var(--brand), var(--brand-dark));
            border-radius: 8px;
            box-shadow: 0 18px 42px rgba(255, 11, 11, 0.2);
        }

        body.login-page .auth-links a {
            color: var(--navy);
        }

        body.login-page .footer {
            background: #f4f6fb;
        }

        .legal-page {
            padding: 24px 0 64px;
        }

        .legal-card {
            max-width: 920px;
            margin: 0 auto;
            border: 1px solid var(--stroke);
            border-top: 7px solid var(--brand);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.92);
            box-shadow: var(--shadow);
            padding: clamp(24px, 4vw, 48px);
        }

        .legal-card .hero-title {
            margin-top: 14px;
            margin-bottom: 14px;
            font-size: clamp(2.3rem, 4vw, 4.4rem);
        }

        .legal-card h2 {
            margin: 30px 0 10px;
            color: var(--ink-strong);
            font-size: 1.25rem;
        }

        .legal-card p,
        .legal-card li {
            color: var(--muted);
            font-size: 1rem;
            line-height: 1.7;
        }

        .legal-card ul {
            margin: 10px 0 0;
            padding-left: 22px;
        }

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

            .player-window {
                min-height: 280px;
            }

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

            body.login-page .auth-hero {
                padding-bottom: 0;
            }

            body.login-page .auth-hero::after {
                display: none;
            }
        }

        @media (max-width: 560px) {
            .nav-inner {
                gap: 14px;
                flex-wrap: wrap;
            }

            .nav-actions {
                display: grid;
                grid-template-columns: 1fr;
                width: 100%;
            }

            .nav-actions .btn {
                width: 100%;
                min-width: 0;
                padding-left: 12px;
                padding-right: 12px;
            }

            .hero-stats,
            .frame-strip {
                grid-template-columns: 1fr 1fr;
            }

            .hero {
                padding-top: 36px;
            }

            .hero-title {
                max-width: 100%;
                font-size: 2.15rem;
                line-height: 1.08;
                white-space: normal;
                overflow-wrap: normal;
            }

            body.login-page .auth-hero-title {
                font-size: 2.15rem;
                line-height: 1.04;
            }
        }
