/* 
    PJ3D Cinematic Prototype - LANDING CATEGORY STYLES
    Hero, Manifesto, Zones, Solutions
*/

/* 1. HERO VIDEO (Immersive) */
.landing-hero {
    height: 95vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.5) contrast(1.1);
    /* Deep Contrast */
}

.hero-content {
    z-index: 2;
    text-align: center;
    max-width: 90vw;
}

/* --- HERO TEXT (Solid White) --- */
.landing-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 2rem;
}


/* 2. MANIFESTO (Clean Layout) */
.manifesto-section {
    background: var(--bg-color);
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

@media(max-width: 900px) {
    .manifesto-section {
        flex-direction: column;
        text-align: center;
    }
}

.manifesto-lead {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    color: white;
    flex: 1;
}

.manifesto-sub {
    flex: 1;
    font-size: 1.1rem;
    color: #888;
    line-height: 1.6;
    max-width: 500px;
}

/* 3. ZONES REDESIGN */

/* ZONE 1: SUBCATS (Grid) */
.subcat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: var(--line-subtle);
    border: 1px solid var(--line-subtle);
}

.subcat-card {
    background: var(--bg-color);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.subcat-card:hover {
    background: rgba(255, 106, 0, 0.05);
    /* Slight Orange Tint on Hover */
}

.subcat-img-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    overflow: hidden;
    filter: grayscale(100%);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.subcat-card:hover .subcat-img-wrapper {
    filter: grayscale(0%);
    border-color: var(--accent);
    transform: scale(1.1);
}

.subcat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ZONE 2: STYLES (Parallax Stripes) */
.style-stripe-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 70vh;
    gap: 0;
    border: 1px solid var(--line-subtle);
}

.style-stripe {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-right: 1px solid var(--line-subtle);
}

.style-stripe:last-child {
    border-right: none;
}

.style-stripe img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.6) grayscale(80%);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.style-stripe:hover img {
    filter: brightness(1) grayscale(0%);
    transform: scale(1.05);
    /* Slight Zoom */
}

.style-label {
    position: absolute;
    bottom: 3rem;
    left: 2rem;
    z-index: 2;
    color: white;
    /* White text */
    font-size: 2rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    /* Legibility */
    transition: color 0.3s;
}

.style-stripe:hover .style-label {
    color: var(--accent);
    /* Orange on hover */
}


/* ZONE 3: SPACES (Masonry) */
.spaces-masonry {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 600px;
    gap: 2rem;
}

.space-item {
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: border-color 0.3s;
}

.space-item:hover {
    border-color: var(--accent);
}

.space-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--easing);
    filter: brightness(0.8);
}

.space-item:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}

.space-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}


/* ZONE 4: SOLUTIONS (Horizontal Ticker) */
.solution-row {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line-subtle);
    border-bottom: 1px solid var(--line-subtle);
}

.solution-item {
    flex: 1;
    padding: 4rem 2rem;
    border-right: 1px solid var(--line-subtle);
    transition: background 0.3s, color 0.3s;
    cursor: pointer;
}

.solution-item:last-child {
    border-right: none;
}

.solution-item:hover {
    background: white;
    color: black;
}

.solution-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.solution-item:hover h3 {
    color: var(--accent);
}

/* Orange Title on Hover */

.solution-item p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.solution-item:hover p {
    opacity: 1;
}


/* ZONE 5: TAGS (Minimal List) */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tag-btn {
    border: 1px solid var(--line-subtle);
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: #ccc;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.tag-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255, 106, 0, 0.1);
}

/* UTILITIES (Specific to this page if not in global) */
.text-display {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--accent);
}

.text-silver {
    color: #BBB;
}

.section-separator {
    padding-top: 8rem;
    padding-bottom: 8rem;
    border-top: 1px solid var(--line-subtle);
    position: relative;
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
}

.collection-landing-hero,
.collection-lead-panel,
.collection-featured-product,
.collection-closing-cta {
    border: 1px solid var(--line-subtle);
    background: rgba(255, 255, 255, 0.02);
}

.collection-landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 2rem;
    padding: clamp(2rem, 4vw, 4rem);
    margin-bottom: 2rem;
    align-items: stretch;
}

.collection-landing-copy,
.collection-featured-copy,
.collection-closing-cta,
.collection-lead-intro {
    min-width: 0;
}

.collection-landing-eyebrow,
.collection-lead-kicker,
.collection-lead-success-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.collection-landing-title,
.collection-lead-title,
.collection-featured-product h2,
.collection-closing-cta h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    line-height: 0.95;
    margin: 0;
}

.collection-landing-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    margin-bottom: 1rem;
}

.collection-landing-description,
.collection-landing-support,
.collection-lead-description,
.collection-featured-description,
.collection-proof-strip p,
.collection-lead-success p,
.collection-closing-cta p {
    color: #c8ccd3;
    line-height: 1.7;
}

.collection-landing-support,
.collection-featured-description,
.collection-closing-cta p {
    max-width: 62ch;
}

.collection-landing-actions,
.collection-success-actions,
.collection-lead-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.collection-landing-actions {
    margin-top: 2rem;
}

.collection-landing-primary,
.collection-lead-submit,
.collection-featured-product .pj-btn {
    min-height: 52px;
}

.collection-landing-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.85rem 1.4rem;
    border: 1px solid var(--line-subtle);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

.collection-landing-media {
    min-height: 320px;
}

.collection-landing-image,
.collection-featured-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-landing-image {
    min-height: 100%;
}

.collection-landing-image--fallback {
    background: radial-gradient(circle at top, rgba(255, 106, 0, 0.35), transparent 50%), linear-gradient(135deg, #1c1f27, #090b11 70%);
}

.collection-lead-panel,
.collection-featured-product,
.collection-closing-cta {
    padding: clamp(1.5rem, 3vw, 3rem);
    margin-bottom: 2rem;
}

.collection-lead-panel,
.collection-featured-product {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

.collection-lead-benefits {
    margin: 1.5rem 0 0;
    padding-left: 1.25rem;
    color: #fff;
    line-height: 1.7;
}

.collection-lead-card {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 11, 17, 0.9);
}

.collection-lead-input {
    flex: 1 1 240px;
    min-height: 52px;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.collection-lead-input.is-invalid {
    border-color: #ff7e7e;
}

.collection-lead-submit {
    padding: 0 1.4rem;
    border: none;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.collection-lead-feedback {
    min-height: 1.5rem;
    margin: 0.9rem 0 0;
    color: #ffb2b2;
}

.collection-lead-privacy,
.collection-sticky-copy {
    color: #9fa6b2;
    font-size: 0.92rem;
    line-height: 1.6;
}

.collection-lead-success h3,
.collection-closing-cta h2,
.collection-grid-heading {
    font-family: var(--font-display);
    text-transform: uppercase;
}

.collection-proof-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line-subtle);
    margin-bottom: 2rem;
}

.landing-family-section {
    margin-bottom: 2rem;
    padding: clamp(1.5rem, 3vw, 3rem);
    border: 1px solid var(--line-subtle);
    background: rgba(255, 255, 255, 0.02);
}

.landing-family-section__header {
    margin-bottom: 1.5rem;
}

.landing-family-section__header p,
.landing-family-card__body span,
.landing-family-page__content {
    color: #c8ccd3;
}

.landing-family-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.landing-family-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 11, 17, 0.88);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.landing-family-card:hover,
.landing-family-card:focus-visible {
    border-color: rgba(255, 106, 0, 0.55);
    transform: translateY(-2px);
}

.landing-family-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.landing-family-card__image--fallback {
    background: radial-gradient(circle at top, rgba(255, 106, 0, 0.3), transparent 55%), linear-gradient(135deg, #1c1f27, #090b11 70%);
}

.landing-family-card__body {
    display: grid;
    gap: 0.65rem;
    padding: 1.2rem;
}

.landing-family-card__body strong {
    color: #fff;
    font-size: 1rem;
}

.landing-family-page__content {
    max-width: 100%;
}

.collection-proof-strip > div {
    padding: 1.5rem;
    background: #0b0d14;
}

.collection-proof-strip strong,
.collection-featured-reason,
.collection-featured-price,
.collection-featured-badge {
    color: #fff;
}

.collection-featured-media {
    min-height: 360px;
}

.collection-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
    margin: 1.25rem 0 1.5rem;
}

.collection-featured-price {
    font-size: 1.25rem;
    font-weight: 700;
}

.collection-featured-badge {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.45rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.collection-grid-heading {
    margin: 0 0 1.25rem;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
}

.collection-filter-toggle {
    display: none;
    width: 100%;
    min-height: 48px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-display);
}

.collection-sticky-bar {
    display: none;
}

@media (max-width: 960px) {
    .collection-landing-hero,
    .collection-lead-panel,
    .collection-featured-product,
    .collection-proof-strip {
        grid-template-columns: 1fr;
    }

    .collection-landing-media,
    .collection-featured-media {
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .collection-filter-toggle {
        display: block;
    }

    .collection-sticky-bar {
        display: flex;
    }

    .collection-filter-panel {
        display: none;
    }

    .collection-filter-panel.is-open {
        display: block;
    }

    .collection-landing-hero,
    .collection-lead-panel,
    .collection-featured-product,
    .collection-closing-cta {
        padding: 1.25rem;
    }

    .collection-landing-title {
        font-size: clamp(2.2rem, 12vw, 3.6rem);
    }

    .collection-landing-actions,
    .collection-success-actions,
    .collection-lead-form {
        flex-direction: column;
        align-items: stretch;
    }

    .collection-landing-secondary,
    .collection-lead-submit,
    .collection-lead-input,
    .collection-featured-product .pj-btn {
        width: 100%;
    }

    .collection-sticky-bar {
        width: calc(100% - 1.5rem);
        bottom: 0.75rem;
        padding: 0.9rem 1rem;
        border-radius: 20px;
    }

    .collection-sticky-bar .sticky-info {
        gap: 0.75rem;
    }

    .collection-sticky-bar .cta-sticky {
        padding: 0.85rem 1rem;
        text-align: center;
        min-width: 120px;
    }
}
