:root {
    --bg: #f5f7ff;
    --surface: #ffffff;
    --surface-soft: rgba(255, 255, 255, 0.78);
    --text: #182245;
    --muted: #62709a;
    --line: rgba(86, 98, 155, 0.16);
    --blue: #2f63ff;
    --purple: #7b4dff;
    --blue-deep: #13204d;
    --shadow: 0 30px 70px rgba(28, 42, 95, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font: 16px/1.8 "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(101, 128, 255, 0.16), transparent 35%),
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.18), transparent 38%),
        linear-gradient(180deg, #fbfcff 0%, #eef2ff 100%);
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.narrow {
    width: min(960px, 100%);
}

.blog-shell {
    width: min(1080px, 100%);
}

.page-inner {
    width: min(1080px, 100%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(248, 250, 255, 0.84);
    border-bottom: 1px solid rgba(95, 112, 170, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 86px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.site-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--muted);
    white-space: nowrap;
    transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    box-shadow: 0 14px 30px rgba(73, 98, 255, 0.28);
}

.page-shell {
    min-height: calc(100vh - 86px);
    padding-right: 96px;
}

.hero,
.page-hero {
    position: relative;
}

.hero {
    padding: 72px 0 56px;
}

.page-hero {
    padding: 56px 0 18px;
}

.page-hero .narrow,
.page-hero .page-inner,
.page-hero .blog-shell {
    position: relative;
    padding: 46px 48px 40px;
    background:
        radial-gradient(circle at top right, rgba(98, 124, 255, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 255, 0.94));
    border: 1px solid rgba(101, 113, 171, 0.12);
    border-radius: 34px;
    box-shadow: 0 34px 72px rgba(31, 43, 92, 0.12);
}

.hero-grid,
.split-grid,
.contact-grid,
.download-page-grid,
.pricing-grid,
.content-grid {
    display: grid;
    gap: 28px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.content-card,
.download-card-large,
.price-card,
.article-card,
.article-list-item,
.scene-board,
.stat-card {
    background: var(--surface-soft);
    border: 1px solid rgba(108, 121, 177, 0.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 44px;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2 {
    margin: 0 0 18px;
    line-height: 1.15;
}

.hero-copy h1 {
    font-size: clamp(38px, 6vw, 66px);
    max-width: 12ch;
}

.page-hero h1 {
    font-size: clamp(34px, 5vw, 54px);
}

.hero-lead,
.page-hero p,
.section-heading p {
    color: var(--muted);
    font-size: 18px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--blue);
    background: rgba(47, 99, 255, 0.08);
    font-weight: 700;
    letter-spacing: 0.08em;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 16px;
    font-weight: 700;
    transition: 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    box-shadow: 0 18px 36px rgba(80, 87, 255, 0.28);
}

.button-secondary {
    color: var(--blue-deep);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(93, 108, 170, 0.16);
}

.button-secondary.light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
}

.hero-points,
.check-list {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.hero-points--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 24px;
}

.hero-points--inline li {
    margin-top: 0;
    padding: 10px 16px 10px 32px;
    border-radius: 999px;
    background: rgba(241, 245, 255, 0.94);
    border: 1px solid rgba(102, 115, 182, 0.12);
    color: #425280;
}

.hero-points--inline li::before {
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
}

.hero-points li,
.check-list li {
    position: relative;
    padding-left: 26px;
    margin-top: 12px;
}

.hero-points li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
}

.hero-panel {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.stat-card,
.scene-item {
    padding: 24px;
}

.stat-card strong,
.scene-item strong {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
}

.stat-card span,
.scene-item span {
    color: var(--muted);
}

.section {
    padding: 26px 0 72px;
}

.section-tint {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(235, 239, 255, 0.8));
}

.section-deep {
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(162, 117, 255, 0.36), transparent 28%),
        radial-gradient(circle at bottom left, rgba(72, 112, 255, 0.3), transparent 32%),
        linear-gradient(135deg, #17234d 0%, #202866 50%, #4a33a3 100%);
}

.section-deep .article-card {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(154, 167, 236, 0.14);
}

.section-deep .article-card h3,
.section-deep .article-card h3 a,
.section-deep .article-card .article-date {
    color: var(--blue-deep);
}

.section-deep .article-card p {
    color: #5d6c9b;
}

.section-deep .article-link {
    color: var(--blue);
}

.section-heading {
    margin-bottom: 28px;
    max-width: 760px;
}

.section > .section-heading {
    margin-bottom: 26px;
}

.page-inner.section-heading,
.blog-shell.section-heading {
    max-width: 1080px;
}

.page-inner.section-heading h2,
.page-inner.section-heading p,
.blog-shell.section-heading h2,
.blog-shell.section-heading p {
    max-width: 760px;
}

.section-heading-light p,
.section-heading-light .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

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

.feature-card {
    padding: 28px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(87, 98, 150, 0.14);
    box-shadow: var(--shadow);
}

.feature-card h3,
.content-card h2,
.content-card h3,
.download-card-large h2,
.price-card h2,
.article-card h3,
.article-list-item h2 {
    margin-top: 0;
}

.feature-card p,
.content-card p,
.download-card-large p,
.price-card p,
.article-card p,
.article-list-item p {
    color: var(--muted);
}

.split-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
    align-items: center;
}

.scene-board {
    display: grid;
    gap: 16px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.scene-item {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(97, 110, 171, 0.14);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.download-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 18px;
    align-items: center;
    padding: 26px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(97, 109, 168, 0.16);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.download-strip strong,
.download-meta span,
.price-badge,
.article-date {
    display: block;
}

.download-strip span,
.download-meta span,
.price-card p,
.article-date {
    color: var(--muted);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.article-card,
.article-list-item {
    padding: 26px;
    height: 100%;
}

.article-link {
    color: #fff;
    font-weight: 700;
}

.article-list {
    display: grid;
    gap: 18px;
}

.article-list-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.article-list-item > div {
    min-width: 0;
}

.article-detail {
    padding: 36px 40px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(95, 107, 166, 0.16);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.article-detail h2,
.article-detail h3 {
    margin-top: 32px;
}

.article-detail p {
    margin: 18px 0 0;
    color: #30406c;
    text-align: justify;
}

.content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.contact-grid,
.download-page-grid,
.download-page-grid,
.contact-grid,
.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.content-card {
    padding: 30px 32px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 255, 0.94));
}

.content-card--featured {
    grid-column: 1 / -1;
    background:
        radial-gradient(circle at top right, rgba(124, 94, 255, 0.1), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.94));
}

.content-card--soft {
    background:
        linear-gradient(180deg, rgba(243, 246, 255, 0.96), rgba(255, 255, 255, 0.92));
}

.content-card h2,
.content-card h3 {
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 1.3;
    color: var(--blue-deep);
}

.content-card p {
    margin: 0;
    line-height: 1.9;
}

.download-card-large {
    grid-column: 1 / -1;
    padding: 36px 38px;
    background:
        radial-gradient(circle at right top, rgba(113, 95, 255, 0.14), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.94));
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 20px;
}

.price-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 255, 0.94));
}

.price-card.featured {
    background:
        radial-gradient(circle at top right, rgba(123, 77, 255, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(237, 242, 255, 0.98), rgba(255, 255, 255, 0.94));
    border-color: rgba(92, 90, 255, 0.22);
}

.price-value {
    display: block;
    margin: 12px 0 18px;
    font-size: 42px;
    line-height: 1;
    color: var(--blue-deep);
}

.price-card .button {
    margin-top: auto;
}

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.pager a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(96, 109, 170, 0.16);
}

.pager a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--purple));
}

.site-footer {
    padding: 40px 0 28px;
    border-top: 1px solid rgba(98, 110, 172, 0.14);
    background: rgba(247, 249, 255, 0.88);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr;
    gap: 30px;
}

.footer-grid h3 {
    margin-top: 0;
}

.footer-grid p,
.footer-grid a,
.footer-links,
.footer-copy {
    color: var(--muted);
}

.footer-grid a {
    display: block;
    margin-top: 10px;
}

.footer-links {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(92, 107, 170, 0.12);
}

.footer-links__items {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.footer-copy {
    margin-top: 18px;
    font-size: 14px;
}

.floating-telegram {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    width: 58px;
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(180deg, var(--blue), var(--purple));
    box-shadow: 0 18px 34px rgba(78, 84, 235, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-telegram:hover {
    transform: translateY(-50%) translateX(-2px);
    box-shadow: 0 24px 40px rgba(78, 84, 235, 0.38);
}

.floating-telegram__icon,
.floating-telegram__text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-telegram__icon {
    height: 56px;
    font-weight: 800;
}

.floating-telegram__text {
    min-height: 124px;
    padding: 14px 8px;
    font-size: 12px;
    line-height: 1.5;
    writing-mode: vertical-rl;
}

@media (max-width: 1100px) {
    .feature-grid,
    .pricing-grid,
    .content-grid,
    .contact-grid,
    .download-page-grid,
    .footer-grid,
    .download-strip,
    .hero-grid,
    .split-grid,
    .article-grid {
        grid-template-columns: 1fr;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .page-shell {
        padding-right: 0;
    }

    .content-card--featured,
    .contact-grid .content-card:last-child {
        grid-column: auto;
    }

    .article-list-item {
        display: grid;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1200px);
    }

    .header-inner {
        padding: 14px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .download-page-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero,
    .page-hero,
    .section {
        padding-top: 26px;
    }

    .hero-copy,
    .page-hero .narrow,
    .article-detail,
    .download-card-large,
    .price-card,
    .content-card,
    .article-card,
    .article-list-item {
        padding: 22px;
    }

    .floating-telegram {
        right: 12px;
        top: auto;
        bottom: 14px;
        transform: none;
        width: auto;
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        padding-right: 12px;
    }

    .floating-telegram__icon {
        height: 48px;
        width: 48px;
    }

    .floating-telegram__text {
        min-height: auto;
        padding: 0 0 0 2px;
        font-size: 12px;
        writing-mode: horizontal-tb;
    }

    .floating-telegram:hover {
        transform: translateY(-2px);
    }
}
