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

body {
    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;
}

.nav-links a {
    text-decoration: none;
    color: #1e40af;
    font-weight: 500;
    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-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;
}

.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 {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: #1e40af;
    clip-path: polygon(100px 0, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
}

/* 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: 3rem;
    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;
}

/* 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;
}

.hero-visual {
    position: relative;
    height: 560px;
    perspective: 1000px;
    --scroll-duration: 20s;
}

.hero-visual:hover .hero-cards {
    animation-play-state: paused;
}

.hero-scroll-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.hero-scroll-control label {
    font-size: 0.9rem;
    color: #64748b;
    white-space: nowrap;
}

.hero-scroll-control input[type="range"] {
    width: 140px;
    accent-color: #1e40af;
}

.hero-cards {
    position: absolute;
    left: 50%;
    width: 300px;
    height: 120px;
    margin-left: -150px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e40af;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: scrollCards var(--scroll-duration, 20s) linear infinite;
    transform-origin: center center;
}

.hero-cards:hover {
    background: #1e40af;
    color: white;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    animation-play-state: paused;
}

.hero-cards:nth-child(1) { animation-delay: 0s; }
.hero-cards:nth-child(2) { animation-delay: -3.33s; }
.hero-cards:nth-child(3) { animation-delay: -6.67s; }
.hero-cards:nth-child(4) { animation-delay: -10s; }
.hero-cards:nth-child(5) { animation-delay: -13.33s; }
.hero-cards:nth-child(6) { animation-delay: -16.67s; }

@keyframes scrollCards {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    5% {
        opacity: 1;
        transform: translateY(-80%);
    }
    85% {
        opacity: 1;
        transform: translateY(580%);
    }
    95% {
        opacity: 0;
        transform: translateY(600%);
    }
    100% {
        transform: translateY(600%);
        opacity: 0;
    }
}

.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;
}

/* 2-column tap grid */
.hip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.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 120px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.3s ease;
    opacity: 0.6;
    background: white;
    padding: 0.5rem;
    border-radius: 4px;
}

.retailer-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-120px * 15 - 4rem * 15));
    }
}

/* 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-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.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;
}

/* 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: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
        overflow: visible;
    }

    .hero-shapes {
        display: none;
    }

    .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;
    }

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

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

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

    .hero-text p {
        color: rgba(255, 255, 255, 0.85);
        font-size: 1rem;
        max-width: none;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero .cta-button {
        background: #f97316;
        border-color: #f97316;
    }

    .hero .cta-button:hover {
        background: #ea580c;
        border-color: #ea580c;
    }

    /* Hide the vertical scroller on mobile */
    .hero-visual,
    .hero-scroll-control {
        display: none;
    }

    /* Show the industry selector on mobile */
    .hero-industry-selector {
        display: block;
    }

    /* 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;
    }
}

/* 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-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;
    }
}
