:root {
    --s74-navy: #0f172a;
    --s74-navy-2: #111827;
    --s74-navy-3: #1e293b;
    --s74-blue: #3b82f6;
    --s74-blue-dark: #2563eb;
    --s74-sky: #38bdf8;
    --s74-light: #f8fafc;
    --s74-light-2: #e2e8f0;
    --s74-muted: #94a3b8;
    --s74-text-light: #e5edf8;
    --s74-text-dark: #0f172a;
    --s74-border-dark: rgba(148, 163, 184, 0.20);
    --s74-border-light: rgba(15, 23, 42, 0.10);
    --s74-green: #10b981;
    --s74-yellow: #facc15;
    --s74-yellow-light: #fde047;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--s74-text-light);
    background: var(--s74-navy);
}

a {
    text-decoration: none;
}

/* -------------------------------------------------------
   NAVBAR
------------------------------------------------------- */

.navbar {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    padding: 1rem 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
}

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

.navbar .nav-link {
    color: #dbe7f5;
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: 0.75rem;
    position: relative;
}

.navbar .nav-link:hover {
    color: var(--s74-sky);
}

/* Active menu item */
.navbar .nav-link.active {
    color: var(--s74-yellow);
}

.navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.35rem;
    height: 2px;
    background: var(--s74-yellow);
    border-radius: 999px;
}

.navbar .btn-active {
    background: var(--s74-yellow);
    color: var(--s74-navy);
    box-shadow: 0 12px 24px rgba(250, 204, 21, 0.22);
}

.navbar .btn-active:hover {
    background: var(--s74-yellow-light);
    color: var(--s74-navy);
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.18);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* -------------------------------------------------------
   BUTTONS
------------------------------------------------------- */

.btn-s74 {
    background: var(--s74-blue);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.8rem 1.25rem;
    font-weight: 700;
    border: 0;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.btn-s74:hover {
    background: var(--s74-blue-dark);
    color: #ffffff;
}

.btn-outline-s74 {
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.18);
    background: transparent;
    border-radius: 999px;
    padding: 0.8rem 1.25rem;
    font-weight: 700;
}

.btn-outline-s74:hover {
    border-color: var(--s74-sky);
    color: #ffffff;
    background: rgba(255,255,255,0.06);
}

.btn-outline-s74-dark {
    color: var(--s74-text-dark);
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #ffffff;
    border-radius: 999px;
    padding: 0.8rem 1.25rem;
    font-weight: 700;
}

.btn-outline-s74-dark:hover {
    border-color: var(--s74-blue);
    color: var(--s74-blue);
    background: #f8fafc;
}

/* -------------------------------------------------------
   HERO
------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 9.5rem 0 6rem;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.20), transparent 34%),
        radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.16), transparent 32%),
        linear-gradient(180deg, #0f172a 0%, #111827 100%);
}

.hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: 160px;
    width: 420px;
    height: 420px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(56, 189, 248, 0.08));
    border-radius: 50%;
    filter: blur(2px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(59, 130, 246, 0.26);
    background: rgba(255, 255, 255, 0.04);
    color: #bfdbfe;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    margin-bottom: 1.4rem;
}

.hero h1 {
    font-size: clamp(2.55rem, 5.2vw, 4.8rem);
    line-height: 1.14;
    letter-spacing: -0.028em;
    font-weight: 800;
    margin-bottom: 1.65rem;
    color: #ffffff;
    max-width: 860px;
}

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

.hero-text {
    color: #cbd5e1;
    font-size: 1.2rem;
    line-height: 1.75;
    max-width: 720px;
    margin-bottom: 2rem;
}

/* -------------------------------------------------------
   HERO CARD
------------------------------------------------------- */

.hero-card {
    position: relative;
    z-index: 2;
    background: rgba(30, 41, 59, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.hero-card-inner {
    background: #ffffff;
    color: var(--s74-text-dark);
    border-radius: 22px;
    padding: 1.6rem;
    min-height: 360px;
    position: relative;
    overflow: hidden;
}

.hero-card-inner::before {
    content: "";
    position: absolute;
    inset: -80px -80px auto auto;
    width: 220px;
    height: 220px;
    background: rgba(59, 130, 246, 0.12);
    border-radius: 50%;
}

.system-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: #f8fafc;
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.system-row i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--s74-blue);
}

.system-row strong {
    display: block;
    font-size: 0.95rem;
    color: var(--s74-text-dark);
}

.system-row small {
    color: #64748b;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-weight: 700;
    font-size: 0.8rem;
    margin-top: 1.2rem;
}

/* -------------------------------------------------------
   PAGE SECTIONS
------------------------------------------------------- */

.section {
    padding: 6rem 0;
}

.page-hero {
    padding-top: 9rem;
    padding-bottom: 5rem;
}

.section-dark {
    background: var(--s74-navy-2);
    color: var(--s74-text-light);
}

.section-light {
    background: #ffffff;
    color: var(--s74-text-dark);
}

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

.section-title .label {
    color: var(--s74-sky);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin-bottom: 0.8rem;
}

.section-light .section-title .label {
    color: var(--s74-blue);
}

.section-title h2 {
    font-size: clamp(2rem, 3.5vw, 2.85rem);
    line-height: 1.18;
    letter-spacing: -0.026em;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-dark .section-title h2 {
    color: #ffffff;
}

.section-light .section-title h2 {
    color: var(--s74-text-dark);
}

.section-dark .section-title p {
    color: #94a3b8;
    font-size: 1.08rem;
    line-height: 1.75;
}

.section-light .section-title p {
    color: #64748b;
    font-size: 1.08rem;
    line-height: 1.75;
}

/* -------------------------------------------------------
   CARDS
------------------------------------------------------- */

.service-card,
.why-card {
    background: var(--s74-navy-3);
    border: 1px solid var(--s74-border-dark);
    border-radius: 24px;
    padding: 1.6rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.process-card {
    background: #f8fafc;
    border: 1px solid var(--s74-border-light);
    border-radius: 24px;
    padding: 1.6rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.process-card:hover,
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}

.service-card:hover,
.why-card:hover {
    border-color: rgba(56, 189, 248, 0.30);
}

.process-card:hover {
    border-color: rgba(37, 99, 235, 0.25);
}

.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--s74-sky);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
}

.section-light .icon-box {
    color: var(--s74-blue);
}

.service-card h3,
.why-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 0.7rem;
    color: #ffffff;
}

.process-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 0.7rem;
    color: var(--s74-text-dark);
}

.service-card p,
.why-card p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 0;
}

.process-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Generic content cards for beefed-up pages */

.content-card {
    background: var(--s74-navy-3);
    border: 1px solid var(--s74-border-dark);
    border-radius: 24px;
    padding: 1.8rem;
    height: 100%;
    color: var(--s74-text-light);
}

.content-card h3,
.content-card h4 {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.content-card p {
    color: #94a3b8;
    line-height: 1.75;
}

.content-card-light {
    background: #f8fafc;
    border: 1px solid var(--s74-border-light);
    border-radius: 24px;
    padding: 1.8rem;
    height: 100%;
    color: var(--s74-text-dark);
}

.content-card-light h3,
.content-card-light h4 {
    color: var(--s74-text-dark);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.content-card-light p {
    color: #64748b;
    line-height: 1.75;
}

/* -------------------------------------------------------
   LISTS / MINI ELEMENTS
------------------------------------------------------- */

.feature-list {
    padding-left: 0;
    list-style: none;
    margin: 1.2rem 0 0;
}

.feature-list li {
    color: #cbd5e1;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.feature-list i {
    color: var(--s74-green);
    margin-top: 0.18rem;
}

.check-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 0;
}

.check-list li {
    color: #cbd5e1;
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

.check-list li i {
    color: var(--s74-green);
    margin-top: 0.25rem;
}

.section-light .check-list li {
    color: #475569;
}

.mini-kicker {
    color: var(--s74-sky);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.76rem;
    margin-bottom: 0.75rem;
}

.stat-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    padding: 1.25rem;
    height: 100%;
}

.stat-box strong {
    display: block;
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-box span {
    color: #94a3b8;
    font-size: 0.95rem;
}

.process-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--s74-blue);
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

/* -------------------------------------------------------
   CTA
------------------------------------------------------- */

.cta-box {
    background: var(--s74-navy-3);
    border: 1px solid var(--s74-border-dark);
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
}

.cta-box h2 {
    color: #ffffff;
    line-height: 1.18;
    letter-spacing: -0.026em;
    font-weight: 800;
}

.cta-box p {
    color: #94a3b8 !important;
}

/* -------------------------------------------------------
   CONTACT
------------------------------------------------------- */

.contact-card {
    background: var(--s74-navy-3);
    border: 1px solid var(--s74-border-dark);
    border-radius: 26px;
    padding: 2rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
    color: var(--s74-text-light);
}

.contact-card h3,
.contact-card h4,
.contact-card strong,
.contact-card label {
    color: #ffffff;
}

.contact-card p,
.contact-card div,
.contact-card .text-secondary {
    color: #cbd5e1 !important;
}

.contact-card a {
    color: #93c5fd;
}

.contact-card a:hover {
    color: #bfdbfe;
}

.form-control {
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255,255,255,0.04);
    color: #ffffff;
    padding: 0.85rem 1rem;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus {
    border-color: var(--s74-blue);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
    background: rgba(255,255,255,0.06);
    color: #ffffff;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-item i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--s74-sky);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

/* -------------------------------------------------------
   FOOTER
------------------------------------------------------- */

.footer {
    background: #ffffff;
    color: #64748b;
    padding: 2rem 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer strong {
    color: var(--s74-text-dark);
}

.footer a {
    color: #334155;
}

.footer a:hover {
    color: var(--s74-blue);
}

/* -------------------------------------------------------
   FORM ALERTS / HIDDEN
------------------------------------------------------- */

.hidden-field {
    display: none !important;
}

.alert-success {
    background: rgba(16, 185, 129, 0.16);
    color: #d1fae5;
    border: 1px solid rgba(16, 185, 129, 0.18);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.14);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.18);
}

/* -------------------------------------------------------
   RESPONSIVE
------------------------------------------------------- */

@media (max-width: 991px) {
    .hero {
        padding: 8rem 0 4rem;
    }

    .navbar .nav-link {
        margin-left: 0;
        padding: 0.65rem 0;
    }

    .navbar .nav-link.active::after {
        left: 0;
        right: auto;
        width: 42px;
        bottom: 0.25rem;
    }

    .hero-card {
        margin-top: 2rem;
    }
}

@media (max-width: 575px) {
    .site-logo {
        height: 38px;
    }

    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.18;
        letter-spacing: -0.022em;
        font-weight: 800;
    }

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

    .section-title h2 {
        font-size: 1.95rem;
        line-height: 1.2;
        letter-spacing: -0.02em;
        font-weight: 800;
    }

    .section {
        padding: 4rem 0;
    }

    .page-hero {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }

    .cta-box,
    .contact-card,
    .content-card,
    .content-card-light {
        padding: 1.5rem;
    }
}