/* =========================================================
   PRIVATE JOURNAL APP - LANDING PAGE
   ========================================================= */

/* MAIN CONTAINER */
.main-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2rem 0rem;
}

.pg_private_journal .breadcrumb,
.pg_digital_bullet_journal .breadcrumb,
.pg_journal_and_planner .breadcrumb,
.pg_online_diary .breadcrumb {
    max-width: 1100px;
}

/* Allow full-bleed sections to escape .main-container without causing
   horizontal scroll (breakout via 100vw + negative margins) */
body.pg_private_journal,
body.pg_digital_bullet_journal,
body.pg_journal_and_planner,
body.pg_online_diary {
    overflow-x: hidden;
}

.pj-full-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.pj-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* HERO SECTION */
.pj-hero-section {
    text-align: center;
    margin-bottom: 4rem;
}

.pj-hero-tagline {
    color: #4a9fb8;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.pj-hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: #2c3e50;
    max-width: 880px;
    margin: 0 auto 1.5rem;
}

.pj-hero-description {
    font-size: 1.2rem;
    color: #5a6c7d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.pj-hero-trust-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0 0;
    padding: 0;
}

.pj-hero-trust-list li {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d7a94;
    background: rgba(74, 159, 184, 0.08);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
}

.pj-hero-trust-list li::before {
    content: "\2713";
    color: #28a745;
    font-weight: 700;
    margin-right: 0.4rem;
}

/* SHARED SECTION HEADER */
.pj-section {
    margin-bottom: 5rem;
}

.pj-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.pj-section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}
.pj-section-header.paddingtop h2 {
    padding-top: 4rem;
}
.pj-section-header p {
    font-size: 1.05rem;
    color: #5a6c7d;
    line-height: 1.7;
}

/* SHARED GRID + CARD */
.pj-grid {
    display: grid;
    gap: 2rem;
}

.pj-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.pj-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.pj-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.pj-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(74, 144, 164, 0.08);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.pj-card:hover {
    box-shadow: 0 8px 30px rgba(74, 144, 164, 0.12);
    border-color: rgba(74, 144, 164, 0.2);
}

.pj-card-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 1rem;
}

.pj-card-icon svg {
    width: 100%;
    height: 100%;
}

.pj-card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.6rem;
    line-height: 1.3;
    text-align: center;
}

.pj-card-description {
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.7;
}

/* TIMELINE SCREENSHOT SECTION */
.pj-timeline-frame {
    position: relative;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    box-shadow:
        inset 0 4px 12px rgba(0,0,0,0.07),
        0 4px 6px -1px rgba(0,0,0,0.04),
        0 20px 50px -8px rgba(0,0,0,0.1);
}

.pj-timeline-frame::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 48px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.06), transparent);
    pointer-events: none;
    z-index: 1;
}

.pj-timeline-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* SCREENSHOTS SECTION - second frame + caption */
.jpa-screenshot-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #5a6c7d;
    margin-top: 1rem;
}

.jpa-screenshot-second {
    margin-top: 3rem;
}

/* PROBLEM SECTION */
.pj-problem-card {
    /* border-left: 3px solid #4B5563;*/ 
    opacity: 0;
    transform: translate3d(0, 40px, 0);
}

.pj-problem-card.animate-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.pj-problem-card.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.pj-problem-card.animate-in:nth-child(1) { transition-delay: 0.1s; }
.pj-problem-card.animate-in:nth-child(2) { transition-delay: 0.2s; }
.pj-problem-card.animate-in:nth-child(3) { transition-delay: 0.3s; }
.pj-problem-card.animate-in:nth-child(4) { transition-delay: 0.4s; }
.pj-problem-card.animate-in:nth-child(5) { transition-delay: 0.5s; }
.pj-problem-card.animate-in:nth-child(6) { transition-delay: 0.6s; }

.pj-problem-bridge {
    text-align: center;
    margin: 3rem auto 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #2d7a94;
}

.pj-problem-bridge-arrow {
    display: inline-block;
    margin-left: 0.4rem;
    color: #4a9fb8;
}

.pj-not-idazery {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(40, 167, 69, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f7a3d;
    text-align: left;
}

.pj-not-idazery-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(40, 167, 69, 0.12);
    color: #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    line-height: 1;
}

/* SOLUTION SECTION - full-bleed gradient band */
.pj-solution-section.pj-full-bleed {
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4f8 100%);
    border-top: 1px solid rgba(74, 144, 164, 0.15);
    border-bottom: 1px solid rgba(74, 144, 164, 0.15);
    padding: 5rem 0;
    margin-bottom: 0;
}

/* FEATURES SECTION - full-bleed gradient band */
.pj-features-section.pj-full-bleed {
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4f8 100%);
    border-top: 1px solid rgba(74, 144, 164, 0.15);
    border-bottom: 1px solid rgba(74, 144, 164, 0.15);
    padding: 5rem 0;
    margin-bottom: 0;
}

/* JOURNALING SECTION - full-bleed white band */
.pj-journaling-section.pj-full-bleed {
    background: white;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 5rem 0;
    margin-bottom: 0;
}

/* METHOD MAPPING SECTION */
.dbj-mapping-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 1rem;
    padding: 0 2rem;
}

.dbj-mapping-col-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9aa9b8;
    text-align: center;
}

.dbj-mapping-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dbj-mapping-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    background: white;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(74, 144, 164, 0.08);
}

.dbj-mapping-from,
.dbj-mapping-to {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dbj-mapping-from {
    text-align: right;
}

.dbj-mapping-to {
    text-align: left;
}

.dbj-mapping-term {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
}

.dbj-mapping-from .dbj-mapping-term {
    display: inline-block;
    background: #eef5f7;
    padding: 0.35rem 1rem;
    border-radius: 999px;
}

.dbj-mapping-desc {
    font-size: 0.9rem;
    color: #5a6c7d;
    line-height: 1.6;
}

.dbj-mapping-arrow {
    font-size: 1.4rem;
    font-weight: 700;
    color: #4a9fb8;
}

/* COMPARISON SECTION */
.jpa-compare-card--before {
    background: linear-gradient(135deg, #fff8f8 0%, #fdeeee 100%);
    border-color: rgba(220, 53, 69, 0.15);
}

.jpa-compare-card--after {
    background: linear-gradient(135deg, #f8fffb 0%, #eaf7f0 100%);
    border-color: rgba(40, 167, 69, 0.15);
}

.jpa-compare-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5rem;
}

.jpa-compare-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.jpa-compare-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.5;
}

.jpa-compare-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 0.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    line-height: 1;
}

.jpa-compare-icon--cross {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

.jpa-compare-icon--check {
    background: rgba(40, 167, 69, 0.12);
    color: #28a745;
}

/* FEATURE BADGES (Pro / Premium) */
.pj-card-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.55rem;
    border-radius: 10px;
    background: rgba(74, 159, 184, 0.12);
    color: #2d7a94;
}

.pj-card-badge--premium {
    background: rgba(231, 199, 95, 0.25);
    color: #9a7b1a;
}

/* PLANS SECTION (full pricing section is rendered via i_core_plans.html) */
.pj-plans-footer-link {
    margin: 0 auto;
    padding: 1rem 0 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4f8 100%);
}

.pj-plans-link {
    font-size: 0.9rem;
}

.pj-plans-link a {
    color: #2d7a94;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted #2d7a94;
}

.pj-plans-link a:hover {
    color: #19b2cb;
}

/* RELATED ARTICLE LINK (FAQ section) */
.pj-related-link {
    text-align: center;
    font-size: 0.95rem;
    color: #5a6c7d;
    margin: 0 0 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.pj-related-link a {
    margin-left: 0.3rem;
    color: #2d7a94;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted #2d7a94;
}

.pj-related-link a:hover {
    color: #19b2cb;
}

/* RELATED LANDING PAGES SECTION - full-bleed white band */
.pj-related-pages-section.pj-full-bleed {
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 5rem 0;
    margin-bottom: 0;
}

.pj-related-page-card {
    display: block;
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(74, 144, 164, 0.08);
    text-decoration: none;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.pj-related-page-card:hover {
    box-shadow: 0 8px 30px rgba(74, 144, 164, 0.12);
    border-color: rgba(74, 144, 164, 0.2);
    transform: translateY(-2px);
}

.pj-related-page-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.6rem;
}

.pj-related-page-description {
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.7;
    margin: 0;
    padding-right: 1.5rem;
}

.pj-related-page-arrow {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    color: #2d7a94;
    font-weight: 700;
    font-size: 1.1rem;
}

/* TRADEMARK ATTRIBUTION (FAQ section) */
.dbj-trademark-notice {
    text-align: center;
    font-size: 0.75rem;
    color: #9aa9b8;
    margin-top: 2rem;
}

/* FINAL CTA (rendered inside .faq-container via i_core_cta.html) */
.pg_private_journal .cta-status,
.pg_digital_bullet_journal .cta-status,
.pg_journal_and_planner .cta-status,
.pg_online_diary .cta-status {
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-top: 3rem;
    border: 1px solid #e5e7eb;
}

.pg_private_journal .cta-status h3,
.pg_digital_bullet_journal .cta-status h3,
.pg_journal_and_planner .cta-status h3,
.pg_online_diary .cta-status h3 {
    color: #2c3e50 !important;
}

.pg_private_journal .cta-status p,
.pg_digital_bullet_journal .cta-status p,
.pg_journal_and_planner .cta-status p,
.pg_online_diary .cta-status p {
    color: #5a6c7d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pg_private_journal .cta-status.noplan,
.pg_digital_bullet_journal .cta-status.noplan,
.pg_journal_and_planner .cta-status.noplan,
.pg_online_diary .cta-status.noplan {
    background: linear-gradient(135deg, #fcfdff 0%, #ebf6f9 100%);
}

.pg_private_journal .cta-status-benefits,
.pg_digital_bullet_journal .cta-status-benefits,
.pg_journal_and_planner .cta-status-benefits,
.pg_online_diary .cta-status-benefits {
    color: #778599;
    font-weight: normal !important;
}

.pg_digital_bullet_journal .pj-features-section .pj-grid--4 {
    grid-template-columns: repeat(3, 1fr);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .pj-hero-title {
        font-size: 2.6rem;
    }
    .pj-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pj-hero-title {
        font-size: 2.1rem;
    }
    .pj-hero-description {
        font-size: 1rem;
    }
    .pj-section-header h2 {
        font-size: 1.6rem;
    }
    .pj-grid--2,
    .pj-grid--3 {
        grid-template-columns: 1fr;
    }
    .pg_digital_bullet_journal .pj-features-section .pj-grid--4 {
        grid-template-columns: 1fr;
    }
    .dbj-mapping-header {
        display: none;
    }
    .dbj-mapping-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1.5rem;
        text-align: center;
    }
    .dbj-mapping-from,
    .dbj-mapping-to {
        text-align: center;
    }
    .dbj-mapping-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 555px) {
    .pj-grid--4 {
        grid-template-columns: 1fr;
    }
    .pj-hero-trust-list {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .pj-hero-title {
        font-size: 1.8rem;
    }
    .pj-card {
        padding: 1.5rem;
    }
    .pj-section {
        margin-bottom: 3.5rem;
    }
    .pj-solution-section.pj-full-bleed,
    .pj-journaling-section.pj-full-bleed,
    .pj-related-pages-section.pj-full-bleed {
        padding: 3.5rem 0;
    }
    .pj-features-box {
        padding: 2rem 1.5rem;
    }
}
