:root {
    --bg: #0d111c;
    --bg-soft: #131a2b;
    --surface: #192236;
    --surface-2: #10182a;
    --text: #e8edf8;
    --muted: #a9b4cc;
    --accent: #7ee0c6;
    --accent-2: #8da2ff;
    --danger: #ff8f8f;
    --line: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
    background: radial-gradient(circle at 20% -10%, #202c48 0%, var(--bg) 40%),
    linear-gradient(180deg, #0a0f1b, #0f1728 55%, #0d111c);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: #9bf3dc;
}

.container {
    width: min(1100px, calc(100% - 3rem));
    margin-inline: auto;
}

.section-pad {
    padding: 5.5rem 0;
}

.alt-bg {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(8px);
    background: rgba(9, 13, 24, 0.72);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 800;
    color: var(--text);
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 0 4px rgba(126, 224, 198, 0.16);
}

.brand-text {
    letter-spacing: 0.2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.main-nav a {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--text);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: #d9e2f4;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.8rem;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    letter-spacing: -0.5px;
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

p {
    margin: 0;
    color: #d6def0;
}

.lead {
    max-width: 58ch;
    margin-top: 1rem;
    color: #bec9df;
}

.eyebrow {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(126, 224, 198, 0.12);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero-note {
    margin-top: 1.2rem;
    color: var(--muted);
}

.hero-panel {
    display: grid;
    gap: 1rem;
}

.panel-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    padding: 1.4rem;
    box-shadow: var(--shadow);
}

.panel-card ul {
    margin: 0.6rem 0 0;
    padding-left: 1.1rem;
    color: #d6def0;
}

.chip {
    display: inline-block;
    font-size: 0.75rem;
    color: #d2dcf2;
    background: rgba(141, 162, 255, 0.18);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.section-head {
    margin-bottom: 2rem;
}

.use-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.use-item {
    padding: 1.2rem 1.2rem 1.3rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.use-item h3 {
    font-size: 1.07rem;
}

.feature-ribbon {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.feature-ribbon > div {
    padding: 1.1rem 1.2rem;
    display: grid;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.feature-ribbon > div:nth-child(2n) {
    border-right: 0;
}

.feature-ribbon strong {
    font-size: 1rem;
}

.download-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 1rem;
    align-items: start;
}

.download-note {
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
}

.download-note ul {
    margin: 0.6rem 0 0;
    padding-left: 1.1rem;
}

.download-file {
    margin: 1rem 0 1.4rem;
    color: var(--muted);
}

.warn {
    color: var(--danger);
    margin-top: 1rem;
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.timeline li {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.timeline span {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    font-weight: 800;
    color: #001d1a;
    background: linear-gradient(145deg, var(--accent), #9cf2dd);
}

.license-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.2rem;
    align-items: center;
}

.price-card {
    border: 1px solid rgba(126, 224, 198, 0.34);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(126, 224, 198, 0.16), rgba(126, 224, 198, 0.06));
    padding: 1.4rem;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: #dbfff5;
}

.term {
    color: #e6f7f2;
    margin-bottom: 0.8rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form {
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
}

.contact-form label {
    display: block;
    margin: 0.7rem 0 0.35rem;
    color: #dce4f5;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(7, 10, 18, 0.5);
    color: var(--text);
    padding: 0.72rem 0.9rem;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(126, 224, 198, 0.4);
    border-color: transparent;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

.form-status {
    min-height: 1.4rem;
    margin-top: 0.9rem;
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 2rem;
    background: rgba(4, 7, 14, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1rem;
    padding: 2.2rem 0 1.4rem;
}

.footer-grid h3,
.footer-grid h4 {
    margin-bottom: 0.6rem;
}

.footer-grid p,
.footer-grid a,
.footer-grid li {
    color: #b5bfd7;
}

.footer-grid ul {
    margin: 0;
    padding-left: 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 0.8rem 0 1.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0.67rem 1rem;
    font-weight: 700;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #08211d;
    background: linear-gradient(145deg, var(--accent), #a4f6e2);
    box-shadow: 0 8px 24px rgba(126, 224, 198, 0.32);
}

.btn-primary:hover {
    color: #08211d;
    box-shadow: 0 10px 28px rgba(126, 224, 198, 0.44);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.24);
    color: #dce5f9;
    background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.44);
}

.btn-nav {
    color: #071a17 !important;
    background: linear-gradient(145deg, var(--accent), #9ff6e0);
}

.btn-lg {
    padding: 0.85rem 1.3rem;
    font-size: 1.03rem;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .hero-grid,
    .split,
    .download-grid,
    .license-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 1.5rem;
        left: 1.5rem;
        display: grid;
        gap: 0.8rem;
        padding: 1rem;
        border-radius: 14px;
        border: 1px solid var(--line);
        background: #121a2e;
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: all 0.22s ease;
    }

    .main-nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .menu-toggle {
        display: inline-block;
    }
}

@media (max-width: 620px) {
    .section-pad {
        padding: 4.2rem 0;
    }

    .container {
        width: min(1100px, calc(100% - 1.5rem));
    }

    .use-grid,
    .feature-ribbon {
        grid-template-columns: 1fr;
    }

    .feature-ribbon > div {
        border-right: 0;
    }
}
