:root {
    --ink: #17202a;
    --muted: #5f6f7b;
    --line: #dce6ea;
    --surface: #ffffff;
    --soft: #f4f8f7;
    --green: #2e8f5b;
    --green-dark: #1f6843;
    --blue: #245d7c;
    --shadow: 0 16px 45px rgba(23, 32, 42, 0.11);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100%;
    color: var(--ink);
    background: #f8fbfa;
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 0 32px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
}

.brand {
    color: var(--ink);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.version {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.download-link,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.download-link,
.button.primary {
    color: #ffffff;
    background: var(--green);
}

.button.secondary {
    color: var(--green-dark);
    border-color: #b8d7c6;
    background: #ffffff;
}

.download-link:hover,
.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(31, 104, 67, 0.16);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.8fr);
    gap: 40px;
    align-items: center;
    max-width: 1160px;
    margin: 0 auto;
    padding: 70px 28px 52px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

h1 {
    max-width: 760px;
    margin: 0;
    font-size: 54px;
    line-height: 1.04;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 720px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-panel {
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.hero-panel div {
    display: grid;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.hero-panel div:last-child {
    border-bottom: 0;
}

.hero-panel strong {
    font-size: 18px;
}

.hero-panel span {
    color: var(--muted);
}


.workflow-visual {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px 30px;
}

.workflow-visual img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}
.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 24px 28px 54px;
}

.plan-card {
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.plan-card.featured {
    border-color: #9fc8b4;
    box-shadow: var(--shadow);
}

.plan-card h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.price {
    margin: 0;
    color: var(--blue);
    font-size: 40px;
    font-weight: 800;
}

.price.free {
    color: var(--green-dark);
}

.license-note {
    min-height: 72px;
    margin: 14px 0 0;
    color: var(--muted);
}

.plan-card ul {
    display: grid;
    gap: 10px;
    margin: 22px 0 24px;
    padding: 0;
    list-style: none;
}

.plan-card li {
    padding-left: 18px;
    position: relative;
}

.plan-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
}

.full {
    width: 100%;
    margin-top: auto;
}

.description {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 36px;
    max-width: 1160px;
    margin: 0 auto 70px;
    padding: 36px 28px;
    border-top: 1px solid var(--line);
}

.description h2 {
    margin: 0;
    font-size: 32px;
}

.description p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 18px;
}

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

.feature-grid span {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--soft);
    font-weight: 700;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 28px 32px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: #ffffff;
}

.site-footer a {
    color: var(--green-dark);
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 860px) {
    .topbar,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 20px;
    }

    .top-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .hero,
    .workflow-visual,
    .plans,
    .description {
        grid-template-columns: 1fr;
        padding-left: 20px;
        padding-right: 20px;
    }

    h1 {
        font-size: 40px;
    }

    .hero-copy {
        font-size: 18px;
    }

    .plan-card {
        min-height: auto;
    }

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

.checkout-result {
    max-width: 860px;
    margin: 0 auto;
    padding: 76px 28px 90px;
}

.checkout-result h1 {
    font-size: 42px;
}

.checkout-result p {
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
}

.license-code {
    display: inline-flex;
    margin: 16px 0 28px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    color: var(--blue);
    font-family: Consolas, "Courier New", monospace;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0;
}