:root {
    --primary-color: #204cff;
    --primary-dark: #102bc0;
    --ink: #101828;
    --muted: #5f6b7a;
    --line: #d9e1ec;
    --panel: #ffffff;
    --soft-blue: #eef4ff;
    --soft-green: #eff8f1;
    --soft-bg: #f7f9fc;
    --dark-panel: #0c1729;
    --accent-green: #6fa24d;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[id] {
    scroll-margin-top: 112px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--ink);
    letter-spacing: 0;
}

p {
    color: var(--muted);
}

.container {
    max-width: 1160px;
}

.navbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(217, 225, 236, 0.72);
    backdrop-filter: blur(16px);
    transition: box-shadow 0.25s ease, padding 0.25s ease;
}

.navbar-scrolled {
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

.brand-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.nav-link {
    color: #334155;
    font-weight: 600;
    font-size: 0.94rem;
    padding-inline: 0.85rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.portal-link {
    padding: 0.62rem 1rem;
    font-size: 0.92rem;
    line-height: 1.2;
    white-space: nowrap;
}

.btn {
    border-radius: 6px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 12px 24px rgba(32, 76, 255, 0.18);
}

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

.btn-outline-dark {
    border-color: #253044;
    color: #172033;
}

.hero-section {
    display: flex;
    align-items: flex-start;
    padding: 9.5rem 0 4.5rem;
    background:
        linear-gradient(180deg, rgba(238, 244, 255, 0.9) 0%, rgba(255, 255, 255, 0.98) 58%),
        repeating-linear-gradient(90deg, rgba(32, 76, 255, 0.06) 0, rgba(32, 76, 255, 0.06) 1px, transparent 1px, transparent 72px);
}

.eyebrow {
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 780px;
    font-size: clamp(2.45rem, 4.2vw, 4.35rem);
    line-height: 1.08;
    font-weight: 800;
}

.hero-title span {
    display: flex;
    align-items: center;
    gap: clamp(0.55rem, 1.2vw, 0.95rem);
}

.hero-title img {
    flex: 0 0 auto;
    width: clamp(38px, 5vw, 68px);
    height: clamp(38px, 5vw, 68px);
    object-fit: cover;
    padding: 3px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(217, 225, 236, 0.82);
    border-radius: 6px;
    box-shadow:
        0 16px 30px rgba(16, 24, 40, 0.16),
        0 4px 10px rgba(32, 76, 255, 0.12);
}

.hero-subtitle {
    max-width: 650px;
    font-size: 1.22rem;
    line-height: 1.62;
}

.operations-visual {
    position: relative;
    min-height: 560px;
}

.hero-image {
    width: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: 52% 48%;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: 0 28px 70px rgba(16, 24, 40, 0.16);
}

.intro-band {
    padding: 4.5rem 0;
    background: var(--dark-panel);
}

.intro-band .section-title,
.intro-band .lead {
    color: #ffffff;
}

.intro-band .lead {
    color: #c7d1df;
}

.section-padding {
    padding: 6.5rem 0;
}

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

.section-title {
    font-size: clamp(2rem, 3.6vw, 3.35rem);
    line-height: 1.08;
    font-weight: 800;
}

.feature-card {
    height: 100%;
    padding: 2rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.05);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    background: var(--soft-blue);
    border-radius: 6px;
    font-size: 1.35rem;
}

.feature-card h3,
.tech-item h3,
.value-grid h3 {
    font-size: 1.16rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.feature-card p,
.tech-item p,
.value-grid p {
    margin-bottom: 0;
    line-height: 1.65;
}

.technical-section {
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(12, 23, 41, 0.98), rgba(15, 35, 70, 0.98)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

.technical-section .section-title,
.technical-section h3 {
    color: #ffffff;
}

.technical-section p {
    color: #c4cedd !important;
}

.tech-stack {
    display: grid;
    gap: 1rem;
}

.tech-item {
    display: flex;
    gap: 1rem;
    padding: 1.35rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.tech-item i {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    color: #ffffff;
    background: rgba(111, 162, 77, 0.26);
    border-radius: 6px;
    font-size: 1.2rem;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.value-grid article {
    min-height: 260px;
    padding: 1.6rem;
}

.value-grid article + article {
    border-left: 1px solid var(--line);
}

.value-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 2.2rem;
    color: var(--accent-green);
    background: var(--soft-green);
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.82rem;
}

.form-label {
    color: #253044;
    font-size: 0.88rem;
    font-weight: 700;
}

.form-control {
    min-height: 52px;
    border-color: var(--line);
    border-radius: 6px;
    color: var(--ink);
}

textarea.form-control {
    min-height: 126px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(32, 76, 255, 0.12);
}

.site-footer {
    padding: 3rem 0 2rem;
    background: #ffffff;
    border-top: 1px solid var(--line);
}

.footer-logo {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.footer-links a {
    color: #475569;
    font-weight: 700;
    text-decoration: none;
}

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

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

@media (max-width: 991.98px) {
    .brand-logo {
        height: 56px;
    }

    .portal-link {
        display: inline-flex;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .hero-section {
        padding: 8.5rem 0 4rem;
    }

    .operations-visual {
        min-height: auto;
    }

    .hero-image {
        min-height: 420px;
    }

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

    .value-grid article + article {
        border-left: 0;
    }

    .value-grid article:nth-child(even) {
        border-left: 1px solid var(--line);
    }

    .value-grid article:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 7.5rem;
    }

    .hero-title {
        font-size: clamp(2.15rem, 10.5vw, 2.65rem);
    }

    .section-padding {
        padding: 7rem 0 4.5rem;
    }

    .intro-band {
        padding: 3.5rem 0;
    }

    .hero-image {
        min-height: 360px;
    }

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

    .value-grid article:nth-child(even),
    .value-grid article + article {
        border-left: 0;
    }

    .value-grid article + article {
        border-top: 1px solid var(--line);
    }

    .value-grid article {
        min-height: auto;
    }

}
