:root {
    --bg-color: #f8f9fa;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --accent-color: #3182ce;
    /* Professional Blue */
    --accent-gold: #dd6b20;
    /* Warm orange */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --container-width: 1100px;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--accent-gold));
    width: 0%;
    z-index: 1000;
}

/* Layout */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Hero Section */
#hero {
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 40px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(242, 247, 252, 0.95) 100%);
    background-size: cover;
    background-position: center;
    opacity: 1;
    transform: none;
}

.headline {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #2b6cb0 0%, #4299e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.blurb {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 40px;
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
    align-items: stretch;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.card-content {
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(49, 130, 206, 0.04));
    opacity: 0;
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-premium);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.card p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Aviation Special Styling */
#aviation .section-blurb {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 30px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .headline {
        font-size: 3rem;
    }

    .section {
        padding: 60px 0;
    }

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

/* Specific Card Backgrounds */
#card-spendy {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(242, 247, 252, 0.95) 100%);
}

#card-tradie {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(242, 247, 252, 0.95) 100%);
}

#card-rights,
#card-reviews {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(242, 247, 252, 0.95) 100%);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s forwards;
}

.animate-up-delay {
    animation: fadeInUp 0.8s 0.2s forwards;
    opacity: 0;
}

/* Travel Class Chips */
.travel-class-chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.travel-class-chip.economy {
    background: rgba(52, 211, 153, 0.15);
    color: #059669;
}

.travel-class-chip.premium-economy {
    background: rgba(96, 165, 250, 0.15);
    color: #0284c7;
}

.travel-class-chip.business {
    background: rgba(168, 85, 247, 0.15);
    color: #7c3aed;
}

footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Blog Article Styles */
.blog-article {
    max-width: 820px;
    margin: 10vh auto 80px;
    padding: 0 20px;
    overflow-x: hidden;
}

.blog-content img {
    max-width: 100%;
    height: auto;
}

.blog-header {
    margin-bottom: 50px;
}

.blog-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #2b6cb0 0%, #4299e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    line-height: 1.15;
    text-wrap: balance;
}

.blog-date {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.blog-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 50px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.blog-content h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 35px;
    margin-bottom: 14px;
}

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

.blog-content ul,
.blog-content ol {
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding-left: 24px;
    font-size: 1.05rem;
    line-height: 1.9;
}

.blog-content li {
    margin-bottom: 8px;
}

.blog-content strong,
.blog-content b {
    color: var(--text-primary);
    font-weight: 600;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--accent-color);
}

.screenshot-single {
    margin: 40px 0;
    text-align: center;
}

.screenshot-single img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-premium);
}

.img-caption {
    font-size: 0.9rem !important;
    color: var(--text-secondary);
    margin-top: 12px !important;
    font-style: italic;
}

.callout {
    background: rgba(239, 68, 68, 0.05);
    border-left: 4px solid #ef4444;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 30px 0;
}

.callout p {
    margin: 0;
    color: #991b1b;
}

.flight-meta {
    background: rgba(49, 130, 206, 0.05);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.flight-meta p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-primary);
}

/* Blog Image Figure */
.blog-image {
    margin: 40px 0;
    text-align: center;
}

.blog-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-premium);
}

.blog-image figcaption {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 12px;
    font-style: italic;
}

/* Screenshot Gallery */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
    align-items: start;
}

.screenshot-gallery>div {
    text-align: center;
}

.screenshot-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-premium);
}

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-content h2 {
        font-size: 1.4rem;
    }

    .blog-content p,
    .blog-content li {
        font-size: 1rem;
    }

    .screenshot-gallery {
        grid-template-columns: 1fr;
    }
}