:root {
    --bg: #061126;
    --bg-deep: #030b19;
    --surface: rgba(15, 31, 61, 0.88);
    --surface-strong: #102548;
    --surface-soft: #132f5c;
    --line: rgba(148, 179, 235, 0.2);
    --text: #f7fbff;
    --muted: #afc0dc;
    --blue: #1769ff;
    --blue-bright: #28a5ff;
    --red: #f4141d;
    --red-deep: #ae0611;
    --green: #20cb89;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 5%, rgba(23, 105, 255, 0.22), transparent 34rem),
        radial-gradient(circle at 90% 18%, rgba(244, 20, 29, 0.15), transparent 28rem),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

button,
input,
select {
    font: inherit;
}

button,
a,
select,
input {
    -webkit-tap-highlight-color: transparent;
}

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

.page-shell {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    display: grid;
    grid-template-columns: minmax(260px, 430px) 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 22px 0;
}

.brand {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
}

.top-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
}

.top-nav a {
    transition: color 160ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
    color: #ffffff;
}

.service-badge,
.secure-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 36px;
    padding: 8px 13px;
    border: 1px solid rgba(32, 203, 137, 0.26);
    border-radius: 999px;
    background: rgba(32, 203, 137, 0.11);
    color: #bbffe4;
    font-size: 0.79rem;
    font-weight: 800;
    white-space: nowrap;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(32, 203, 137, 0.12);
}

.service-badge.offline {
    border-color: rgba(244, 20, 29, 0.3);
    background: rgba(244, 20, 29, 0.1);
    color: #ffd4d7;
}

.service-badge.offline .status-dot {
    background: var(--red);
    box-shadow: 0 0 0 5px rgba(244, 20, 29, 0.12);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
    align-items: center;
    gap: 48px;
    min-height: 650px;
    padding: 78px 0 96px;
}

.eyebrow,
.section-kicker,
.panel-kicker {
    color: #7fb5ff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin: 20px 0 20px;
    font-size: clamp(2.7rem, 5vw, 5.5rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.hero-copy > p {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.platform-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.platform-list span {
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: #d9e6fa;
    font-size: 0.82rem;
    font-weight: 800;
}

.hero-panel {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(132, 174, 245, 0.2);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(145deg, rgba(18, 45, 88, 0.96), rgba(8, 23, 50, 0.96));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.panel-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.panel-heading h2 {
    margin: 5px 0 0;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.15;
}

.mode-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 30px 0 24px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(3, 11, 25, 0.45);
}

.mode-button {
    min-height: 46px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-weight: 900;
    transition:
        color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.mode-button:hover {
    color: #ffffff;
}

.mode-button.active {
    background: linear-gradient(135deg, var(--blue), #0d3fc9);
    color: #ffffff;
    box-shadow: 0 9px 26px rgba(23, 105, 255, 0.3);
}

label {
    display: block;
    margin-bottom: 9px;
    color: #dce8fb;
    font-size: 0.85rem;
    font-weight: 800;
}

.url-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

input[type="url"],
select {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(148, 179, 235, 0.24);
    border-radius: 13px;
    outline: 0;
    background: rgba(2, 10, 25, 0.58);
    color: #ffffff;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

input[type="url"] {
    padding: 0 17px;
}

select {
    padding: 0 15px;
}

input[type="url"]::placeholder {
    color: #7f93b2;
}

input[type="url"]:focus,
select:focus {
    border-color: var(--blue-bright);
    box-shadow: 0 0 0 4px rgba(40, 165, 255, 0.12);
}

.primary-button {
    min-width: 142px;
    min-height: 54px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--red), var(--red-deep));
    color: #ffffff;
    cursor: pointer;
    font-weight: 900;
    box-shadow: 0 14px 32px rgba(244, 20, 29, 0.25);
    transition:
        transform 160ms ease,
        filter 160ms ease;
}

.primary-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.primary-button:active {
    transform: translateY(0);
}

.option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 18px;
}

.rights-check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.rights-check input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--blue);
    flex: 0 0 auto;
}

.playlist-note {
    margin-top: 16px;
    padding: 13px 15px;
    border: 1px solid rgba(40, 165, 255, 0.24);
    border-radius: 12px;
    background: rgba(40, 165, 255, 0.08);
    color: #cfe7ff;
    font-size: 0.82rem;
}

.form-message {
    min-height: 22px;
    margin-top: 14px;
    color: #9fd3ff;
    font-size: 0.83rem;
    font-weight: 700;
}

.form-message.error {
    color: #ff9ca2;
}

.form-message.success {
    color: #7cf0bb;
}

.feature-section,
.plans-section {
    padding: 76px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 32px;
}

.section-heading h2 {
    margin: 9px 0 0;
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

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

.feature-card,
.plan-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, rgba(18, 39, 76, 0.82), rgba(7, 21, 47, 0.82));
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), #0b3fbd);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
}

.feature-card h3,
.plan-card h3 {
    margin: 22px 0 8px;
    font-size: 1.3rem;
}

.feature-card p,
.plan-card p,
.plan-card li {
    color: var(--muted);
}

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

.plan-card {
    position: relative;
    overflow: hidden;
}

.plan-card.featured {
    border-color: rgba(244, 20, 29, 0.45);
    background:
        radial-gradient(circle at 100% 0%, rgba(244, 20, 29, 0.2), transparent 22rem),
        linear-gradient(145deg, rgba(18, 39, 76, 0.9), rgba(7, 21, 47, 0.9));
}

.plan-label {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(23, 105, 255, 0.15);
    color: #a9ceff;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan-card.featured .plan-label {
    background: rgba(244, 20, 29, 0.14);
    color: #ffb7bc;
}

.plan-card ul {
    margin: 22px 0 0;
    padding-left: 20px;
}

.plan-card li + li {
    margin-top: 8px;
}

.legal-note {
    margin: 36px 0 72px;
    padding: 20px 22px;
    border: 1px solid rgba(244, 20, 29, 0.24);
    border-radius: var(--radius-md);
    background: rgba(244, 20, 29, 0.07);
    color: #d8e2f2;
    font-size: 0.9rem;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0 36px;
    border-top: 1px solid var(--line);
    color: #8294b1;
    font-size: 0.82rem;
}

@media (max-width: 1040px) {
    .site-header {
        grid-template-columns: minmax(260px, 420px) 1fr;
    }

    .top-nav {
        display: none;
    }

    .service-badge {
        justify-self: end;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-top: 60px;
    }

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

    .hero-panel {
        max-width: 820px;
    }
}

@media (max-width: 760px) {
    .page-shell {
        width: min(100% - 24px, 1240px);
    }

    .site-header {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px 0;
    }

    .brand {
        max-width: 520px;
    }

    .service-badge {
        justify-self: start;
    }

    .hero {
        min-height: auto;
        padding: 42px 0 68px;
    }

    .hero h1 {
        font-size: clamp(2.3rem, 12vw, 4rem);
    }

    .panel-heading {
        display: grid;
    }

    .secure-chip {
        justify-self: start;
    }

    .url-row,
    .option-grid {
        grid-template-columns: 1fr;
    }

    .primary-button {
        width: 100%;
    }

    .feature-grid,
    .plan-grid {
        grid-template-columns: 1fr;
    }

    .feature-section,
    .plans-section {
        padding: 56px 0;
    }

    .site-footer {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 430px) {
    .hero-panel,
    .feature-card,
    .plan-card {
        padding: 21px;
    }

    .mode-switch {
        grid-template-columns: 1fr;
    }
}
/* PHASE-3D-FULLSCREEN-START */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

main,
section,
.site-header,
.hero,
.hero-copy,
.hero-panel,
.panel-heading,
.url-row,
.option-grid,
.feature-grid,
.plan-grid {
    min-width: 0;
}

.page-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline:
        clamp(18px, 3.8vw, 86px);
}

.site-header {
    width: 100%;
    grid-template-columns:
        minmax(320px, 540px)
        minmax(260px, 1fr)
        auto;
    gap:
        clamp(24px, 3vw, 56px);
}

.brand {
    width: 100%;
    max-width: 540px;
}

.hero {
    width: 100%;
    grid-template-columns:
        minmax(0, 1.03fr)
        minmax(520px, 0.97fr);
    gap:
        clamp(48px, 5vw, 104px);
    min-height:
        calc(100vh - 116px);
    padding:
        clamp(50px, 7vh, 96px)
        0
        clamp(76px, 10vh, 130px);
}

.hero-copy,
.hero-panel {
    width: 100%;
    max-width: none;
}

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

.url-row > *,
.option-grid > * {
    min-width: 0;
}

input[type="url"],
select,
button {
    max-width: 100%;
}

.feature-section,
.plans-section,
.legal-note,
.site-footer {
    width: 100%;
}

.feature-grid {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}

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

.feature-card,
.plan-card,
.legal-note {
    overflow-wrap: anywhere;
}

@media (min-width: 1600px) {
    .page-shell {
        padding-inline:
            clamp(72px, 5vw, 138px);
    }

    .site-header {
        grid-template-columns:
            minmax(420px, 600px)
            minmax(340px, 1fr)
            auto;
    }

    .brand {
        max-width: 600px;
    }

    .hero {
        grid-template-columns:
            minmax(600px, 1.08fr)
            minmax(660px, 0.92fr);
        gap:
            clamp(76px, 6vw, 138px);
    }

    .hero h1 {
        max-width: 940px;
        font-size:
            clamp(4.7rem, 5.2vw, 7.5rem);
    }

    .hero-panel {
        padding: 44px;
    }
}

@media (max-width: 1240px) {
    .site-header {
        grid-template-columns:
            minmax(300px, 480px)
            1fr;
    }

    .top-nav {
        display: none;
    }

    .service-badge {
        justify-self: end;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 42px;
    }

    .hero-copy,
    .hero-panel {
        max-width: none;
    }
}

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .feature-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .page-shell {
        width: 100%;
        padding-inline: 12px;
    }

    .site-header {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px 0;
    }

    .brand {
        width: 100%;
        max-width: 100%;
    }

    .service-badge {
        justify-self: start;
    }

    .hero {
        min-height: auto;
        padding: 34px 0 58px;
        gap: 30px;
    }

    .hero h1 {
        font-size:
            clamp(2.4rem, 11.5vw, 4.3rem);
        line-height: 1.03;
    }

    .hero-panel {
        width: 100%;
        padding: 22px;
        border-radius: 22px;
    }

    .panel-heading {
        display: grid;
    }

    .secure-chip {
        justify-self: start;
    }

    .url-row,
    .option-grid,
    .feature-grid,
    .plan-grid {
        grid-template-columns: 1fr;
    }

    .primary-button {
        width: 100%;
    }

    .feature-card:last-child {
        grid-column: auto;
    }

    .site-footer {
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .page-shell {
        padding-inline: 9px;
    }

    .hero-panel,
    .feature-card,
    .plan-card {
        padding: 19px;
    }

    .mode-switch {
        grid-template-columns: 1fr;
    }

    .platform-list {
        gap: 7px;
    }

    .platform-list span {
        padding: 7px 10px;
    }
}

/* PHASE-3D-FULLSCREEN-END */
