/* 
 * Stylesheet for the premium Apple-style front page.
 * Theme: GeneratePress Child
 */

/* Containers and Spacing */
.apple-container {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.apple-section {
    padding: 120px 0;
    box-sizing: border-box;
}

.apple-section.alt-bg {
    background-color: var(--apple-light-gray);
}

/* Category Labels & Section Headings */
.hero-category-label,
.section-category-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--apple-gray);
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-top: 0;
    margin-bottom: 24px;
    color: var(--apple-black);
}

.section-subtitle {
    font-size: 19px;
    line-height: 1.45;
    color: var(--apple-gray);
    margin-top: 0;
    margin-bottom: 48px;
    font-weight: 400;
}

/* --- HERO SECTION --- */
.hero-section {
    padding-top: 100px;
    padding-bottom: 120px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 64px;
    align-items: center;
}

.hero-title {
    font-size: 64px;
    line-height: 1.06;
    font-weight: 700;
    letter-spacing: -0.035em;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--apple-black);
}

.hero-tagline {
    font-size: 26px;
    font-weight: 500;
    color: var(--apple-gray);
    margin-top: 0;
    margin-bottom: 36px;
    letter-spacing: -0.015em;
}

.hero-description p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--apple-dark-gray);
    margin-bottom: 20px;
}

.hero-callout {
    font-size: 20px;
    font-weight: 600;
    color: var(--apple-black);
    border-left: 3px solid var(--apple-blue);
    padding-left: 18px;
    margin-top: 28px !important;
    margin-bottom: 0 !important;
}

.hero-actions {
    margin-top: 48px;
}

.hero-actions .apple-btn {
    padding: 14px 28px;
    font-size: 16px;
}

/* Hero Portrait Card */
.hero-portrait-card {
    position: relative;
    padding: 8px;
    background-color: #ffffff;
    border: 1px solid var(--apple-border);
    border-radius: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.portrait-card-inner {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--apple-light-gray);
}

.author-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-portrait-card:hover .author-photo {
    transform: scale(1.04);
}

/* --- CONCEPT SECTION (Centered & Stacked layout) --- */
.concept-container {
    max-width: 880px;
}

.concept-header {
    text-align: center;
    margin-bottom: 40px;
}

.concept-content {
    font-size: 17px;
    line-height: 1.62;
    color: var(--apple-dark-gray);
    max-width: 720px;
    margin: 0 auto 48px auto;
}

.concept-content p {
    margin-bottom: 18px;
}

.concept-content .lead-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--apple-black);
    margin-bottom: 24px;
}

.concept-content strong {
    color: var(--apple-black);
}

.flow-diagram-wrapper {
    max-width: 880px;
    margin: 0 auto 48px auto;
}

/* SVG Flow Diagram Card */
.flow-diagram-card {
    background-color: #ffffff;
    border: 1px solid var(--apple-border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.flow-svg-diagram {
    width: 100%;
    height: auto;
    display: block;
}

.concept-actions {
    text-align: center;
    margin-top: 36px;
}

.concept-actions .apple-btn {
    padding: 12px 28px;
    font-size: 15px;
}

/* --- PASSPORT PRODUCT SECTION (Apple-Style Clean Layout) --- */
.passport-product-section {
    background-color: #ffffff;
}

.passport-product-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 72px;
    align-items: center;
}

.product-category-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--apple-gray);
    margin-bottom: 16px;
}

.product-title {
    font-size: 48px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--apple-black);
}

.product-subheadline {
    font-size: 19px;
    line-height: 1.45;
    color: var(--apple-black);
    margin-top: 0;
    margin-bottom: 36px;
    font-weight: 400;
}

.subheadline-secondary {
    display: block;
    font-size: 16px;
    color: var(--apple-gray);
    margin-top: 10px;
}

.product-value-points {
    list-style: none;
    padding: 0;
    margin: 0 0 36px 0;
}

.product-value-points li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--apple-dark-gray);
    margin-bottom: 16px;
}

.product-value-points li:last-child {
    margin-bottom: 0;
}

.product-value-points strong {
    color: var(--apple-black);
}

.value-point-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.product-meta-line {
    font-size: 14px;
    line-height: 1.4;
    color: var(--apple-gray);
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.meta-dot {
    color: var(--apple-border);
    font-weight: bold;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 12px;
}

.product-actions .apple-btn.secondary-btn {
    font-size: 15px;
    display: inline-flex;
    align-items: center;
}

.product-actions .apple-btn.secondary-btn::after {
    content: " →";
    transition: transform 0.2s ease;
}

.product-actions .apple-btn.secondary-btn:hover::after {
    transform: translateX(3px);
}

.product-small-note {
    font-size: 12px;
    color: var(--apple-gray);
    margin-top: 14px;
    margin-bottom: 0;
}

/* PDF Mockup Card CSS */
.passport-product-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.passport-report-card {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border: 1px solid var(--apple-border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.passport-report-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.07);
}

.report-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--apple-border);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.report-doc-badge {
    background-color: #ff3b30;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    padding: 5px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    line-height: 1;
}

.report-doc-meta {
    display: flex;
    flex-direction: column;
}

.doc-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--apple-black);
    letter-spacing: -0.01em;
}

.doc-size {
    font-size: 12px;
    color: var(--apple-gray);
    margin-top: 3px;
}

.report-card-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-param-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.param-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.param-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--apple-dark-gray);
}

.param-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--apple-blue);
}

.param-track {
    height: 6px;
    background-color: var(--apple-light-gray);
    border-radius: 3px;
    overflow: hidden;
}

.param-fill {
    height: 100%;
    background-color: var(--apple-blue);
    border-radius: 3px;
}

.report-card-footer {
    margin-top: 24px;
    border-top: 1px solid var(--apple-border);
    padding-top: 20px;
    text-align: center;
}

.report-check-status {
    font-size: 12px;
    color: var(--apple-gray);
    font-weight: 500;
}

/* --- NEWS SECTION --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.news-card {
    background-color: #ffffff;
    border: 1px solid var(--apple-border);
    border-radius: 20px;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.2s ease;
}

.news-card:hover {
    border-color: #a2a2a7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--apple-gray);
    margin-bottom: 14px;
}

.news-title {
    font-size: 21px;
    line-height: 1.25;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 14px;
}

.news-title a {
    color: var(--apple-black);
    text-decoration: none !important;
}

.news-title a:hover {
    color: var(--apple-blue);
}

.news-excerpt {
    font-size: 15px;
    line-height: 1.55;
    color: var(--apple-dark-gray);
    margin-bottom: 24px;
    flex-grow: 1;
}

.news-more-link {
    color: var(--apple-blue);
    font-weight: 500;
    text-decoration: none !important;
    font-size: 14px;
    align-self: flex-start;
}

.news-more-link:hover {
    text-decoration: underline !important;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 900px) {
    .apple-section {
        padding: 80px 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .hero-tagline {
        font-size: 21px;
        margin-bottom: 24px;
    }
    
    .hero-callout {
        border-left: none;
        border-top: 2px solid var(--apple-blue);
        padding-left: 0;
        padding-top: 18px;
        display: inline-block;
    }
    
    .hero-portrait-card {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .flow-diagram-card {
        padding: 20px 14px;
        overflow-x: auto;
    }
    
    .flow-svg-diagram {
        min-width: 600px; /* Enable horizontal scrolling on mobile to keep thin diagrams legible */
    }
    
    .passport-product-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .product-title {
        font-size: 36px;
    }
    
    .passport-report-card {
        margin: 0 auto;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .news-card {
        padding: 32px 24px;
    }
}
