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

body, html {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background: #0a0a1a;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Header with language picker */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    z-index: 100;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.site-header-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Locale Navigation */
.locale-nav {
    display: block;
}

.locale-nav-list {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.locale-nav-item { 
    margin: 0; 
}

.locale-nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    line-height: 1;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
}

.locale-nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 1);
}

.locale-nav-link.active {
    font-weight: 700;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.locale-nav-link.active:hover {
    background: rgba(255, 255, 255, 1);
    color: #333;
}

.locale-code { 
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Main content wrapper - changed from centered flex to scrollable */
.content-wrapper {
    flex: 1;
    margin-top: 4rem;
    padding-bottom: 5rem;
    overflow-y: auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 0;
}

.hero-logo {
    height: 150px;
    width: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.subheadline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Section Styling - Alternating backgrounds */
.section {
    padding: 3rem 2rem;
    margin: 0;
}

.section-transparent {
    background: transparent;
}

.section-gray {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.section p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.feature-list li {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.25rem;
}

/* Workflow Steps */
.workflow-steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.workflow-steps li {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 0;
    padding-left: 3rem;
    position: relative;
    line-height: 1.6;
    counter-increment: step-counter;
}

.workflow-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.workflow-steps code {
    background: rgba(102, 126, 234, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Old styles for backwards compatibility - hidden by default */
.message-container {
    display: none;
}

.owl-emoji {
    display: none;
}

.coming-soon {
    display: none;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

footer a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #74b9ff;
    text-decoration: underline;
}

footer .container {
    margin: 0;
    padding: 0;
}

footer .text-center {
    margin: 0;
}

footer .text-muted {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .subheadline {
        font-size: 1.25rem;
    }

    .hero-logo {
        height: 100px;
    }

    .section {
        padding: 2rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
    
    .locale-nav-link {
        padding: 0.35rem 0.6rem;
        font-size: 0.9rem;
    }
}
