:root {
    --bg-color: #0a0a0a;
    --card-bg: #121212;
    --text-main: #ffffff;
    --text-muted: #999999;
    --brand-orange: #ff6d10;
    --brand-blue: #2680a6;
    --brand-red: #ce1235;
    
    --font-main: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1.5rem;
    position: relative;
    overflow-x: hidden;
}

/* TAUSTAGLOW */
.bg-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,109,16,0.08) 0%, rgba(10,10,10,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 960px;
    width: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* HEADER & LOGO KORJAUS */
.header {
    padding: 1rem 0;
    margin-bottom: 2rem;
}

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

.logo-img {
    height: auto;
    max-height: 70px;
    width: auto;
    max-width: 100%;
    display: block;
    overflow: visible;
}

.logo-fallback {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
    display: none;
}

.logo-fallback span {
    color: var(--brand-orange);
}

/* HERO */
.hero {
    margin-bottom: 3.5rem;
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--brand-orange);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 750px;
    font-weight: 300;
    line-height: 1.7;
}

/* CANVAS CONTAINER */
.reel-container {
    margin-bottom: 4rem;
}

.reel-box {
    position: relative;
    width: 100%;
    height: 220px;
    background: #0f0f12;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

#motionCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* SERVICES GRID */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2.2rem;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.card-border.orange { background: var(--brand-orange); }
.card-border.blue { background: var(--brand-blue); }
.card-border.red { background: var(--brand-red); }

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* PARTNERS SECTION */
.partners-section {
    margin-bottom: 5rem;
    padding-top: 1rem;
}

.partners-section h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 12px;
}

.partner-logo {
    flex: 1 1 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-logo img {
    max-height: 38px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.65);
    transition: filter 0.25s ease, transform 0.25s ease;
}

.partner-logo img:hover {
    filter: brightness(0) invert(1) opacity(1);
    transform: translateY(-2px);
}

/* FOOTER / CONTACT */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    margin-top: auto;
}

.contact-box {
    margin-bottom: 3.5rem;
}

.tag {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-orange);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-box h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.email-link {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 900;
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
    border-bottom: 3px solid var(--brand-orange);
    padding-bottom: 4px;
}

.email-link:hover {
    color: var(--brand-orange);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
}

.copyright {
    font-size: 0.85rem;
    color: #555;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .hero { margin-bottom: 2rem; }
    .reel-box { height: 160px; }
    
    .partners-grid {
        justify-content: center;
        gap: 2rem 1rem;
        padding: 1.5rem 1rem;
    }
    
    .partner-logo {
        flex: 1 1 100px;
    }
    
    .partner-logo img {
        max-height: 28px;
        max-width: 100px;
    }
}