* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-1: #0f172a;
    --bg-2: #1e1b4b;
    --bg-3: #312e81;
    --text: #ffffff;
    --muted: #94a3b8;
    --muted-2: #64748b;
    --panel: rgba(30, 27, 75, 0.95);
    --panel-border: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

body {
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
}

a {
    color: inherit;
}

button {
    font: inherit;
}

.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.lang-btn {
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    cursor: pointer;
    padding: 8px 12px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 170px;
    padding: 8px;
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    background: var(--panel);
    backdrop-filter: blur(10px);
    display: none;
}

.lang-menu.show {
    display: block;
}

.lang-menu a,
.lang-menu button {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.lang-menu a:hover,
.lang-menu a[aria-current="page"],
.lang-menu button:hover,
.lang-menu button[aria-current="page"] {
    background: rgba(255, 255, 255, 0.1);
}

.legal-disclaimer {
    background: rgba(0, 0, 0, 0.6);
    border-left: 4px solid #eab308;
    padding: 12px 20px;
    font-size: 12px;
    color: var(--muted);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 16px 32px;
}

.header {
    text-align: center;
    margin-bottom: 24px;
}

h1 {
    margin-bottom: 12px;
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 700;
    background: linear-gradient(90deg, #ffffff, #c7d2fe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: clamp(14px, 2.5vw, 18px);
}

.video-section {
    margin-bottom: 24px;
}

.video-wrapper {
    aspect-ratio: 16 / 9;
    max-width: 960px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    box-shadow: var(--shadow);
}

video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
}

video::cue {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.video-info {
    margin-top: 10px;
    text-align: center;
    color: var(--muted-2);
    font-size: 13px;
}

.content-card {
    max-width: 960px;
    margin: 0 auto 24px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(10px);
}

.content-card h2 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #fff;
}

.content-card p {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.75;
}

.content-card p + p {
    margin-top: 12px;
}

.steps-grid {
    max-width: 960px;
    margin: 0 auto 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.step-card {
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.38);
}

.step-card.is-primary {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.18);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(15, 23, 42, 0.45));
}

.step-number {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.step-card.is-primary .step-number {
    background: rgba(16, 185, 129, 0.18);
    color: #d1fae5;
}

.step-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    color: #fff;
}

.step-card p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}

.step-action {
    margin-top: 16px;
}

.buttons-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
    padding: 14px 24px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn.active-os {
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.btn-hosting {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.5), rgba(5, 150, 105, 0.5));
}

.btn-windows {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(37, 99, 235, 0.5));
}

.btn-macos {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(147, 51, 234, 0.5));
}

.btn-android {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.5), rgba(22, 163, 74, 0.5));
}

.btn-selector {
    width: 100%;
    min-width: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.38), rgba(59, 130, 246, 0.28));
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 210px;
    padding: 8px;
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    background: var(--panel);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.step-card .dropdown {
    width: 100%;
}

.step-card .dropdown-menu {
    width: 100%;
    min-width: 0;
}

.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow,
.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.seo-text {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    color: var(--muted-2);
    font-size: 14px;
    line-height: 1.7;
}

.contact-fab {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: min(280px, calc(100vw - 56px));
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.95), rgba(37, 99, 235, 0.92));
    color: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.52);
}

.contact-fab .icon {
    width: 18px;
    height: 18px;
}

.contact-fab-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.contact-modal.is-open {
    display: flex;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
}

.contact-modal-panel {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.contact-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}

.contact-modal-title {
    margin-bottom: 8px;
    font-size: 24px;
    color: #fff;
}

.contact-modal-description {
    margin-bottom: 18px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}

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

.contact-form-field label {
    display: block;
    margin-bottom: 6px;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
}

.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    font: inherit;
}

.contact-form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
    color: #94a3b8;
}

.contact-form-note {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
}

.contact-form-status {
    min-height: 22px;
    font-size: 13px;
}

.contact-form-status.is-success {
    color: #86efac;
}

.contact-form-status.is-error {
    color: #fda4af;
}

.contact-form .is-hidden {
    display: none;
}

@media (max-width: 768px) {
    .language-selector {
        top: 10px;
        right: 10px;
    }

    .container {
        padding-bottom: 28px;
    }

    .buttons-row {
        flex-direction: column;
        align-items: center;
    }

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

    .btn {
        width: 100%;
        max-width: 320px;
        min-width: auto;
    }

    .dropdown {
        width: 100%;
        max-width: 320px;
    }

    .step-card .dropdown {
        max-width: none;
    }

    .dropdown-menu {
        position: static;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .contact-fab {
        right: 18px;
        bottom: 18px;
        padding: 13px 16px;
    }

    .contact-fab-text {
        font-size: 13px;
    }

    .contact-modal {
        padding: 16px;
    }

    .contact-modal-panel {
        padding: 20px 18px;
    }

    .contact-modal-title {
        font-size: 20px;
    }
}
