/**
 * Methodology Page Styles
 * Page-specific styles only - base patterns are in home-sections.css
 * Note: Section padding is centralized in layout.css
 */

/* Hero Section with Video Background */
.methodology-hero {
    height: 630px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.methodology-hero .hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.methodology-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.methodology-hero .container {
    text-align: center;
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.methodology-hero .hero-title-box {
    background: rgba(0, 0, 0, 0.8);
    display: inline-block;
}

.methodology-hero h1 {
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    font-size: 36px;
}

@media (min-width: 768px) {
    .methodology-hero {
        height: 630px;
    }

    .methodology-hero h1 {
        font-size: 35.2px;
        line-height: 43.12px;
    }
}

@media (min-width: 1920px) {
    .methodology-hero h1 {
        font-size: 35.2px;
        line-height: 43.12px;
    }
}

/* DNA Captions Section - Below Hero */
.dna-captions-section {
    background-color: #000;
    /* padding handled by section > .container rule */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.dna-captions-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.dna-captions {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.dna-caption-left,
.dna-caption-right {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    line-height: 1.6;
    text-align: center;
    flex: 1;
    margin: 0;
}

/* Responsive padding handled by section > .container rule */

@media (max-width: 575px) { /* mobile-sm breakpoint */
    .dna-captions {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .dna-caption-left,
    .dna-caption-right {
        text-align: center;
    }
}

/* Golden Section Overrides */
.methodology-content .comparison-heading,
.methodology-applications .comparison-heading {
    font-size: 18px;
    font-weight: bold;
    margin: 20px auto 15px;
    color: #292b2c;
    text-transform: uppercase;
}

.methodology-content .comparison-image,
.methodology-content .four-spectrum-image,
.methodology-content .face-infographic {
    margin: 30px auto;
    max-width: 800px;
}

/* ADO 8243 (Ken 11-12, item 26): the before/after picture as on the old page (READ LIST 6b item 3): 810px wide, the caption right under it. */
.methodology-content .comparison-image { max-width: 810px; margin-bottom: 0; }

.methodology-content .comparison-image img,
.methodology-content .four-spectrum-image img,
.methodology-content .face-infographic img {
    width: 100%;
    height: auto;
    display: block;
}

.methodology-content .comparison-caption {
    font-size: 16px;
    font-style: normal;
    margin-top: 8.3px;
    margin-bottom: 20px;
    line-height: 21.6px;
    color: #292b2c;
}

.methodology-content .section-tagline,
.methodology-applications .section-tagline {
    font-size: 20px;
    font-weight: 600;
    color: #292b2c;
    margin: 40px 0 20px;
}

.methodology-content .spectrum-differences-heading,
.methodology-applications .spectrum-differences-heading {
    font-size: 17px;
    font-weight: normal;
    margin: 15px 0 15px;
    color: #292b2c;
}

/* Dark Interstitial Overrides */
.spectrums-strip h2 {
    font-size: 20px;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #fff;
}

.coordinates-strip h2 {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
}

.spectrums-strip .spectrum-list p {
    margin: 5px 0;
    font-size: 16px;
}

.coordinates-strip p {
    max-width: 700px;
    margin: 0 auto 15px;
}

.coordinates-strip .coordinates-subtitle {
    margin-top: 20px;
}

/* Spectrum Boxes */
.spectrum-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    max-width: 1000px;
    margin: 30px auto 0;
    background-color: #fff;
    border: 3px solid #fff;
}

.spectrum-box {
    padding: 40px 20px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
}

.spectrum-box:hover p {
    text-decoration: underline;
}

.spectrum-box p {
    margin: 5px 0;
    font-size: 16px;
    color: #fff;
}

.spectrum-1-box {
    background-color: #6b7280;
}

.spectrum-2-box {
    background-color: #00013b;
}

.spectrum-3-box {
    background-color: #1e40af;
}

.spectrum-4-box {
    background-color: #4b5563;
}

@media (max-width: 767px) { /* mobile breakpoint */
    .spectrum-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Spectrum Examples */
.spectrum-examples {
    margin: 30px 0;
    text-align: left;
}

.spectrum-examples p {
    margin-bottom: 15px;
    text-align: center;
}

/* Spectrum Color Headings */
.spectrum-1-color {
    color: #6b7280;
    font-weight: bold;
}

.spectrum-2-color {
    color: #00013b;
    font-weight: bold;
}

.spectrum-3-color {
    color: #1e40af;
    font-weight: bold;
}

.spectrum-4-color {
    color: #4b5563;
    font-weight: bold;
}

/* Woman Glasses Image */
.woman-glasses-image {
    margin: 30px auto;
    max-width: 800px;
}

.woman-glasses-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Application Examples */
.methodology-applications {
}

.application-examples {
    margin-bottom: 30px;
    text-align: left;
}

.application-examples p {
    margin-bottom: 15px;
}

/* Blue Tagline Section */
.blue-tagline-section {
    background-color: #9cc6fb;
    /* padding handled by section > .container rule */
    text-align: center;
}

.blue-tagline-section p {
    font-size: 26px;
    font-weight: 600;
    color: #292b2c;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

/* Life Arenas Title Section */
.life-arenas-title {
    padding-bottom: 30px;
}

.life-arenas-title h2 {
    font-size: 25px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: #292b2c;
    margin: 0;
}

/* Life Arenas Image */
.applications-strip {
    padding: 0;
}

.life-arenas-image {
    width: 100%;
    max-width: 100%;
    line-height: 0;
}

.life-arenas-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Blue App Section */
.blue-app-section {
    background-color: #9cc6fb;
    /* padding handled by section > .container rule */
}

.blue-app-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

.blue-app-section .app-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.blue-app-section .app-text-content {
    flex: 1;
}

.blue-app-section .app-text-content h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #292b2c;
}

.blue-app-section .steps-intro {
    font-size: 17px;
    font-weight: normal;
    margin-bottom: 20px;
}

.blue-app-section .app-phone-image {
    flex-shrink: 0;
    width: 250px;
}

.blue-app-section .app-phone-image img {
    width: 100%;
    height: auto;
}

.blue-app-section p {
    color: #292b2c;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Steps List */
.steps-list {
    margin: 30px 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.step-number {
    font-size: 24px;
    font-weight: bold;
    color: #292b2c;
    min-width: 30px;
}

.step-item p {
    margin: 0;
    font-size: 18px;
}

@media (max-width: 767px) { /* mobile breakpoint */
    .blue-app-section .app-content-wrapper {
        flex-direction: column;
    }

    .blue-app-section .app-phone-image {
        width: 200px;
        margin: 0 auto;
    }
}

@media (min-width: 768px) { /* tablet breakpoint - min */
    .blue-app-section .app-text-content h3 {
        font-size: 28px;
    }
}

/* Coordinates Swatches */
.coordinates-swatches {
    padding-top: 0;
    padding-bottom: 20px;
}

.swatch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 30px;
}

.swatch-item {
    text-align: center;
}

.swatch-title {
    color: #ffe29e;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.swatch-title-link {
    display: block;
    color: #ffe29e;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
    text-decoration: none;
}

.swatch-title-link:hover {
    text-decoration: underline;
}

.swatch-item a {
    display: block;
    text-decoration: none;
}

.swatch-item img {
    width: 100%;
    max-width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.swatch-label {
    display: block;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    padding: 8px;
    margin-top: -5px;
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
}

.swatch-caption {
    font-size: 16px;
    color: #ffe29e;
    margin-bottom: 20px;
    font-style: normal;
}

.coordinates-swatches p {
    max-width: 800px;
    margin: 0 auto 15px;
    color: #fff;
}

.coordinates-swatches .blue-link {
    color: #5b9bd5;
}

.coordinates-swatches .blue-link:hover {
    text-decoration: underline;
}

@media (max-width: 767px) { /* mobile breakpoint */
    .swatch-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Final CTA Section */
.methodology-final-cta {
    text-align: center;
    /* padding handled by section > .container rule */
}

.methodology-final-cta p {
    font-size: 18px;
    margin-bottom: 20px;
}

.methodology-final-cta .app-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.methodology-final-cta .app-badges img {
    height: 45px;
    width: auto;
}

.methodology-final-cta .app-note {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .methodology-content .section-tagline,
    .methodology-applications .section-tagline {
        font-size: 22px;
    }

    .spectrums-strip h2,
    .coordinates-strip h2 {
        font-size: 24px;
    }

    .spectrums-strip h2 { font-size: 20.8px; line-height: 31.2px; }

    .life-arenas-title h2 {
        font-size: 24px;
    }

    .methodology-applications {
    }

}
