/* ========================================
   Tranzita - SEO Landing Pages Styles
   ======================================== */

/* --- Page Hero --- */
.page-hero {
    padding: 160px 24px 80px;
    text-align: center;
    background: var(--hero-gradient);
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.page-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 36px;
}

/* --- Page Sections --- */
.page-section {
    padding: 100px 0;
}

.page-section.alt-bg {
    background: var(--bg-secondary);
}

.content-grid {
    max-width: 800px;
    margin: 0 auto;
}

.content-main p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-main h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text-primary);
}

.content-main strong {
    color: var(--text-primary);
}

/* --- Requirements Grid --- */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.req-card {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out);
}

[data-theme="light"] .req-card {
    box-shadow: var(--shadow-sm);
}

.req-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

[data-theme="light"] .req-card:hover {
    box-shadow: var(--shadow-md);
}

.req-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--accent-light);
}

[data-theme="light"] .req-card h4 {
    color: var(--accent);
}

.req-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Timeline --- */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding: 0 0 40px 32px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color-hover);
}

.timeline-item.active::before {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow-strong);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

[data-theme="light"] .timeline-date {
    color: var(--accent);
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Related Pages Grid --- */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out);
    text-decoration: none;
}

[data-theme="light"] .related-card {
    box-shadow: var(--shadow-sm);
}

.related-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

[data-theme="light"] .related-card:hover {
    box-shadow: var(--shadow-lg);
}

.related-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

[data-theme="light"] .related-tag {
    color: var(--accent);
}

.related-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.related-card p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* --- Feature List (for content pages) --- */
.feature-list {
    list-style: none;
    margin: 24px 0;
}

.feature-list li {
    position: relative;
    padding: 12px 0 12px 32px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 16px;
    height: 16px;
    background: var(--accent-glow);
    border: 2px solid var(--accent);
    border-radius: 50%;
}

/* --- Pillar Grid (for frameworks like NIST) --- */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.pillar-card {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out);
}

[data-theme="light"] .pillar-card {
    box-shadow: var(--shadow-sm);
}

.pillar-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.pillar-number {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.pillar-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .requirements-grid,
    .pillar-grid {
        grid-template-columns: 1fr;
    }

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

    .page-hero {
        padding: 140px 24px 60px;
    }
}
