:root {
    --navy: #07111f;
    --navy-soft: #101b2e;
    --slate: #2b3445;
    --muted: #667085;
    --border: #d9e2ef;
    --surface: #ffffff;
    --surface-soft: #f5f8fc;
    --green: #0ea576;
    --green-strong: #087a59;
    --amber: #f7c948;
    --shadow: 0 22px 60px rgba(7, 17, 31, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--slate);
    background: var(--surface-soft);
    font-family: Avenir, Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
}

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

img {
    display: block;
    max-width: 100%;
}

.site-header {
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(16, 27, 46, 0.09);
    backdrop-filter: blur(18px);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    left: 0;
    padding: 14px clamp(18px, 5vw, 72px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.brand img {
    height: 44px;
    object-fit: contain;
    width: auto;
}

.site-nav,
.site-actions,
.hero-actions {
    align-items: center;
    display: flex;
    gap: 12px;
}

.site-nav {
    color: #4a5568;
    font-size: 0.95rem;
}

.site-nav a {
    padding: 8px 4px;
}

.site-nav a:hover {
    color: var(--navy);
}

.btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--green);
    color: #fff;
    box-shadow: 0 14px 30px rgba(14, 165, 118, 0.26);
}

.btn-primary:hover {
    background: var(--green-strong);
}

.btn-ghost {
    border-color: rgba(7, 17, 31, 0.14);
    color: var(--navy);
}

.btn-light {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
}

.hero {
    background-image: linear-gradient(90deg, rgba(7, 17, 31, 0.94) 0%, rgba(7, 17, 31, 0.78) 42%, rgba(7, 17, 31, 0.36) 100%), url("../img/pesaview-hero.png");
    background-position: center;
    background-size: cover;
    color: #fff;
    min-height: calc(100vh - 73px);
    padding: clamp(72px, 12vw, 142px) clamp(22px, 7vw, 96px);
    position: relative;
}

.hero-content {
    max-width: 720px;
}

.eyebrow {
    color: var(--amber);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.8rem, 7vw, 5.9rem);
    line-height: 0.96;
    margin: 0;
    max-width: 850px;
}

.hero-copy {
    color: rgba(248, 250, 252, 0.86);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    margin: 26px 0 0;
    max-width: 680px;
}

.hero-actions {
    margin-top: 32px;
}

.hero-metrics {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 48px 0 0;
    max-width: 680px;
}

.hero-metrics div {
    border-left: 2px solid rgba(14, 165, 118, 0.85);
    padding-left: 16px;
}

.hero-metrics dt {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 900;
}

.hero-metrics dd {
    color: rgba(248, 250, 252, 0.74);
    margin: 2px 0 0;
}

.section {
    padding: clamp(64px, 9vw, 112px) clamp(22px, 7vw, 96px);
}

.section-tight {
    background: #fff;
}

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

.section-heading h2,
.workflow-copy h2,
.demo-band h2 {
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1;
    margin: 0;
}

.section-heading p,
.workflow-copy p,
.demo-band p {
    color: var(--muted);
    font-size: 1.04rem;
}

.feature-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 38px;
}

.feature-card,
.plan-card,
.trust-grid div {
    background: var(--surface);
    border: 1px solid rgba(16, 27, 46, 0.1);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(7, 17, 31, 0.06);
    padding: 24px;
}

.feature-icon {
    color: var(--green);
    font-weight: 900;
}

.feature-card h3,
.plan-card h3,
.trust-grid h3 {
    color: var(--navy);
    font-size: 1.18rem;
    margin: 20px 0 10px;
}

.feature-card p,
.plan-card p,
.trust-grid p {
    color: var(--muted);
    margin: 0;
}

.workflow {
    align-items: start;
    background: #edf3f8;
    display: grid;
    gap: 44px;
    grid-template-columns: 0.8fr 1.2fr;
}

.workflow-steps {
    counter-reset: steps;
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.workflow-steps li {
    background: #fff;
    border-left: 5px solid var(--green);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(7, 17, 31, 0.08);
    padding: 22px 24px;
}

.workflow-steps span {
    color: var(--green-strong);
    display: block;
    font-size: 0.86rem;
    font-weight: 900;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.workflow-steps strong {
    color: var(--navy);
    font-size: 1.05rem;
}

.trust {
    background: var(--navy);
    color: #fff;
}

.trust .section-heading h2,
.trust-grid h3 {
    color: #fff;
}

.trust .section-heading p,
.trust-grid p {
    color: rgba(248, 250, 252, 0.72);
}

.trust-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 36px;
}

.trust-grid div {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.pricing {
    background: #fff;
}

.pricing-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 36px;
}

.featured-plan {
    border-color: rgba(14, 165, 118, 0.38);
    box-shadow: var(--shadow);
}

.plan-card ul {
    color: var(--slate);
    margin: 22px 0 0;
    padding-left: 19px;
}

.plan-card li + li {
    margin-top: 8px;
}

.demo-band {
    align-items: center;
    background: linear-gradient(135deg, #102033, #0d4236);
    color: #fff;
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr auto;
    margin: clamp(28px, 5vw, 64px) clamp(22px, 7vw, 96px);
    padding: clamp(30px, 5vw, 54px);
    border-radius: 8px;
}

.demo-band h2,
.demo-band p {
    color: #fff;
}

.demo-credentials {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    display: grid;
    gap: 8px;
    min-width: 320px;
    padding: 22px;
}

.demo-credentials span {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.demo-credentials strong {
    color: #fff;
    font-size: 1.03rem;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}

.site-footer {
    align-items: center;
    background: #fff;
    border-top: 1px solid rgba(16, 27, 46, 0.1);
    color: var(--muted);
    display: flex;
    gap: 18px;
    justify-content: center;
    padding: 30px 22px;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--green-strong);
    font-weight: 900;
}

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

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

@media (max-width: 820px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .site-actions {
        width: 100%;
    }

    .site-actions .btn {
        flex: 1;
    }

    .hero {
        min-height: auto;
    }

    .hero-actions,
    .hero-metrics,
    .workflow,
    .trust-grid,
    .pricing-grid,
    .demo-band {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        align-items: stretch;
        display: grid;
    }

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

    .demo-credentials {
        min-width: 0;
    }

    .site-footer {
        flex-direction: column;
    }
}
