:root {
    --navy-900: #0f2340;
    --navy-800: #163257;
    --sky-500: #2f6ec6;
    --ink-900: #0f172a;
    --ink-700: #334155;
    --ink-500: #64748b;
    --line: #dbe3ef;
    --surface: #f5f8fc;
    --white: #ffffff;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-sm: 0 6px 20px rgba(15, 35, 64, 0.08);
    --shadow-md: 0 14px 32px rgba(15, 35, 64, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
    color: var(--ink-900);
    background: var(--white);
    line-height: 1.6;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, calc(100% - 2.2rem));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    font-size: 1.05rem;
}

.brand img {
    height: 42px;
    width: auto;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    width: 42px;
    height: 42px;
    cursor: pointer;
}

.menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu a {
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    color: var(--ink-700);
    font-weight: 500;
}

.menu a.active {
    color: var(--sky-500);
    background: rgba(47, 110, 198, 0.1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switch {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}

.lang-switch a {
    padding: 0.38rem 0.56rem;
    font-size: 0.84rem;
    color: var(--ink-700);
    background: var(--white);
}

.lang-switch a.active {
    background: var(--sky-500);
    color: var(--white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    border: 1px solid transparent;
    padding: 0.66rem 1.08rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
    background: var(--sky-500);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    box-shadow: var(--shadow-md);
}

.btn-light {
    background: var(--white);
    color: var(--navy-900);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.65);
    color: var(--white);
    background: transparent;
}

.btn-outline-dark {
    border-color: var(--line);
    color: var(--ink-700);
    background: var(--white);
}

.hero {
    color: var(--white);
    background:
        radial-gradient(circle at top right, rgba(124, 175, 255, 0.24), transparent 40%),
        linear-gradient(145deg, var(--navy-900), var(--navy-800));
    padding: 4.5rem 0 4rem;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(1.85rem, 4vw, 3rem);
    line-height: 1.2;
    margin: 0 0 0.9rem;
}

.hero p {
    margin: 0 0 1.4rem;
    max-width: 740px;
    color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.section {
    padding: 4.2rem 0;
}

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

.section-head {
    margin-bottom: 1.5rem;
}

.section-head h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.25;
}

.section-head p {
    margin: 0;
    color: var(--ink-500);
    max-width: 760px;
}

.grid {
    display: grid;
    gap: 1rem;
}

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

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

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

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.3rem;
    box-shadow: var(--shadow-sm);
}

.feature-card {
    padding: 0;
    overflow: hidden;
}

.feature-media {
    position: relative;
    height: 148px;
    border-bottom: 1px solid var(--line);
    background: #d9e3f2;
}

.feature-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 35, 64, 0.14), rgba(15, 35, 64, 0.36));
    pointer-events: none;
}

.feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(0.8px) saturate(88%);
    transform: scale(1.06);
    opacity: 0.9;
}

.feature-body {
    padding: 1rem 1.15rem 1.2rem;
}

.icon-pill {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(47, 110, 198, 0.12);
    color: var(--sky-500);
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.08rem;
}

.card p,
.card li {
    color: var(--ink-700);
    margin: 0;
}

.card ul {
    margin: 0;
    padding-left: 1.1rem;
}

.card ul li + li {
    margin-top: 0.35rem;
}

.page-hero {
    color: var(--white);
    background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
    padding: 3.4rem 0;
}

.breadcrumbs-wrap {
    margin: 1.1rem 0 0.2rem;
}

.breadcrumbs {
    font-size: 0.92rem;
    color: var(--ink-500);
}

.breadcrumbs a {
    color: var(--ink-700);
}

.notice {
    border-left: 4px solid var(--sky-500);
    background: #eef4fd;
    border-radius: 10px;
    padding: 0.95rem 1rem;
    color: var(--ink-700);
}

.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.4rem;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.field {
    margin-bottom: 0.85rem;
}

label {
    font-size: 0.94rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.35rem;
}

input,
textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.68rem 0.78rem;
    font: inherit;
    color: var(--ink-900);
    background: var(--white);
}

textarea {
    min-height: 124px;
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: var(--sky-500);
    outline: 2px solid rgba(47, 110, 198, 0.2);
    outline-offset: 1px;
}

.form-status {
    margin-top: 0.8rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    font-size: 0.94rem;
    display: none;
}

.form-status.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.form-status.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.final-cta {
    background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0.2rem 0 0;
}

.footer {
    margin-top: 4rem;
    background: #0d1d36;
    color: rgba(255, 255, 255, 0.88);
    padding: 2.8rem 0 1.4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr;
    gap: 1rem;
}

.footer h3,
.footer h4 {
    margin: 0 0 0.6rem;
    color: var(--white);
}

.footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer li + li {
    margin-top: 0.3rem;
}

.footer-bottom {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 760px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .menu {
        position: absolute;
        top: 78px;
        left: 1rem;
        right: 1rem;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 12px;
        box-shadow: var(--shadow-sm);
        padding: 0.6rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .menu.open {
        display: flex;
    }

    .menu a {
        padding: 0.55rem 0.6rem;
    }

    .nav-right {
        margin-left: auto;
    }

    .nav-right .btn-primary {
        display: none;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero,
    .section,
    .page-hero {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}
