/* PackHub marketing page styles */
:root {
    --packhub-green: #159985;
    --packhub-blue: #005596;
    --packhub-dark-grey: #676b6d;
    --packhub-light-grey: #f4f6f8;
    --packhub-white: #ffffff;
}

/* Header — logo left, nav centered, actions right */
.header-content--centered {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0.25rem 0;
}

.header-content--centered .logo {
    justify-self: start;
}

.header .logo img {
    height: 100px;
    max-width: 280px;
}

@media (max-width: 768px) {
    .header .logo img {
        height: 44px;
        max-width: 220px;
    }
}

.main-nav--center {
    justify-self: center;
}

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    white-space: nowrap;
    border: 2px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    box-shadow: none;
    line-height: 1;
}

.header-btn--outline {
    color: var(--packhub-blue);
    background: transparent;
    border-color: var(--packhub-blue);
}

.header-btn--outline:hover {
    color: #fff;
    background: var(--packhub-blue);
    transform: translateY(-1px);
}

.header-btn--primary {
    color: #fff;
    background: var(--packhub-blue);
    border-color: var(--packhub-blue);
}

.header-btn--primary:hover,
.header-btn--primary.active {
    background: var(--packhub-green);
    border-color: var(--packhub-green);
    transform: translateY(-1px);
}

.main-nav--center ul {
    gap: 2.25rem;
}

.main-nav--center a {
    color: var(--packhub-blue);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.25rem 0;
}

.main-nav--center a::after {
    display: none;
}

.main-nav--center a:hover,
.main-nav--center a.active {
    color: var(--packhub-green);
    font-weight: 600;
}

@media (max-width: 768px) {
    .header-content--centered {
        grid-template-columns: 1fr auto;
    }

    .main-nav--center,
    .header-actions {
        display: none;
    }
}

.ph-hero {
    padding: 4rem 0 5rem;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.ph-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.ph-hero-visual {
    width: 100%;
}

.ph-hero-image-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
    position: relative;
    border-radius: 16px;
}

.ph-hero-image-trigger:focus-visible {
    outline: 2px solid var(--packhub-green);
    outline-offset: 4px;
}

.ph-hero-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid #dbe4ee;
    box-shadow: var(--shadow-lg);
}

.ph-hero-image-hint {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ph-hero-image-trigger:hover .ph-hero-image-hint,
.ph-hero-image-trigger:focus-visible .ph-hero-image-hint {
    opacity: 1;
}

@media (hover: none) {
    .ph-hero-image-hint {
        opacity: 1;
    }
}

.ph-image-lightbox {
    border: none;
    padding: 0;
    margin: auto;
    max-width: min(95vw, 2400px);
    max-height: 95vh;
    background: transparent;
    overflow: visible;
}

.ph-image-lightbox::backdrop {
    background: rgba(15, 23, 42, 0.88);
}

.ph-image-lightbox-img {
    display: block;
    max-width: min(95vw, 2400px);
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.ph-image-lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--packhub-blue);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}

.ph-image-lightbox-close:hover {
    background: #fff;
}

.ph-image-lightbox-close:focus-visible {
    outline: 2px solid var(--packhub-green);
    outline-offset: 2px;
}

.ph-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--packhub-green);
    margin-bottom: 1rem;
}

.ph-hero-copy h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    color: var(--packhub-blue);
    margin-bottom: 1rem;
}

.ph-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--packhub-dark-grey);
    margin-bottom: 1.5rem;
}

.ph-checklist {
    list-style: none;
    margin-top: 2rem;
    padding: 0;
}

.ph-checklist li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--packhub-dark-grey);
}

.ph-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--packhub-green);
    font-weight: 700;
}

.ph-station-card {
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.ph-station-header {
    background: var(--packhub-blue);
    color: #fff;
    padding: 0.75rem 1rem;
    font-weight: 600;
}

.ph-station-body {
    padding: 1rem;
}

.ph-station-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.ph-station-scan {
    margin: 1rem 0;
    padding: 0.75rem;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    text-align: center;
    color: #64748b;
}

.ph-station-instruction {
    background: #eff6ff;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.ph-cubby-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.ph-cubby {
    border: 1px solid #dbe4ee;
    border-radius: 6px;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}

.ph-cubby.active {
    background: #dcfce7;
    border-color: var(--packhub-green);
    color: #166534;
    font-weight: 600;
}

.ph-section {
    padding: 4rem 0;
}

.ph-section-alt {
    background: var(--packhub-light-grey);
}

.ph-section h2 {
    color: var(--packhub-blue);
    margin-bottom: 1rem;
}

.page-header h1 {
    color: #fff;
    margin-bottom: 1rem;
}

.ph-section-lead {
    color: var(--packhub-dark-grey);
    max-width: 720px;
    margin-bottom: 2rem;
}

.page-header .lead {
    color: #fff;
    max-width: 720px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.ph-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.ph-step {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.ph-step-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--packhub-green);
    margin-bottom: 0.5rem;
}

.ph-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.ph-feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.ph-feature-desc p {
    margin: 0;
    color: var(--packhub-dark-grey);
    line-height: 1.6;
}

.ph-feature-desc a {
    color: var(--packhub-blue);
    font-weight: 600;
}

.ph-feature-desc a:hover {
    color: var(--packhub-green);
}

.ph-feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.ph-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--packhub-green), var(--packhub-blue));
    color: #fff;
}

.ph-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.ph-cta h2 {
    color: #fff;
    margin-bottom: 0.75rem;
}

.ph-cta p {
    max-width: 640px;
    opacity: 0.95;
}

@media (max-width: 900px) {
    .ph-hero-grid {
        grid-template-columns: 1fr;
    }
}
