/* =====================================================
   PRODUCT TYPE DEEP-DIVE PAGE STYLES
   Neo-Brutalist editorial design
   ===================================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ---- Site Header (matches other pages) ---- */
.pt-navbar {
    background-color: #FFD700;
    border-bottom: none;
    width: 100%;
}

.pt-nav-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 4px solid #000;
}

.pt-back-btn {
    background-color: #FFD700;
    border: 4px solid #000;
    color: #000;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 900;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 4px 4px 0px 0px #000;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.1s ease;
}
.pt-back-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px 0px #000;
}

.pt-arrow-back { font-size: 18px; }

.pt-nav-logo {
    font-family: 'Space Mono', monospace;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pt-nav-spacer { width: 180px; }

.pt-nav-bottom-row {
    padding: 12px 40px;
    display: flex;
    justify-content: center;
}

.pt-nav-links {
    display: flex;
    gap: 40px;
}

.pt-nav-links a {
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Space Mono', monospace;
}
.pt-nav-links a:hover { text-decoration: underline; }
.pt-nav-links-active { text-decoration: underline !important; }

/* ---- Hero Section ---- */
.pt-hero {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 40px 60px;
    text-align: center;
}

.pt-hero-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 16px;
}

.pt-hero-badge {
    display: inline-block;
    background: #FFD700;
    color: #000;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.pt-hero-title {
    font-family: 'Space Mono', monospace;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.pt-hero-tagline {
    font-size: 18px;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.5;
}

/* ---- Stats Bar ---- */
.pt-stats-bar {
    display: flex;
    justify-content: center;
    gap: 0;
    border: 4px solid #fff;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
}

.pt-stats-item {
    flex: 1;
    padding: 20px 16px;
    text-align: center;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}
.pt-stats-item:last-child { border-right: none; }

.pt-stats-number {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 24px;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 4px;
}

.pt-stats-label {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- Main Content Container ---- */
.pt-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* ---- Section Styling ---- */
.pt-section {
    padding: 48px 0;
    border-bottom: 4px solid #000;
}
.pt-section:last-child { border-bottom: none; }

.pt-section-label {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.pt-section-title {
    font-family: 'Space Mono', monospace;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    line-height: 1.2;
}

/* ---- Editorial Text ---- */
.pt-editorial {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 24px;
}

.pt-editorial p {
    margin-bottom: 16px;
}

/* ---- Pull Quote ---- */
.pt-pull-quote {
    border-left: 6px solid #FFD700;
    padding: 20px 24px;
    margin: 32px 0;
    background: #fafafa;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
}

/* ---- Cause of Death Bars ---- */
.pt-cod-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.pt-cod-item {
    background: #fafafa;
    border: 3px solid #000;
    padding: 16px 20px;
    transition: transform 0.1s, box-shadow 0.1s;
}
.pt-cod-item:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #000;
}

.pt-cod-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.pt-cod-name {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pt-cod-pct {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 900;
    color: #000;
}

.pt-cod-bar-track {
    height: 8px;
    background: #e0e0e0;
    border: 2px solid #000;
    margin-bottom: 10px;
    overflow: hidden;
}

.pt-cod-bar-fill {
    height: 100%;
    transition: width 0.5s ease;
}

/* Cause colors */
.pt-cod-bar-fill.cod-no-market      { background: #f44336; }
.pt-cod-bar-fill.cod-cash            { background: #FF9800; }
.pt-cod-bar-fill.cod-team            { background: #9C27B0; }
.pt-cod-bar-fill.cod-competition     { background: #1a1a1a; }
.pt-cod-bar-fill.cod-product         { background: #795548; }
.pt-cod-bar-fill.cod-legal           { background: #607D8B; }
.pt-cod-bar-fill.cod-economics       { background: #E91E63; }

.pt-cod-analysis {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.pt-cod-link {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    margin-top: 8px;
    padding: 4px 10px;
    border: 2px solid #000;
    background: #FFD700;
    transition: all 0.1s ease;
}
.pt-cod-link:hover {
    transform: translate(1px, 1px);
    box-shadow: none;
}

/* ---- Notable Autopsies Cards ---- */
.pt-autopsies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.pt-autopsy-card {
    background: #fff;
    border: 3px solid #000;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.1s, box-shadow 0.1s;
}
.pt-autopsy-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 #000;
}

.pt-autopsy-name {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.pt-autopsy-funding {
    font-family: 'Space Mono', monospace;
    font-size: 20px;
    font-weight: 900;
    color: #f44336;
}

.pt-autopsy-cause {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #1a1a1a;
    padding: 4px 8px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pt-autopsy-years {
    font-size: 12px;
    color: #888;
    font-family: 'Space Mono', monospace;
}

/* ---- Rebuild Opportunities ---- */
.pt-opportunities {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.pt-opportunity {
    border: 3px solid #000;
    background: #f9f9f0;
    padding: 24px;
    transition: transform 0.1s, box-shadow 0.1s;
}
.pt-opportunity:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #000;
}

.pt-opportunity-title {
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pt-opportunity-title::before {
    content: '💡';
    font-size: 20px;
}

.pt-opportunity-desc {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}

/* ---- Founder's Playbook ---- */
.pt-playbook-section {
    margin: 24px 0;
}

.pt-playbook-heading {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 3px solid #000;
}

.pt-takeaways-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.pt-takeaways-list li {
    padding: 12px 16px;
    border-left: 4px solid #FFD700;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.6;
    background: #fafafa;
}

.pt-red-flags-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.pt-red-flags-list li {
    padding: 12px 16px;
    border-left: 4px solid #f44336;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.6;
    background: #fff5f5;
}

.pt-metrics-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.pt-metrics-list li {
    padding: 12px 16px;
    border-left: 4px solid #4CAF50;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.6;
    background: #f5fff5;
}

/* ---- Related Product Types ---- */
.pt-related-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 24px 0;
}

.pt-related-card {
    flex: 1;
    min-width: 200px;
    border: 3px solid #000;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    background: #FFD700;
    transition: transform 0.1s, box-shadow 0.1s;
}
.pt-related-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #000;
}

.pt-related-name {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pt-related-reason {
    font-size: 13px;
    line-height: 1.5;
    color: #333;
}

/* ---- Browse All Section ---- */
.pt-browse-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.pt-browse-card {
    background: #fff;
    border: 3px solid #000;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.1s, box-shadow 0.1s;
}
.pt-browse-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #000;
}

.pt-browse-name {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.pt-browse-meta {
    font-size: 11px;
    color: #888;
    font-family: 'Space Mono', monospace;
}

.pt-browse-cause {
    font-size: 10px;
    font-family: 'Space Mono', monospace;
    color: #f44336;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 6px;
}

/* ---- Load More Button ---- */
.pt-load-more {
    display: block;
    width: 100%;
    padding: 16px;
    margin-top: 16px;
    background: #1a1a1a;
    color: #FFD700;
    border: 3px solid #000;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.1s ease;
}
.pt-load-more:hover {
    background: #FFD700;
    color: #000;
}

/* ---- Back to Graveyard CTA ---- */
.pt-cta-section {
    text-align: center;
    padding: 48px 0;
}

.pt-cta-link {
    display: inline-block;
    background: #FFD700;
    color: #000;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 16px 40px;
    border: 4px solid #000;
    box-shadow: 6px 6px 0 #000;
    transition: all 0.1s ease;
    letter-spacing: 1px;
}
.pt-cta-link:hover {
    transform: translate(3px, 3px);
    box-shadow: 0 0 0 #000;
}

/* ---- All Deep Dives Link ---- */
.pt-all-link {
    display: inline-block;
    margin-top: 16px;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #000;
    text-decoration: underline;
    text-transform: uppercase;
}

/* ---- Loading State ---- */
.pt-loading {
    text-align: center;
    padding: 80px 0;
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    color: #888;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
    /* Navbar */
    .pt-nav-top-row { padding: 12px 16px; }
    .pt-back-btn { padding: 8px 12px; font-size: 11px; }
    .pt-nav-logo { font-size: 16px; letter-spacing: 1px; }
    .pt-nav-spacer { display: none; }
    .pt-nav-bottom-row { padding: 10px 16px; overflow-x: auto; }
    .pt-nav-links { gap: 20px; flex-wrap: nowrap; white-space: nowrap; }
    .pt-nav-links a { font-size: 10px; }

    /* Hero */
    .pt-hero { padding: 40px 20px 32px; }
    .pt-hero-icon { font-size: 48px; }
    .pt-hero-tagline { font-size: 15px; }

    .pt-stats-bar {
        flex-direction: column;
        border: 3px solid #fff;
    }
    .pt-stats-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .pt-stats-item:last-child { border-bottom: none; }
    .pt-stats-number { font-size: 18px; margin-bottom: 0; }
    .pt-stats-label { font-size: 8px; }

    /* Main */
    .pt-main { padding: 0 16px 60px; }
    .pt-section { padding: 32px 0; }

    /* Cards */
    .pt-autopsies-grid { grid-template-columns: 1fr; }
    .pt-browse-grid { grid-template-columns: 1fr; }
    .pt-related-grid { flex-direction: column; }
    .pt-related-card { min-width: auto; }

    /* Text */
    .pt-editorial { font-size: 15px; }
    .pt-pull-quote { font-size: 17px; padding: 16px 18px; }
}

@media (max-width: 480px) {
    .pt-back-btn span:not(.pt-arrow-back) { display: none; }
    .pt-back-btn::after { content: 'BACK'; font-size: 11px; }
    .pt-nav-logo { font-size: 14px; }
}
