:root {
    --bg: #f3f7fc;
    --surface: #ffffff;
    --surface-soft: #f8fbff;
    --line: #dbe7f4;
    --text: #0f1f37;
    --muted: #5f7291;
    --blue: #1f4fe0;
    --blue-strong: #163bb0;
    --cyan: #13a7df;
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow-soft: 0 18px 34px rgba(17, 35, 77, 0.08);
    --shadow-strong: 0 24px 60px rgba(21, 58, 176, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 0% 0%, rgba(31, 79, 224, 0.12), transparent 24%),
        radial-gradient(circle at 100% 20%, rgba(19, 167, 223, 0.12), transparent 28%),
        var(--bg);
}

a {
    color: inherit;
}

.landing {
    padding: 26px;
}

.landing-shell {
    width: min(1400px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.brand {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-subtitle {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.03em;
}

.topnav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.topnav a {
    text-decoration: none;
    color: #2c4166;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 11px;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.topnav a:hover {
    background: #edf3ff;
    color: #0f2a6e;
    transform: translateY(-1px);
}

.topnav .nav-login {
    color: #fff;
    background: linear-gradient(135deg, var(--blue) 0%, #345ff1 100%);
    box-shadow: 0 10px 20px rgba(31, 79, 224, 0.24);
}

.topnav .nav-login:hover {
    background: linear-gradient(135deg, #183fbe 0%, #2952da 100%);
    color: #fff;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
    gap: 24px;
    border-radius: 34px;
    padding: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.17), transparent 34%),
        linear-gradient(132deg, #0f2044 0%, #1944c9 54%, #17ace4 100%);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero h1 {
    margin: 18px 0 16px;
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.hero p {
    margin: 0;
    max-width: 740px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.68;
    font-size: 17px;
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    gap: 11px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

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

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #1f4fe0 0%, #2e67ff 100%);
    box-shadow: 0 12px 24px rgba(25, 67, 195, 0.35);
}

.btn-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
}

.btn-ghost {
    color: #13367f;
    background: #fff;
}

.hero-visual {
    position: relative;
    min-height: 430px;
}

.hero-visual figure {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(8, 20, 48, 0.4);
}

.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.visual-dashboard {
    position: absolute;
    bottom: 25px;
    width: 100%;
    left: -15px;
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.hero-visual .visual-device {
    position: absolute;
    bottom: -6px;
    left: 350px;
    width: 42%;
    background: rgba(255, 255, 255, 0.12);
}

.system-card .visual-device {
    position: static;
    width: 100%;
    margin: 20px 0;
    background: transparent;
    text-align: right;
}

.system-card .visual-device img {
    display: inline-block;
    width: 50%;
    max-width: 100%;
    margin-left: auto;
    height: auto;
    border-radius: 18px;
}

.visual-ticket {
    position: absolute;
    top: 34px;
    right: 420px;
    width: 34%;
    transform: rotate(9deg);
    background: #fff;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-kicker,
.card-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #2052df;
    background: #e8f0ff;
    border: 1px solid #cfe0ff;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

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

.system-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.system-card h2 {
    margin: 12px 0 10px;
    font-size: 28px;
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.system-card p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.65;
}

.system-card ul {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
    color: #243c63;
    line-height: 1.5;
}

.workflow,
.benefits,
.audience,
.synergy,
.strube,
.contact {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    padding: 28px;
}

.workflow-list {
    margin: 20px 0 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 12px;
    counter-reset: flow;
}

.workflow-list li {
    counter-increment: flow;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #d9e6f7;
    border-radius: 14px;
    background: #f7fbff;
}

.workflow-list li::before {
    content: counter(flow);
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, #1e4ee0 0%, #1aa4dc 100%);
}

.benefit-grid,
.audience-grid {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

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

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

.benefit-grid article,
.audience-grid article {
    border: 1px solid #d9e6f7;
    border-radius: 14px;
    padding: 14px;
    background: var(--surface-soft);
    color: #1c3359;
    line-height: 1.5;
    font-weight: 600;
}

.compare-table {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid #d9e6f7;
    border-radius: 16px;
    overflow: hidden;
}

.compare-table > div {
    padding: 14px 16px;
    border-bottom: 1px solid #d9e6f7;
}

.compare-table > div:nth-child(odd) {
    border-right: 1px solid #d9e6f7;
}

.compare-head {
    background: #e9f1ff;
    color: #0f2f85;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
}

.synergy-note {
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.strube p {
    margin: 12px 0 0;
    max-width: 1000px;
    line-height: 1.72;
    color: #2f476f;
}

.strube-logo-link {
    display: inline-flex;
    width: fit-content;
}

.strube-logo {
    display: block;
    width: clamp(180px, 26vw, 320px);
    height: auto;
}

.strube p a {
    color: #1f4fe0;
    font-weight: 700;
    text-decoration: none;
}

.strube p a:hover {
    text-decoration: underline;
}

.contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background:
        radial-gradient(circle at top right, rgba(31, 79, 224, 0.12), transparent 40%),
        #fff;
}

.contact h2 {
    margin: 10px 0 8px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.contact p {
    margin: 0;
    color: var(--muted);
}

.footer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #0f1d3e;
    color: #d6e2ff;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h3 {
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #99b8ff;
}

.footer-col a {
    text-decoration: none;
    color: #f0f5ff;
    font-size: 15px;
    line-height: 1.4;
    width: fit-content;
}

.footer-col a:hover {
    color: #9fccff;
}

@media (max-width: 1240px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 380px;
    }

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

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

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

@media (max-width: 960px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .topnav {
        justify-content: flex-start;
    }

    .system-grid,
    .benefit-grid,
    .audience-grid,
    .footer {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 720px) {
    .landing {
        padding: 14px;
    }

    .hero,
    .workflow,
    .benefits,
    .audience,
    .synergy,
    .strube,
    .contact {
        padding: 20px;
        border-radius: 20px;
    }

    .topbar {
        border-radius: 20px;
    }

    .brand-title {
        font-size: 26px;
    }

    .hero-actions {
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 330px;
    }

    .visual-dashboard {
        width: 100%;
    }

    .visual-device {
        width: 46%;
    }

    .visual-ticket {
        width: 39%;
        top: 24px;
        right: -4px;
    }
}
