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

:root {
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --bg: #fafaf8;
    --bg-card: #ffffff;
    --ink: #0e0f0c;
    --ink-2: #4a4d47;
    --ink-3: #8a8d86;
    --border: #e5e6e1;
    --border-2: #d0d2cb;
    --accent: #1a6b55;
    --accent-light: #e8f4f0;
    --accent-mid: #2d8c6e;
    --accent-btn: #163d32;
    --pill-bg: #eefaf5;
    --pill-text: #0f5c43;
    --radius: 12px;
    --radius-lg: 20px;
    --ls: -0.025em;
    --ls-tight: -0.035em;
    --ls-loose: -0.01em;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    letter-spacing: var(--ls);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}

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

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 5%;
    background: rgba(250, 250, 248, 0.88);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-logo,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: var(--ls-tight);
    color: var(--ink);
}

.logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.nav-links,
.footer-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-2);
    letter-spacing: var(--ls-loose);
    transition: color 0.15s;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--ink);
}

.nav-actions,
.hero-ctas,
.cta-btns {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-ghost,
.btn-primary,
.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
}

.btn-ghost {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: var(--ls);
    color: var(--ink-2);
    background: none;
    border: none;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

.btn-ghost:hover {
    background: var(--border);
    color: var(--ink);
}

.btn-primary {
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: var(--ls);
    color: #ffffff;
    background: var(--accent-btn);
    border: none;
    border-radius: 8px;
    transition: background 0.15s, transform 0.1s;
    gap: 6px;
}

.btn-primary:hover,
.btn-hero-primary:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

.hero {
    padding: 100px 5% 80px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 32px;
    padding: 5px 13px 5px 9px;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--pill-text);
    background: var(--pill-bg);
    border: 1px solid #c2e8d9;
    border-radius: 100px;
}

.hero-badge-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.85);
    }
}

h1 {
    max-width: 760px;
    margin: 0 auto 24px;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.08;
    color: var(--ink);
}

h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero-sub {
    max-width: 640px;
    margin: 0 auto 44px;
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -0.015em;
    color: var(--ink-2);
}

.hero-ctas {
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.hero-ctas .btn-hero-primary,
.hero-ctas .btn-hero-secondary {
    min-width: 190px;
}

.btn-hero-primary {
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: var(--ls);
    color: #ffffff;
    background: var(--accent-btn);
    border: none;
    border-radius: 10px;
    gap: 8px;
    transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
    box-shadow: 0 1px 3px rgba(22, 61, 50, 0.18), 0 4px 12px rgba(22, 61, 50, 0.12);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(22, 61, 50, 0.22);
}

.btn-hero-secondary {
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: var(--ls);
    color: var(--ink-2);
    background: var(--bg-card);
    border: 1px solid var(--border-2);
    border-radius: 10px;
    gap: 8px;
    transition: border-color 0.15s, color 0.15s, transform 0.12s;
}

.btn-hero-secondary:hover {
    border-color: var(--ink-3);
    color: var(--ink);
    transform: translateY(-1px);
}

.preview-wrap {
    max-width: 900px;
    margin: 72px auto 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 16px 48px rgba(0, 0, 0, 0.07);
}

.preview-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.preview-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.pd-r {
    background: #ff5f57;
}

.pd-y {
    background: #ffbd2e;
}

.pd-g {
    background: #28c840;
}

.preview-url {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 260px;
    height: 24px;
    margin: 0 auto;
    font-size: 11.5px;
    color: var(--ink-3);
    letter-spacing: 0;
    background: var(--border);
    border-radius: 6px;
}

.preview-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    min-height: 360px;
    padding: 28px;
}

.preview-sidebar {
    padding-right: 20px;
    border-right: 1px solid var(--border);
}

.sidebar-title {
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 3px;
    padding: 8px 10px;
    font-size: 13px;
    color: var(--ink-2);
    border-radius: 8px;
    transition: background 0.1s;
}

.sidebar-item.active {
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 500;
}

.sidebar-item:not(.active):hover {
    background: var(--border);
}

.sidebar-icon,
.pitem-icon,
.feature-icon,
.sc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-icon {
    width: 16px;
    height: 16px;
    font-size: 10px;
    border-radius: 4px;
}

.preview-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.preview-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.pstat,
.pitem,
.feature-card,
.scattered-item,
.solution-card {
    background: var(--bg);
    border: 1px solid var(--border);
}

.pstat {
    padding: 14px 16px;
    border-radius: 10px;
}

.pstat-label {
    margin-bottom: 4px;
    font-size: 11px;
    color: var(--ink-3);
    letter-spacing: 0;
}

.pstat-val {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.pstat-val.accent {
    color: var(--accent);
}

.pstat-sub {
    margin-top: 2px;
    font-size: 11px;
    color: var(--ink-3);
}

.preview-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pitem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
}

.pitem-icon {
    width: 34px;
    height: 34px;
    font-size: 15px;
    background: var(--accent-light);
    border-radius: 8px;
}

.pitem-info {
    flex: 1;
    min-width: 0;
}

.pitem-name {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.pitem-source {
    margin-top: 1px;
    font-size: 11.5px;
    color: var(--ink-3);
}

.pitem-right {
    text-align: right;
    flex-shrink: 0;
}

.pitem-price {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.pitem-remaining {
    margin-top: 1px;
    font-size: 11px;
    color: var(--ink-3);
}

.progress-bar {
    height: 3px;
    margin-top: 8px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill,
.int-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
}

.progress-9 {
    width: 9%;
}

.progress-17 {
    width: 17%;
}

.progress-61 {
    width: 61%;
}

.pitem-badge {
    flex-shrink: 0;
    padding: 3px 8px;
    font-size: 10.5px;
    font-weight: 500;
    border-radius: 100px;
}

.badge-high {
    background: #fef2e4;
    color: #9a5a0d;
}

.badge-med {
    background: #eef4fe;
    color: #2255a0;
}

.badge-low {
    background: var(--border);
    color: var(--ink-3);
}

.logos-bar {
    padding: 24px 5%;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.logos-label {
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--ink-3);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logo-item {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--border-2);
    white-space: nowrap;
}

section {
    padding: 100px 5%;
}

.section-inner,
.integration-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.section-label,
.int-label {
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent);
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: var(--ink);
}

.section-sub {
    max-width: 480px;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: -0.015em;
    color: var(--ink-2);
}

.problem-grid,
.features-header,
.integration-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.scattered-list,
.solution-side,
.int-features,
.int-card-stack {
    display: flex;
    flex-direction: column;
}

.scattered-list {
    gap: 10px;
    margin-top: 32px;
}

.scattered-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    font-size: 14px;
    color: var(--ink-2);
    border-radius: 10px;
    overflow: hidden;
}

.scattered-item::before,
.solution-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
}

.scattered-item::before {
    background: var(--border-2);
}

.scattered-icon {
    font-size: 13px;
    flex-shrink: 0;
}

.solution-side {
    gap: 14px;
}

.solution-intro {
    margin-bottom: 8px;
}

.solution-title {
    font-size: clamp(22px, 3vw, 32px);
}

.solution-card {
    position: relative;
    padding: 20px 22px;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.solution-card:hover {
    border-color: var(--accent-mid);
    box-shadow: 0 4px 20px rgba(26, 107, 85, 0.08);
}

.solution-card::before {
    background: var(--accent);
}

.sc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.sc-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
    background: var(--accent-light);
    border-radius: 7px;
}

.sc-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.sc-body {
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-2);
}

.features-section {
    background: var(--bg-card);
}

.features-header {
    gap: 48px;
    margin-bottom: 64px;
    align-items: end;
}

.features-sub {
    align-self: end;
}

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

.feature-card {
    padding: 26px 24px;
    border-radius: var(--radius);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    border-color: var(--border-2);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    font-size: 18px;
    background: var(--accent-light);
    border-radius: 10px;
}

.feature-title {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--ink);
}

.feature-body {
    font-size: 13.5px;
    line-height: 1.6;
    letter-spacing: -0.01em;
    color: var(--ink-2);
}

.how-header {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.how-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 60px;
    position: relative;
}

.how-row::before {
    content: "";
    position: absolute;
    top: 22px;
    left: calc(12.5% + 12px);
    right: calc(12.5% + 12px);
    height: 1px;
    background: var(--border-2);
    z-index: 0;
}

.how-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
    text-align: center;
}

.how-num {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    background: var(--bg-card);
    border: 1.5px solid var(--border-2);
    border-radius: 50%;
}

.how-step:first-child .how-num {
    border-color: var(--accent);
    background: var(--accent-light);
}

.how-title {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.how-body {
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-2);
}

.integration-section {
    background: var(--ink);
    color: #ffffff;
}

.integration-inner {
    gap: 80px;
}

.int-label {
    color: #6cba9b;
}

.int-h2 {
    margin-bottom: 16px;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.14;
    color: #ffffff;
}

.int-body {
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: -0.015em;
    color: #a0a89e;
}

.int-features {
    gap: 12px;
}

.int-feature {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 14px;
    line-height: 1.5;
    color: #bdc5bb;
}

.int-check {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    font-size: 10px;
    color: #6cba9b;
    background: rgba(108, 186, 155, 0.18);
    border-radius: 50%;
}

.int-card-stack {
    gap: 12px;
}

.int-card {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
}

.int-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.int-card-title {
    font-size: 13px;
    font-weight: 500;
    color: #e0e6de;
}

.int-badge {
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 500;
    color: #6cba9b;
    background: rgba(108, 186, 155, 0.15);
    border-radius: 100px;
}

.int-progress-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
    font-size: 12px;
    color: #717970;
}

.int-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.int-bar-fill {
    background: #4ca07c;
}

.int-amounts {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12.5px;
}

.int-saved {
    color: #6cba9b;
    font-weight: 500;
}

.int-gap {
    color: #717970;
}

.int-standalone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    font-size: 13px;
    color: #717970;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.int-standalone strong {
    color: #a0a89e;
    font-weight: 500;
}

.quote-section {
    padding: 72px 5%;
    background: var(--accent-light);
    border-top: 1px solid #c2e8d9;
    border-bottom: 1px solid #c2e8d9;
}

.quote-inner,
.cta-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.quote-text {
    margin-bottom: 24px;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.4;
    color: var(--ink);
}

.quote-text strong {
    font-weight: 600;
    color: var(--accent);
}

.quote-attr {
    font-size: 13.5px;
    letter-spacing: -0.01em;
    color: var(--ink-3);
}

.cta-section {
    text-align: center;
}

.cta-inner {
    max-width: 560px;
}

.cta-label {
    text-align: center;
}

.cta-h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.cta-sub {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.015em;
    color: var(--ink-2);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 5%;
    border-top: 1px solid var(--border);
}

.footer-links a {
    font-size: 13px;
    letter-spacing: -0.01em;
    color: var(--ink-3);
}

.footer-copy {
    font-size: 12.5px;
    letter-spacing: -0.01em;
    color: var(--ink-3);
}

.error-shell {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    background: var(--bg);
}

.error-card {
    width: 100%;
    max-width: 520px;
    padding: 40px;
    text-align: left;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
}

.error-card h1 {
    max-width: none;
    margin: 24px 0 12px;
    font-size: 40px;
}

.error-card p {
    margin-bottom: 24px;
    color: var(--ink-2);
}
.cta-btns {
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.cta-btns .btn-hero-primary,
.cta-btns .btn-hero-secondary {
    min-width: 190px;
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .problem-grid,
    .features-header,
    .integration-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .how-row {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .how-row::before {
        display: none;
    }

    .preview-body {
        grid-template-columns: 1fr;
    }

    .preview-sidebar {
        display: none;
    }

    .preview-stat-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .nav-actions {
        display: none;
    }

    .preview-stat-row {
        grid-template-columns: 1fr;
    }

    .pitem {
        flex-wrap: wrap;
    }

    .pitem-right {
        text-align: left;
    }
}
