:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-soft: #eef3f9;
    --text: #0f172a;
    --muted: #5b6474;
    --line: #dbe3ec;
    --primary: #0f4c81;
    --primary-dark: #0a3154;
    --accent: #f59e0b;
    --footer: #0b1220;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --radius: 22px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

img {
    max-width: 100%;
}

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    letter-spacing: 0.05em;
}

.logo span {
    font-size: 1.45rem;
    font-weight: 800;
}

.logo small {
    margin-top: 5px;
    color: var(--primary);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.28em;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: #334155;
    font-size: 0.95rem;
    font-weight: 700;
    transition: 0.2s ease;
}

nav a:hover {
    color: var(--primary);
}

.hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.14), transparent 26%),
        radial-gradient(circle at 78% 72%, rgba(15, 76, 129, 0.14), transparent 30%),
        linear-gradient(135deg, #f8fafc 0%, #edf4fa 100%);
}

.hero::after {
    content: "";
    position: absolute;
    right: -90px;
    top: 80px;
    width: 430px;
    height: 430px;
    border: 80px solid rgba(15, 76, 129, 0.05);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 110px 0;
}

.eyebrow,
.section-label {
    color: var(--primary);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(3.6rem, 8vw, 7.4rem);
    line-height: 0.93;
    letter-spacing: -0.055em;
    font-weight: 800;
}

.hero h1 span {
    color: var(--primary);
}

.hero-text {
    max-width: 690px;
    margin-top: 30px;
    color: var(--muted);
    font-size: 1.2rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 800;
    transition: 0.2s ease;
}

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

.btn.primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 12px 30px rgba(15, 76, 129, 0.18);
}

.btn.primary:hover {
    background: var(--primary-dark);
}

.btn.secondary {
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
}

.section {
    padding: 105px 0;
}

.two-column {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.section h2 {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.about-copy {
    color: var(--muted);
    font-size: 1.08rem;
}

.about-copy p + p {
    margin-top: 22px;
}

.services-section {
    background: var(--surface);
}

.section-intro {
    margin-top: 18px;
    max-width: 700px;
    color: var(--muted);
    font-size: 1.06rem;
}

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

.service-card {
    position: relative;
    min-height: 260px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 76, 129, 0.3);
}

.service-number {
    display: inline-block;
    margin-bottom: 44px;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.84rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 0.96rem;
}

.platform-section {
    background: #eaf1f7;
}

.platform-card {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    padding: 52px;
    border-radius: 30px;
    color: var(--white);
    background:
        radial-gradient(circle at 88% 15%, rgba(245, 158, 11, 0.24), transparent 24%),
        linear-gradient(135deg, #0b2239 0%, #0f4c81 100%);
    box-shadow: 0 24px 70px rgba(15, 76, 129, 0.2);
}

.platform-card h2 {
    margin-top: 14px;
    color: var(--white);
}

.platform-card p {
    max-width: 720px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
}

.platform-tag {
    display: inline-block;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.platform-btn {
    flex-shrink: 0;
    background: var(--white);
    color: var(--primary-dark);
}

.contact-section {
    background: var(--primary-dark);
    color: var(--white);
}

.section-label.light {
    color: #93c5fd;
}

.contact-section h2 {
    color: var(--white);
}

.contact-intro {
    margin-top: 18px;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.08rem;
}

.contact-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-grid > div {
    padding: 30px 28px 15px 0;
}

.contact-grid span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.contact-grid p,
.contact-grid a {
    color: var(--white);
    font-weight: 700;
    word-break: break-word;
}

footer {
    padding: 44px 0;
    background: var(--footer);
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.footer-content strong {
    color: var(--white);
    letter-spacing: 0.05em;
}

.footer-content > div:first-child p {
    margin-top: 4px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

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

.copyright {
    grid-column: 1 / -1;
    padding-top: 24px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.86rem;
}

@media (max-width: 950px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

@media (max-width: 700px) {
    .nav {
        min-height: 68px;
    }

    nav {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 90px 0;
    }

    .hero h1 {
        font-size: clamp(3rem, 16vw, 5rem);
    }

    .hero-text {
        font-size: 1.03rem;
    }

    .section {
        padding: 74px 0;
    }

    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 230px;
    }

    .platform-card {
        padding: 32px 24px;
        border-radius: 22px;
    }

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

    .copyright {
        grid-column: auto;
    }
}

.legal-page {
    max-width: 900px;
}

.legal-page h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.045em;
    margin-bottom: 16px;
}

.legal-updated {
    color: var(--muted);
    margin-bottom: 40px;
}

.legal-page > p {
    color: var(--muted);
    font-size: 1.03rem;
    margin-bottom: 20px;
}

.legal-page h2 {
    font-size: 1.35rem;
    margin-top: 38px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.legal-contact {
    margin-top: 20px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.legal-contact p {
    margin-top: 6px;
    color: var(--muted);
}