@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
    --bg: #070b15;
    --bg-2: #0f172a;
    --card: rgba(11, 18, 35, 0.72);
    --card-border: rgba(148, 163, 184, 0.16);
    --text: #eef4ff;
    --muted: #9ab0d2;
    --accent: #49bfff;
    --accent-2: #7c5cff;
    --ok: #45d897;
    --danger: #ff687e;
    --shadow: 0 20px 65px rgba(3, 8, 22, 0.65);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 8% -12%, rgba(124, 92, 255, 0.28), transparent 60%),
        radial-gradient(900px 560px at 92% -16%, rgba(73, 191, 255, 0.3), transparent 62%),
        radial-gradient(760px 700px at 50% 125%, rgba(69, 216, 151, 0.16), transparent 65%),
        linear-gradient(130deg, #050912 0%, #0a1021 52%, #070b15 100%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    background:
        linear-gradient(rgba(153, 183, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(153, 183, 255, 0.035) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(circle at center, #000 40%, transparent 100%);
}

body::after {
    background: radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.12), transparent 38%);
    mix-blend-mode: soft-light;
}

a {
    color: var(--accent);
}

.page-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.container {
    flex: 1;
    max-width: 440px;
    margin: 0 auto;
    padding: 2.5rem 1rem 5.5rem;
    position: relative;
}

.header {
    text-align: center;
    margin-bottom: 1.9rem;
}

.header h1 {
    font-size: clamp(1.72rem, 2.5vw, 2.05rem);
    font-weight: 800;
    color: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.56rem;
    letter-spacing: 0.2px;
    text-shadow: 0 8px 28px rgba(73, 191, 255, 0.22);
}

.header h1::before {
    content: "";
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2349bfff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E")
        center/contain no-repeat;
    filter: drop-shadow(0 0 10px rgba(73, 191, 255, 0.4));
}

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(20, 36, 74, 0.2);
}

.tagline {
    margin-top: 0.3rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.card {
    position: relative;
    border-radius: 20px;
    padding: 1.6rem;
    background:
        linear-gradient(130deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01) 36%),
        var(--card);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 72px rgba(3, 8, 22, 0.75);
    border-color: rgba(73, 191, 255, 0.35);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(1000px 90px at 50% -16%, rgba(73, 191, 255, 0.5), transparent 60%),
        radial-gradient(700px 120px at 85% -22%, rgba(124, 92, 255, 0.45), transparent 62%);
    opacity: 0.5;
    pointer-events: none;
}

.card h2 {
    font-size: 1.34rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.price {
    margin-bottom: 1.1rem;
    font-size: clamp(2rem, 5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.1;
    color: #f8fbff;
    text-shadow: 0 6px 24px rgba(73, 191, 255, 0.27);
}

.features {
    list-style: none;
    margin-bottom: 1.5rem;
    display: grid;
    gap: 0.34rem;
}

.features li {
    position: relative;
    padding-left: 1.52rem;
    color: #d7e7ff;
}

.features li::before {
    content: "";
    position: absolute;
    top: 0.31rem;
    left: 0;
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 35%, #b9ffe2 0%, #45d897 42%, #29996a 100%);
    box-shadow: 0 0 0 3px rgba(69, 216, 151, 0.15);
}

.form label {
    display: block;
    margin-bottom: 0.42rem;
    color: #bdd0ec;
    font-size: 0.885rem;
    font-weight: 600;
}

.form input:not([type="checkbox"]) {
    width: 100%;
    padding: 0.83rem 0.96rem;
    margin-bottom: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.38);
    border-radius: 12px;
    background: rgba(2, 8, 23, 0.55);
    color: #f2f8ff;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.form input::placeholder {
    color: rgba(177, 194, 219, 0.62);
}

.form input:not([type="checkbox"]):focus {
    outline: none;
    border-color: rgba(73, 191, 255, 0.88);
    box-shadow:
        0 0 0 4px rgba(73, 191, 255, 0.14),
        0 8px 24px rgba(73, 191, 255, 0.12);
    transform: translateY(-1px);
}

.btn {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 0.95rem 1rem;
    color: #041226;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(110deg, #7c5cff 0%, #49bfff 52%, #4ee9ba 100%);
    box-shadow:
        0 12px 30px rgba(73, 191, 255, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn,
.btn:link,
.btn:visited {
    color: #fff !important;
    text-decoration: none;
}

.btn::after {
    content: "";
    position: absolute;
    top: -120%;
    left: -40%;
    width: 34%;
    height: 320%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.65), transparent);
    transform: rotate(22deg);
    transition: left 0.55s ease;
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: saturate(1.08);
    box-shadow:
        0 18px 34px rgba(73, 191, 255, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn:hover:not(:disabled)::after {
    left: 125%;
}

.btn:active:not(:disabled) {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.error {
    margin-top: 0.5rem;
    color: #ff91a1;
    font-size: 0.88rem;
    font-weight: 600;
}

.footer {
    margin-top: 1.8rem;
    text-align: center;
    color: #89a2c8;
    font-size: 0.8rem;
}

.footer-links {
    margin-top: 0.55rem;
}

.footer-links a {
    color: #a6cbff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.disclaimer {
    margin-top: 0.9rem;
    font-size: 0.7rem;
    line-height: 1.45;
    color: #7690b8;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.52rem;
    margin-bottom: 1rem;
    color: #bdd0ec;
    font-size: 0.865rem;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 14px !important;
    height: 14px !important;
    margin-top: 0.27rem;
    border-radius: 4px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(2, 8, 23, 0.55);
    transition: all 0.18s ease;
}

.checkbox-label input[type="checkbox"]:checked {
    border-color: rgba(73, 191, 255, 0.9);
    background:
        radial-gradient(circle at 35% 30%, #b9f5ff 0%, #49bfff 44%, #2a7ddf 100%);
    box-shadow: 0 0 0 3px rgba(73, 191, 255, 0.18);
}

.checkbox-label a {
    color: #8bc7ff;
}

.doc-header {
    text-align: left;
}

.doc-header .tagline {
    display: none;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    color: #f8fbff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.28rem;
}

.logo-link:hover {
    color: #9fd5ff;
}

.doc-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.doc-nav a {
    text-decoration: none;
    color: #bdd0ec;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.38rem 0.65rem;
    border-radius: 9px;
    background: rgba(73, 191, 255, 0.09);
    border: 1px solid rgba(73, 191, 255, 0.16);
}

.doc-nav a:hover,
.doc-nav a.active {
    color: #f8fbff;
    border-color: rgba(73, 191, 255, 0.5);
}

.doc-page .card {
    margin-top: 1.3rem;
}

.doc-page .card h1,
.page-content h1 {
    font-size: 1.52rem;
    margin-bottom: 0.52rem;
}

.doc-page .card h2,
.page-content h2 {
    font-size: 1.08rem;
    margin: 1.36rem 0 0.46rem;
}

.doc-page .card p,
.doc-page .card ul,
.page-content p,
.page-content ul {
    margin-bottom: 0.72rem;
}

.doc-page .card ul,
.page-content ul {
    padding-left: 1.4rem;
}

.doc-page .card a {
    color: #8bc7ff;
}

.page-content {
    max-width: 680px;
}

.doc-date {
    margin-bottom: 1.35rem;
    color: #9ab0d2;
    font-size: 0.84rem;
}

.btn-small {
    display: inline-block;
    width: auto;
    margin-top: 1.28rem;
    padding: 0.56rem 1rem;
}

/* Success page */
.success-card {
    text-align: center;
}

.success-card h1 {
    font-size: 1.54rem;
    margin-bottom: 0.95rem;
    color: #93ffd0;
    text-shadow: 0 0 16px rgba(69, 216, 151, 0.3);
}

.code-label {
    color: #bcd0ee;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.vpn-code {
    margin: 0.48rem 0 1rem;
    color: #9ed8ff;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.vpn-code-long {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.78rem;
    letter-spacing: 0;
    line-height: 1.55;
    word-break: break-all;
    user-select: all;
    cursor: copy;
}

.hint {
    margin-bottom: 1.45rem;
    color: #b7cbe7;
    font-size: 0.9rem;
}

.success-card .btn {
    display: inline-block;
    width: auto;
    min-width: 190px;
    padding-inline: 1.5rem;
}

.reviews-ticker {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    overflow: hidden;
    padding: 0.76rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    background:
        linear-gradient(120deg, rgba(9, 14, 30, 0.92), rgba(11, 20, 40, 0.96)),
        radial-gradient(circle at 15% 20%, rgba(124, 92, 255, 0.2), transparent 42%);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.reviews-ticker-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: ticker 44s linear infinite;
}

.reviews-ticker-track:hover {
    animation-play-state: paused;
}

.review-tick {
    flex-shrink: 0;
    white-space: nowrap;
    color: #b5c9e8;
    font-size: 0.84rem;
    font-weight: 600;
}

.review-tick::before {
    content: "• ";
    color: #67caff;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 520px) {
    .container {
        padding-top: 1.7rem;
    }
    .card {
        border-radius: 16px;
        padding: 1.2rem;
    }
    .features li {
        font-size: 0.94rem;
    }
    .price {
        font-size: 1.92rem;
    }
    .btn {
        border-radius: 12px;
    }
}

.top-nav {
    justify-content: center;
    margin-top: 0.9rem;
}

.card-gap {
    margin-top: 1rem;
}

.steps {
    padding-left: 1.2rem;
    color: #d7e7ff;
}

.steps li {
    margin-bottom: 0.55rem;
}

.faq-item {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    padding: 0.4rem 0;
}

.faq-item:first-of-type {
    border-top: 0;
}

.faq-q {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: #e8f2ff;
    font-weight: 700;
    padding: 0.55rem 0;
    cursor: pointer;
}

.faq-a {
    color: #b7cbe7;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.2s ease;
    padding-right: 0.2rem;
}

.faq-item.open .faq-a {
    max-height: 240px;
    opacity: 1;
    padding-bottom: 0.4rem;
}

.ok-msg {
    color: #72e7b0;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.orders-list {
    display: grid;
    gap: 0.75rem;
}

.order-item {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    background: rgba(2, 8, 23, 0.35);
    padding: 0.75rem;
}

.order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.order-meta {
    color: #8ca8cd;
    font-size: 0.82rem;
    margin-bottom: 0.55rem;
}

.order-status {
    border-radius: 999px;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    font-weight: 700;
}

.order-status.pending {
    color: #ffcf8d;
    background: rgba(255, 170, 56, 0.15);
}

.order-status.completed {
    color: #8ef0bf;
    background: rgba(69, 216, 151, 0.15);
}

.support-fab,
.tg-fab {
    position: fixed;
    right: 1rem;
    bottom: 5.3rem;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 0;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    text-decoration: none;
    z-index: 50;
    cursor: pointer;
    color: #06152b;
    background: linear-gradient(110deg, #7c5cff 0%, #49bfff 60%, #4ee9ba 100%);
    box-shadow: 0 10px 26px rgba(73, 191, 255, 0.36);
    transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.tg-fab {
    bottom: 9.6rem;
}

.tg-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.support-mini {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: min(340px, calc(100vw - 2rem));
    display: grid;
    grid-template-columns: 1fr 46px;
    gap: 0.5rem;
    z-index: 52;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.support-mini input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(2, 8, 23, 0.55);
    color: #f2f8ff;
    padding: 0.72rem 0.9rem;
    font-size: 0.9rem;
}

.support-mini button {
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 900;
    font-size: 1.1rem;
    color: #041226;
    background: linear-gradient(110deg, #7c5cff 0%, #49bfff 55%, #4ee9ba 100%);
    box-shadow: 0 10px 22px rgba(73, 191, 255, 0.28);
}

.support-widget {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: min(360px, calc(100vw - 2rem));
    height: min(72vh, 620px);
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(6, 14, 29, 0.96);
    box-shadow: 0 20px 60px rgba(4, 10, 22, 0.75);
    z-index: 60;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.support-widget.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.support-widget[hidden] {
    display: none !important;
}

body.chat-open .support-fab,
body.chat-open .support-mini {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}

.support-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.support-head-actions {
    display: flex;
    gap: 0.35rem;
}

.support-head button {
    border: 0;
    background: transparent;
    color: #b8d2f6;
    font-size: 1.2rem;
    cursor: pointer;
}

.support-meta {
    border-bottom: 1px solid rgba(148, 163, 184, 0.17);
    padding: 0.55rem 0.75rem;
}

.support-meta-grid {
    display: grid;
    gap: 0.45rem;
}

.support-meta-grid input {
    width: 100%;
    padding: 0.62rem 0.72rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    background: rgba(2, 8, 23, 0.55);
    color: #f2f8ff;
    font-size: 0.9rem;
}

.support-compose {
    display: grid;
    grid-template-columns: 1fr 48px;
    gap: 0.5rem;
    padding: 0.6rem 0.7rem 0.7rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.support-compose textarea {
    width: 100%;
    resize: none;
    min-height: 42px;
    max-height: 110px;
    border: 1px solid rgba(148, 163, 184, 0.38);
    border-radius: 11px;
    background: rgba(2, 8, 23, 0.55);
    color: #f2f8ff;
    padding: 0.62rem 0.72rem;
    font-family: inherit;
    font-size: 0.92rem;
}

.chat-messages {
    flex: 1;
    overflow: auto;
    padding: 0.7rem 0.75rem 0.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.chat-msg {
    border-radius: 10px;
    padding: 0.5rem 0.65rem;
    max-width: 92%;
}

.chat-msg.user {
    align-self: flex-end;
    background: rgba(73, 191, 255, 0.16);
    border: 1px solid rgba(73, 191, 255, 0.35);
}

.chat-msg.support {
    align-self: flex-start;
    background: rgba(148, 163, 184, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.chat-msg-role {
    font-size: 0.72rem;
    color: #9eb8de;
    margin-bottom: 0.15rem;
    font-weight: 700;
}

.chat-msg-text {
    color: #edf6ff;
    font-size: 0.84rem;
    line-height: 1.35;
    word-break: break-word;
    white-space: pre-wrap;
}

.support-compose button {
    border: 0;
    border-radius: 11px;
    cursor: pointer;
    color: #031327;
    font-weight: 800;
    font-size: 1.05rem;
    background: linear-gradient(110deg, #7c5cff 0%, #49bfff 55%, #4ee9ba 100%);
    box-shadow: 0 10px 22px rgba(73, 191, 255, 0.28);
}

.support-compose button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.chat-status {
    margin: 0 0.75rem 0.45rem;
    color: #ff9dad;
    font-size: 0.78rem;
    min-height: 1em;
}

@media (max-width: 520px) {
    .support-fab,
    .tg-fab {
        width: 48px;
        height: 48px;
        right: 0.7rem;
    }
    .support-mini {
        right: 0.7rem;
        width: min(320px, calc(100vw - 1.4rem));
    }
    .support-widget {
        right: 0.7rem;
        bottom: 0.7rem;
    }
}

/* Landing page redesign */
.landing-page {
    color: #0f172a;
    background:
        radial-gradient(760px 460px at 78% 14%, rgba(181, 210, 255, 0.55), transparent 70%),
        linear-gradient(180deg, #f7f9fe 0%, #eef3fb 100%);
}

.landing-page::before,
.landing-page::after {
    display: none;
}

.landing-page .container {
    max-width: 1120px;
    padding: 0.9rem 1.2rem 4.2rem;
}

.landing-page .container.doc-layout {
    max-width: 920px;
}

.landing-page.success-page .container.doc-layout {
    max-width: 760px;
}

.landing-page .header {
    text-align: left;
    margin-bottom: 0.62rem;
}

.landing-page .header h1 {
    justify-content: flex-start;
    color: #0f172a;
    text-shadow: none;
}

.landing-page .header h1::before {
    display: none;
}

.landing-page .tagline {
    color: #55627b;
    margin-top: 0.16rem;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.1rem;
    flex-wrap: wrap;
}

.brand-block {
    display: grid;
    gap: 0.02rem;
    min-width: 280px;
}

.landing-page .logo-link,
.landing-page .typing-text {
    line-height: 1.05;
}

.typing-line {
    margin: 0;
}

.typing-text {
    display: inline-block;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #15233b;
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(1.4rem, 3.5vw, 2.1rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    border-right: 3px solid #3d5d95;
    animation: typing 2.8s steps(16, end) infinite, caret 0.9s step-end infinite;
}

.typing-text.static {
    width: auto;
    border-right: 0;
    animation: none;
}

.landing-page h1.typing-line {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    justify-content: flex-start;
}

.landing-page .top-nav {
    justify-content: flex-end;
    margin-top: 0;
    max-width: 580px;
    gap: 0.5rem;
}

.landing-page .doc-nav a {
    color: #314158;
    border-color: #d9e2f1;
    background: #f7fbff;
    padding: 0.34rem 0.58rem;
    border-radius: 10px;
    font-size: 0.84rem;
}

.landing-page #faq h2 {
    margin-bottom: 0.35rem;
}

.landing-page .faq-item {
    border-top: 0;
    padding: 0;
    margin-top: 0.56rem;
    border-radius: 12px;
    border: 1px solid #dbe5f5;
    background: #f8fbff;
    overflow: hidden;
}

.landing-page .faq-item:first-of-type {
    margin-top: 0;
}

.landing-page .faq-q {
    color: #1f2d45;
    font-weight: 800;
    font-size: 0.98rem;
    padding: 0.84rem 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-page .faq-q::after {
    content: "+";
    color: #3e62ad;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
}

.landing-page .faq-item.open .faq-q::after {
    content: "−";
}

.landing-page .faq-a {
    color: #4c5e79;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.22s ease;
    padding: 0 0.95rem;
    line-height: 1.5;
}

.landing-page .faq-item.open .faq-a {
    max-height: 280px;
    opacity: 1;
    padding: 0 0.95rem 0.85rem;
}

.landing-page .faq-a a {
    color: #2b60d9;
    font-weight: 700;
}

.blog-teaser p {
    color: #475874;
    margin-bottom: 0.8rem;
}

.blog-list {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.blog-item {
    border: 1px solid #dbe5f5;
    border-radius: 14px;
    background: #f8fbff;
    padding: 0.9rem;
}

.blog-meta {
    color: #60718d;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.blog-item h2 {
    font-size: 1.15rem;
    margin: 0.2rem 0 0.35rem;
    line-height: 1.25;
}

.blog-item h2 a {
    color: #1f2f4a;
    text-decoration: none;
}

.blog-item h2 a:hover {
    color: #2b60d9;
}

.blog-item p {
    color: #4c5e79;
    margin-bottom: 0.6rem;
}

.article-cover {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #dbe5f5;
}

.article-content p {
    margin-bottom: 0.75rem;
    color: #33435f;
}

.article-content h2 {
    margin: 1.2rem 0 0.45rem;
    color: #1f2f4a;
}

.article-content ul,
.article-content ol {
    padding-left: 1.2rem;
    margin-bottom: 0.8rem;
    color: #33435f;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

@keyframes typing {
    0% {
        width: 0;
    }
    55% {
        width: 17ch;
    }
    100% {
        width: 17ch;
    }
}

@keyframes caret {
    50% {
        border-color: transparent;
    }
}

.landing-page .main {
    display: grid;
    gap: 1rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 1.15rem;
    align-items: stretch;
}

.landing-page .card {
    background: #ffffff;
    border: 1px solid #dce5f4;
    box-shadow: 0 18px 45px rgba(18, 41, 80, 0.1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.landing-page .card::before {
    display: none;
}

.hero-card h2 {
    font-size: clamp(1.8rem, 3.6vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.7rem;
}

.hero-guide {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background:
        radial-gradient(640px 320px at 100% 0%, rgba(99, 132, 255, 0.12), transparent 62%),
        #ffffff;
}

.hero-guide h3 {
    font-size: 1.35rem;
    line-height: 1.2;
}

.guide-badge {
    align-self: flex-start;
    padding: 0.28rem 0.56rem;
    border-radius: 999px;
    background: #eef3ff;
    color: #3557a4;
    font-size: 0.76rem;
    font-weight: 800;
}

.guide-steps {
    display: grid;
    gap: 0.6rem;
}

.guide-step {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 0.55rem;
    align-items: start;
    padding: 0.52rem;
    border-radius: 12px;
    background: #f7faff;
    border: 1px solid #dce6f6;
}

.guide-num {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(180deg, #4f80ff 0%, #2d5fe3 100%);
}

.guide-step strong {
    display: block;
    font-size: 0.95rem;
    color: #1e2a40;
}

.guide-step p {
    color: #55657f;
    font-size: 0.86rem;
    line-height: 1.35;
    margin-top: 0.08rem;
}

.guide-apps {
    display: grid;
    gap: 0.48rem;
    margin-top: 0.15rem;
}

.guide-apps a {
    display: flex;
    align-items: center;
    gap: 0.56rem;
    text-decoration: none;
    color: #234684;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.46rem 0.58rem;
    border-radius: 10px;
    background: #f4f8ff;
    border: 1px solid #d8e3f5;
}

.guide-apps a:hover {
    background: #eaf2ff;
}

.app-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    flex-shrink: 0;
    background-color: #dfe9fb;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 15px 15px;
    border: 1px solid #c9d9f6;
}

.app-icon.apple {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23234684'%3E%3Cpath d='M16.35 12.4c.02 2.1 1.85 2.8 1.87 2.81-.02.05-.29 1-.95 1.97-.57.84-1.16 1.68-2.1 1.69-.92.02-1.21-.54-2.25-.54-1.05 0-1.37.52-2.23.56-.9.03-1.58-.9-2.16-1.73-1.2-1.73-2.11-4.88-.89-7.02.61-1.06 1.7-1.73 2.89-1.75.9-.02 1.76.6 2.25.6.48 0 1.54-.74 2.6-.63.44.02 1.67.18 2.46 1.33-.06.04-1.47.86-1.45 2.71zM14.63 6.06c.48-.58.8-1.39.71-2.19-.69.03-1.53.46-2.03 1.03-.45.51-.84 1.33-.74 2.11.77.06 1.57-.39 2.06-.95z'/%3E%3C/svg%3E");
}

.app-icon.android {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23234684'%3E%3Cpath d='M7.3 8.1h9.4v7.8a1.2 1.2 0 0 1-1.2 1.2H8.5a1.2 1.2 0 0 1-1.2-1.2V8.1zm8.4-2.1.9-1.5a.45.45 0 1 0-.77-.45l-.92 1.58A6.6 6.6 0 0 0 12 5.1c-1.06 0-2.04.24-2.94.58L8.14 4.1a.45.45 0 1 0-.78.45L8.3 6A5.46 5.46 0 0 0 6.1 8.1h11.8A5.46 5.46 0 0 0 15.7 6zM9.5 12a.7.7 0 1 1 0-1.4.7.7 0 0 1 0 1.4zm5 0a.7.7 0 1 1 0-1.4.7.7 0 0 1 0 1.4z'/%3E%3C/svg%3E");
}

.app-icon.windows {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23234684'%3E%3Cpath d='M3 5.2 11 4v7.5H3V5.2zm9 6.3h9V3l-9 1.3v7.2zM3 12.5h8V20L3 18.8v-6.3zm9 0h9v8.7L12 20v-7.5z'/%3E%3C/svg%3E");
}

.guide-link {
    margin-top: 0.1rem;
    text-decoration: none;
    font-weight: 700;
    color: #2b60d9;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    color: #7a2e95;
    background: #f7ebff;
    font-size: 0.8rem;
    font-weight: 700;
}

.hero-subtitle {
    color: #4c5b74;
    margin-bottom: 0.55rem;
}

.landing-page .price {
    color: #111827;
    text-shadow: none;
}

.landing-page .features li {
    color: #2c3a52;
}

.landing-page .features li::before {
    background: #14b27a;
    box-shadow: 0 0 0 3px rgba(20, 178, 122, 0.16);
}

.landing-page .form label,
.landing-page .checkbox-label {
    color: #41526d;
}

.landing-page .form input:not([type="checkbox"]),
.landing-page .support-meta-grid input {
    background: #f8fbff;
    color: #1b2433;
    border-color: #d5e0f2;
}

.landing-page .form input::placeholder {
    color: #8d9ab0;
}

.landing-page .btn {
    color: #fff;
    background: linear-gradient(180deg, #ff5858 0%, #f03d3d 100%);
    box-shadow: 0 12px 30px rgba(240, 61, 61, 0.28);
}

.landing-page .btn:hover:not(:disabled) {
    box-shadow: 0 16px 34px rgba(240, 61, 61, 0.36);
}

.landing-page .btn-connect {
    background: linear-gradient(180deg, #2e9c63 0%, #218553 100%);
    box-shadow: 0 12px 30px rgba(33, 133, 83, 0.28);
}

.landing-page .btn-connect:hover:not(:disabled) {
    box-shadow: 0 16px 34px rgba(33, 133, 83, 0.36);
}

.landing-page .footer {
    color: #61708b;
}

.landing-page .footer-links a {
    color: #2f65d6;
}

.landing-page .disclaimer {
    color: #71839f;
}

.landing-page .support-fab,
.landing-page .tg-fab {
    color: #fff;
    background: linear-gradient(180deg, #35b56f 0%, #24985a 100%);
    box-shadow: 0 12px 28px rgba(36, 152, 90, 0.3);
}

.landing-page .tg-fab {
    background: linear-gradient(180deg, #3c78ff 0%, #315fe0 100%);
    box-shadow: 0 12px 28px rgba(49, 95, 224, 0.3);
}

.landing-page .support-mini input {
    border-color: #d5e0f2;
    background: #ffffff;
    color: #1b2433;
    box-shadow: 0 8px 22px rgba(22, 44, 86, 0.12);
}

.landing-page .support-mini input::placeholder {
    color: #8092af;
}

.landing-page .support-mini button {
    color: #fff;
    background: linear-gradient(180deg, #35b56f 0%, #24985a 100%);
    box-shadow: 0 10px 22px rgba(36, 152, 90, 0.26);
}

.landing-page .support-widget {
    border-radius: 20px;
    border: 1px solid #d8e2f2;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 55px rgba(25, 48, 92, 0.22);
}

.landing-page .support-head {
    padding: 0.75rem 0.95rem;
    border-bottom: 1px solid #e3ebf8;
    background: linear-gradient(180deg, #f9fbff 0%, #f2f6ff 100%);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.landing-page .support-head strong {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #1a2a44;
    font-size: 0.95rem;
}

.support-logo {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    object-fit: cover;
}

.landing-page .support-head button {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    color: #5b6e8d;
}

.landing-page .support-head button:hover {
    background: #ebf1fc;
}

.landing-page .support-meta {
    border-bottom: 1px solid #e3ebf8;
    background: #f9fbff;
}

.landing-page .support-compose {
    border-top: 1px solid #e3ebf8;
    background: #f9fbff;
}

.landing-page .support-compose textarea {
    border-color: #d5e0f2;
    background: #ffffff;
    color: #1b2433;
}

.landing-page .support-compose textarea::placeholder {
    color: #8a99b2;
}

.landing-page .chat-messages {
    background:
        linear-gradient(180deg, rgba(249, 251, 255, 0.75) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.landing-page .chat-msg {
    border-radius: 13px;
    padding: 0.56rem 0.72rem;
}

.landing-page .chat-msg.user {
    border-color: rgba(240, 61, 61, 0.22);
    background: rgba(255, 86, 86, 0.09);
}

.landing-page .chat-msg.support {
    border-color: #d7e2f4;
    background: #f2f6ff;
}

.landing-page .chat-msg-role {
    color: #5c7194;
}

.landing-page .chat-msg-text {
    color: #1c2940;
}

.landing-page .chat-status {
    color: #d83b5a;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .landing-page .top-nav {
        justify-content: flex-start;
        max-width: 100%;
    }
}

/* Blog redesign (reference style) */
.blog-list-page .container.doc-layout,
.blog-post-page .container.doc-layout {
    max-width: 1240px;
}

.blog-hub-head {
    margin: 0 0 1.15rem;
}

.blog-hub-head h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.55rem, 2.8vw, 2.2rem);
    line-height: 1.15;
    color: #101828;
}

.blog-hub-head p {
    margin: 0;
    color: #4b5b76;
    font-size: 0.98rem;
}

.blog-feed-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.blog-feed-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #dfe6f3;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(20, 40, 76, 0.08);
    display: flex;
    flex-direction: column;
}

.blog-feed-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #edf2fc;
}

.blog-feed-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-feed-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(300px 160px at 85% -10%, rgba(63, 110, 255, 0.22), transparent 70%),
        linear-gradient(145deg, #eef3ff 0%, #e5edf9 100%);
}

.blog-feed-placeholder span {
    color: #35518a;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.blog-feed-body {
    padding: 0.8rem 0.82rem 0.86rem;
}

.blog-feed-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.38rem;
    margin-bottom: 0.52rem;
    color: #60708b;
    font-size: 0.78rem;
    font-weight: 600;
}

.blog-author-avatar {
    width: 19px;
    height: 19px;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-feed-card h2 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    line-height: 1.22;
}

.blog-feed-card h2 a {
    text-decoration: none;
    color: #16253c;
}

.blog-feed-card h2 a:hover {
    color: #2f61d6;
}

.blog-feed-excerpt {
    margin: 0;
    color: #43536d;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.92rem;
    line-height: 1.4;
}

.blog-feed-foot {
    margin-top: 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #5c6c87;
    font-size: 0.78rem;
}

.blog-feed-empty {
    grid-column: 1 / -1;
    border-radius: 16px;
    border: 1px dashed #cad6ea;
    background: #ffffff;
    padding: 1rem;
}

.blog-hub-actions {
    margin-top: 1.1rem;
}

.blog-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 1.1rem;
    align-items: start;
}

.blog-article-main {
    background: #fff;
    border: 1px solid #dfe6f3;
    border-radius: 18px;
    padding: 1.05rem;
    box-shadow: 0 12px 30px rgba(20, 40, 76, 0.08);
}

.blog-article-main h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.65rem, 2.8vw, 2.9rem);
    line-height: 1.12;
    color: #141f33;
}

.blog-article-taxonomy {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
    color: #4f607b;
    font-size: 0.89rem;
}

.blog-article-taxonomy span + span::before {
    content: "|";
    margin-right: 0.75rem;
    color: #9aacbf;
}

.blog-article-actions {
    margin-top: 1.2rem;
}

.blog-article-aside {
    display: grid;
    gap: 0.9rem;
    position: sticky;
    top: 1rem;
}

.blog-aside-promo {
    display: block;
    text-decoration: none;
    border-radius: 16px;
    border: 1px solid #d4def1;
    background:
        radial-gradient(380px 180px at 102% 0%, rgba(58, 114, 255, 0.34), transparent 70%),
        linear-gradient(145deg, #edf4ff 0%, #dfeafe 100%);
    color: #123163;
    padding: 1rem;
    min-height: 220px;
    box-shadow: 0 10px 26px rgba(26, 56, 106, 0.16);
}

.blog-aside-promo strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.1;
    max-width: 220px;
}

.blog-aside-promo span {
    display: block;
    margin-top: 0.58rem;
    color: #2f4d7f;
    font-size: 0.94rem;
    max-width: 250px;
}

.blog-aside-promo em {
    display: inline-block;
    margin-top: 0.85rem;
    font-style: normal;
    font-weight: 800;
    color: #204fba;
}

.blog-related {
    border-radius: 16px;
    border: 1px solid #dfe6f3;
    background: #fff;
    padding: 0.9rem;
    box-shadow: 0 10px 24px rgba(20, 40, 76, 0.07);
}

.blog-related h3 {
    margin: 0 0 0.7rem;
    color: #1f2f4a;
    font-size: 1.3rem;
}

.blog-related-list {
    display: grid;
    gap: 0.78rem;
}

.blog-related-list article {
    border-top: 1px solid #ecf1f9;
    padding-top: 0.72rem;
}

.blog-related-list article:first-child {
    border-top: 0;
    padding-top: 0;
}

.blog-related-list h4 {
    margin: 0.15rem 0 0;
    font-size: 0.98rem;
    line-height: 1.25;
}

.blog-related-list h4 a {
    text-decoration: none;
    color: #172842;
}

.blog-related-list h4 a:hover {
    color: #2f61d6;
}

.blog-post-page .article-cover {
    max-height: 460px;
    border-radius: 14px;
}

.blog-post-page .article-content p,
.blog-post-page .article-content li {
    color: #2f3f59;
    line-height: 1.64;
    font-size: 1.06rem;
}

.blog-post-page .article-content h2,
.blog-post-page .article-content h3 {
    color: #172842;
}

@media (max-width: 1120px) {
    .blog-feed-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .blog-article-layout {
        grid-template-columns: 1fr;
    }
    .blog-article-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .blog-feed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .blog-article-aside {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .blog-feed-grid {
        grid-template-columns: 1fr;
    }
    .blog-article-main {
        padding: 0.85rem;
    }
}
