:root {
    --ch-bg: #020617;
    --ch-bg-alt: #020617;
    --ch-surface: #02081c;
    --ch-surface-soft: #050b22;
    --ch-border: rgba(148, 163, 184, 0.25);
    --ch-primary: #2563eb;
    --ch-primary-soft: rgba(37, 99, 235, 0.15);
    --ch-accent: #22c55e;
    --ch-text: #e5e7eb;
    --ch-text-soft: #9ca3af;
    --ch-error: #f97373;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-soft: 0 24px 80px rgba(15, 23, 42, 0.7);
}

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

body.ch-body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #0f172a 0, #020617 40%, #000 100%);
    color: var(--ch-text);
}

/* Util container (reuse Bootstrap's .container if you want) */

/* HEADER */

.ch-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(24px);
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4), transparent);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.ch-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.7rem;
}

.ch-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.ch-logo img {
    width: 32px;
    height: 32px;
    border-radius: 10px;
}

.ch-logo-text {
    display: flex;
    flex-direction: column;
}

.ch-logo-main {
    font-weight: 700;
    font-size: 1rem;
    color: #f9fafb;
}

.ch-logo-sub {
    font-size: 0.7rem;
    color: var(--ch-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* NAV LINKS */

.ch-nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.ch-nav-links a {
    color: var(--ch-text-soft);
    text-decoration: none;
}

.ch-nav-links a:hover {
    color: #ffffff;
}

/* NAV ACTIONS */

.ch-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1.5rem;
}

/* BUTTONS */

.ch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease,
        transform 0.06s ease, box-shadow 0.16s ease;
}

.ch-btn-primary {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border-color: transparent;
    color: #f9fafb;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.6);
}

.ch-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 28px 70px rgba(37, 99, 235, 0.7);
}

.ch-btn-ghost {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.4);
    color: var(--ch-text);
}

.ch-btn-ghost:hover {
    background: rgba(15, 23, 42, 0.7);
}

.ch-btn-sub {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* LANG BUTTON */

.ch-lang-btn {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.9);
    color: var(--ch-text-soft);
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.ch-lang-btn:hover {
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.9);
}

/* NAV TOGGLE (MOBILE) */

.ch-nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #e5e7eb;
    font-size: 1.6rem;
}

/* HERO */

.ch-hero {
    position: relative;
    padding: 80px 0 90px;
}

.ch-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.38), transparent 55%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.4), transparent 55%);
    opacity: 0.7;
    pointer-events: none;
}

.ch-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.ch-hero-left {
    max-width: 480px;
}

.ch-hero-pill {
    display: inline-flex;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ch-text-soft);
    margin-bottom: 0.7rem;
}

.ch-hero-title {
    font-size: clamp(2.1rem, 3.4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    color: #f9fafb;
}

.ch-hero-title span {
    color: #bfdbfe;
}

.ch-hero-sub {
    font-size: 0.95rem;
    color: var(--ch-text-soft);
    margin-bottom: 1.2rem;
}

.ch-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.ch-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.8rem;
    color: var(--ch-text-soft);
}

.ch-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.ch-hero-meta-item i {
    color: var(--ch-accent);
}

/* HERO RIGHT */

.ch-hero-right {
    display: flex;
    justify-content: flex-end;
}

.ch-hero-card {
    background: radial-gradient(circle at top, #020617, #020617 60%, #000 100%);
    border-radius: var(--radius-xl);
    padding: 18px 18px 16px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 380px;
}

.ch-hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 0.7rem;
}

.ch-badge {
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.16);
    color: #bbf7d0;
    font-size: 0.7rem;
}

.ch-hero-status {
    color: var(--ch-text-soft);
}

.ch-hero-robot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.ch-hero-stats {
    list-style: none;
    padding: 0;
    margin: 0.7rem 0 0;
    font-size: 0.8rem;
}

.ch-hero-stats li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.2rem;
    color: var(--ch-text-soft);
}

/* GENERIC SECTIONS */

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

.ch-section-alt {
    background: radial-gradient(circle at top, #020617, #020617 60%, #000 100%);
}

.ch-section-inner {
    max-width: 980px;
    margin: 0 auto;
}

.ch-section-header {
    margin-bottom: 2rem;
}

.ch-section-header.center {
    text-align: center;
}

.ch-section-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.ch-section-header p {
    font-size: 0.95rem;
    color: var(--ch-text-soft);
    max-width: 620px;
    margin-inline: auto;
}

.ch-tag {
    display: inline-flex;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ch-text-soft);
    margin-bottom: 0.5rem;
}

/* GRIDS */

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

.ch-step {
    background: linear-gradient(145deg, #020617, #020617, #020617);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    font-size: 0.9rem;
    color: var(--ch-text-soft);
}

.ch-step h3 {
    color: #f9fafb;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.ch-step-number {
    font-size: 0.8rem;
    color: var(--ch-text-soft);
    margin-bottom: 0.3rem;
}

/* FEATURES */

.ch-feature-grid {
    margin-top: 1rem;
}

.ch-feature {
    background: #020617;
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    font-size: 0.9rem;
    color: var(--ch-text-soft);
}

.ch-feature h3 {
    color: #f9fafb;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.ch-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    background: var(--ch-primary-soft);
    color: #93c5fd;
}

/* TESTIMONIALS */

.ch-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
    margin-top: 1rem;
}

.ch-testimonial {
    background: #020617;
    border-radius: var(--radius-lg);
    padding: 1rem 1.1rem;
    border: 1px solid rgba(30, 64, 175, 0.6);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.6);
    font-size: 0.9rem;
    color: var(--ch-text-soft);
}

.ch-testimonial-main {
    grid-column: span 2;
}

.ch-testimonial p {
    margin: 0 0 0.45rem;
}

.ch-testimonial span {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* PRICING */

.ch-pricing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: center;
}

.ch-pricing-copy ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.7rem;
    font-size: 0.9rem;
    color: var(--ch-text-soft);
}

.ch-pricing-copy li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.4rem;
}

.ch-pricing-copy i {
    color: var(--ch-accent);
}

.ch-pricing-copy .hint {
    font-size: 0.8rem;
    color: var(--ch-text-soft);
}

.ch-pricing-card {
    background: #020617;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: var(--shadow-soft);
    padding: 1.4rem 1.4rem 1.2rem;
    font-size: 0.9rem;
}

.ch-pricing-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ch-pricing-header h3 {
    margin: 0 0 0.15rem;
    font-size: 1.1rem;
}

.ch-pricing-header p {
    margin: 0;
    color: var(--ch-text-soft);
    font-size: 0.8rem;
}

/* billing toggle */

.ch-billing-toggle {
    display: inline-flex;
    padding: 2px;
    border-radius: 999px;
    background: #020617;
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.75rem;
}

.ch-billing-pill {
    border: none;
    background: transparent;
    color: var(--ch-text-soft);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    cursor: pointer;
}

.ch-billing-pill.active {
    background: #f9fafb;
    color: #020617;
}

/* price main */

.ch-pricing-main {
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    padding-top: 0.7rem;
    margin-top: 0.3rem;
}

.ch-price {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    font-weight: 700;
}

.ch-price .currency {
    font-size: 1rem;
}

.ch-price .amount {
    font-size: 1.7rem;
}

.ch-price .period {
    font-size: 0.8rem;
    color: var(--ch-text-soft);
}

.ch-pricing-main .note {
    margin: 0.4rem 0 0;
    font-size: 0.85rem;
    color: var(--ch-text-soft);
}

/* payments */

.ch-pricing-payments {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: var(--ch-text-soft);
}

.ch-pricing-payments .logos {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.ch-pricing-payments img {
    height: 18px;
    width: auto;
    object-fit: contain;
}

/* form */

.ch-pricing-form {
    margin-top: 0.9rem;
}

.ch-pricing-form .label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    color: var(--ch-text-soft);
}

.ch-pricing-form input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: #020617;
    color: var(--ch-text);
    padding: 0.45rem 0.8rem;
    font-size: 0.85rem;
    outline: none;
}

.ch-pricing-form input::placeholder {
    color: rgba(148, 163, 184, 0.7);
}

.ch-pricing-form input:focus {
    border-color: var(--ch-primary);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.5);
}

.ch-btn-full {
    width: 100%;
    margin-top: 0.7rem;
}

.ch-pricing-form .fine-print {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--ch-text-soft);
}

.ch-pricing-form .fine-print a {
    color: #bfdbfe;
}

/* FAQ */

.ch-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.ch-faq-item {
    background: #020617;
    border-radius: var(--radius-lg);
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 0.9rem;
}

.ch-faq-item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 500;
    color: #f9fafb;
}

.ch-faq-item summary::-webkit-details-marker {
    display: none;
}

.ch-faq-item summary::after {
    content: "+";
    float: right;
    font-weight: 600;
    color: var(--ch-text-soft);
}

.ch-faq-item[open] summary::after {
    content: "–";
}

.ch-faq-item p {
    margin-top: 0.4rem;
    color: var(--ch-text-soft);
}

/* FOOTER */

.ch-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.9);
    background: #020617;
    padding-top: 32px;
}

.ch-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 20px;
}

.ch-footer-main {
    max-width: 320px;
    font-size: 0.9rem;
    color: var(--ch-text-soft);
}

.ch-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.ch-footer-brand img {
    width: 28px;
    height: 28px;
}

.ch-footer-brand span {
    font-weight: 600;
}

.ch-footer-links {
    display: flex;
    gap: 2rem;
    font-size: 0.85rem;
}

.ch-footer-links h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ch-text-soft);
    margin-bottom: 0.5rem;
}

.ch-footer-links a {
    display: block;
    color: var(--ch-text-soft);
    text-decoration: none;
    margin-bottom: 0.3rem;
}

.ch-footer-links a:hover {
    color: #e5e7eb;
}

.ch-footer-bottom {
    border-top: 1px solid rgba(15, 23, 42, 0.9);
    padding-block: 0.7rem;
    font-size: 0.8rem;
    color: var(--ch-text-soft);
    text-align: center;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991.98px) {
    .ch-nav-toggle {
        display: block;
    }

    .ch-nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        margin-top: 0.4rem;
        background: radial-gradient(circle at top, #020617, #020617 60%, #000 100%);
        border-top: 1px solid rgba(148, 163, 184, 0.35);
        padding: 0.8rem 1.1rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        display: none;
    }

    .ch-nav-links.open {
        display: flex;
    }

    .ch-nav-actions {
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: 0.7rem;
    }

    .ch-btn,
    .ch-lang-btn {
        width: 100%;
        justify-content: center;
    }

    .ch-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.2rem;
    }

    .ch-hero-right {
        justify-content: flex-start;
    }

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

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

    .ch-testimonial-main {
        grid-column: span 2;
    }

    .ch-pricing-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ch-footer-inner {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .ch-hero {
        padding-top: 70px;
    }

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

    .ch-testimonial-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ch-testimonial-main {
        grid-column: span 1;
    }

    .ch-faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
