:root {
    --ch-hero: #ff2d55;
    --ch-power: #3d8bff;
    --ch-accent: #ffc400;
    --ch-bg: #070b14;
    --ch-panel: #0f1528;
    --ch-edge: #1e2a45;
    --ch-text: #eef2ff;
    --ch-muted: #8b9dc3;
    --ch-glow: rgba(255, 45, 85, 0.35);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.ch-landing {
    margin: 0;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--ch-bg);
    color: var(--ch-text);
    line-height: 1.5;
}

:root {
    --ch-layout-max: 1120px;
    --ch-layout-gutter: 20px;
    --ch-layout-side: max(
        var(--ch-layout-gutter),
        (100vw - min(var(--ch-layout-max), 100vw - 2 * var(--ch-layout-gutter))) / 2
    );
}

.ch-container {
    width: min(var(--ch-layout-max), calc(100% - 2 * var(--ch-layout-gutter)));
    margin-inline: auto;
}

.ch-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(7, 11, 20, 0.82);
    border-bottom: 1px solid var(--ch-edge);
}

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

.ch-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ch-text);
    font-weight: 800;
    letter-spacing: 0.08em;
    overflow: visible;
}

.ch-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 36px;
    transform: scale(1.5);
    transform-origin: left center;
}

.ch-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ch-nav-links a {
    color: var(--ch-muted);
    text-decoration: none;
    font-size: 14px;
}

.ch-nav-links a:hover {
    color: var(--ch-accent);
}

.ch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    border: 1px solid rgba(255, 45, 85, 0.5);
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.25), rgba(61, 139, 255, 0.18));
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 32px var(--ch-glow);
    transition: transform 0.15s, box-shadow 0.15s;
}

.ch-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 40px var(--ch-glow);
}

.ch-btn-ghost {
    background: transparent;
    border-color: var(--ch-edge);
    box-shadow: none;
    color: var(--ch-muted);
    text-transform: none;
    font-weight: 600;
}

.ch-btn-ghost:hover {
    color: var(--ch-text);
    border-color: var(--ch-power);
}

.ch-hero {
    position: relative;
    padding: 80px var(--ch-layout-side) 72px;
    overflow: hidden;
    min-height: min(72vh, 640px);
    display: block;
    box-sizing: border-box;
    background-color: #050810;
    background-image: var(--ch-hero-image);
    background-size: cover;
    background-position: 72% center;
    background-repeat: no-repeat;
}

.ch-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(5, 8, 16, 0.97) 0%,
            rgba(5, 8, 16, 0.88) 38%,
            rgba(5, 8, 16, 0.45) 62%,
            rgba(5, 8, 16, 0.12) 100%
        ),
        linear-gradient(180deg, rgba(5, 8, 16, 0.55) 0%, transparent 35%, rgba(5, 8, 16, 0.65) 100%),
        radial-gradient(ellipse at 18% 30%, rgba(255, 45, 85, 0.14), transparent 50%);
}

.ch-hero .ch-container {
    width: 100%;
    max-width: var(--ch-layout-max);
    margin: 0;
    padding: 0;
}

.ch-hero-grid {
    position: relative;
    z-index: 1;
    width: 100%;
}

.ch-hero-content {
    max-width: 560px;
    margin: 0;
    padding: 0;
}

.ch-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 196, 0, 0.4);
    background: rgba(255, 196, 0, 0.08);
    color: var(--ch-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ch-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.ch-hero h1 span {
    background: linear-gradient(90deg, var(--ch-hero), var(--ch-power), var(--ch-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ch-lead {
    margin: 0 0 28px;
    font-size: 1.125rem;
    color: var(--ch-muted);
    max-width: 52ch;
}

.ch-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.ch-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 32px;
}

.ch-stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--ch-accent);
}

.ch-stat span {
    font-size: 13px;
    color: var(--ch-muted);
}

.ch-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px dashed rgba(255, 45, 85, 0.35);
    background: repeating-linear-gradient(
            -45deg,
            rgba(255, 45, 85, 0.04),
            rgba(255, 45, 85, 0.04) 8px,
            rgba(61, 139, 255, 0.04) 8px,
            rgba(61, 139, 255, 0.04) 16px
        ),
        rgba(15, 21, 40, 0.8);
    color: var(--ch-muted);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    min-height: 180px;
}

.ch-placeholder--tall {
    min-height: 320px;
}

.ch-placeholder--wide {
    min-height: 140px;
}

.ch-section {
    padding: 64px 0;
}

.ch-section--alt {
    background: rgba(15, 21, 40, 0.55);
    border-block: 1px solid var(--ch-edge);
}

.ch-section-head {
    text-align: center;
    margin-bottom: 40px;
}

.ch-kicker {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ch-hero);
}

.ch-section-head h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.ch-section-head p {
    margin: 12px auto 0;
    max-width: 60ch;
    color: var(--ch-muted);
}

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

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

.ch-feature-card,
.ch-price-card {
    padding: 22px;
    border-radius: 16px;
    border: 1px solid var(--ch-edge);
    background: var(--ch-panel);
}

.ch-feature-card h3,
.ch-price-card h3 {
    margin: 12px 0 8px;
    font-size: 1.05rem;
}

.ch-feature-card p,
.ch-price-card p {
    margin: 0;
    color: var(--ch-muted);
    font-size: 14px;
}

.ch-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 45, 85, 0.15);
    color: var(--ch-accent);
    font-size: 20px;
}

.ch-before-after {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
}

.ch-arrow {
    font-size: 2rem;
    color: var(--ch-accent);
}

.ch-steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ch-step {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--ch-edge);
    background: var(--ch-panel);
}

.ch-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ch-hero), var(--ch-power));
    font-weight: 800;
}

.ch-price-card--featured {
    border-color: rgba(255, 196, 0, 0.5);
    box-shadow: 0 0 40px rgba(255, 196, 0, 0.12);
}

.ch-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ch-accent);
    margin: 8px 0 16px;
}

.ch-faq details {
    border: 1px solid var(--ch-edge);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 10px;
    background: var(--ch-panel);
}

.ch-faq summary {
    cursor: pointer;
    font-weight: 600;
}

.ch-faq p {
    margin: 10px 0 0;
    color: var(--ch-muted);
    font-size: 14px;
}

.ch-cta {
    text-align: center;
    padding: 72px 0;
    background: radial-gradient(ellipse at center, rgba(255, 45, 85, 0.12), transparent 70%);
}

.ch-footer {
    padding: 32px 0;
    border-top: 1px solid var(--ch-edge);
    color: var(--ch-muted);
    font-size: 13px;
}

.ch-footer a {
    color: var(--ch-muted);
}

@media (max-width: 900px) {
    .ch-hero {
        min-height: 0;
        padding: 56px var(--ch-layout-side) 48px;
        background-position: 60% center;
    }

    .ch-hero::before {
        background:
            linear-gradient(
                180deg,
                rgba(5, 8, 16, 0.94) 0%,
                rgba(5, 8, 16, 0.82) 55%,
                rgba(5, 8, 16, 0.7) 100%
            ),
            radial-gradient(ellipse at 50% 0%, rgba(255, 45, 85, 0.12), transparent 55%);
    }

    .ch-hero-content {
        max-width: none;
    }

    .ch-grid-3,
    .ch-grid-4,
    .ch-steps {
        grid-template-columns: 1fr;
    }

    .ch-before-after {
        grid-template-columns: 1fr;
    }

    .ch-arrow {
        text-align: center;
    }

    .ch-nav-links {
        display: none;
    }
}
