* {
    box-sizing: border-box;
}

:root {
    --navy: #071a33;
    --navy-2: #0d2b50;
    --blue: #1677ff;
    --blue-dark: #0f5dcc;
    --blue-soft: #eaf3ff;
    --page: #f4f7fb;
    --white: #ffffff;
    --text: #14213d;
    --muted: #68768d;
    --line: #dce5f0;
    --success: #16804b;
    --shadow: 0 18px 48px rgba(13, 35, 68, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

img {
    max-width: 100%;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(220, 229, 240, 0.9);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-logo img {
    display: block;
    width: 210px;
    height: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 14px;
    font-weight: 750;
}

.main-navigation > a:not(.nav-login) {
    color: #40506a;
}

.main-navigation > a:not(.nav-login):hover {
    color: var(--blue);
}

.nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--blue);
    color: var(--white);
}

.nav-login:hover {
    background: var(--blue-dark);
}

.menu-button {
    display: none;
    width: 44px;
    height: 42px;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    background: var(--navy);
    cursor: pointer;
}

.menu-button span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 4px 0;
    border-radius: 999px;
    background: var(--white);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 88px;
    background:
        radial-gradient(circle at 88% 14%, rgba(33, 140, 255, 0.28), transparent 30%),
        radial-gradient(circle at 9% 90%, rgba(85, 95, 240, 0.18), transparent 32%),
        linear-gradient(135deg, #06152a 0%, #0a2344 53%, #103964 100%);
    color: var(--white);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(460px, 0.98fr);
    align-items: center;
    gap: 68px;
}

.eyebrow {
    margin: 0 0 14px;
    color: #56b8ff;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(44px, 5.8vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.hero-lead {
    max-width: 660px;
    margin: 26px 0 0;
    color: #ccdaeb;
    font-size: 19px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 20px;
    border-radius: 11px;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(22, 119, 255, 0.28);
}

.button-primary:hover {
    background: #2082ff;
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.button-light {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin-top: 34px;
    color: #b8cae1;
    font-size: 13px;
    font-weight: 700;
}

.hero-points span::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 50%;
    background: rgba(80, 184, 255, 0.18);
    color: #6bc4ff;
}

.hero-visual {
    position: relative;
    min-height: 510px;
    display: grid;
    place-items: center;
}

.preview-window {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: #f7f9fc;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
    transform: rotate(1.5deg);
}

.preview-topbar {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 15px;
    border-bottom: 1px solid #dfe6ef;
    background: #ffffff;
    color: #2b3b54;
}

.preview-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c9d2de;
}

.preview-topbar strong {
    margin-left: auto;
    font-size: 12px;
}

.preview-layout {
    display: grid;
    grid-template-columns: 74px 1fr;
    min-height: 370px;
}

.preview-sidebar {
    padding: 18px 13px;
    background: var(--navy);
}

.preview-logo-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1d9bff, #7755f6);
    color: var(--white);
    font-size: 12px;
    font-weight: 900;
}

.preview-nav {
    height: 11px;
    margin: 13px 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.preview-nav.active {
    background: #348df7;
}

.preview-content {
    padding: 22px;
    color: var(--text);
}

.preview-heading {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.preview-heading small,
.preview-heading strong {
    display: block;
}

.preview-heading small {
    color: var(--blue);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.preview-heading strong {
    margin-top: 2px;
    font-size: 18px;
}

.preview-heading > span {
    align-self: flex-start;
    padding: 5px 9px;
    border-radius: 999px;
    background: #e6f7ee;
    color: var(--success);
    font-size: 9px;
    font-weight: 850;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.preview-stats div {
    padding: 12px;
    border: 1px solid #dce5ef;
    border-radius: 11px;
    background: var(--white);
}

.preview-stats strong,
.preview-stats small {
    display: block;
}

.preview-stats strong {
    font-size: 19px;
}

.preview-stats small {
    color: var(--muted);
    font-size: 9px;
}

.preview-card {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 13px;
    align-items: center;
    margin-top: 11px;
    padding: 11px;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    background: var(--white);
}

.preview-photo {
    height: 58px;
    border-radius: 9px;
    background:
        linear-gradient(135deg, rgba(10, 40, 75, 0.2), rgba(30, 110, 180, 0.15)),
        linear-gradient(45deg, #aab7c5 0 25%, #d9e0e7 25% 50%, #8294a7 50% 75%, #c5d0db 75%);
}

.preview-photo.second {
    background:
        linear-gradient(135deg, rgba(10, 40, 75, 0.12), rgba(30, 110, 180, 0.16)),
        linear-gradient(90deg, #a87d61 0 18%, #d3b09b 18% 36%, #9d735a 36% 54%, #cfaa93 54% 72%, #94705e 72%);
}

.preview-lines strong {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
}

.preview-lines span {
    display: block;
    width: 90%;
    height: 6px;
    margin-top: 6px;
    border-radius: 999px;
    background: #e4e9f0;
}

.preview-lines .short {
    width: 56%;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 210px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 12px;
}

.floating-card small {
    color: var(--muted);
    font-size: 9px;
}

.floating-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 900;
}

.floating-one {
    left: -34px;
    bottom: 30px;
}

.floating-two {
    right: -24px;
    top: 28px;
}

.trust-strip {
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.trust-grid > div {
    padding: 27px 28px;
    border-right: 1px solid var(--line);
}

.trust-grid > div:last-child {
    border-right: 0;
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    margin-bottom: 4px;
    font-size: 14px;
}

.trust-grid span {
    color: var(--muted);
    font-size: 13px;
}

.section {
    padding: 100px 0;
}

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

.section-heading h2,
.benefits-copy h2,
.security-grid h2,
.cta h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.section-heading > p:last-child,
.benefits-copy > p,
.security-grid p {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 17px;
}

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

.feature-card {
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border-radius: 13px;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 900;
}

.feature-card h3,
.workflow-step h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.feature-card p,
.workflow-step p {
    margin: 0;
    color: var(--muted);
}

.section-dark {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), #0c315c);
}

.section-dark::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    bottom: -260px;
    border-radius: 50%;
    background: rgba(22, 119, 255, 0.18);
}

.section-heading.light {
    position: relative;
    z-index: 1;
}

.workflow-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.workflow-step {
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.07);
}

.workflow-step > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
    border-radius: 12px;
    background: var(--blue);
    color: var(--white);
    font-weight: 900;
}

.workflow-step p {
    color: #bdcce0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    gap: 78px;
    align-items: center;
}

.benefit-list {
    display: grid;
    gap: 15px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.benefit-list li {
    position: relative;
    padding-left: 34px;
    font-weight: 700;
}

.benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #e6f7ee;
    color: var(--success);
    font-size: 12px;
    font-weight: 900;
}

.benefits-panel {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 28px 70px rgba(15, 37, 69, 0.14);
}

.panel-header {
    padding: 26px;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), #123b6a);
}

.panel-header span,
.panel-header strong {
    display: block;
}

.panel-header span {
    color: #73baff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.09em;
}

.panel-header strong {
    margin-top: 5px;
    font-size: 24px;
}

.panel-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 16px;
    gap: 12px;
    background: #f7f9fc;
}

.panel-stat-grid > div {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

.panel-stat-grid span,
.panel-stat-grid strong {
    display: block;
}

.panel-stat-grid span {
    color: var(--muted);
    font-size: 11px;
}

.panel-stat-grid strong {
    margin-top: 3px;
    font-size: 14px;
}

.panel-stat-grid .status {
    color: var(--success);
}

.panel-list {
    padding: 7px 22px 20px;
}

.panel-list > div {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

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

.panel-list > div > span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e7f7ee;
    color: var(--success);
    font-size: 11px;
}

.panel-list strong {
    font-size: 14px;
}

.panel-list small {
    color: var(--muted);
}

.section-soft {
    background: var(--page);
}

.security-grid {
    display: grid;
    grid-template-columns: 86px 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.security-mark {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 20px;
    background: var(--blue-soft);
    font-size: 30px;
}

.security-grid h2 {
    font-size: clamp(29px, 3.2vw, 43px);
}

.security-grid p {
    max-width: 760px;
    font-size: 15px;
}

.cta {
    padding: 78px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 90% 20%, rgba(83, 185, 255, 0.33), transparent 30%),
        linear-gradient(135deg, #0d2f58, #081a33);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.cta h2 {
    max-width: 760px;
    font-size: clamp(32px, 4vw, 50px);
}

.site-footer {
    color: #c7d4e5;
    background: #051326;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 55px;
    padding: 62px 0 46px;
}

.footer-logo {
    width: 220px;
    padding: 8px;
    border-radius: 12px;
    background: var(--white);
}

.footer-grid p {
    max-width: 470px;
    color: #91a5bf;
}

.footer-grid > div:not(:first-child) {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-grid strong {
    margin-bottom: 4px;
    color: var(--white);
}

.footer-grid a {
    color: #91a5bf;
}

.footer-grid a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #7f94af;
    font-size: 12px;
}

@media (max-width: 1040px) {
    .main-navigation {
        gap: 16px;
    }

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

    .hero-copy {
        max-width: 820px;
    }

    .hero-visual {
        width: min(700px, 100%);
        margin: 0 auto;
    }

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

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

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

@media (max-width: 780px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        min-height: 76px;
    }

    .site-logo img {
        width: 175px;
    }

    .menu-button {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 76px;
        left: 14px;
        right: 14px;
        display: none;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-navigation.open {
        display: grid;
        gap: 5px;
    }

    .main-navigation a {
        padding: 11px 12px;
        border-radius: 9px;
    }

    .hero {
        padding: 72px 0 68px;
    }

    .hero-grid {
        gap: 50px;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 62px);
    }

    .hero-lead {
        font-size: 17px;
    }

    .hero-visual {
        min-height: auto;
        padding: 30px 0 45px;
    }

    .floating-one {
        left: -4px;
        bottom: 0;
    }

    .floating-two {
        right: -4px;
        top: 0;
    }

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

    .trust-grid > div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .trust-grid > div:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 76px 0;
    }

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

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

    .cta-inner {
        display: grid;
    }

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

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .hero-points {
        display: grid;
        gap: 12px;
    }

    .preview-window {
        transform: none;
    }

    .preview-layout {
        grid-template-columns: 58px 1fr;
    }

    .preview-content {
        padding: 14px;
    }

    .preview-stats div {
        padding: 9px;
    }

    .preview-card {
        grid-template-columns: 60px 1fr;
    }

    .floating-card {
        position: relative;
        inset: auto;
        width: 100%;
        margin-top: 12px;
    }

    .hero-visual {
        display: block;
        padding-bottom: 0;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .feature-card,
    .workflow-step {
        padding: 22px;
    }

    .benefits-panel {
        border-radius: 17px;
    }

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

    .security-grid {
        padding: 24px;
    }

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

    .footer-grid > div:first-child {
        grid-column: auto;
    }

    .footer-bottom {
        display: grid;
    }
}
