html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Header and Navigation */
.header {
    background-color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    font-size: 1rem;
    line-height: 1.35;
}

.nav-links a {
    text-decoration: none;
    color: #1e40af;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.35;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

a.erp-nav-link {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    white-space: nowrap;
}

.nav-links > a:hover {
    background-color: #eff6ff;
    color: #2563eb;
}

.login-button {
    background-color: #2563eb;
    color: white !important;
    border: 2px solid #2563eb;
    padding: 0.5rem 1.5rem !important;
    font-size: 1rem !important;
    line-height: 1.35 !important;
    font-weight: 600;
}

.login-button:hover {
    background-color: #1e40af !important;
    border-color: #1e40af !important;
    color: white !important;
    transform: translateY(-1px);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown > a::after {
    content: '▾';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0.5rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    min-width: 240px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    border-radius: 8px;
    padding: 0.5rem;
    animation: dropdownFade 0.3s ease;
}

.dropdown-content.products-dropdown {
    min-width: 260px;
}

/* Integrations mega-menu (two columns on desktop; stacked in mobile nav drawer) */
.dropdown-content.integrations-dropdown {
    padding: 0.75rem 1rem 1rem;
}

@media (min-width: 769px) {
    .header .nav .dropdown-content.integrations-dropdown {
        min-width: min(720px, calc(100vw - 2rem));
        max-width: min(920px, calc(100vw - 2rem));
        padding: 1rem 1.25rem 1.25rem;
    }

    .integrations-mega-grid {
        display: grid;
        grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.15fr);
        gap: 0.35rem 1.75rem;
        align-items: start;
    }

    .integrations-mega-col--left {
        border-right: 1px solid #e2e8f0;
        padding-right: 1rem;
        max-height: min(70vh, 520px);
        overflow-y: auto;
    }

    .integrations-mega-col--right {
        max-height: min(70vh, 520px);
        overflow-y: auto;
        padding-right: 0.35rem;
    }
}

@media (max-width: 768px) {
    .nav-links .integrations-mega-grid {
        display: block;
    }

    .nav-links .integrations-mega-col--left {
        border-right: none;
        padding-right: 0;
    }

    .nav-links .integrations-mega-col--right {
        max-height: none;
        overflow: visible;
    }
}

.dropdown-group-label {
    display: block;
    padding: 0.5rem 1.5rem 0.25rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #94a3b8;
    cursor: default;
    pointer-events: none;
    user-select: none;
}

.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.4rem 0.75rem;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #1e40af;
    text-decoration: none;
    border-radius: 4px;
    margin: 0.25rem 0;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #eff6ff;
    color: #2563eb;
    transform: translateX(5px);
}

.dropdown-content a.active {
    background-color: #2563eb;
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: var(--header-h, 110px);
}

.hero-shapes {
    display: none;
}

/* Parcel Animation */
.parcel-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.parcel, .carton {
    position: absolute;
    font-size: calc(3rem * var(--parcel-scale, 1));
    opacity: 0.15;
    filter: blur(1px);
    z-index: 0;
}

.parcel-1 {
    top: 20%;
    left: -100px;
    animation: flyRight1 25s linear infinite;
    animation-delay: 0s;
}

.parcel-2 {
    top: 50%;
    left: -100px;
    animation: flyRight2 30s linear infinite;
    animation-delay: 5s;
}

.parcel-3 {
    top: 75%;
    left: -100px;
    animation: flyRight3 28s linear infinite;
    animation-delay: 10s;
}

.carton-1 {
    top: 15%;
    right: -100px;
    animation: flyLeft1 22s linear infinite;
    animation-delay: 3s;
    transform: scaleX(-1);
}

.carton-2 {
    top: 60%;
    right: -100px;
    animation: flyLeft2 27s linear infinite;
    animation-delay: 8s;
    transform: scaleX(-1);
}

.carton-3 {
    top: 85%;
    right: -100px;
    animation: flyLeft3 24s linear infinite;
    animation-delay: 13s;
    transform: scaleX(-1);
}

@keyframes flyRight1 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateX(calc(100vw + 200px)) translateY(-50px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes flyRight2 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateX(calc(100vw + 200px)) translateY(30px) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes flyRight3 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateX(calc(100vw + 200px)) translateY(-30px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes flyLeft1 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg) scaleX(-1);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateX(calc(-100vw - 200px)) translateY(40px) rotate(-360deg) scaleX(-1);
        opacity: 0;
    }
}

@keyframes flyLeft2 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg) scaleX(-1);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateX(calc(-100vw - 200px)) translateY(-40px) rotate(360deg) scaleX(-1);
        opacity: 0;
    }
}

@keyframes flyLeft3 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg) scaleX(-1);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateX(calc(-100vw - 200px)) translateY(20px) rotate(-360deg) scaleX(-1);
        opacity: 0;
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 0;
}

/* Ensure hero content is above animations */
.hero-text,
.hero-visual {
    position: relative;
    z-index: 3;
}

.hero-text {
    color: #1e40af;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-text h1 span {
    color: #f97316;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #64748b;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Desktop hero: interactive supply-chain network constellation. */
.hero-visual {
    position: relative;
    min-height: 0;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    align-self: center;
}

/* ── Industry Network ──────────────────────────────────────────────── */
.network {
    position: relative;
    z-index: 1;
    padding: 0.25rem 0 0;
}

.network-heading {
    margin: 0 0 0.5rem;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #64748b;
}

.network-stage {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

/* SVG backdrop (glow + orbits + connectors) */
.network-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.network-glow {
    transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
    .network-glow {
        animation: networkGlowPulse 6s ease-in-out infinite alternate;
    }
}

@keyframes networkGlowPulse {
    from { opacity: 0.75; transform: scale(0.96); }
    to   { opacity: 1;    transform: scale(1.04); }
}

.network-orbit {
    fill: none;
    stroke: rgba(148, 163, 184, 0.35);
    stroke-width: 1;
    stroke-dasharray: 2 5;
    transform-origin: center;
}

.network-orbit--inner {
    stroke: rgba(30, 64, 175, 0.3);
}

@media (prefers-reduced-motion: no-preference) {
    .network-orbit--outer { animation: networkOrbitSpin 90s linear infinite; }
    .network-orbit--inner { animation: networkOrbitSpin 55s linear infinite reverse; }
}

@keyframes networkOrbitSpin {
    to { transform: rotate(360deg); }
}

.network-connector {
    stroke: rgba(30, 64, 175, 0.32);
    stroke-width: 1.25;
    stroke-dasharray: 3 7;
    stroke-linecap: round;
    transition:
        stroke 0.35s ease,
        stroke-width 0.35s ease,
        filter 0.35s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .network-connector {
        animation: networkFlow 2.2s linear infinite;
    }
}

.network-connector.is-active {
    stroke: rgba(249, 115, 22, 0.95);
    stroke-width: 2;
    filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.45));
    animation-duration: 0.9s;
}

@keyframes networkFlow {
    to { stroke-dashoffset: -20; }
}

/* Central hub */
.network-hub {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    margin-left: -36px;
    margin-top: -36px;
    display: grid;
    place-items: center;
    pointer-events: none;
    z-index: 2;
}

.network-hub-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(249, 115, 22, 0.55);
    opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .network-hub-ring {
        animation: networkHubPulse 3s ease-out infinite;
    }
    .network-hub-ring--delay {
        animation-delay: 1.5s;
    }
}

@keyframes networkHubPulse {
    0%   { transform: scale(0.85); opacity: 0.55; }
    70%  { transform: scale(1.5);  opacity: 0; }
    100% { transform: scale(1.5);  opacity: 0; }
}

.network-hub-core {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    box-shadow:
        0 14px 30px rgba(30, 64, 175, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* Industry nodes arranged around the hub */
.network-nodes {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.network-node {
    --r: 135px;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 86px;
    margin-left: -43px;
    margin-top: -37px;
    transform: translate(calc(var(--nx) * var(--r)), calc(var(--ny) * var(--r)));
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border-radius: 16px;
    z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
    .network-node {
        animation: networkNodeIn 0.6s ease backwards;
    }
    .network-node[data-i="0"] { animation-delay: 0.08s; }
    .network-node[data-i="1"] { animation-delay: 0.14s; }
    .network-node[data-i="2"] { animation-delay: 0.20s; }
    .network-node[data-i="3"] { animation-delay: 0.26s; }
    .network-node[data-i="4"] { animation-delay: 0.32s; }
    .network-node[data-i="5"] { animation-delay: 0.38s; }
    .network-node[data-i="6"] { animation-delay: 0.44s; }
    .network-node[data-i="7"] { animation-delay: 0.50s; }
}

@keyframes networkNodeIn {
    from {
        opacity: 0;
        transform: translate(0, 0);
    }
    to {
        opacity: 1;
        transform: translate(calc(var(--nx) * var(--r)), calc(var(--ny) * var(--r)));
    }
}

.network-node-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.7rem 0.45rem;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.32s cubic-bezier(.2, .7, .2, 1.2),
        box-shadow 0.32s ease,
        border-color 0.32s ease,
        background 0.32s ease,
        opacity 0.32s ease,
        filter 0.32s ease;
}

.network-node-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.network-node-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.1;
    color: #1e3a8a;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.network-node:hover .network-node-body,
.network-node.is-active .network-node-body {
    transform: scale(1.12);
    background: #ffffff;
    border-color: rgba(249, 115, 22, 0.7);
    box-shadow:
        0 20px 38px rgba(30, 64, 175, 0.18),
        0 0 0 3px rgba(249, 115, 22, 0.18);
}

.network-node:hover,
.network-node.is-active {
    z-index: 4;
}

/* Dim sibling nodes when one is active (creates a spotlight effect) */
.network.has-active .network-node:not(.is-active):not(:hover) .network-node-body {
    opacity: 0.7;
    filter: saturate(0.75);
}

.network-node.is-active .network-node-icon {
    animation: networkIconJiggle 0.55s ease;
}

@keyframes networkIconJiggle {
    0%   { transform: scale(1) rotate(0deg); }
    40%  { transform: scale(1.22) rotate(-6deg); }
    70%  { transform: scale(1.08) rotate(4deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.network-node:focus-visible {
    outline: none;
}
.network-node:focus-visible .network-node-body {
    border-color: rgba(249, 115, 22, 0.85);
    box-shadow:
        0 0 0 3px rgba(249, 115, 22, 0.3),
        0 20px 38px rgba(30, 64, 175, 0.18);
}

/* Caption card below the network */
.network-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    margin: 0.9rem auto 0;
    max-width: 420px;
    padding: 0.85rem 1.1rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.07) 0%, rgba(30, 64, 175, 0.07) 100%);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 14px;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.network-caption:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.14) 0%, rgba(30, 64, 175, 0.11) 100%);
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.network-caption-text {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1e3a8a;
}

@media (prefers-reduced-motion: no-preference) {
    .network-caption-text.is-swap {
        animation: networkCaptionSwap 0.35s ease;
    }
}

@keyframes networkCaptionSwap {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.network-caption-cta {
    font-size: 0.82rem;
    font-weight: 700;
    color: #f97316;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Slightly smaller network on narrower desktop viewports */
@media (max-width: 1100px) {
    .network-stage {
        max-width: 360px;
    }
    .network-node {
        --r: 118px;
        width: 78px;
        margin-left: -39px;
        margin-top: -34px;
    }
    .network-node-body {
        padding: 0.55rem 0.35rem;
        gap: 0.25rem;
    }
    .network-node-icon { font-size: 1.3rem; }
    .network-node-label { font-size: 0.68rem; }
    .network-hub {
        width: 62px;
        height: 62px;
        margin-left: -31px;
        margin-top: -31px;
    }
    .network-hub-core {
        width: 50px;
        height: 50px;
        font-size: 0.72rem;
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: #1e40af;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    background: #f97316;
    transform: translateY(-2px);
}

.cta-button::after {
    content: '→';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.cta-button:hover::after {
    transform: translateX(5px);
}

.cta-button.orange {
    background: #f97316;
}

.cta-button.orange:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

/* ── Industry selector (mobile hero) — hidden on desktop ── */
.hero-industry-selector {
    display: none;
    margin-top: 1.75rem;
}

.hero-industry-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
}

/* 4-column tap grid (8 industry cards = 4+4 rows) */
.hip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

@media (max-width: 380px) {
    .hip-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hip-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
    -webkit-tap-highlight-color: transparent;
}

.hip-card:active {
    transform: scale(0.94);
}

.hip-card.active {
    background: rgba(249, 115, 22, 0.9);
    border-color: #f97316;
    color: white;
}

.hip-card-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.hip-card-name {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

/* Preview strip below the grid */
.hip-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    text-decoration: none;
    animation: hipFadeIn 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.hip-preview:active {
    background: rgba(255, 255, 255, 0.18);
}

@keyframes hipFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hip-preview-desc {
    flex: 1;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}

.hip-preview-cta {
    font-size: 0.8rem;
    font-weight: 700;
    color: #f97316;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Logo Scroll */
.logo-scroll {
    padding: 4rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.logo-scroll::before,
.logo-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
}

.logo-scroll::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.logo-scroll::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.logo-scroll-title {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.logo-container {
    display: flex;
    animation: scroll 40s linear infinite;
    gap: 4rem;
}

.logo-container:hover {
    animation-play-state: paused;
}

.retailer-logo {
    flex: 0 0 150px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 1;
    background: white;
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
}

.retailer-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.retailer-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* One loop = first full set of 14 logos (flex: 14×150px + 13 gaps between them). */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-150px * 14 - 4rem * 13));
    }
}

/* Stats Section */
.stats-section {
    padding: 6rem 2rem;
    background: #f8fafc;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.stat-item p {
    font-size: 1.1rem;
    color: #64748b;
}

/* Testimonials */
.testimonials {
    padding: 6rem 2rem;
    background: white;
}

.testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-container h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 3rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.testimonial-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.testimonial-card--link {
    color: inherit;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card--link:hover,
.testimonial-card--link:focus-visible {
    box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.35);
    transform: translateY(-2px);
}

.testimonial-card--link:focus-visible {
    outline: 3px solid #f97316;
    outline-offset: 3px;
}

.testimonial-card-cta {
    color: #f97316;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: auto;
    padding-top: 1.25rem;
}

.testimonial-card--link:hover .testimonial-card-cta,
.testimonial-card--link:focus-visible .testimonial-card-cta {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #475569;
}

.testimonial-author {
    font-weight: 600;
    color: #1e40af;
}

.testimonial-company {
    color: #64748b;
    font-size: 0.9rem;
}

.testimonials--industry {
    padding: 4rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.testimonials--industry .testimonial-container {
    max-width: 900px;
}

.testimonials--industry .testimonial-container h2 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

.testimonial-grid--single {
    grid-template-columns: 1fr;
}

.testimonials--industry .testimonial-card {
    background: #ffffff;
}

@media (max-width: 760px) {
    .testimonial-grid--home {
        grid-template-columns: 1fr;
    }
}

/* Features */
.features {
    padding: 8rem 2rem;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header h2 {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.features-header p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #2563eb;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-details {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.feature-card:hover .feature-details {
    display: block;
}

.document-types {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.document-types span {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #eff6ff;
    border-radius: 999px;
    margin: 0.25rem;
    color: #2563eb;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: #2563eb;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

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

.feature-list li::before {
    content: "✓";
    color: #2563eb;
    font-weight: bold;
}

.workflow-section {
    margin-top: 4rem;
    padding: 3rem;
    background: #f8fafc;
    border-radius: 16px;
}

.workflow-header {
    text-align: center;
    margin-bottom: 3rem;
}

.workflow-header h3 {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.workflow-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.workflow-item h4 {
    color: #1e40af;
    margin: 1rem 0;
    font-size: 1.25rem;
}

.workflow-item p {
    color: #64748b;
}

/* Contact */
.contact {
    background-color: #f1f5f9;
    padding: 4rem 2rem;
    text-align: center;
}

.contact h2 {
    margin-bottom: 1rem;
    color: #1e40af;
    font-size: 2.5rem;
}

.contact p {
    margin-bottom: 2rem;
    color: #64748b;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: #1e293b;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #f97316;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f97316;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Features Page Styles */
.features-hero {
    padding: 12rem 2rem 4rem;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    text-align: center;
}

.features-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.features-hero .lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

.features-detailed {
    padding: 6rem 2rem;
    background: #ffffff;
}

.features-detailed .container {
    max-width: 1200px;
    margin: 0 auto;
}

.feature-section {
    margin-bottom: 6rem;
    padding-bottom: 4rem;
    border-bottom: 2px solid #e2e8f0;
}

.feature-section:last-child {
    border-bottom: none;
}

.feature-content {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: #eff6ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.feature-icon-large svg {
    width: 40px;
    height: 40px;
    color: #2563eb;
}

.feature-content h2 {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1.5rem;
    text-align: center;
}

.feature-description {
    font-size: 1.25rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.feature-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.detail-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.detail-item h3 {
    color: #1e40af;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.detail-item p {
    color: #64748b;
    line-height: 1.6;
}

.document-types-section {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.document-types-section h3 {
    color: #1e40af;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.features-cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    text-align: center;
}

.features-cta .container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.features-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ── Hamburger button (hidden on desktop) ──────────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1e40af;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}

.nav-toggle--open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle--open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle--open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Responsive Design ─────────────────────────────────────────────────── */
@media (max-width: 768px) {

    /* Slim header on mobile */
    .header {
        padding: 0.6rem 1rem;
    }

    .logo img {
        height: 38px;
    }

    /* Global H1 size reduction on mobile */
    .industry-hero h1,
    .contact-hero h1,
    .features-hero h1,
    .product-hero h1,
    .products-index-hero h1 {
        font-size: 1.75rem;
    }

    /* Nav */
    .nav-toggle {
        display: flex;
    }

    .nav {
        flex-wrap: wrap;
        position: relative;
    }

    /* Full-width slide-down drawer */
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 0 1rem;
        border-top: 1px solid #e2e8f0;
        margin-top: 0.75rem;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.nav-open {
        display: flex;
    }

    /* Accordion dropdowns */
    .nav-links .dropdown {
        display: block;
        position: static;
        border-bottom: 1px solid #f1f5f9;
    }

    /* Section header row — tappable, shows chevron */
    .nav-links .dropdown > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.85rem 1.25rem;
        font-weight: 600;
        font-size: 1rem;
        color: #1e40af;
        pointer-events: auto;
        text-decoration: none;
    }

    .nav-links .dropdown > a::after {
        content: '›';
        font-size: 1.3rem;
        font-weight: 400;
        color: #94a3b8;
        transition: transform 0.2s ease;
        display: block;
        line-height: 1;
    }

    .nav-links .dropdown.mob-open > a::after {
        transform: rotate(90deg);
    }

    /* Sub-menu — collapsed by default */
    .nav-links .dropdown-content {
        display: none;
        position: static;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 0.5rem 0;
        min-width: 0;
        animation: none;
        background: #f8fafc;
    }

    .nav-links .dropdown.mob-open .dropdown-content {
        display: block;
    }

    .nav-links .dropdown-content a {
        display: block;
        padding: 0.6rem 1.5rem;
        color: #334155;
        font-size: 0.95rem;
        border-radius: 0;
        margin: 0;
        border-left: 3px solid transparent;
    }

    .nav-links .dropdown-content a:hover,
    .nav-links .dropdown-content a:active {
        transform: none;
        background: #eff6ff;
        border-left-color: #2563eb;
        color: #1e40af;
    }

    .dropdown-group-label {
        padding: 0.75rem 1.5rem 0.2rem;
        font-size: 0.65rem;
        background: #f8fafc;
    }

    .dropdown-divider {
        margin: 0.25rem 1rem;
    }

    /* Plain top-level links (Pricing, Contact, Login) */
    .nav-links > a {
        padding: 0.85rem 1.25rem;
        display: block;
        font-size: 1rem;
        font-weight: 600;
        color: #1e40af;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-links > a.cta {
        color: #f97316;
    }

    .nav-links > a.login-button {
        margin: 0.75rem 1.25rem 0;
        display: block;
        text-align: center;
        border-bottom: none;
        border-radius: 8px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: 0;
        padding-bottom: 0;
        background: #ffffff;
        overflow: visible;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: var(--header-h, 70px) 1.5rem 2.5rem;
        width: 100%;
        box-sizing: border-box;
        min-width: 0;
        text-align: center;
    }

    .hero-text {
        min-width: 0;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-text p {
        font-size: 1rem;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Keep the network visible on mobile; center it in the single-column layout. */
    .hero-visual {
        margin: 0 auto;
        max-width: 100%;
    }

    /* Mobile-sized network constellation */
    .network-stage {
        max-width: 320px;
    }
    .network-node {
        --r: 106px;
        width: 74px;
        margin-left: -37px;
        margin-top: -32px;
    }
    .network-node-body {
        padding: 0.5rem 0.35rem;
        gap: 0.2rem;
    }
    .network-node-icon { font-size: 1.2rem; }
    .network-node-label { font-size: 0.66rem; }
    .network-hub {
        width: 56px;
        height: 56px;
        margin-left: -28px;
        margin-top: -28px;
    }
    .network-hub-core {
        width: 46px;
        height: 46px;
        font-size: 0.7rem;
    }
    .network-caption {
        max-width: 320px;
        padding: 0.75rem 0.9rem;
    }
    .network-caption-text { font-size: 0.85rem; }

    /* Retire the old mobile-only industry selector — network now works at every size. */
    .hero-industry-selector {
        display: none;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-item h3 {
        font-size: 2.25rem;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-hero {
        padding: 7rem 1.25rem 3rem;
    }

    .features-hero h1 {
        font-size: 2.5rem;
    }

    .feature-content h2 {
        font-size: 2rem;
    }

    .feature-details-grid {
        grid-template-columns: 1fr;
    }

    /* Hide parcel animations on mobile */
    .parcel-animation {
        display: none;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Tighter network sizing for small phones (≤ ~360px wide) */
    .network-stage {
        max-width: 280px;
    }
    .network-node {
        --r: 92px;
        width: 66px;
        margin-left: -33px;
        margin-top: -30px;
    }
    .network-node-icon { font-size: 1.1rem; }
    .network-node-label { font-size: 0.62rem; }
    .network-hub {
        width: 50px;
        height: 50px;
        margin-left: -25px;
        margin-top: -25px;
    }
    .network-hub-core {
        width: 42px;
        height: 42px;
        font-size: 0.65rem;
    }
}

/* Industry Pages */
.industry-hero {
    padding: 10rem 2rem 4rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.industry-hero .container {
    max-width: 1200px;
    margin: 0 auto;
}

.industry-hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
    display: inline-block;
}

.industry-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.industry-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.industry-hero .hero-buttons {
    justify-content: center;
}

.industry-hero.vendors { background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%); }
.industry-hero.manufacturing { background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%); }
.industry-hero.distributors { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%); }
.industry-hero.retailers { background: linear-gradient(135deg, #6d28d9 0%, #a855f7 100%); }
.industry-hero.transportation { background: linear-gradient(135deg, #1e3a8a 0%, #22d3ee 100%); }
.industry-hero.three-pl { background: linear-gradient(135deg, #7c2d12 0%, #f97316 100%); }
.industry-hero.marketplaces { background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%); }
.industry-hero.grocery { background: linear-gradient(135deg, #14532d 0%, #16a34a 100%); }

.industry-references {
    padding: 4rem 2rem;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.industry-references .container {
    max-width: 900px;
    margin: 0 auto;
}

.industry-references h2 {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.industry-references p.lead {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.industry-reference-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-reference-list li {
    margin-bottom: 0.85rem;
    line-height: 1.5;
}

.industry-reference-list a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
}

.industry-overview--muted {
    background: #f8fafc;
}

/* ── Inline text link ────────────────────────────────────── */
.text-link {
    color: #2563eb;
}

/* ── Shared link bar banner ──────────────────────────────── */
.link-bar {
    background: #eff6ff;
    border-top: 1px solid #bfdbfe;
    padding: 1.25rem 2rem;
    text-align: center;
}

.link-bar p {
    color: #1e40af;
    font-size: 0.95rem;
    margin: 0;
}

.link-bar a {
    font-weight: 600;
    color: #2563eb;
    text-decoration: underline;
}

.industry-overview {
    padding: 5rem 2rem;
    background: #ffffff;
}

.industry-overview .container {
    max-width: 1200px;
    margin: 0 auto;
}

.industry-overview h2 {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.industry-overview p.lead {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.industry-card {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(15,23,42,0.05);
}

.industry-card h3 {
    color: #1e40af;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.industry-card p, .industry-card ul {
    color: #475569;
    line-height: 1.7;
}

.industry-card ul {
    margin-top: 1rem;
    padding-left: 1.25rem;
}

.industry-card ul li {
    margin-bottom: 0.5rem;
}

.industry-stats {
    padding: 4rem 2rem;
    background: #0f172a;
    color: white;
}

.industry-stats .container {
    max-width: 1200px;
    margin: 0 auto;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-card h3 {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: rgba(255,255,255,0.8);
}

.industry-cta {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    color: white;
    text-align: center;
}

.industry-cta .container {
    max-width: 800px;
    margin: 0 auto;
}

.industry-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.industry-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .industry-hero {
        padding: 7rem 1.25rem 3rem;
    }

    .industry-hero h1 {
        font-size: 2.5rem;
    }

    .industry-card {
        padding: 2rem;
    }
}

/* ── Contact page ───────────────────────────────────────── */
.contact-hero {
    padding: 12rem 2rem 5rem;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.contact-hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.92;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.contact-body {
    padding: 5rem 2rem 6rem;
    background: #f8fafc;
}

.contact-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 1.75rem;
    color: #1e40af;
    margin-bottom: 1.25rem;
}

.contact-info p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-detail-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
}

.contact-detail-item span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.contact-detail-item a,
.contact-detail-item p {
    color: #1e40af;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    margin: 0;
}

.contact-detail-item a:hover {
    color: #f97316;
}

.response-note {
    margin-top: 2rem;
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
}

.contact-form-wrap {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
}

.contact-form-wrap h2 {
    font-size: 1.5rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.contact-form-wrap p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 7rem 1.25rem 3rem;
    }

    .contact-hero h1 {
        font-size: 2.25rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}


/* ── Secondary CTA button (outline style) ── */
.cta-button--secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.cta-button--secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
}

/* ── White CTA button (for dark backgrounds) ── */
.cta-button--white {
    background: white;
    color: #1e40af;
    border: 2px solid white;
}

.cta-button--white:hover {
    background: #eff6ff;
    transform: translateY(-2px);
}

/* ── Competitor callout banner ── */
.competitor-callout {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    padding: 2.5rem 1.5rem;
}

.competitor-callout-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.competitor-callout-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.4rem;
}

.competitor-callout-text {
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
    flex: 1;
    min-width: 260px;
}

@media (max-width: 768px) {
    .competitor-callout-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
}
