/* ==========================================================================
   Claude Code Pirates — Custom Theme Styles
   Layered on top of Source theme's screen.css
   ========================================================================== */

:root {
    --ccp-navy: #0f1923;
    --ccp-navy-light: #1a2938;
    --ccp-gold: #d4a843;
    --ccp-gold-light: #e8c668;
    --ccp-red: #c41e3a;
    --ccp-ocean: #1e6f8a;
    --ccp-ocean-light: #2a8fad;
    --ccp-sand: #f5f0e8;
    --ccp-white: #fafafa;
    --ccp-text: #1a1a1a;
    --ccp-text-muted: #6b7280;
    --ccp-border: #e5e7eb;
}

/* ==========================================================================
   CCP Homepage
   ========================================================================== */

.ccp-hero {
    background: linear-gradient(135deg, var(--ccp-navy) 0%, var(--ccp-navy-light) 100%);
    color: #fff;
    padding: 6rem 2rem;
    text-align: center;
}

.ccp-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.ccp-hero-mascot {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--ccp-gold);
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.ccp-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.ccp-hero h1 span {
    color: var(--ccp-gold);
}

.ccp-hero .ccp-tagline {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ccp-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.ccp-btn-gold {
    background: var(--ccp-gold);
    color: var(--ccp-navy);
}

.ccp-btn-gold:hover {
    background: var(--ccp-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(212,168,67,0.4);
}

.ccp-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    margin-left: 1rem;
}

.ccp-btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}

.ccp-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   Section Layout
   ========================================================================== */

.ccp-section {
    padding: 5rem 2rem;
}

.ccp-section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.ccp-section-dark {
    background: var(--ccp-navy);
    color: #fff;
}

.ccp-section-sand {
    background: var(--ccp-sand);
}

.ccp-section-white {
    background: #fff;
}

.ccp-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.ccp-section h2 span {
    color: var(--ccp-gold);
}

.ccp-section-subtitle {
    font-size: 1.1rem;
    color: var(--ccp-text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.ccp-section-dark .ccp-section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   Persona Cards (Who This Is For)
   ========================================================================== */

.ccp-personas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.ccp-persona-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--ccp-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ccp-persona-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.ccp-persona-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--ccp-navy);
}

.ccp-persona-card p {
    color: var(--ccp-text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.ccp-section-dark .ccp-persona-card {
    background: var(--ccp-navy-light);
    border-color: rgba(255,255,255,0.1);
}

.ccp-section-dark .ccp-persona-card h3 {
    color: var(--ccp-gold);
}

.ccp-section-dark .ccp-persona-card p {
    color: rgba(255,255,255,0.75);
}

/* ==========================================================================
   Week-by-Week Timeline (Cohort Page)
   ========================================================================== */

.ccp-timeline {
    position: relative;
    margin-top: 2rem;
}

.ccp-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--ccp-gold);
    border-radius: 3px;
}

.ccp-week {
    position: relative;
    padding-left: 64px;
    margin-bottom: 3rem;
}

.ccp-week-marker {
    position: absolute;
    left: 12px;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ccp-gold);
    color: var(--ccp-navy);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ccp-week h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ccp-week p {
    color: var(--ccp-text-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.ccp-week-deliverable {
    display: inline-block;
    background: rgba(212,168,67,0.12);
    color: var(--ccp-gold);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(212,168,67,0.25);
}

.ccp-section-dark .ccp-week h3 {
    color: #fff;
}

.ccp-section-dark .ccp-week p {
    color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   Pricing Block
   ========================================================================== */

.ccp-pricing {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--ccp-navy-light);
    border-radius: 16px;
    border: 2px solid var(--ccp-gold);
    margin-top: 2rem;
}

.ccp-price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--ccp-gold);
    margin-bottom: 0.25rem;
}

.ccp-price-note {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
}

.ccp-guarantee {
    background: rgba(212,168,67,0.08);
    border: 1px solid rgba(212,168,67,0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}

.ccp-guarantee strong {
    color: var(--ccp-gold);
}

/* ==========================================================================
   What's Included
   ========================================================================== */

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

.ccp-checklist li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

.ccp-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ccp-gold);
    font-weight: 700;
}

.ccp-section-dark .ccp-checklist li {
    color: rgba(255,255,255,0.85);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.ccp-faq {
    margin-top: 2rem;
}

.ccp-faq-item {
    border-bottom: 1px solid var(--ccp-border);
    padding: 1.25rem 0;
}

.ccp-faq-q {
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ccp-navy);
}

.ccp-faq-q::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--ccp-gold);
    font-weight: 300;
    transition: transform 0.2s ease;
}

.ccp-faq-item.is-open .ccp-faq-q::after {
    transform: rotate(45deg);
}

.ccp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--ccp-text-muted);
    line-height: 1.6;
}

.ccp-faq-item.is-open .ccp-faq-a {
    max-height: 300px;
    padding-top: 0.75rem;
}

/* ==========================================================================
   About Page
   ========================================================================== */

.ccp-about-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.ccp-about-header img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--ccp-gold);
}

.ccp-about-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

.ccp-about-header p {
    font-size: 1.15rem;
    color: var(--ccp-text-muted);
    max-width: 500px;
}

.ccp-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.ccp-value {
    padding: 1.5rem;
    border-radius: 10px;
    background: var(--ccp-sand);
}

.ccp-value h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ccp-navy);
}

.ccp-value p {
    font-size: 0.9rem;
    color: var(--ccp-text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .ccp-hero h1 {
        font-size: 2rem;
    }

    .ccp-hero-mascot {
        width: 120px;
        height: 120px;
    }

    .ccp-section h2 {
        font-size: 1.7rem;
    }

    .ccp-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .ccp-btn-outline {
        margin-left: 0;
    }

    .ccp-price {
        font-size: 3rem;
    }

    .ccp-about-header {
        flex-direction: column;
        text-align: center;
    }

    .ccp-timeline::before {
        left: 16px;
    }

    .ccp-week {
        padding-left: 48px;
    }

    .ccp-week-marker {
        left: 4px;
    }
}

/* ==========================================================================
   SEO — Breadcrumb Navigation
   ========================================================================== */

.ccp-breadcrumb {
    padding: 1rem 0 0;
    font-size: 0.85rem;
    color: var(--ccp-text-muted);
    line-height: 1.4;
}

.ccp-breadcrumb a {
    color: var(--ccp-ocean);
    text-decoration: none;
    transition: color 0.2s;
}

.ccp-breadcrumb a:hover {
    color: var(--ccp-gold);
}

.ccp-breadcrumb-sep {
    margin: 0 0.4rem;
    color: var(--ccp-border);
}

.ccp-breadcrumb-current {
    color: var(--ccp-text);
    font-weight: 600;
}

/* ==========================================================================
   SEO — Related Questions Section
   ========================================================================== */

.ccp-related {
    border-top: 1px solid var(--ccp-border);
    padding: 3rem 0 4rem;
    background: var(--ccp-sand);
}

.ccp-related-inner {
    max-width: 720px;
    margin: 0 auto;
}

.ccp-related-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ccp-navy);
    margin-bottom: 1.5rem;
}

.ccp-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ccp-related-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--ccp-border);
}

.ccp-related-list li:last-child {
    border-bottom: none;
}

.ccp-related-list a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ccp-navy);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    margin-bottom: 0.25rem;
}

.ccp-related-list a:hover {
    color: var(--ccp-gold);
}

.ccp-related-excerpt {
    display: block;
    font-size: 0.9rem;
    color: var(--ccp-text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   SEO — Hub Tag Pages
   ========================================================================== */

.ccp-hub-header {
    background: var(--ccp-navy);
    color: #fff;
    padding: 3rem 0 2.5rem;
}

.ccp-hub-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ccp-hub-header .ccp-breadcrumb {
    padding: 0 0 1rem;
}

.ccp-hub-header .ccp-breadcrumb a {
    color: var(--ccp-gold-light);
}

.ccp-hub-header .ccp-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.3);
}

.ccp-hub-header .ccp-breadcrumb-current {
    color: #fff;
}

.ccp-hub-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
    color: #fff;
}

.ccp-hub-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0;
}

.ccp-hub-posts {
    padding: 3rem 0;
    background: var(--ccp-white);
}

.ccp-hub-posts-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ccp-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.ccp-hub-card {
    border: 1px solid var(--ccp-border);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.ccp-hub-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.ccp-hub-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ccp-hub-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.ccp-hub-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ccp-hub-card-content {
    padding: 1.25rem;
}

.ccp-hub-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ccp-navy);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.ccp-hub-card:hover .ccp-hub-card-title {
    color: var(--ccp-gold);
}

.ccp-hub-card-excerpt {
    font-size: 0.9rem;
    color: var(--ccp-text-muted);
    line-height: 1.5;
    margin: 0 0 0.75rem;
}

.ccp-hub-card-meta {
    font-size: 0.8rem;
    color: var(--ccp-text-muted);
}

.ccp-hub-empty {
    text-align: center;
    padding: 3rem 0;
    color: var(--ccp-text-muted);
    font-size: 1.1rem;
}

.ccp-hub-empty a {
    color: var(--ccp-ocean);
}

@media (max-width: 600px) {
    .ccp-hub-title {
        font-size: 1.8rem;
    }

    .ccp-hub-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SEO — Homepage Hub Links
   ========================================================================== */

.ccp-hub-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.ccp-hub-link-card {
    display: block;
    background: var(--ccp-sand);
    border-radius: 10px;
    padding: 1.5rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--ccp-border);
}

.ccp-hub-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ccp-hub-link-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ccp-navy);
    margin: 0 0 0.5rem;
}

.ccp-hub-link-card:hover h3 {
    color: var(--ccp-gold);
}

.ccp-hub-link-card p {
    font-size: 0.9rem;
    color: var(--ccp-text-muted);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 900px) {
    .ccp-hub-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ccp-hub-links {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SEO — Post CTA (Money Page Linking)
   ========================================================================== */

.ccp-post-cta {
    background: var(--ccp-sand);
    border-top: 3px solid var(--ccp-gold);
    margin: 3rem 0 0;
    padding: 2rem;
    border-radius: 0 0 10px 10px;
}

.ccp-post-cta-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.ccp-post-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ccp-navy);
    margin: 0 0 0.75rem;
}

.ccp-post-cta p {
    font-size: 1rem;
    color: var(--ccp-text-muted);
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.ccp-post-cta p a {
    color: var(--ccp-ocean);
    font-weight: 600;
    text-decoration: none;
}

.ccp-post-cta p a:hover {
    color: var(--ccp-gold);
}

.ccp-post-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
