html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0b1120;
    color: #f8fafc;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: #0b1120;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

.site-brand {
    font-size: 1.15rem;
    font-weight: 700;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #cbd5e1;
}

.site-nav__cta {
    padding: 10px 14px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 10px;
    color: #ffffff;
}

.site-nav__toggle {
    display: none;
    background: none;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #ffffff;
    font-size: 1.2rem;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.hero {
    padding: 88px 0 72px;
    background: linear-gradient(180deg, #0b1120 0%, #111827 100%);
}

.hero-simple {
    text-align: center;
}

.eyebrow,
.section-kicker {
    display: inline-block;
    margin-bottom: 16px;
    color: #93c5fd;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
}

.subtitle {
    margin: 0 auto 28px;
    max-width: 680px;
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 700;
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
}

.btn-secondary {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.3);
    color: #ffffff;
}

.hero-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 40px;
}

.download-figure {
    margin: 0;
}

.download-figure .preview-card {
    padding: 22px;
}

.download-figure .preview-box {
    height: 240px;
}

.preview-card,
.feature-card,
.cta-block {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
}

.preview-card {
    padding: 18px;
}

.preview-card span {
    display: inline-block;
    margin-bottom: 12px;
    color: #bfdbfe;
    font-weight: 700;
}

.preview-card--accent {
    background: rgba(37, 99, 235, 0.12);
}

.preview-box {
    height: 180px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.preview-box--soft {
    background:
        linear-gradient(135deg, rgba(148, 163, 184, 0.22), rgba(51, 65, 85, 0.7)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 10px, rgba(255, 255, 255, 0.01) 10px 20px);
}

.preview-box--sharp {
    background:
        linear-gradient(135deg, rgba(96, 165, 250, 0.4), rgba(20, 184, 166, 0.24)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 8px, rgba(255, 255, 255, 0.01) 8px 16px);
}

.section {
    padding: 72px 0;
}

.section-dark {
    background: #0f172a;
}

.section-accent {
    background: #111827;
}

.section-heading {
    margin-bottom: 36px;
}

.section-heading--center {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

.section-heading h2,
.cta-block h2 {
    margin: 0 0 14px;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.section-heading p,
.cta-block p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 24px;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 1.1rem;
}

.feature-card p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.7;
}

.cta-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px;
}

.cta-block--simple {
    max-width: 900px;
    margin: 0 auto;
}

.site-footer {
    padding: 40px 0 0;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    background: #0b1120;
}

.site-footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 32px;
}

.site-footer__brand p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 0.9rem;
    max-width: 260px;
    line-height: 1.6;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.site-footer__nav a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.15s;
}

.site-footer__nav a:hover {
    color: #f8fafc;
}

.site-footer__bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    padding: 20px 0;
}

.site-footer__bottom p {
    margin: 0;
    color: #475569;
    text-align: center;
    font-size: 0.85rem;
}

/* ── Page header ── */
.page-header {
    padding: 72px 0 56px;
    background: linear-gradient(180deg, #0b1120 0%, #111827 100%);
    text-align: center;
}

.page-header .section-kicker {
    margin-bottom: 12px;
}

.page-header h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.page-header p {
    margin: 0 auto;
    max-width: 640px;
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ── Info cards / step cards ── */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.info-card {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    padding: 28px;
}

.info-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.18);
    color: #93c5fd;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.info-card h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.info-card p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ── Pricing cards ── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.pricing-card {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-card--featured {
    border-color: rgba(37, 99, 235, 0.5);
    background: rgba(37, 99, 235, 0.06);
}

.pricing-card__badge {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 4px;
}

.pricing-card__price {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.pricing-card__price span {
    font-size: 1rem;
    font-weight: 400;
    color: #94a3b8;
}

.pricing-card h3 {
    margin: 0 0 4px;
    font-size: 1.2rem;
}

.pricing-card p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.pricing-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.pricing-card ul li {
    color: #cbd5e1;
    font-size: 0.95rem;
    padding-left: 20px;
    position: relative;
}

.pricing-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #60a5fa;
}

/* ── FAQ ── */
.faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 14px;
    padding: 24px;
}

.faq-item h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #e2e8f0;
}

.faq-item p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.75;
    font-size: 0.95rem;
}

/* ── Thank You ── */
.thankyou-hero {
    padding: 88px 0 72px;
    background: linear-gradient(180deg, #0b1120 0%, #111827 100%);
    text-align: center;
}

.thankyou-hero .checkmark {
    font-size: 3rem;
    margin-bottom: 16px;
}

.thankyou-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.thankyou-hero p {
    margin: 0 auto 8px;
    max-width: 560px;
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ── nav active state ── */
.site-nav a.active,
.site-nav a[aria-current="page"] {
    color: #f8fafc;
}

@media (max-width: 768px) {
    .site-nav__toggle {
        display: block;
    }

    .site-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 12px 0 16px;
        gap: 12px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-header__inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .cta-block {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-preview,
    .feature-grid,
    .info-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .cta-block {
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .site-footer__inner {
        flex-direction: column;
        gap: 24px;
    }
}

/* Image Compare Slider */
.img-compare {
    position: relative;
    width: 100%;
    max-width: 650px;
    margin: 2.5rem auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    aspect-ratio: 4 / 3;
    user-select: none;
}

.img-compare__after,
.img-compare__before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.img-compare__before {
    clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.img-compare__slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
    margin: 0;
}

.img-compare__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--position);
    width: 2px;
    background: #0076ff;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 5;
}

.img-compare__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: #0076ff;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.img-compare__label {
    position: absolute;
    bottom: 12px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 4;
}

.img-compare__label--before {
    left: 12px;
}

.img-compare__label--after {
    right: 12px;
}
