*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

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

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    color: #ffffff;
    background: #2f80ed;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(47, 128, 237, 0.2);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.button:hover,
button:hover {
    background: #176bcf;
}

.button.small {
    min-height: 34px;
    padding: 0 16px;
    font-size: 12px;
}

.landing-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 194, 45, 0.18), transparent 260px),
        radial-gradient(circle at 10% 12%, rgba(69, 195, 91, 0.16), transparent 280px),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 48%, #f4fbf7 100%);
    color: #13203b;
    font-size: 14px;
    line-height: 1.5;
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 8px min(5vw, 64px);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid #dfeaf7;
    backdrop-filter: blur(14px);
}

.landing-brand img {
    display: block;
    width: 124px;
    height: auto;
}

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

.landing-nav {
    margin-left: auto;
    padding: 4px;
    background: rgba(238, 247, 255, 0.82);
    border: 1px solid #d9ecfb;
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.landing-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    color: #24405f;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.landing-nav a::after {
    content: "";
    width: 5px;
    height: 5px;
    margin-left: 8px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.landing-nav a:hover,
.landing-nav a:focus {
    color: #0e407f;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(47, 128, 237, 0.12);
    transform: translateY(-1px);
}

.landing-nav a:hover::after,
.landing-nav a:focus::after {
    background: #45c35b;
    box-shadow: 0 0 0 4px rgba(69, 195, 91, 0.12);
}

.secondary {
    color: #0e407f;
    background: #eef7ff;
    border: 1px solid #cdeaff;
    box-shadow: none;
}

.secondary:hover {
    background: #dff1ff;
}

.landing-message {
    margin: 18px min(5vw, 64px) 0;
    padding: 13px 16px;
    color: #12305f;
    background: #eef7ff;
    border-left: 4px solid #2f80ed;
    border-radius: 8px;
    font-weight: 700;
}

.landing-message.error {
    color: #6f3d00;
    background: #fff8e6;
    border-left-color: #ffc22d;
}

.landing-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
    gap: 44px;
    align-items: center;
    min-height: 560px;
    padding: 24px min(5vw, 64px) 34px;
}

.landing-hero::before,
.landing-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.landing-hero::before {
    left: min(5vw, 64px);
    right: min(5vw, 64px);
    bottom: 22px;
    height: 180px;
    opacity: 0.22;
    background:
        linear-gradient(to top, rgba(14, 64, 127, 0.18), rgba(14, 64, 127, 0.18)) 0 54px / 78px 126px no-repeat,
        linear-gradient(to top, rgba(47, 128, 237, 0.18), rgba(47, 128, 237, 0.18)) 96px 24px / 94px 156px no-repeat,
        linear-gradient(to top, rgba(27, 138, 84, 0.15), rgba(27, 138, 84, 0.15)) 212px 72px / 82px 108px no-repeat,
        linear-gradient(to top, rgba(14, 64, 127, 0.13), rgba(14, 64, 127, 0.13)) 318px 34px / 112px 146px no-repeat,
        repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.55) 19px 23px, transparent 24px 38px) 96px 44px / 94px 118px no-repeat,
        repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.48) 19px 23px, transparent 24px 38px) 318px 54px / 112px 108px no-repeat,
        linear-gradient(to top, rgba(255, 194, 45, 0.32), rgba(255, 194, 45, 0.32)) 462px 112px / 84px 68px no-repeat,
        linear-gradient(180deg, transparent 72%, rgba(47, 128, 237, 0.16) 72% 75%, transparent 75%) 0 0 / 100% 100% no-repeat;
}

.landing-hero::after {
    left: min(5vw, 64px);
    right: min(5vw, 64px);
    bottom: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 64, 127, 0.22), transparent);
}

.landing-hero-copy,
.landing-hero-panel {
    position: relative;
    z-index: 1;
}

.landing-hero-copy h1 {
    margin: 0 0 18px;
    color: #0e407f;
    font-size: clamp(48px, 8vw, 86px);
    line-height: 0.98;
}

.landing-hero-copy p {
    max-width: 660px;
    margin: 0 0 28px;
    color: #40506d;
    font-size: 20px;
    line-height: 1.65;
}

.landing-hero-panel {
    padding: 22px;
    background: linear-gradient(135deg, rgba(14, 64, 127, 0.96), rgba(35, 126, 214, 0.94) 58%, rgba(27, 138, 84, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 18px;
    box-shadow: 0 26px 62px rgba(14, 64, 127, 0.24);
}

.landing-preview-top {
    display: flex;
    gap: 7px;
    margin-bottom: 22px;
}

.landing-preview-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
}

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

.landing-preview-grid div {
    min-height: 118px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
}

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

.landing-preview-grid strong {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.landing-preview-grid span {
    margin-top: 18px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
}

.landing-section {
    padding: 70px min(5vw, 64px);
}

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

.landing-section h2 {
    margin: 0 0 12px;
    color: #0e407f;
    font-size: 34px;
}

.landing-section-heading p,
.landing-contact p {
    margin: 0;
    color: #53627d;
    font-size: 16px;
    line-height: 1.65;
}

.landing-feature-grid,
.landing-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.landing-feature-grid article,
.landing-pricing-grid article,
.landing-contact-card,
.demo-form {
    padding: 22px;
    background: #ffffff;
    border: 1px solid #dfeaf7;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(32, 38, 61, 0.06);
}

.landing-feature-grid h3,
.landing-pricing-grid h3 {
    margin: 0 0 10px;
    color: #17213a;
    font-size: 18px;
}

.landing-feature-grid p,
.landing-pricing-grid p {
    margin: 0;
    color: #5c6a84;
    line-height: 1.6;
}

.landing-pricing {
    background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
}

.landing-pricing-grid article {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.landing-pricing-grid article.featured {
    border-color: #2f80ed;
    box-shadow: 0 18px 36px rgba(47, 128, 237, 0.16);
}

.landing-pricing-grid strong {
    color: #0e407f;
    font-size: 30px;
}

.landing-pricing-grid strong span {
    color: #6d7890;
    font-size: 13px;
    font-weight: 600;
}

.landing-pricing-grid .button {
    margin-top: auto;
}

.landing-contact {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
    gap: 24px;
    align-items: start;
}

.landing-contact-card {
    margin-top: 22px;
}

.landing-contact-card p {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    color: #17213a;
}

.landing-contact-card p:last-child {
    margin-bottom: 0;
}

.landing-contact-card strong,
.landing-contact-card span {
    display: block;
}

.landing-contact-card span {
    color: #0e407f;
    font-weight: 700;
    text-align: right;
}

.demo-form h3 {
    margin: 0 0 14px;
    color: #17213a;
    font-size: 22px;
}

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

.demo-form label {
    display: block;
    margin-bottom: 6px;
    color: #2f405f;
    font-size: 12px;
    font-weight: 700;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    color: #17213a;
    background: #fbfcff;
    border: 1px solid #cfdbea;
    border-radius: 8px;
    font: inherit;
}

.demo-form textarea {
    min-height: 96px;
    resize: vertical;
}

.demo-form .full {
    grid-column: 1 / -1;
}

.demo-form button {
    margin-top: 14px;
}

.landing-footer {
    margin: 0;
    padding: 24px min(5vw, 64px);
    color: #5c6a84;
    background: #ffffff;
    border-top: 1px solid #dfeaf7;
    text-align: center;
    font-size: 12px;
}

@media (max-width: 900px) {
    .landing-header,
    .landing-hero,
    .landing-contact {
        display: block;
    }

    .landing-nav {
        margin-top: 12px;
    }

    .landing-hero-panel,
    .demo-form {
        margin-top: 28px;
    }

    .landing-feature-grid,
    .landing-pricing-grid,
    .demo-form .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .landing-header,
    .landing-section,
    .landing-hero {
        padding-left: 20px;
        padding-right: 20px;
    }

    .landing-hero-copy p {
        font-size: 17px;
    }

    .landing-preview-grid {
        grid-template-columns: 1fr;
    }
}
