:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --text-primary: #f0f0f5;
    --text-secondary: #8888a0;
    --text-muted: #55556a;
    --accent-primary: #e85a4f;
    --accent-secondary: #4ecdc4;
    --accent-tertiary: #ffe66d;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gradient-1: linear-gradient(135deg, #e85a4f 0%, #ff8a5b 50%, #ffe66d 100%);
    --gradient-2: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    --shadow-glow: 0 0 60px rgba(232, 90, 79, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Aurora Background Effect */
.aurora {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(232, 90, 79, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(78, 205, 196, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 80%, rgba(255, 230, 109, 0.04) 0%, transparent 50%);
    animation: aurora 20s ease-in-out infinite alternate;
}

@keyframes aurora {
    0% { opacity: 0.6; transform: scale(1) translateY(0); }
    100% { opacity: 1; transform: scale(1.1) translateY(-20px); }
}

/* Grain Texture */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.brand-text {
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Main Content */
main {
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 8rem 4rem 4rem;
    gap: 4rem;
}

.hero-badge {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-secondary);
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Hero Visual - Orb */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb-inner {
    width: 160px;
    height: 160px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 
        0 0 60px rgba(232, 90, 79, 0.4),
        0 0 120px rgba(232, 90, 79, 0.2),
        inset 0 0 40px rgba(255, 255, 255, 0.1);
    animation: pulse 4s ease-in-out infinite;
}

.orb-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: brightness(1.1);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.orb-ring {
    position: absolute;
    border: 1px solid rgba(232, 90, 79, 0.3);
    border-radius: 50%;
    animation: ring-expand 3s ease-out infinite;
}

.orb-ring.delay-1 { animation-delay: 1s; }
.orb-ring.delay-2 { animation-delay: 2s; }

@keyframes ring-expand {
    0% {
        width: 160px;
        height: 160px;
        opacity: 0.8;
    }
    100% {
        width: 320px;
        height: 320px;
        opacity: 0;
    }
}

/* Sections */
.section {
    padding: 6rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.section-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent-primary);
    opacity: 0.7;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Glass Effect */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.about-card {
    padding: 2.5rem;
}

.finnish-word {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.finnish-word .word {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pronunciation {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: var(--text-muted);
}

.finnish-origin {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.about-card blockquote {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    border-left: 2px solid var(--accent-secondary);
    padding-left: 1.5rem;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-content em {
    color: var(--accent-secondary);
    font-style: normal;
    font-weight: 500;
}

/* Capabilities */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.capability-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.capability-card:hover {
    border-color: rgba(232, 90, 79, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.capability-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.capability-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

/* Philosophy */
.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.quote-block {
    padding: 3rem;
}

.quote-block blockquote {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.quote-block cite {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: normal;
}

.principles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.principle {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.principle-marker {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    margin-top: 0.6rem;
    flex-shrink: 0;
}

.principle h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

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

/* CTA Section */
.cta-section {
    padding: 8rem 4rem;
}

.cta-content {
    text-align: center;
    padding: 4rem;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-1);
    color: var(--bg-primary);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(232, 90, 79, 0.3);
}

.cta-button .arrow {
    transition: transform 0.2s ease;
}

.cta-button:hover .arrow {
    transform: translateX(4px);
}

/* Footer */
.footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--glass-border);
    padding: 3rem 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 6rem 2rem 4rem;
    }
    
    .hero-description {
        margin: 0 auto 3rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .orb {
        width: 240px;
        height: 240px;
    }
    
    .orb-inner {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    
    .nav {
        padding: 1rem 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .section {
        padding: 4rem 2rem;
    }
    
    .about-grid,
    .philosophy-content {
        grid-template-columns: 1fr;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
}
