@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&family=Manrope:wght@400;600;800&display=swap');

:root {
    --bg-color: #FAF7F1;
    --card-bg: #FFFFFF;
    --border-color: #E8E0D2;
    --text-main: #17272A;
    --text-muted: #66756F;
    --primary-teal: #0F6159;
    --tangerine: #E9692F;
    --panel-bg: #F0E9DD;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    color: var(--text-main);
}

.display-headline {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 24px;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: color 200ms ease;
}
a:hover {
    color: #0b4a44;
}

/* Header */
header {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.wordmark {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-main);
    text-transform: lowercase;
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}
nav .nav-links a {
    font-weight: 600;
    color: var(--text-main);
}
nav .nav-links a:hover {
    color: var(--primary-teal);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-teal);
    color: #fff;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 600;
    transition: all 200ms ease;
    border: 1px solid var(--primary-teal);
    cursor: pointer;
    text-align: center;
}
.btn:hover {
    background-color: #0b4a44;
    border-color: #0b4a44;
    color: #fff;
    transform: translateY(-1px);
}
.btn-ghost {
    background-color: transparent;
    color: var(--primary-teal);
}
.btn-ghost:hover {
    background-color: var(--primary-teal);
    color: #fff;
}

/* Tags */
.tag {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--primary-teal);
    border-radius: 999px;
    font-size: 12px;
    color: var(--primary-teal);
    margin-bottom: 16px;
}
.tag.alert {
    border-color: var(--tangerine);
    color: var(--tangerine);
}

/* Boarding Pass Cards */
.boarding-pass {
    display: flex;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(23,39,42,0.06);
    transition: transform 200ms ease, box-shadow 200ms ease;
    text-align: left;
}
.boarding-pass:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(23,39,42,0.1);
}

.bp-main {
    flex: 1;
    padding: 32px;
}

.bp-divider {
    width: 0;
    border-left: 2px dashed var(--border-color);
    position: relative;
    flex-shrink: 0;
}
.bp-divider::before, .bp-divider::after {
    content: '';
    position: absolute;
    left: -13px;
    width: 24px;
    height: 12px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    z-index: 2;
}
.bp-divider::before {
    top: -1px;
    border-top: none;
    border-radius: 0 0 12px 12px;
}
.bp-divider::after {
    bottom: -1px;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.bp-stub {
    width: 160px;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
}

/* Sections */
.hero {
    padding: 100px 5%;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Card internals */
.card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-main);
}
.card-desc {
    color: var(--text-muted);
    font-size: 1rem;
}
.gate-code {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.1rem;
    color: var(--primary-teal);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.pricing-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    font-family: 'IBM Plex Mono', monospace;
}
.pricing-features {
    list-style: none;
    margin-bottom: 20px;
}
.pricing-features li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 12px;
}
.pricing-features li:last-child {
    border-bottom: none;
}

/* Imagery Box */
.image-panel {
    background-color: var(--panel-bg);
    border-radius: 10px;
    height: 120px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.flight-path {
    width: 100%;
    height: 100%;
    position: absolute;
}
.flight-path path {
    stroke: var(--primary-teal);
    stroke-width: 2;
    stroke-dasharray: 8, 8;
    fill: none;
    opacity: 0.4;
}

/* Footer */
footer {
    padding: 60px 5% 40px;
    text-align: center;
    border-top: 1px dashed var(--border-color);
    margin-top: 80px;
}
footer .footer-links {
    margin-bottom: 24px;
}
footer .footer-links a {
    color: var(--text-muted);
    margin: 0 15px;
    font-weight: 600;
}
footer .footer-links a:hover {
    color: var(--primary-teal);
}
footer .copyright {
    color: var(--text-muted);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Base Content Pages */
.page-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 5%;
}
.page-container h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}
.page-container h3 {
    font-size: 1.5rem;
    margin: 40px 0 15px;
}
.page-container p, .page-container ul {
    color: var(--text-muted);
    margin-bottom: 16px;
}
.page-container ul {
    padding-left: 20px;
}
.page-container li {
    margin-bottom: 10px;
}

/* Article Pages Extensions */
.article-container {
    max-width: 800px;
    margin: 40px auto;
}
.breadcrumb {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-transform: uppercase;
}
.breadcrumb a {
    color: var(--primary-teal);
    text-decoration: underline;
}
.article-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--border-color);
}
.article-body h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: var(--text-main);
}
.article-body h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--text-main);
}
.article-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-main);
}
.article-body ul, .article-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
}
.article-body li {
    margin-bottom: 10px;
}
.article-body strong {
    font-weight: 800;
    color: var(--text-main);
}
.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px dashed var(--border-color);
}
.related-posts h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .boarding-pass {
        flex-direction: column;
    }
    .bp-divider {
        width: 100%;
        height: 0;
        border-left: none;
        border-top: 2px dashed var(--border-color);
    }
    .bp-divider::before, .bp-divider::after {
        left: auto;
        top: -13px;
        width: 12px;
        height: 24px;
        border-radius: 12px;
    }
    .bp-divider::before {
        left: -1px;
        border-left: none;
        border-radius: 0 12px 12px 0;
    }
    .bp-divider::after {
        right: -1px;
        border-right: none;
        border-radius: 12px 0 0 12px;
    }
    .bp-stub {
        width: 100%;
        padding: 24px;
    }
    header {
        flex-direction: column;
        gap: 20px;
    }
    nav .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .hero-buttons {
        flex-direction: column;
    }
}

html { scroll-behavior: smooth; }
.next-article-nav { margin-top: 40px; padding: 30px; background: var(--card-bg); border: 1px dashed var(--border-color); border-radius: 14px; display: flex; flex-direction: column; align-items: flex-start; transition: transform 200ms ease, box-shadow 200ms ease; }
.next-article-nav:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(23,39,42,0.06); border-color: var(--primary-teal); }
.next-article-link { font-size: 1.4rem; font-weight: 800; color: var(--primary-teal); margin-top: 8px; display: block; }
.floating-back-btn { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background-color: var(--primary-teal); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(15, 97, 89, 0.3); transition: transform 200ms ease, background-color 200ms ease; z-index: 1000; }
.floating-back-btn:hover { transform: translateY(-3px); background-color: #0b4a44; color: #fff; }
