/* ELIDZ Skills Portal — Landing (revamp) */

:root {
    --navy-950: #06142b;
    --navy-900: #0b1f3f;
    --navy-800: #12305a;
    --blue-700: #205a82;
    --blue-500: #3b8bb8;
    --orange-500: #e9812b;
    --orange-600: #d26d18;
    --orange-300: #f7b46c;
    --sand-50: #fbf9f4;
    --sand-100: #f4f1e8;
    --ink: #13233a;
    --muted: #5a6878;
    --line: rgba(19, 35, 58, 0.1);
    --white: #ffffff;
    --nav-height: 76px;
    --font: "Outfit", system-ui, sans-serif;
    --display: "Source Serif 4", Georgia, serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --radius: 20px;
    --shadow-sm: 0 6px 18px rgba(11, 31, 63, 0.06);
    --shadow: 0 22px 50px rgba(11, 31, 63, 0.14);
    --wrap: min(1200px, calc(100% - 2.5rem));
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    line-height: 1.6;
    background: var(--sand-50);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
address { font-style: normal; }
ul, ol { list-style: none; }

.container { width: var(--wrap); margin-inline: auto; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 10001;
    padding: 0.65rem 1rem;
    background: var(--navy-900);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}
.skip-link:focus { top: 1rem; }

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(233, 129, 43, 0.6);
    outline-offset: 3px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn i { font-size: 0.8em; transition: transform 0.25s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }

.btn-primary {
    background: var(--orange-500);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(233, 129, 43, 0.28);
}
.btn-primary:hover {
    background: var(--orange-600);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(233, 129, 43, 0.34);
}

.btn-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.6); }

.btn-outline {
    color: var(--navy-900);
    border-color: rgba(11, 31, 63, 0.2);
    background: var(--white);
}
.btn-outline:hover { border-color: var(--navy-900); transform: translateY(-2px); }

.btn-dark {
    background: var(--navy-900);
    color: var(--white);
}
.btn-dark:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Nav — floating island */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    padding: calc(env(safe-area-inset-top, 0px) + 14px) 0 0;
    z-index: 1000;
    pointer-events: none;
    transition: padding 0.35s var(--ease);
}
.navbar.scrolled { padding-top: calc(env(safe-area-inset-top, 0px) + 8px); }

.nav-container {
    position: relative;
    width: var(--wrap);
    height: calc(var(--nav-height) - 14px);
    margin-inline: auto;
    padding: 0 0.6rem 0 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(160%) blur(20px);
    -webkit-backdrop-filter: saturate(160%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(6, 20, 43, 0.14);
    pointer-events: auto;
    overflow: hidden;
    transition: height 0.35s var(--ease), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.navbar.scrolled .nav-container {
    height: calc(var(--nav-height) - 20px);
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--line);
    box-shadow: 0 14px 40px rgba(6, 20, 43, 0.12);
}

.nav-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--orange-500), var(--orange-300));
    transform: scaleX(var(--progress, 0));
    transform-origin: left center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
}

.brand-logo {
    height: 38px;
    width: auto;
    max-width: min(210px, 46vw);
    object-fit: contain;
    object-position: left center;
    transition: height 0.35s var(--ease);
}
.navbar.scrolled .brand-logo { height: 34px; }

.brand-portal-tag {
    padding: 0.25rem 0.6rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--navy-900);
    border-radius: 999px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 0.15rem;
    margin-inline: auto;
    padding: 0.3rem;
    background: rgba(11, 31, 63, 0.05);
    border-radius: 999px;
}

.nav-link {
    padding: 0.5rem 0.95rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    border-radius: 999px;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.nav-link:hover { color: var(--navy-900); }
.nav-link.active {
    color: var(--navy-900);
    font-weight: 600;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(11, 31, 63, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}
.nav-actions .btn { padding: 0.68rem 1.15rem; font-size: 0.88rem; }
.nav-signin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navy-900);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    padding: 0.62rem 0.95rem;
    border-radius: 999px;
    transition: background 0.2s ease;
}
.nav-signin i { font-size: 0.8rem; color: var(--orange-600); }
.nav-signin:hover { background: rgba(11, 31, 63, 0.06); }

.mobile-menu-btn {
    display: none;
    align-items: center;
    gap: 0.55rem;
    height: 42px;
    padding: 0 0.95rem;
    border: 0;
    border-radius: 999px;
    background: var(--navy-900);
    color: var(--white);
    font: 600 0.85rem var(--font);
    cursor: pointer;
    margin-left: auto;
}
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 16px;
}
.hamburger span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    width: var(--wrap);
    margin-inline: auto;
    max-height: calc(100svh - var(--nav-height) - 2rem);
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 0.75rem;
    box-shadow: 0 30px 70px rgba(6, 20, 43, 0.25);
    pointer-events: auto;
}
.mobile-menu.active { display: block; animation: menuIn 0.3s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }

.mobile-nav-links { display: grid; gap: 0.15rem; }
.mobile-nav-link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0.75rem;
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    border-radius: 14px;
    transition: background 0.2s ease;
}
.mobile-nav-link > i:first-child {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--sand-100);
    color: var(--orange-600);
    font-size: 0.85rem;
}
.mobile-nav-link > i:last-child { color: var(--muted); font-size: 0.75rem; }
.mobile-nav-link.active,
.mobile-nav-link:hover { background: var(--sand-50); }
.mobile-nav-link.active > i:first-child { background: var(--orange-500); color: var(--white); }

.mobile-nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
}

.mobile-nav-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1.2rem;
    margin-top: 0.85rem;
    padding: 0.8rem;
    border-radius: 14px;
    background: var(--sand-50);
    font-size: 0.82rem;
}
.mobile-nav-contact a { color: var(--muted); text-decoration: none; }
.mobile-nav-contact i { color: var(--orange-600); margin-right: 0.35rem; }

body.menu-open { overflow: hidden; }
body.menu-open .hamburger span:first-child { transform: translateY(6px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:last-child { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    min-height: min(860px, 100svh);
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 4rem) 0 9rem;
    color: var(--white);
    background: var(--navy-950);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    transform: scale(1.04);
    animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(6, 20, 43, 0.96) 0%, rgba(6, 20, 43, 0.85) 38%, rgba(6, 20, 43, 0.35) 75%, rgba(6, 20, 43, 0.25) 100%),
        linear-gradient(0deg, rgba(6, 20, 43, 0.9) 0%, transparent 40%);
}

.hero-inner { width: var(--wrap); margin-inline: auto; }
.hero-content { max-width: 640px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.9rem 0.4rem 0.45rem;
    margin-bottom: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.hero-badge:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.32); }
.hero-badge-dot {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--orange-500);
    color: var(--white);
    font-size: 0.65rem;
}

.hero h1 {
    font-family: var(--display);
    font-size: clamp(2.8rem, 6.2vw, 5.2rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin-bottom: 1.4rem;
    text-wrap: balance;
}
.hero h1 em {
    font-style: italic;
    color: var(--orange-300);
}

.hero-lead {
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 50ch;
    margin-bottom: 2rem;
}

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.4rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-trust i { color: var(--orange-300); }

/* Stats panel, overlapping hero */
.stats-band {
    position: relative;
    z-index: 5;
    margin-top: -5.5rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(6, 20, 43, 0.18);
    border: 1px solid var(--line);
    overflow: hidden;
}

.stats-item {
    position: relative;
    padding: 1.8rem 1.6rem;
    border-right: 1px solid var(--line);
}
.stats-item:last-child { border-right: 0; }

.stats-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 1rem;
    border-radius: 11px;
    background: var(--sand-100);
    color: var(--orange-600);
    font-size: 0.95rem;
}

.stats-number {
    display: block;
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--navy-900);
    font-variant-numeric: tabular-nums;
}

.stats-label {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.stats-live {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
    font-size: 0.78rem;
    color: var(--muted);
}
.stats-live::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2fa36b;
    box-shadow: 0 0 0 0 rgba(47, 163, 107, 0.5);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    70% { box-shadow: 0 0 0 8px rgba(47, 163, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(47, 163, 107, 0); }
}

/* Sections */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.section-header {
    max-width: 680px;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.section-header.center { margin-inline: auto; text-align: center; }

.section-header.split {
    max-width: none;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: end;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange-600);
    margin-bottom: 0.9rem;
}
.section-tag::before {
    content: "";
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}
.center .section-tag::before { display: none; }

.section-header h2,
.cta-band h2,
.contact-info h2 {
    font-family: var(--display);
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--navy-900);
    text-wrap: balance;
}
.section-header h2 { margin-bottom: 0.9rem; }
.section-header.split h2 { margin-bottom: 0; }

.section-header p {
    color: var(--muted);
    font-size: 1.08rem;
}

/* Audience paths */
.paths { padding-top: clamp(4rem, 7vw, 6rem); }

.path-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.path-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(1.75rem, 4vw, 2.6rem);
    border-radius: 26px;
    overflow: hidden;
}
.path-card-seeker {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.path-card-employer {
    color: var(--white);
    background:
        radial-gradient(circle at 100% 0%, rgba(233, 129, 43, 0.28), transparent 55%),
        linear-gradient(150deg, var(--navy-800), var(--navy-950));
}

.path-label {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1.4rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--sand-100);
    color: var(--orange-600);
}
.path-card-employer .path-label { background: rgba(255, 255, 255, 0.1); color: var(--orange-300); }

.path-card h3 {
    font-family: var(--display);
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.7rem;
    color: var(--navy-900);
}
.path-card-employer h3 { color: var(--white); }

.path-card > p {
    color: var(--muted);
    max-width: 44ch;
    margin-bottom: 1.5rem;
}
.path-card-employer > p { color: rgba(255, 255, 255, 0.75); }

.check-list {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 2rem;
}
.check-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    align-items: start;
    font-size: 0.97rem;
}
.check-list i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-top: 0.1rem;
    border-radius: 50%;
    font-size: 0.62rem;
    background: rgba(233, 129, 43, 0.14);
    color: var(--orange-600);
}
.path-card-employer .check-list i { background: rgba(247, 180, 108, 0.18); color: var(--orange-300); }

.path-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: auto;
}

/* How it works */
.how-it-works { background: var(--sand-100); }

.steps-rail {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}
.steps-rail::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 28px;
    right: calc(33.333% - 28px);
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(11, 31, 63, 0.22) 0 8px, transparent 8px 16px);
}

.step-item { position: relative; }

.step-num {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background: var(--navy-900);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 0 0 8px var(--sand-100);
}
.step-item:last-child .step-num { background: var(--orange-500); }

.step-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
}
.step-item p { color: var(--muted); max-width: 34ch; }

/* Features — bento */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 1.25rem;
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.8rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.feature-card-lg {
    grid-column: span 2;
    grid-row: span 2;
    justify-content: flex-end;
    color: var(--white);
    background:
        radial-gradient(circle at 85% 15%, rgba(59, 139, 184, 0.45), transparent 50%),
        linear-gradient(160deg, var(--navy-800), var(--navy-950));
    border: 0;
    overflow: hidden;
}

.match-demo {
    position: absolute;
    top: 1.8rem;
    right: 1.8rem;
    width: min(320px, 55%);
    display: grid;
    gap: 0.6rem;
}
.match-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.4rem 0.9rem;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    font-size: 0.85rem;
}
.match-row strong { font-weight: 600; }
.match-row small { display: block; color: rgba(255, 255, 255, 0.6); font-size: 0.75rem; }
.match-score {
    font-weight: 700;
    color: var(--orange-300);
    font-variant-numeric: tabular-nums;
}
.match-bar {
    grid-column: 1 / -1;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}
.match-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--orange-500), var(--orange-300));
}

.feature-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: auto;
    border-radius: 14px;
    background: var(--sand-100);
    color: var(--orange-600);
    font-size: 1.1rem;
}
.feature-card-lg .feature-mark { background: var(--orange-500); color: var(--white); margin-bottom: 1.2rem; }

.feature-card h3 {
    margin-top: 1.4rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.4rem;
}
.feature-card-lg h3 {
    margin-top: 0;
    font-family: var(--display);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--white);
    max-width: 16ch;
}

.feature-card p { color: var(--muted); font-size: 0.97rem; }
.feature-card-lg p { color: rgba(255, 255, 255, 0.75); max-width: 46ch; font-size: 1.02rem; }

/* Industries */
.industries {
    color: var(--white);
    background:
        radial-gradient(circle at 0% 100%, rgba(233, 129, 43, 0.16), transparent 45%),
        var(--navy-950);
}
.industries .section-header h2 { color: var(--white); }
.industries .section-header p { color: rgba(255, 255, 255, 0.7); }
.industries .section-tag { color: var(--orange-300); }

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.industry-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 2rem 1.8rem;
    text-decoration: none;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: transform 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease;
}
.industry-tile::after {
    content: attr(data-index);
    position: absolute;
    right: 1.4rem;
    top: 0.6rem;
    font-family: var(--display);
    font-size: 5.5rem;
    font-weight: 600;
    line-height: 1;
    color: rgba(255, 255, 255, 0.06);
    transition: color 0.35s ease;
}
.industry-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(247, 180, 108, 0.45);
    background: rgba(255, 255, 255, 0.07);
}
.industry-tile:hover::after { color: rgba(247, 180, 108, 0.18); }

.industry-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: auto;
    border-radius: 16px;
    background: rgba(233, 129, 43, 0.15);
    color: var(--orange-300);
    font-size: 1.25rem;
}

.industry-tile h3 {
    margin-top: 2.5rem;
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}
.industry-tile p { color: rgba(255, 255, 255, 0.68); font-size: 0.97rem; margin-bottom: 1.2rem; }

.industry-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--orange-300);
    font-weight: 600;
    font-size: 0.9rem;
}
.industry-link i { font-size: 0.75rem; transition: transform 0.25s var(--ease); }
.industry-tile:hover .industry-link i { transform: translateX(4px); }

/* CTA band */
.cta-band { padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; }

.cta-card {
    display: grid;
    grid-template-columns: 1.3fr auto;
    gap: 2rem;
    align-items: center;
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.22), transparent 45%),
        linear-gradient(120deg, var(--orange-500), #f09a45);
    color: var(--white);
    box-shadow: 0 30px 60px rgba(233, 129, 43, 0.25);
}
.cta-band h2 { color: var(--white); margin-bottom: 0.6rem; }
.cta-card p { color: rgba(255, 255, 255, 0.9); font-size: 1.08rem; max-width: 50ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-card .btn-outline-light { border-color: rgba(255, 255, 255, 0.6); }

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.contact-info h2 { margin-bottom: 0.9rem; }

.contact-info > p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 42ch;
}

.contact-list { display: grid; gap: 0.75rem; }

.contact-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.contact-list-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--navy-900);
    color: var(--white);
}

.contact-list strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.1rem;
}
.contact-list address,
.contact-list a {
    color: var(--navy-900);
    font-weight: 500;
    text-decoration: none;
}
.contact-list a:hover { color: var(--orange-600); }

.contact-form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: clamp(1.5rem, 3.5vw, 2.4rem);
    box-shadow: var(--shadow);
}
.contact-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.25rem;
}
.contact-form-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.5rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(19, 35, 58, 0.16);
    border-radius: 12px;
    background: var(--sand-50);
    font: inherit;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--orange-500);
    box-shadow: 0 0 0 4px rgba(233, 129, 43, 0.15);
}

/* Footer */
.footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}
.footer-logo {
    height: 34px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.footer-portal-name { font-weight: 700; color: var(--white); margin-bottom: 0.4rem; }
.footer-description { font-size: 0.92rem; margin-bottom: 1.2rem; max-width: 36ch; }

.footer-social { display: flex; gap: 0.55rem; }
.footer-social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { background: var(--orange-500); border-color: var(--orange-500); color: var(--white); }

.footer-nav h4,
.footer-newsletter h4 {
    color: var(--white);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-nav { display: grid; gap: 0.55rem; align-content: start; }
.footer-nav a { text-decoration: none; font-size: 0.93rem; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--orange-300); }

.footer-newsletter p { font-size: 0.92rem; margin-bottom: 0.9rem; }

.newsletter-form {
    display: flex;
    gap: 0.4rem;
    padding: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}
.newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.8rem;
    border: 0;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-size: 0.92rem;
}
.newsletter-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.newsletter-input:focus { outline: none; }
.newsletter-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--orange-500);
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s ease;
}
.newsletter-btn:hover { background: var(--orange-600); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}
.footer-bottom a { color: var(--orange-300); text-decoration: none; }
.footer-legal { display: flex; gap: 1.2rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.65); }
.footer-legal a:hover { color: var(--orange-300); }

/* Back to top */
.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--navy-900);
    color: var(--white);
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
    z-index: 50;
}
.back-to-top:hover { background: var(--orange-500); }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Reveal motion */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1080px) {
    .nav-links,
    .nav-actions { display: none; }
    .mobile-menu-btn { display: inline-flex; }

    .feature-grid { grid-template-columns: 1fr 1fr; }
    .feature-card-lg { grid-column: span 2; grid-row: auto; min-height: 420px; }

    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stats-item:nth-child(2) { border-right: 0; }
    .stats-item:nth-child(n + 3) { border-top: 1px solid var(--line); }

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

@media (max-width: 860px) {
    :root { --nav-height: 68px; }

    .hero { min-height: 0; padding: calc(var(--nav-height) + 3rem) 0 8rem; }
    .hero::before {
        background: linear-gradient(180deg, rgba(6, 20, 43, 0.75) 0%, rgba(6, 20, 43, 0.9) 60%, rgba(6, 20, 43, 0.97) 100%);
    }

    .section-header.split { grid-template-columns: 1fr; gap: 0.75rem; }

    .path-grid,
    .steps-rail,
    .industry-grid,
    .contact-layout,
    .cta-card { grid-template-columns: 1fr; }

    .steps-rail { gap: 2rem; }
    .steps-rail::before {
        top: 28px;
        bottom: 28px;
        left: 27px;
        right: auto;
        width: 2px;
        height: auto;
        background: repeating-linear-gradient(180deg, rgba(11, 31, 63, 0.22) 0 8px, transparent 8px 16px);
    }
    .step-item {
        display: grid;
        grid-template-columns: 56px 1fr;
        column-gap: 1.25rem;
    }
    .step-num { grid-row: span 2; margin-bottom: 0; }
    .step-item h3 { margin-top: 0.75rem; }

    .industry-tile { min-height: 0; }
    .industry-tile h3 { margin-top: 1.5rem; }

    .brand-logo { height: 34px; max-width: min(170px, 50vw); }
}

@media (max-width: 600px) {
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card-lg { grid-column: auto; min-height: 0; padding-top: 1.5rem; }
    .match-demo { position: static; width: 100%; margin-bottom: 1.75rem; }

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

    .stats-item { padding: 1.3rem 1.1rem; }
    .stats-icon { display: none; }

    .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
    .footer-legal { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 420px) {
    .brand-portal-tag { display: none; }
    .hero-actions .btn,
    .path-actions .btn,
    .cta-actions .btn { width: 100%; }
    .mobile-nav-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-bg img { animation: none; transform: none; }
    .stats-live::before { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* Keep the bot trap out of the visual layout and keyboard navigation. */
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-captcha { margin-block: 1rem; }
#contactStatus:not(:empty) { margin-block: 1rem; font-size: 0.92rem; color: var(--navy-800); }
.contact-btn:disabled { opacity: 0.65; cursor: wait; }
