/* =========================================
   METHODOLOGY PAGE STYLES
   Psychological Framework Documentation
   ========================================= */

/* HERO SECTION */
.methodology-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 80px;
    text-align: center;
    overflow: hidden;
}

.methodology-hero-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, #112240 0%, #0a1628 50%, #040816 100%);
    z-index: 0;
}

.methodology-hero-noise {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)"/></svg>');
    opacity: 0.03;
    z-index: 1;
}

.methodology-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* section-eyebrow is now defined in homepage-redesign.css */

.methodology-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 24px;
}

.methodology-hero-title span {
    display: block;
    color: #dca85b;
    font-style: italic;
}

.methodology-hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* FRAMEWORK OVERVIEW */
.framework-overview {
    padding: 100px 5%;
    background: #0a0e1f;
}

.framework-container {
    max-width: 1200px;
    margin: 0 auto;
}

.framework-header {
    text-align: center;
    margin-bottom: 60px;
}

.framework-overview .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.3;
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

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

.framework-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.framework-card:hover {
    transform: translateY(-4px);
    border-color: rgba(220, 168, 91, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.framework-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.act-card .framework-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.depth-card .framework-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.focusing-card .framework-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.axiology-card .framework-icon {
    background: linear-gradient(135deg, #dca85b 0%, #b8941f 100%);
}

.framework-icon svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.framework-letter {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.framework-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.framework-card > p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.framework-source {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #dca85b;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* METHODOLOGY SECTIONS */
.methodology-section {
    padding: 100px 5%;
    background: #040816;
}

.methodology-section:nth-child(odd) {
    background: #040816;
}

.methodology-section:nth-child(even) {
    background: #0a0e1f;
}

.methodology-container {
    max-width: 1200px;
    margin: 0 auto;
}

.methodology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.methodology-grid.reverse {
    direction: rtl;
}

.methodology-grid.reverse > * {
    direction: ltr;
}

.methodology-content {
    padding: 20px 0;
}

.methodology-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #dca85b;
    padding: 8px 16px;
    background: rgba(220, 168, 91, 0.1);
    border: 1px solid rgba(220, 168, 91, 0.2);
    border-radius: 20px;
    margin-bottom: 20px;
}

.methodology-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 20px;
}

.methodology-lead {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.methodology-details h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    margin-top: 24px;
}

.methodology-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.methodology-details li {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
}

.methodology-details li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #dca85b;
}

.methodology-details li strong {
    color: #ffffff;
    font-weight: 600;
}

.methodology-details .nested {
    margin-top: 12px;
    margin-left: 8px;
}

.methodology-details .nested li::before {
    content: '→';
    font-size: 0.8rem;
}

.research-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    padding: 20px;
    background: rgba(220, 168, 91, 0.05);
    border-left: 3px solid #dca85b;
    border-radius: 0 8px 8px 0;
}

/* VISUAL COMPONENTS */
.methodology-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* ACT Hexaflex Diagram */
.act-hexaflex {
    position: relative;
    width: 300px;
    height: 300px;
}

.hexaflex-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.hexaflex-item {
    position: absolute;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 30px;
    white-space: nowrap;
}

.hexaflex-item:nth-child(2) { top: 0; left: 50%; transform: translateX(-50%); }
.hexaflex-item:nth-child(3) { top: 25%; right: 0; }
.hexaflex-item:nth-child(4) { bottom: 25%; right: 0; }
.hexaflex-item:nth-child(5) { bottom: 0; left: 50%; transform: translateX(-50%); }
.hexaflex-item:nth-child(6) { bottom: 25%; left: 0; }
.hexaflex-item:nth-child(7) { top: 25%; left: 0; }

/* Depth Psychology Diagram */
.depth-diagram {
    width: 100%;
    max-width: 350px;
}

.depth-layer {
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 16px;
    text-align: center;
}

.depth-layer:last-child {
    margin-bottom: 0;
}

.depth-layer.consciousness {
    background: linear-gradient(135deg, rgba(224, 231, 255, 0.15) 0%, rgba(199, 210, 254, 0.1) 100%);
    color: #ffffff;
}

.depth-layer.personal-unconscious {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(124, 58, 237, 0.15) 100%);
    color: #ffffff;
}

.depth-layer.collective {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #ffffff;
}

.depth-layer span {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.depth-layer small {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Focusing Process */
.focusing-process {
    width: 100%;
    max-width: 350px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    flex-shrink: 0;
}

.step-content h5 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.step-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Axiology Diagram */
.axiology-model {
    width: 100%;
    max-width: 300px;
}

.axiology-dimensions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dimension {
    padding: 24px;
    border-radius: 12px;
    text-align: center;
}

.dimension span {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.dimension small {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    opacity: 0.8;
}

.dimension.intrinsic {
    background: linear-gradient(135deg, #dca85b 0%, #b8941f 100%);
    color: #040816;
}

.dimension.extrinsic {
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.08) 100%);
    color: #ffffff;
}

.dimension.systemic {
    background: linear-gradient(135deg, #0a1628 0%, #040816 100%);
    color: #ffffff;
}

/* EXPANDED STATES OF CONSCIOUSNESS */
.consciousness-states {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.state-layer {
    padding: 20px 24px;
    border-radius: 12px;
    text-align: center;
}

.state-layer span {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.state-layer small {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    opacity: 0.85;
}

.state-layer.waking {
    background: linear-gradient(135deg, rgba(224, 231, 255, 0.15) 0%, rgba(199, 210, 254, 0.1) 100%);
    color: #ffffff;
}

.state-layer.subtle {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #ffffff;
}

.state-layer.causal {
    background: linear-gradient(135deg, #dca85b 0%, #b8941f 100%);
    color: #040816;
}

.state-layer.nondual {
    background: linear-gradient(135deg, #112240 0%, #0a1628 100%);
    color: #ffffff;
}

.state-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: #dca85b;
    padding: 8px 0;
}

/* COACHING SECTION */
.coaching-section {
    background: #08172f;
}

.coaching-model {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.coaching-center {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #dca85b 0%, #b8941f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #040816;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(220, 168, 91, 0.3);
}

.coaching-principles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.principle {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid #10b981;
    border-radius: 30px;
    color: #ffffff;
}

/* INTEGRATION SECTION */
.integration-section {
    padding: 100px 5%;
    background: #1a1a2e;
}

.integration-container {
    max-width: 1000px;
    margin: 0 auto;
}

.integration-header {
    text-align: center;
    margin-bottom: 60px;
}

.integration-header .section-title {
    color: #ffffff;
}

.integration-header .section-eyebrow {
    color: #dca85b;
}

.integration-lead {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 60px;
}

.dimensions-map {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.dimension-mapping {
    padding: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
}

.dimension-mapping h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.discipline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
}

.tag.act {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.tag.depth {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

.tag.focusing {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.tag.axiology {
    background: rgba(220, 168, 91, 0.2);
    color: #dca85b;
}

.tag.transpersonal {
    background: rgba(6, 182, 212, 0.2);
    color: #22d3ee;
}

/* LIMITATIONS SECTION */
.limitations-section {
    padding: 100px 5%;
    background: #0a0e1f;
}

.limitations-container {
    max-width: 1200px;
    margin: 0 auto;
}

.limitations-header {
    text-align: center;
    margin-bottom: 60px;
}

.limitations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.limitation-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 4px solid #dca85b;
}

.limitation-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.limitation-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.limitation-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

/* RESEARCH CREDITS */
.research-credits {
    padding: 80px 5%;
    background: #040816;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.credits-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.research-credits h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.research-credits > p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.credit-item {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.credit-item strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.credit-item span {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* CTA SECTION */
.methodology-cta-section {
    position: relative;
    padding: 120px 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.methodology-cta-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, #112240 0%, #0a1628 50%, #040816 100%);
    z-index: 0;
}

.methodology-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.methodology-cta-content .section-eyebrow {
    color: #dca85b;
}

.methodology-cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 24px;
}

.methodology-cta-title span {
    display: block;
    color: #dca85b;
    font-style: italic;
}

.methodology-cta-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.primary-button.large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .framework-grid {
        grid-template-columns: 1fr;
    }

    .methodology-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .methodology-grid.reverse {
        direction: ltr;
    }

    .methodology-grid.reverse > * {
        direction: ltr;
    }

    .methodology-visual {
        order: -1;
    }

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

    .dimensions-map {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .framework-card {
        padding: 28px;
    }

    .act-hexaflex {
        width: 250px;
        height: 250px;
    }

    .hexaflex-center {
        width: 100px;
        height: 100px;
        font-size: 0.75rem;
    }

    .hexaflex-item {
        font-size: 0.75rem;
        padding: 8px 14px;
    }

    .limitations-grid {
        grid-template-columns: 1fr;
    }

    .credits-grid {
        grid-template-columns: 1fr;
    }

    .limitation-card {
        padding: 24px;
    }
}
