:root {
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --text-muted: #64748b;
    --accent-primary: #0ea5e9;
    --accent-secondary: #6366f1;
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);

    --font-main: 'Outfit', sans-serif;
    --container-width: 1000px;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
.header {
    padding: var(--spacing-md) 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: inline-block;
}

.logo:hover {
    transform: scale(1.02);
    opacity: 0.8;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
}

/* Gradient Button */
.btn-gradient {
    background: var(--gradient-blue);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease;
    /* pure flat, no shadow */
}

.btn-gradient:hover {
    opacity: 0.9;
}

.lang-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    margin-left: 5px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 220px;
    /* More light above H1 */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
    text-align: left;
    /* Aligns text lines to the left */
    display: inline-block;
    /* Makes the H1 block behave like an element to be centered by the parent */
}

.hero h1 .highlight {
    color: #0ea5e9;
}

/* CTA & Tagline */
.cta-wrapper {
    margin-bottom: var(--spacing-lg);
}

.btn-hero {
    font-size: 1.25rem;
    padding: 16px 40px;
    display: inline-block;
    margin-bottom: 16px;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Status List */
.content-block {
    text-align: left;
    max-width: 500px;
    margin: 0 auto var(--spacing-lg) auto;
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.status-intro {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.status-list li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: #334155;
}

.status-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: #0ea5e9;
    border-radius: 50%;
}

/* Info Block */
.info-block {
    margin-bottom: var(--spacing-lg);
}

.info-item {
    font-size: 1.1rem;
    color: #334155;
    margin-bottom: 10px;
}

.info-highlight {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 20px;
}

/* Background Glow */
.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

/* Pre-Footer */
.pre-footer {
    padding-top: 30px;
    padding-bottom: 65px;
    text-align: center;
    background: transparent;
}

/* Footer Improvements */
.footer {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    text-align: center;
    background: #f8fafc;
    margin-top: 0;
}

.footer-links.horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: var(--spacing-md);
}

.footer-links li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.footer-links li a:hover {
    color: var(--accent-primary);
}

.footer-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-primary);
    transition: width 0.2s;
}

.footer-links li a:hover::after {
    width: 100%;
}

.copyright {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 2.5rem;
        /* H1 Centering Override for Mobile */
        text-align: center !important;
        display: block !important;
        width: 100%;
    }

    .content-block {
        padding: 24px;
    }

    .nav-right {
        display: none;
    }

    .footer-links.horizontal {
        flex-direction: column;
        gap: 16px;
    }

    /* Mobile Header: PL link as button */
    .nav-right .lang-text {
        display: inline-block;
        background-color: #f1f5f9;
        /* Slate 100 - light gray/blueish */
        color: var(--text-color);
        padding: 10px 24px;
        /* EXACT MATCH to .btn-gradient */
        border-radius: 50px;
        margin-left: 4px;
        /* Reduced from 10px to be "closer" */
        font-weight: 600;
        text-decoration: none;
        transition: background-color 0.2s;
    }

    .nav-right .lang-text:hover {
        background-color: #e2e8f0;
        /* Slate 200 */
    }

    /* Fix Mobile Overflow */
    .hero-bg-glow {
        width: 100%;
        height: 100%;
        max-width: 100vw;
    }

    .container,
    .hero-content,
    .content-block {
        width: 100%;
        max-width: 100%;
    }
}

/* Article Styles */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding-bottom: var(--spacing-lg);
}

.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #e2e8f0;
    border-radius: 20px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.video-placeholder {
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.play-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    opacity: 0.8;
}

.article-content h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-content p {
    font-size: 1.15rem;
    color: #334155;
    margin-bottom: 20px;
    line-height: 1.7;
}

.article-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.article-content li {
    font-size: 1.15rem;
    color: #334155;
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}

.article-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 50%;
}

.blue-box {
    background: #f0f9ff;
    border-left: 4px solid var(--accent-primary);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.blue-box p {
    margin-bottom: 0;
    color: #0c4a6e;
    font-weight: 500;
}

/* === DEMO PAGE OVERRIDES (Integrated) === */

/* Footer overrides */
.footer-demo-text {
    color: #0ea5e9;
    /* Blue text */
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* New intro text style */
.intro-text-header {
    font-size: 1.25rem;
    color: #334155;
    font-weight: 500;
    margin-bottom: 5px;
    /* Close to the status intro */
}