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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container - constrains content width */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Header - full-width background, content constrained */
.site-header {
    background: #010B21;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-titles {
    display: flex;
    flex-direction: column;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo-link {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 40px;
    width: auto;
    transition: opacity 0.2s;
}

.header-logo-link:hover .header-logo {
    opacity: 0.85;
}

.site-header h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    transition: opacity 0.3s ease;
}

/* Nav link styles */
.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link-disabled {
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    pointer-events: none;
}

/* Header CTA - hidden until scrolled */
.header-cta {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.header-cta.visible {
    opacity: 1;
    pointer-events: auto;
}

.tagline {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

section {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

section h2 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.hero-image {
    float: left;
    width: 20%;
    height: auto;
    border-radius: 8px;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.hero-text {
    overflow: hidden;
}

.hero ul {
    margin-left: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.features ul {
    list-style: none;
    padding: 0;
}

.features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.features li:last-child {
    border-bottom: none;
}

.promo-content {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.get-started {
    text-align: left;
}

.get-started p {
    color: #666;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.version-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.version-card {
    border: 2px solid #e0e0e0;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.version-card h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.version-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.version-label.stable {
    background: #10b981;
    color: white;
}

.version-label.beta {
    background: #f59e0b;
    color: white;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #f59e0b;
    color: white;
}

.btn-secondary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

.about a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.about a:hover {
    text-decoration: underline;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h3 {
    color: #333;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Footer - full-width background, content constrained */
.site-footer {
    background: #1f2937;
    color: #e2e8f0;
    padding: 1.5rem 0;
    margin-top: auto;
}

.site-footer .container {
    /* Container handles max-width and centering */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
    font-size: 0.875rem;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}

.copyright,
.service-text {
    margin: 0;
}

.footer-link {
    color: #90cdf4;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #63b3ed;
    text-decoration: underline;
}

.separator {
    margin: 0 0.5rem;
    color: #e2e8f0;
}

@media (max-width: 900px) {
    .tagline {
        font-size: 0.75rem;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
    }

    .header-nav {
        gap: 0.5rem;
    }

    .header-cta {
        font-size: 0.85rem;
        padding: 0.5rem 0.85rem;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .header-left {
        gap: 0.4rem;
    }

    .site-header h1 {
        font-size: 1rem;
    }

    .header-logo {
        height: 24px;
    }

    .site-header h1.mobile-hidden {
        display: none;
    }

    .header-nav {
        gap: 0.5rem;
    }

    .header-cta {
        display: none;
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
        line-height: 1.1;
        text-align: center;
    }

    .header-cta.visible {
        display: inline-block;
    }

    .header-cta.mobile-centered {
        position: static;
        margin: 0 auto;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
        text-align: center;
    }

    .tagline {
        display: none;
    }

    section {
        padding: 1.5rem;
    }

    .get-started h2 {
        display: none;
    }

    .get-started strong {
        display: none;
    }

    .get-started p {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
        font-size: 0.75rem;
    }

    .site-footer {
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .hero-image {
        float: none;
        display: block;
        width: 100px;
        margin: 0 auto 1rem auto;
    }
}
