/* ============================================
   ZEN OF FINANCE - Pages Stylesheet
   Additional styles for inner pages
   ============================================ */

/* Stage Headers */
.stage-header {
    padding-top: calc(80px + var(--space-2xl));
    padding-bottom: var(--space-2xl);
}

.stage-header-content {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xl);
}

.stage-symbol-large {
    font-size: 6rem;
    line-height: 1;
    opacity: 0.15;
}

.stage-header[data-stage="foundation"] .stage-symbol-large { color: var(--color-bamboo); }
.stage-header[data-stage="growth"] .stage-symbol-large { color: var(--color-bamboo-dark); }
.stage-header[data-stage="harvest"] .stage-symbol-large { color: var(--color-sand); }
.stage-header[data-stage="wisdom"] .stage-symbol-large { color: var(--color-stone); }

.stage-header-text {
    flex: 1;
}

.stage-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-bamboo);
    display: block;
    margin-bottom: var(--space-sm);
}

.stage-header-text h1 {
    margin-bottom: var(--space-md);
}

.stage-header-text p {
    max-width: 600px;
}

@media (max-width: 600px) {
    .stage-header-content {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .stage-symbol-large {
        font-size: 4rem;
    }
}

/* Key Principles */
.key-principles {
    padding: var(--space-2xl) 0;
    background: var(--color-paper);
}

.key-principles h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 1000px) {
    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.principle-card {
    padding: var(--space-lg);
    border-left: 2px solid var(--color-bamboo);
}

.principle-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--color-bamboo);
    display: block;
    margin-bottom: var(--space-sm);
}

.principle-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.principle-card p {
    font-size: 0.9rem;
    color: var(--color-ink-muted);
}

/* Topics Section */
.topics-section {
    padding: var(--space-2xl) 0;
}

.topics-header {
    margin-bottom: var(--space-xl);
}

.topics-header h2 {
    margin-bottom: var(--space-sm);
}

.topics-header p {
    color: var(--color-ink-muted);
}

.topics-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: var(--space-md);
}

.topic-btn {
    padding: var(--space-sm) var(--space-md);
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-ink-muted);
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.topic-btn:hover {
    color: var(--color-ink);
    background: var(--color-paper-warm);
}

.topic-btn.active {
    color: var(--color-paper);
    background: var(--color-ink);
}

/* Article List */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.article-row {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-paper);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 8px;
    transition: var(--transition-base);
    align-items: start;
}

.article-row:hover {
    border-color: var(--color-bamboo);
    transform: translateX(4px);
}

.article-row-date {
    text-align: center;
    padding: var(--space-sm);
    background: var(--color-paper-warm);
    border-radius: 4px;
}

.article-row-date .day {
    display: block;
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1;
}

.article-row-date .month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-ink-muted);
}

.article-topic {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-bamboo);
    display: block;
    margin-bottom: var(--space-xs);
}

.article-row-content h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.article-row-content h3 a:hover {
    color: var(--color-bamboo);
}

.article-row-content p {
    font-size: 0.9rem;
    color: var(--color-ink-muted);
}

.article-row-meta {
    align-self: center;
}

@media (max-width: 700px) {
    .article-row {
        grid-template-columns: 1fr;
    }
    
    .article-row-date {
        display: flex;
        gap: var(--space-sm);
        align-items: center;
        width: fit-content;
    }
    
    .article-row-date .day,
    .article-row-date .month {
        display: inline;
        font-size: 0.875rem;
    }
}

.load-more {
    text-align: center;
    margin-top: var(--space-xl);
}

/* Recommended Tools / Partners */
.recommended-tools {
    padding: var(--space-2xl) 0;
    background: var(--color-paper-warm);
}

.recommended-tools h2 {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    text-align: center;
    color: var(--color-ink-muted);
    margin-bottom: var(--space-lg);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

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

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

.partner-logo-placeholder {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-ink-muted);
    background: var(--color-paper-warm);
    padding: var(--space-md);
    text-align: center;
    border-radius: 4px;
    margin-bottom: var(--space-md);
}

/* Daily Insights Page */
.insights-header {
    text-align: center;
}

.market-overview {
    padding: var(--space-xl) 0;
    background: var(--color-paper);
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 800px) {
    .market-grid {
        grid-template-columns: 1fr;
    }
}

.market-card {
    padding: var(--space-lg);
    background: var(--color-paper-warm);
    border-radius: 8px;
}

.market-card.featured {
    background: var(--color-ink);
    color: var(--color-paper);
}

.market-card h3 {
    font-size: 0.875rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.mood-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.mood-icon {
    font-size: 2rem;
}

.mood-label {
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.mood-calm .mood-label { color: var(--color-bamboo); }
.mood-volatile .mood-label { color: var(--color-accent); }

.market-card p {
    font-size: 0.9rem;
    color: var(--color-ink-muted);
}

.market-card.featured p {
    color: var(--color-sand-light);
}

.data-list {
    list-style: none;
}

.data-list li {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.data-label {
    font-size: 0.875rem;
    color: var(--color-sand);
}

.data-value {
    font-weight: 600;
}

.data-value.positive { color: var(--color-bamboo-light); }
.data-value.negative { color: var(--color-accent-light); }

.radar-list {
    list-style: none;
}

.radar-list li {
    padding: var(--space-sm) 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.radar-list li::before {
    content: '→';
    color: var(--color-bamboo);
}

/* Featured Insight */
.featured-insight {
    padding: var(--space-2xl) 0;
}

.insight-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (max-width: 800px) {
    .insight-hero {
        grid-template-columns: 1fr;
    }
}

.insight-hero-content h2 {
    margin-bottom: var(--space-md);
}

.insight-excerpt {
    font-size: 1.125rem;
    color: var(--color-ink-muted);
    margin-bottom: var(--space-lg);
}

.insight-hero-visual {
    aspect-ratio: 4/3;
}

.zen-visual-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bamboo) 0%, var(--color-stone) 100%);
    border-radius: 8px;
    opacity: 0.8;
}

/* Insights Feed */
.insights-feed {
    padding: var(--space-2xl) 0;
    background: var(--color-paper-warm);
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.feed-filters {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-sm) var(--space-md);
    background: var(--color-paper);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-ink-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--color-bamboo);
    color: var(--color-bamboo);
}

.filter-btn.active {
    background: var(--color-ink);
    color: var(--color-paper);
    border-color: var(--color-ink);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 700px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
}

.insight-card {
    background: var(--color-paper);
    border-radius: 8px;
    padding: var(--space-lg);
    transition: var(--transition-base);
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.insight-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.insight-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-bamboo);
}

.insight-date {
    font-size: 0.75rem;
    color: var(--color-ink-muted);
}

.insight-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.insight-card h3 a:hover {
    color: var(--color-bamboo);
}

.insight-card p {
    font-size: 0.9rem;
    color: var(--color-ink-muted);
    margin-bottom: var(--space-md);
}

.insight-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.insight-arrow {
    color: var(--color-bamboo);
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition-fast);
}

.insight-card:hover .insight-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Archive Section */
.archive-section {
    padding: var(--space-xl) 0;
}

.archive-section h2 {
    margin-bottom: var(--space-lg);
}

.archive-grid {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.archive-month {
    padding: var(--space-md) var(--space-lg);
    background: var(--color-paper-warm);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.archive-month:hover {
    background: var(--color-bamboo);
    color: var(--color-paper);
}

.archive-month h4 {
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.article-count {
    font-size: 0.75rem;
    color: var(--color-ink-muted);
}

.archive-month:hover .article-count {
    color: var(--color-sand-light);
}

/* Tools Page Styles */
.disclosure-section {
    padding: var(--space-lg) 0;
}

.disclosure-box {
    background: var(--color-paper-cool);
    border: 1px solid rgba(74, 124, 89, 0.2);
    border-radius: 8px;
    padding: var(--space-lg);
}

.disclosure-box h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.disclosure-box p {
    font-size: 0.875rem;
    color: var(--color-ink-muted);
    line-height: 1.7;
}

.tools-category {
    padding: var(--space-2xl) 0;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.category-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.category-icon {
    font-size: 2rem;
}

.category-header h2 {
    margin-bottom: var(--space-xs);
}

.category-header p {
    color: var(--color-ink-muted);
}

/* Comparison Cards */
.tools-comparison {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 1000px) {
    .tools-comparison {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tools-comparison {
        grid-template-columns: 1fr;
    }
}

.comparison-card {
    background: var(--color-paper);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.comparison-card.featured {
    border-color: var(--color-bamboo);
    border-width: 2px;
}

.featured-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--color-bamboo);
    color: var(--color-paper);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 4px;
}

.comparison-header {
    padding: var(--space-lg);
    background: var(--color-paper-warm);
}

.comparison-header h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.comparison-tagline {
    font-size: 0.875rem;
    color: var(--color-bamboo);
}

.comparison-body {
    padding: var(--space-lg);
    flex: 1;
}

.comparison-body > p {
    font-size: 0.9rem;
    color: var(--color-ink-muted);
    margin-bottom: var(--space-md);
}

.feature-list {
    list-style: none;
    margin-bottom: var(--space-md);
}

.feature-list li {
    font-size: 0.875rem;
    padding: var(--space-xs) 0;
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.feature-list li::before {
    font-size: 0.75rem;
    margin-top: 2px;
}

.feature-list li.pro::before {
    content: '✓';
    color: var(--color-bamboo);
}

.feature-list li.con::before {
    content: '✗';
    color: var(--color-accent);
}

.feature-list li.neutral::before {
    content: '○';
    color: var(--color-ink-muted);
}

.comparison-meta {
    margin-top: auto;
}

.best-for {
    font-size: 0.75rem;
    color: var(--color-ink-muted);
    font-style: italic;
}

.comparison-footer {
    padding: var(--space-lg);
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.affiliate-note {
    font-size: 0.7rem;
    color: var(--color-ink-muted);
    text-align: center;
}

/* Simple Tool Grid */
.tools-grid-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 800px) {
    .tools-grid-simple {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .tools-grid-simple {
        grid-template-columns: 1fr;
    }
}

.tool-simple-card {
    background: var(--color-paper);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: var(--space-lg);
    text-align: center;
}

.tool-simple-card h3 {
    margin-bottom: var(--space-sm);
}

.tool-simple-card p {
    font-size: 0.9rem;
    color: var(--color-ink-muted);
    margin-bottom: var(--space-md);
}

.tool-highlight {
    background: var(--color-paper-warm);
    padding: var(--space-md);
    border-radius: 4px;
    margin-bottom: var(--space-md);
}

.highlight-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--color-ink-muted);
    margin-bottom: var(--space-xs);
}

.highlight-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-bamboo);
}

.tool-type {
    font-size: 0.75rem;
    color: var(--color-bamboo);
    margin-bottom: var(--space-md);
}

.rate-disclaimer {
    font-size: 0.75rem;
    color: var(--color-ink-muted);
    margin-top: var(--space-lg);
    font-style: italic;
}

/* Books Grid */
.books-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 700px) {
    .books-grid {
        grid-template-columns: 1fr;
    }
}

.book-card {
    display: flex;
    gap: var(--space-lg);
    background: var(--color-paper);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: var(--space-lg);
}

.book-cover-placeholder {
    width: 80px;
    height: 120px;
    background: var(--color-paper-warm);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.book-info h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.book-author {
    font-size: 0.875rem;
    color: var(--color-ink-muted);
    margin-bottom: var(--space-sm);
}

.book-desc {
    font-size: 0.875rem;
    color: var(--color-ink-muted);
    margin-bottom: var(--space-md);
}

.book-link {
    font-size: 0.875rem;
    color: var(--color-bamboo);
}

.book-link:hover {
    color: var(--color-bamboo-dark);
}

/* Countdown Section (50s-60s page) */
.countdown-section {
    padding: var(--space-xl) 0;
}

.countdown-box {
    background: var(--color-ink);
    color: var(--color-paper);
    padding: var(--space-xl);
    border-radius: 8px;
    text-align: center;
}

.countdown-box h3 {
    margin-bottom: var(--space-sm);
}

.countdown-box > p {
    color: var(--color-sand);
    margin-bottom: var(--space-lg);
}

.countdown-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.countdown-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-bamboo-light);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-sand);
}

/* Animation for article filtering */
.article-row.hidden,
.insight-card.hidden {
    display: none;
}


/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* Page Tagline (used in header) */
.page-tagline {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-bamboo);
    margin-bottom: var(--space-sm);
}

/* About Sections */
.about-section {
    padding: var(--space-2xl) 0;
}

.about-section:nth-child(even) {
    background: var(--color-paper-warm);
}

.about-section:nth-child(odd) {
    background: var(--color-paper);
}

.about-content {
    max-width: 720px;
    margin: 0 auto;
}

.section-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-bamboo);
    margin-bottom: var(--space-sm);
}

.about-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-ink);
    margin-bottom: var(--space-lg);
    line-height: 1.3;
}

.about-section p {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-ink-muted);
    margin-bottom: var(--space-md);
}

/* Zen Quote */
.zen-quote {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-ink);
    border-left: 3px solid var(--color-bamboo);
    padding-left: var(--space-lg);
    margin: var(--space-xl) 0;
    line-height: 1.5;
}

/* Highlight Box */
.highlight-box {
    background: var(--color-paper);
    border-radius: 8px;
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    border-left: 4px solid var(--color-bamboo);
    box-shadow: var(--shadow-sm);
}

.about-story .highlight-box {
    background: var(--color-paper-warm);
}

.highlight-box h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-ink);
    margin-bottom: var(--space-md);
}

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

.lessons-list li {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-ink-muted);
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
    line-height: 1.6;
}

.lessons-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--color-bamboo);
}

/* About Page Principles Section */
.principles-section {
    padding: var(--space-2xl) 0;
    background: var(--color-paper);
}

.principles-section .principles-grid {
    max-width: 900px;
    margin: 0 auto;
}

.principles-section .principle-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-paper-warm);
    border-radius: 8px;
    border-left: none;
    transition: transform 0.3s ease;
}

.principles-section .principle-card:hover {
    transform: translateY(-4px);
}

.principle-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: var(--space-sm);
}

.principles-section .principle-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-ink);
    margin-bottom: var(--space-sm);
}

.principles-section .principle-card p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-ink-muted);
    margin: 0;
}

/* About CTA Section */
.about-cta {
    padding: var(--space-2xl) 0;
    background: var(--color-ink);
    text-align: center;
}

.about-cta h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-paper);
    margin-bottom: var(--space-sm);
}

.about-cta p {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--color-sand);
    margin-bottom: var(--space-lg);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.about-cta .btn-primary {
    background: var(--color-paper);
    color: var(--color-ink);
}

.about-cta .btn-primary:hover {
    background: var(--color-paper-warm);
}

.about-cta .btn-secondary {
    background: transparent;
    color: var(--color-paper);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.about-cta .btn-secondary:hover {
    border-color: var(--color-paper);
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive - About Page */
@media (max-width: 768px) {
    .about-section h2 {
        font-size: 1.75rem;
    }
    
    .zen-quote {
        font-size: 1.25rem;
    }
    
    .about-cta h2 {
        font-size: 1.75rem;
    }
    
    .highlight-box {
        padding: var(--space-md);
    }
}
