/* ============================================================================
   TRAYJUICE PAGE
   ============================================================================
   Dedicated project page sections
   ============================================================================ */

/* --- Single panel --- */

.tj-panel {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.tj-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 2rem;
    align-items: center;
    padding-bottom: 0.25rem;
    margin-bottom: 0;
}

.tj-hero-copy {
    text-align: left;
    min-width: 0;
}

.tj-hero-logo {
    display: block;
    height: clamp(72px, 12vw, 110px);
    width: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.tj-hero-tagline {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0 0 1rem;
    max-width: 28rem;
}

.tj-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.tj-hero-lead {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0 0 1rem;
    max-width: 32rem;
}

.tj-hero-points {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.tj-hero-points li {
    position: relative;
    padding-left: 1.15rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.tj-hero-points li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #34d399;
}

.tj-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0;
    align-items: stretch;
}

.tj-hero-actions .cta-button {
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.tj-hero-banner {
    margin: 1.25rem 0 0 10px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #34d399;
    line-height: 1.4;
}

.tj-hero-visuals {
    justify-self: end;
    width: 400px;
    max-width: 100%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.tj-hero-demo {
    margin: 0;
    width: 100%;
}

.tj-hero-demo-img {
    display: block;
    width: 400px;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.tj-hero-demo-caption {
    margin-top: 0.65rem;
    font-size: 0.8rem;
    color: #64748b;
    text-align: center;
}

.tj-hero-tray {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.tj-hero-tray-img {
    height: 52px;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.tj-hero-tray span {
    font-size: 0.8rem;
    color: #64748b;
    text-align: center;
}

/* --- Shared sections (open layout, no cards) --- */

.tj-section {
    margin: 1rem 0 0;
    padding: 0;
    max-width: none;
}

.tj-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(96, 165, 250, 0.25);
}

.tj-why {
    display: grid;
    gap: 1.5rem;
}

.tj-item-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.4rem;
}

.tj-item-text {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.tj-features {
    margin: 0;
    display: grid;
    gap: 1.15rem;
}

.tj-feature {
    display: grid;
    grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
    gap: 0.75rem 1.25rem;
    align-items: start;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.tj-feature:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.tj-feature dt {
    margin: 0;
    color: #e2e8f0;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.4;
}

.tj-feature dd {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.tj-compat {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.project-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
}

.project-list li {
    color: #94a3b8;
    font-size: 0.95rem;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}

.project-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #60a5fa;
}

.project-list li strong {
    color: #f1f5f9;
    font-weight: 600;
}

.tj-cta {
    text-align: center;
    max-width: none;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(96, 165, 250, 0.25);
}

.tj-cta .tj-section-title {
    border-bottom: none;
    padding-bottom: 0;
}

.tj-cta-text {
    color: #94a3b8;
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.65;
}

.project-cta-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.project-cta-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.project-cta-actions .cta-button {
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 820px) {
    .tj-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tj-hero-copy {
        text-align: center;
    }

    .tj-hero-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .tj-hero-tagline,
    .tj-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .tj-hero-meta,
    .tj-hero-actions {
        grid-template-columns: 1fr;
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
    }

    .project-cta-actions {
        grid-template-columns: 1fr;
        max-width: 22rem;
    }

    .tj-hero-points {
        display: inline-flex;
        text-align: left;
    }

    .tj-hero-tray {
        justify-content: center;
    }

    .tj-hero-visuals {
        justify-self: center;
        width: 320px;
        margin-top: 0;
    }

    .tj-hero-demo-img {
        width: 320px;
    }

    .tj-feature {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .tj-compat {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

@media (max-width: 768px) {
    .tj-panel {
        padding: 1.25rem;
    }
}
