:root {
    --bg: #f5f7fb;
    --surface: rgba(255, 255, 255, 0.84);
    --surface-strong: #ffffff;
    --text: #0f172a;
    --muted: #52607a;
    --line: rgba(15, 23, 42, 0.08);
    --primary: #5b6cff;
    --primary-dark: #3949db;
    --accent: #9be15d;
    --accent-2: #00c2a8;
    --shadow: 0 18px 50px rgba(35, 50, 85, 0.12);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family:
        'Inter',
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;
    color: var(--text);
    background:
        radial-gradient(
            circle at top left,
            rgba(91, 108, 255, 0.08),
            transparent 26%
        ),
        radial-gradient(
            circle at top right,
            rgba(0, 194, 168, 0.1),
            transparent 22%
        ),
        linear-gradient(180deg, #f8fbff 0%, #f3f6fb 100%);
}

a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    max-width: 100%;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(245, 247, 251, 0.75);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.header-inner,
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.header-inner {
    min-height: 86px;
    align-items: center !important;
}

.footer-inner {
    align-items: start !important;

}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        var(--primary),
        #7d8bff 60%,
        #a2f3d6 120%
    );
    color: #fff;
    box-shadow: 0 12px 30px rgba(91, 108, 255, 0.28);
}

.brand-text {
    font-size: 1.05rem;
}

.main-nav {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    color: var(--muted);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--text);
}

.header-action,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.2s ease;
}

.header-action {
    min-height: 48px;
    padding: 0 20px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.header-action:hover,
.button:hover {
    transform: translateY(-1px);
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(91, 108, 255, 0.1);
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero h1,
.section-heading h2,
.cases-grid h2,
.cta-box h2 {
    margin: 18px 0 16px;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.hero h1 {
    font-size: clamp(2.7rem, 6vw, 5rem);
    max-width: 12ch;
}

.hero-lead,
.section-heading p,
.cta-box p,
.case-item p,
.benefit-card p,
.step-card p,
.upload-card p,
.footer-brand p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-lead {
    font-size: 1.05rem;
    max-width: 56ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 22px;
    .button-primary {
        width: 62%;
        @media (max-width: 768px) {
            width: 100%;
        }
    }
}

.button {
    min-height: 56px;
    padding: 0 24px;
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 18px 34px rgba(57, 73, 219, 0.24);
}

.button-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--line);
}

.button-wide {
    width: 100%;
}

.hero-points {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
    color: var(--muted);
}

.hero-points li {
    position: relative;
    padding-left: 28px;
}

.hero-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px !important;
    transform: translate(0px, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 0 6px rgba(155, 225, 93, 0.15);
}

.dropzone-card,
.benefit-card,
.step-card,
.case-item,
.cta-box,
.site-footer,
.logos-strip {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow);
}

.dropzone-card {
    padding: 22px;
    border-radius: 32px;
}

.upload-card,
.compare-card,
.benefit-card,
.step-card,
.case-item,
.cta-box {
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
    border: 1px solid var(--line);
}

.upload-card {
    padding: 28px;
    margin-bottom: 18px;
}

.upload-badge,
.savings-pill,
.compare-label,
.step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.upload-badge,
.savings-pill {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
}

.upload-badge {
    color: var(--primary-dark);
    background: rgba(91, 108, 255, 0.1);
}

.compare-card {
    padding: 22px;
}

.compare-topline {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.compare-topline > div:last-child {
    text-align: right;
}
.compare-label {
    margin-bottom: 6px;
    font-size: 0.78rem;
    color: var(--muted);
}

.savings-pill {
    color: #084c3a;
    background: rgba(0, 194, 168, 0.16);
}

.comparison {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
    background: #dfe7f5;
}

.comparison-image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.comparison-base {
    /* background-image: url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1400&q=85'); */
    background-image: url('../img/icons/image-1.jpg');
    background-repeat: no-repeat;
    filter: saturate(1.08) contrast(1.04);
}

.comparison-overlay {
    position: absolute;
    inset: 0;
    width: 58%;
    overflow: hidden;
}

/* .comparison-overlay-image {
  background-image: url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1400&q=38');
  filter: saturate(0.95) contrast(0.95) blur(0.15px);
} */

.comparison-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 58%;
    width: 2px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.comparison-handle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 50%;
    background: #fff;
    color: var(--text);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.comparison-handle svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.comparison-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
}

.logos-strip {
    margin: 8px auto 0;
    border-radius: 28px;
    width: min(calc(100% - 32px), var(--container));
    padding: 14px 16px;
}

.logos-inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.logos-inner span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: #5c6a86;
    text-align: center;
    font-weight: 700;
    line-height: 1.35;
}

.section {
    padding: 104px 0;
}
.alt-section {
    background: linear-gradient(
        180deg,
        rgba(91, 108, 255, 0.03),
        rgba(91, 108, 255, 0)
    );
}

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

.section-heading h2,
.cases-grid h2,
.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}
.section-heading.compact {
    max-width: 680px;
}

.benefit-grid,
.steps-grid {
    display: grid;
    gap: 18px;
}

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

.steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-card,
.step-card,
.case-item {
    padding: 28px;
}

.benefit-card h3,
.step-card h3,
.case-item h3 {
    margin: 0 0 12px;
    font-size: 1.18rem;
}

.step-index {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    margin-bottom: 16px;
    color: var(--primary-dark);
    background: rgba(91, 108, 255, 0.1);
}

.cases-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 26px;
    align-items: start;
}

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

.faq-section {
    padding-top: 40px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    border-radius: 22px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
    padding: 0 24px;
}

.faq-item summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 22px 40px 22px 0;
    font-weight: 700;
    line-height: 1.5;
}

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

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 20px;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.75;
}

.cta-section {
    padding-top: 40px;
}

.cta-box {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    padding: 32px;
}

.cta-box-single {
    grid-template-columns: 1fr;
}

.cta-copy-block {
    max-width: 720px;
}

.cta-inline-button {
    min-height: 48px;
    padding: 0 20px;
    margin-top: 20px;
    border-radius: 14px;
    width: auto;
    box-shadow: 0 14px 28px rgba(57, 73, 219, 0.18);
}

.site-footer {
    margin: 104px auto 0;
    padding: 28px 0;
    border-radius: 28px 28px 0 0;
    width: 100%;
}

.site-footer--width {
    width: 100% !important;
    border-radius: 0 !important;
}

.footer-brand {
    max-width: 380px;
}
.footer-brand-link {
    margin-bottom: 14px;
}
.footer-column {
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.footer-column h4 {
    margin: 0 0 4px;
    color: var(--text);
}

.footer-column--pd p {
    margin: 0;
}

@media (max-width: 1100px) {
    .hero-grid,
    .cases-grid,
    .cta-box,
    .steps-grid,
    .logos-inner {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 28px;
    }
}

@media (max-width: 860px) {
    .main-nav,
    .header-action {
        display: none;
    }

    .hero {
        padding-top: 32px;
    }
    .hero h1 {
        max-width: 100%;
    }
    .benefit-grid {
        grid-template-columns: 1fr;
    }
    .compare-topline {
        grid-template-columns: 1fr;
        justify-items: start;
    }
    .compare-topline > div:last-child {
        text-align: left;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .section {
        padding: 78px 0;
    }
    .dropzone-card,
    .upload-card,
    .compare-card,
    .benefit-card,
    .step-card,
    .case-item,
    .cta-box,
    .logos-strip {
        padding: 20px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .button {
        width: 100%;
    }
}
