/* Guide Page Specific Styles */

/* Guide Hero */
.guide-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
    color: white;
    text-align: center;
}

.guide-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.guide-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.guide-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1rem;
}

.guide-meta span {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
}

/* Table of Contents */
.toc-section {
    background: var(--bg-light);
}

.toc-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.toc-box h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

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

.toc-list li {
    margin-bottom: 0.8rem;
}

.toc-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.05rem;
    transition: var(--transition);
    display: block;
    padding: 8px 15px;
    border-radius: 8px;
}

.toc-list a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Content Sections */
.guide-content {
    background: white;
    padding: 80px 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}

.content-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.content-section h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.content-section h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.content-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
    line-height: 1.8;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

/* Visual Box */
.visual-box {
    margin: 2rem 0;
    background: #f0f8ff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.visual-box svg {
    width: 100%;
    height: auto;
    max-height: 400px;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    margin: 2rem 0;
    border-radius: 10px;
}

.highlight-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 1;
    box-shadow: 0 0 0 5px white;
}

.timeline-content {
    flex: 1;
    margin-left: 30px;
    background: var(--bg-light);
    padding: 20px 25px;
    border-radius: 10px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin: 0 0 0.8rem 0;
    font-size: 1.3rem;
}

.timeline-content p {
    margin: 0;
    line-height: 1.6;
}

/* Theory Grid */
.theory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 2rem 0;
}

.theory-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
}

.theory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.theory-card h3 {
    color: var(--text-dark);
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
}

.theory-card p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

/* Comparison Table */
.comparison-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: var(--bg-light);
}

/* Info Boxes */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 2rem 0;
}

.info-box {
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid;
}

.info-box.blue {
    background: #e3f2fd;
    border-color: #2196f3;
}

.info-box.green {
    background: #e8f5e9;
    border-color: #4caf50;
}

.info-box h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
}

.info-box p {
    margin: 0;
}

/* Types Grid */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.type-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--secondary-color);
}

.type-item h4 {
    margin: 0 0 0.8rem 0;
    color: var(--secondary-color);
}

.type-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* Benefits Detailed */
.benefits-detailed {
    margin: 3rem 0;
}

.benefit-detail {
    background: white;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-detail h3 {
    margin: 0 0 1.5rem 0;
    color: var(--primary-color);
}

.benefit-detail ul {
    margin: 0;
}

.benefit-detail li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

/* Research Box */
.research-box {
    background: #fff3e0;
    border: 2px solid #ff9800;
    border-radius: 12px;
    padding: 30px;
    margin: 3rem 0;
}

.research-box h3 {
    color: #f57c00;
    margin: 0 0 1.5rem 0;
}

.research-box ul {
    margin: 0;
}

.research-box li {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Age Range */
.age-range {
    margin: 2rem 0;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
}

.age-range h3 {
    margin: 0 0 2rem 0;
    text-align: center;
}

.age-scale {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 10px;
}

.age-segment {
    flex: 1;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.age-segment.optimal {
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    color: white;
}

.age-segment.suitable {
    background: linear-gradient(135deg, #ff9800, #ffc107);
    color: white;
}

.age-segment .age {
    font-size: 1.5rem;
    font-weight: bold;
}

.age-segment .label {
    font-size: 0.9rem;
}

/* Suitable Conditions */
.suitable-conditions {
    margin: 3rem 0;
}

.condition-category {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.condition-category h4 {
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
}

.condition-category ul {
    margin: 0;
    columns: 2;
    column-gap: 30px;
}

.condition-category li {
    break-inside: avoid;
}

/* CTA Styles */
.cta-inline {
    background: linear-gradient(135deg, #4a90e2, #667eea);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: center;
}

.cta-inline p {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cta-box-modern {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin: 4rem 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.3);
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-box-modern h3 {
    color: white;
    margin: 0 0 1rem 0;
    font-size: 2rem;
}

.cta-box-modern p {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    display: inline-block;
    transition: var(--transition);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-box-urgent {
    background: white;
    border: 3px solid #e74c3c;
    padding: 40px;
    border-radius: 15px;
    margin: 4rem 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.2);
}

.urgency-badge {
    background: #e74c3c;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.cta-box-urgent h3 {
    color: #e74c3c;
    margin: 0 0 1rem 0;
    font-size: 2rem;
}

.cta-box-urgent p {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-primary-large {
    background: #e74c3c;
    color: white;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.cta-note {
    color: var(--text-light);
    font-size: 0.95rem;
}

.assessment-cta {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
}

.assessment-cta h3 {
    color: white;
    margin: 0 0 1rem 0;
    font-size: 1.8rem;
}

.assessment-cta p {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.trust-signals {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.trust-signals span {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Continue Reading */
.continue-reading {
    text-align: center;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 10px;
    margin: 3rem 0;
}

/* Active Nav Link */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Logo Link */
.logo a {
    text-decoration: none;
    color: inherit;
}

/* Responsive */
@media (max-width: 768px) {
    .guide-title {
        font-size: 2rem;
    }

    .guide-subtitle {
        font-size: 1.1rem;
    }

    .guide-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

    .timeline::before {
        left: 40px;
    }

    .timeline-marker {
        width: 60px;
        height: 60px;
        font-size: 0.8rem;
    }

    .timeline-content {
        margin-left: 20px;
    }

    .theory-grid,
    .info-boxes,
    .types-grid {
        grid-template-columns: 1fr;
    }

    .age-scale {
        flex-direction: column;
    }

    .condition-category ul {
        columns: 1;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }

    .trust-signals {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-box-modern h3,
    .cta-box-urgent h3 {
        font-size: 1.5rem;
    }
}

