* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Päävärit */
    --primary-orange: #ff6b35;
    --secondary-orange: #ff8c42;
    --dark-orange: #e85d2a;
    
    /* Harmaat/taustat */
    --black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --light-gray: #3a3a3a;
    --white: #ffffff;
    --text-gray: #cccccc;
    
    /* Komponenttien taustat - SÄÄDÄ TÄÄLTÄ */
    --navbar-bg: #000000fb;
    --hero-bg:rgba(0, 0, 0, 0.644);
    --features-bg: rgba(0, 0, 0, 0.397);
    --contact-bg: rgba(0, 0, 0, 0.397);
    --footer-bg: #0f0f0f;
    
    /* Gradienttitaustat */
    --tausta1: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(255, 140, 66, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    --tausta2: 
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 107, 53, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 0% 80%, rgba(232, 93, 42, 0.08) 0%, transparent 40%),
        linear-gradient(160deg, #000000 0%, #0d0d0d 100%);

    /* Stable viewport unit for particle animation (set once via JS) */
    --stable-vh: 1vh;
    --particle-rise-distance: calc(var(--stable-vh) * -100);
}

html {
    scroll-behavior: smooth;
    height: auto;
    min-height: 100%;
    overflow-y: auto;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0e0e0e;
    color: var(--white);
    overflow-x: hidden;
    overflow-y: auto;
    line-height: 1.6;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch;
}

/* ==========================================
   FLOATING PARTICLES ANIMATION
   ========================================== */

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(var(--stable-vh) * 100);
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.9), rgba(255, 140, 66, 0.5), transparent);
    border-radius: 50%;
    bottom: -10px;
    opacity: 0;
    animation: particleRise 20s ease-out infinite;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.6);
}

/* Varioi jokaisen partikkelin */
.particle:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 18s; animation-name: particleRise1; }
.particle:nth-child(2) { left: 15%; animation-delay: 4.8s; animation-duration: 22s; width: 3px; height: 3px; animation-name: particleRise2; }
.particle:nth-child(3) { left: 25%; animation-delay: 9.6s; animation-duration: 20s; width: 5px; height: 5px; animation-name: particleRise3; }
.particle:nth-child(4) { left: 35%; animation-delay: 14.4s; animation-duration: 24s; animation-name: particleRise4; }
.particle:nth-child(5) { left: 45%; animation-delay: 19.2s; animation-duration: 16s; width: 3px; height: 3px; animation-name: particleRise5; }
.particle:nth-child(6) { left: 55%; animation-delay: 1.2s; animation-duration: 23s; animation-name: particleRise1; }
.particle:nth-child(7) { left: 65%; animation-delay: 6s; animation-duration: 19s; width: 4px; height: 4px; animation-name: particleRise2; }
.particle:nth-child(8) { left: 75%; animation-delay: 10.8s; animation-duration: 21s; width: 6px; height: 6px; animation-name: particleRise3; }
.particle:nth-child(9) { left: 85%; animation-delay: 15.6s; animation-duration: 22s; animation-name: particleRise4; }
.particle:nth-child(10) { left: 95%; animation-delay: 20.4s; animation-duration: 17s; width: 3px; height: 3px; animation-name: particleRise5; }
.particle:nth-child(11) { left: 10%; animation-delay: 2.4s; animation-duration: 23s; animation-name: particleRise1; }
.particle:nth-child(12) { left: 30%; animation-delay: 7.2s; animation-duration: 20s; width: 5px; height: 5px; animation-name: particleRise2; }
.particle:nth-child(13) { left: 50%; animation-delay: 12s; animation-duration: 24s; animation-name: particleRise3; }
.particle:nth-child(14) { left: 70%; animation-delay: 16.8s; animation-duration: 16s; width: 4px; height: 4px; animation-name: particleRise4; }
.particle:nth-child(15) { left: 90%; animation-delay: 21.6s; animation-duration: 21s; width: 3px; height: 3px; animation-name: particleRise5; }
.particle:nth-child(16) { left: 8%; animation-delay: 3.6s; animation-duration: 19s; animation-name: particleRise1; }
.particle:nth-child(17) { left: 18%; animation-delay: 8.4s; animation-duration: 23s; width: 3px; height: 3px; animation-name: particleRise2; }
.particle:nth-child(18) { left: 28%; animation-delay: 13.2s; animation-duration: 18s; width: 5px; height: 5px; animation-name: particleRise3; }
.particle:nth-child(19) { left: 38%; animation-delay: 18s; animation-duration: 22s; animation-name: particleRise4; }
.particle:nth-child(20) { left: 48%; animation-delay: 22.8s; animation-duration: 20s; width: 4px; height: 4px; animation-name: particleRise5; }
.particle:nth-child(21) { left: 58%; animation-delay: 0.6s; animation-duration: 21s; animation-name: particleRise1; }
.particle:nth-child(22) { left: 68%; animation-delay: 5.4s; animation-duration: 24s; width: 3px; height: 3px; animation-name: particleRise2; }
.particle:nth-child(23) { left: 78%; animation-delay: 11.4s; animation-duration: 17s; width: 5px; height: 5px; animation-name: particleRise3; }
.particle:nth-child(24) { left: 88%; animation-delay: 17.4s; animation-duration: 23s; animation-name: particleRise4; }
.particle:nth-child(25) { left: 98%; animation-delay: 23.4s; animation-duration: 19s; width: 3px; height: 3px; animation-name: particleRise5; }

@keyframes particleRise1 {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(var(--particle-rise-distance)) translateX(-20px);
        opacity: 0;
    }
}

@keyframes particleRise2 {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(var(--particle-rise-distance)) translateX(25px);
        opacity: 0;
    }
}

@keyframes particleRise3 {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(var(--particle-rise-distance)) translateX(-30px);
        opacity: 0;
    }
}

@keyframes particleRise4 {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(var(--particle-rise-distance)) translateX(35px);
        opacity: 0;
    }
}

@keyframes particleRise5 {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(var(--particle-rise-distance)) translateX(-25px);
        opacity: 0;
    }
}

/* Mobile-specific tweaks */
@media (max-width: 968px) {
    .navbar {
        transition: none;
    }
}

/* Z-index fix sisällölle */
.navbar,
.hero,
.features,
.stats,
.pricing,
.projektit,
.contact-section,
.footer {
    position: relative;
    z-index: 2;
}

/* Oranssi viiva osioiden välissä */
.pricing::before,
.features::before,
.projektit::before,
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 98%;
    max-width: 1600px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-orange) 50%, transparent 100%);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    z-index: 3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    padding: 5px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.5), transparent);
    opacity: 0.5;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 30px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo-highlight {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.3));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent);
    border-radius: 50%;
    transition: all 0.4s ease;
    z-index: -1;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover {
    color: var(--white);
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.nav-menu a:hover::before {
    width: 120%;
    height: 120%;
}

.nav-menu a:hover::after {
    width: 100%;
}

.cta-button-nav {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 28px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover span {
    background: var(--primary-orange);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-list {
    list-style: none;
    padding: 30px 20px;
    margin: 0;
}

.mobile-menu-list li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-link {
    display: block;
    padding: 20px 15px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    transition: width 0.3s ease;
}

.mobile-menu-link:active,
.mobile-menu-link:hover {
    color: var(--primary-orange);
    padding-left: 25px;
}

.mobile-menu-link:active::before,
.mobile-menu-link:hover::before {
    width: 15px;
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 968px) {
    .hamburger-menu {
        display: flex;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Hero Background - Flat Black */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    background: var(--hero-bg);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease both;
    opacity: 1;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease both 0.8s;
    opacity: 1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease both 1s;
    opacity: 1;
}

.btn-primary, .btn-secondary {
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-3px);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Hero Visual - New Design */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Gradient Orbs - Optimized for desktop */
.gradient-orb {
    display: none;
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    pointer-events: none;
    z-index: 1;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Only show and animate on desktop */
@media (min-width: 969px) {
    .gradient-orb {
        display: block;
        opacity: 0;
        animation: orbFadeInDesktop 1s ease forwards;
        will-change: opacity, transform;
    }
}

.orb-1 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.6), rgba(255, 107, 53, 0.2) 50%, transparent 70%);
    top: 0%;
    left: 8%;
    animation-delay: 0.5s;
}

.orb-2 {
    width: 330px;
    height: 330px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.5), rgba(255, 140, 66, 0.2) 50%, transparent 70%);
    top: 48%;
    right: 8%;
    animation-delay: 0.8s;
}

.orb-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.45), rgba(255, 107, 53, 0.15) 50%, transparent 70%);
    bottom: 12%;
    left: 47%;
    animation-delay: 1s;
}

@keyframes orbFadeInDesktop {
    from {
        opacity: 0;
        transform: translateZ(0) scale(0.9);
    }
    to {
        opacity: 0.6;
        transform: translateZ(0) scale(1);
        will-change: auto;
    }
}

@keyframes particleFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Static Particles - Desktop only */
.static-particle {
    display: none;
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
}

@media (min-width: 969px) {
    .static-particle {
        display: block;
    }
}

/* Hengittävät kellumisanimaatiot - GPU-optimoitu */
@keyframes particleFloat1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, 15px) scale(1.1);
    }
    50% {
        transform: translate(30px, 30px) scale(1.15);
    }
    75% {
        transform: translate(15px, 35px) scale(1.08);
    }
}

@keyframes particleFloat2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    30% {
        transform: translate(-10px, -25px) scale(1.15);
    }
    50% {
        transform: translate(0, -35px) scale(1.2);
    }
    70% {
        transform: translate(8px, -28px) scale(1.12);
    }
}

@keyframes particleFloat3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    20% {
        transform: translate(35px, 10px) scale(1.05);
    }
    50% {
        transform: translate(25px, 35px) scale(1.18);
    }
    80% {
        transform: translate(10px, 28px) scale(1.12);
    }
}

.static-particle-1 {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 150, 80, 1) 0%, rgba(255, 107, 53, 0.95) 35%, rgba(255, 107, 53, 0.7) 50%, rgba(255, 107, 53, 0.3) 80%, transparent 100%);
    box-shadow: 
        0 0 15px rgba(255, 107, 53, 0.6),
        0 0 8px rgba(255, 150, 80, 0.8);
    top: 12%;
    left: -5%;
    animation: 
        particleFloat1 18s ease-in-out infinite,
        particleFadeIn 1s ease forwards 0.3s;
    will-change: transform;
}

.static-particle-2 {
    width: 17px;
    height: 17px;
    background: radial-gradient(circle, rgba(255, 170, 100, 1) 0%, rgba(255, 140, 66, 0.95) 35%, rgba(255, 140, 66, 0.7) 50%, rgba(255, 140, 66, 0.3) 80%, transparent 100%);
    box-shadow: 
        0 0 15px rgba(255, 140, 66, 0.6),
        0 0 8px rgba(255, 170, 100, 0.8);
    top: 50%;
    right: 30%;
    animation: 
        particleFloat2 22s ease-in-out infinite 3s,
        particleFadeIn 1s ease forwards 0.6s;
    will-change: transform;
}

.static-particle-3 {
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, rgba(255, 150, 80, 1) 0%, rgba(255, 107, 53, 0.95) 35%, rgba(255, 107, 53, 0.7) 50%, rgba(255, 107, 53, 0.3) 80%, transparent 100%);
    box-shadow: 
        0 0 15px rgba(255, 107, 53, 0.6),
        0 0 8px rgba(255, 150, 80, 0.8);
    bottom: 20%;
    left: 10%;
    animation: 
        particleFloat3 20s ease-in-out infinite 1.5s,
        particleFadeIn 1s ease forwards 0.9s;
    will-change: transform;
}

/* Project Showcases */
.showcase-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 2;
}

.showcase-mobile {
    display: none;
}

.showcase-desktop {
    display: block;
}

.showcase-container {
    position: absolute;
    width: 320px;
    aspect-ratio: 16 / 9;
    background: rgba(26, 26, 26, 0.95);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    opacity: 0;
    animation: showcaseSlideIn 0.8s ease forwards;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.showcase-container::-webkit-scrollbar {
    display: none;
}

.showcase-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-desktop .showcase-container a {
    display: block;
    width: 100%;
    height: 100%;
}

.showcase-desktop .showcase-container {
    backdrop-filter: none;
}

.showcase-desktop .showcase-container img {
    image-rendering: -webkit-optimize-contrast;
    backface-visibility: hidden;
    transform: translateZ(0);
    filter: none;
}

.showcase-1 {
    top: 17%;
    left: 8%;
    animation-delay: 0.2s;
    z-index: 3;
}

.showcase-2 {
    top: 21%;
    left: 50%;
    margin-left: 12.5%;
    animation-delay: 0.4s;
    z-index: 5;
}

.showcase-3 {
    bottom: 15%;
    right: 10%;
    animation-delay: 0.6s;
    z-index: 3;
}

/* Desktop transforms */
@media (min-width: 969px) {
    .showcase-1 {
        transform: rotate(-6deg);
    }
    
    .showcase-2 {
        transform: translate(-50%, -50%) rotate(1deg) scale(1.1);
        left: 75%;
        margin-left: 0;
    }
    
    .showcase-3 {
        transform: rotate(5deg);
    }
    
    /* Desktop hover effects with rotations preserved */
    .showcase-1:hover {
        transform: rotate(-6deg) translateY(-12px) scale(1.05);
        border-color: var(--primary-orange);
        box-shadow: 0 30px 80px rgba(255, 107, 53, 0.5);
        z-index: 10 !important;
    }
    
    .showcase-1:hover::before {
        opacity: 1;
    }
    
    .showcase-2:hover {
        transform: rotate(1deg) scale(1.15) translateY(-12px);
        border-color: var(--primary-orange);
        box-shadow: 0 30px 80px rgba(255, 107, 53, 0.5);
        z-index: 10 !important;
    }
    
    .showcase-2:hover::before {
        opacity: 1;
    }
    
    .showcase-3:hover {
        transform: rotate(5deg) translateY(-12px) scale(1.05);
        border-color: var(--primary-orange);
        box-shadow: 0 30px 80px rgba(255, 107, 53, 0.5);
        z-index: 10 !important;
    }
    
    .showcase-3:hover::before {
        opacity: 1;
    }
}

@keyframes showcaseSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 3D Card Stack */
.card-stack {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 450px;
    perspective: 1500px;
}

.stack-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(42, 42, 42, 0.95));
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    overflow: hidden;
}

.stack-card:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 30px 60px rgba(255, 107, 53, 0.4);
}

.card-layer-1 {
    transform: translateZ(0) rotateX(0deg) rotateY(0deg);
    z-index: 3;
}

.card-layer-2 {
    transform: translateZ(-50px) rotateX(-5deg) rotateY(10deg);
    opacity: 0.8;
    z-index: 2;
}

.card-layer-3 {
    transform: translateZ(-100px) rotateX(-10deg) rotateY(15deg);
    opacity: 0.6;
    z-index: 1;
}

.card-stack:hover .card-layer-1 {
    transform: translateZ(50px) rotateX(5deg) rotateY(-5deg);
}

.card-stack:hover .card-layer-2 {
    transform: translateZ(0) rotateX(0deg) rotateY(5deg);
}

.card-stack:hover .card-layer-3 {
    transform: translateZ(-50px) rotateX(-5deg) rotateY(10deg);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.stack-card:hover .card-glow {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

.card-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.card-icon-large {
    font-size: 80px;
    margin-bottom: 20px;
}

.card-content h3 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features Section */
.features {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--features-bg);
}

.features .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 68px;
}

.section-title {
    font-size: 41px;
    font-weight: 800;
    margin-bottom: 17px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transform: translateY(0) scale(1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.25) 0%, 
        rgba(255, 140, 66, 0.2) 50%, 
        rgba(255, 107, 53, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: rgba(255, 107, 53, 0.6);
    background: rgba(255, 107, 53, 0.08);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.3);
    will-change: transform;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 0.8;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(255, 140, 66, 0.3));
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 140, 66, 0.15));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.feature-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

@media (max-width: 968px) {
    /* MOBILE PERFORMANCE OPTIMIZATIONS */

    .particles-container {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    .particles-container .particle {
        display: none !important;
        visibility: hidden !important;
        animation: none !important;
    }

    /* Mobiilissa hieman vähemmän partikkeleita (25 -> 20) */
    .particles-container .particle:nth-child(n+21) {
        display: none !important;
    }
    
    html {
        scroll-behavior: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Navbar optimizations */
    .navbar {
        padding: 1px 0;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: var(--navbar-bg) !important;
        will-change: transform;
    }
    
    /* PERFORMANCE: Raskaat efektit poistettu koko projektista (ei vain mobiili) */
    
    .features {
        padding: 80px 0;
    }
    
    .features-grid {
        display: grid;
        gap: 12px;
        margin-top: 40px;
    }
    
    /* Isompi väli pareittain */
    .feature-card:nth-child(2) {
        margin-bottom: 20px;
    }
    
    .feature-card:nth-child(4) {
        margin-bottom: 20px;
    }
    
    .feature-card {
        padding: 30px 24px;
    }
    
    .feature-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .feature-description {
        font-size: 0.95rem;
    }
}

/* Stats Section */
.stats {
    padding: 68px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(213px, 1fr));
    gap: 34px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 9px;
}

.stat-label {
    font-size: 15px;
    color: var(--text-gray);
}

/* Pricing Section */
.pricing {
    padding: 102px 0;
}

/* Pricing Scroll Wrapper (desktop: normal container) */
.pricing-scroll-wrapper {
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    padding: 20px 0;
}

.pricing-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 26px;
    padding: 43px 34px;
    border: 2px solid rgba(255, 107, 53, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: scale(1);
    min-height: 700px;
    display: flex;
    flex-direction: column;
}

/* Scroll Indicator (hidden on desktop, visible on mobile) */
.pricing-scroll-indicator {
    display: none;
}

.scroll-hint-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.scroll-hint-arrows {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-orange);
}

.scroll-hint-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-orange);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-arrow-icon {
    color: var(--primary-orange);
    opacity: 0.8;
}

.scroll-arrow-icon:first-child {
    --scroll-dir: -1;
    animation: scrollArrowNudge 3s ease-in-out infinite;
    animation-play-state: paused;
}

.scroll-arrow-icon:last-child {
    --scroll-dir: 1;
    animation: scrollArrowNudge 3s ease-in-out infinite;
    animation-delay: 0.15s;
    animation-play-state: paused;
}

@keyframes scrollArrowNudge {
    0%, 100% { transform: translateX(0); opacity: 0.55; }
    50% { transform: translateX(calc(4px * var(--scroll-dir))); opacity: 1; }
}

.scroll-hint-line {
    width: 60px;
    height: 3px;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.scroll-hint-dot {
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 3px;
    animation: scrollHintSlide 3s ease-in-out infinite;
    animation-play-state: paused;
}

.pricing-scroll-indicator.is-animating .scroll-arrow-icon,
.pricing-scroll-indicator.is-animating .scroll-hint-dot {
    animation-play-state: running;
}

@keyframes scrollHintSlide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(36px); }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-arrow-icon,
    .scroll-hint-dot {
        animation: none;
        transform: none;
        opacity: 1;
    }
}

@media (max-width: 968px) {
    .scroll-arrow-icon {
        animation: none;
        transform: none;
        opacity: 0.9;
    }
}

/* Glow Effect */
.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

/* Top Bar Animation */
.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange), var(--primary-orange));
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform 0.5s ease;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.pricing-card:hover::before {
    opacity: 1;
    transform: rotate(45deg);
}

.pricing-card:hover::after {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: scale(1.02) translateY(-8px);
    border-color: var(--primary-orange);
    box-shadow: 0 30px 60px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 140, 66, 0.15));
}

.pricing-card:hover .pricing-button:not(.pricing-button-primary) {
    transform: none;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

/* Popular Card - Optimized */
.pricing-card.popular {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 140, 66, 0.1));
    border: 3px solid var(--primary-orange);
    transform: scale(1.03);
    box-shadow: 0 30px 60px rgba(255, 107, 53, 0.4);
    position: relative;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 40px 80px rgba(255, 107, 53, 0.5);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: var(--white);
    padding: 8px 50px;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.5);
}

.pricing-header {
    text-align: center;
    margin-bottom: 26px;
}

.pricing-title {
    font-size: 27px;
    font-weight: 800;
    margin-bottom: 9px;
}

.pricing-subtitle {
    color: var(--text-gray);
    font-size: 12px;
}

.pricing-price {
    text-align: center;
    margin-bottom: 34px;
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card.popular .price-amount {
    font-size: 54px;
}

.price-period {
    color: var(--text-gray);
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 34px;
    flex: 1;
}

.feature-item {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    color: var(--text-gray);
    font-size: 14px;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.check-icon {
    color: var(--primary-orange);
    font-weight: 700;
    margin-right: 8px;
}

.feature-item.disabled {
    opacity: 0.4;
}

.feature-item.disabled .check-icon {
    color: var(--text-gray);
}

.pricing-card.popular .feature-item {
    font-size: 14px;
    font-weight: 500;
}

.pricing-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    text-align: center;
    border-radius: 26px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.pricing-button-primary {
    display: block;
    width: 100%;
    padding: 17px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: var(--white);
    border: none;
    text-align: center;
    border-radius: 26px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.55),
                0 0 0 1px rgba(255, 140, 66, 0.4);
    transition: all 0.3s ease;
}

.pricing-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(255, 107, 53, 0.7),
                0 0 0 1px rgba(255, 140, 66, 0.6);
}

/* Projektit Section */
.projektit {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* REMOVED: Projektit background orbs - suorituskykyoptimointia varten */
.projektit-background,
.projektit-orb,
.projektit-orb-1,
.projektit-orb-2,
.projektit-orb-3 {
    display: none !important;
}

.projektit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 80px;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.projektit-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(0) scale(1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.projektit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(255, 140, 66, 0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.projektit-card:hover::before {
    opacity: 1;
}

.projektit-card-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 24px;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.5s ease;
    z-index: -1;
}

.projektit-card:hover .projektit-card-glow {
    opacity: 0.4;
}

.projektit-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 107, 53, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.projektit-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 80px;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 140, 66, 0.1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 2;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    user-select: none;
    pointer-events: none;
    opacity: 0.5;
    transition: all 0.5s ease;
}

.projektit-card:hover .projektit-number {
    opacity: 0.8;
    transform: scale(1.1);
}

.projektit-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(15, 15, 15, 0.9));
}

.projektit-image-border {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), transparent 50%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.projektit-card:hover .projektit-image-border {
    opacity: 1;
}

.projektit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(0.2) brightness(0.95);
}

.projektit-card:hover .projektit-image img {
    transform: scale(1.08);
    filter: grayscale(0) brightness(1.05);
}

.projektit-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.95) 0%, 
        rgba(255, 140, 66, 0.92) 50%,
        rgba(232, 93, 42, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.projektit-card:hover .projektit-overlay {
    opacity: 1;
}

.projektit-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--primary-orange);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    transform: translateY(30px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.projektit-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 107, 53, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projektit-link:hover::before {
    opacity: 1;
}

.projektit-card:hover .projektit-link {
    transform: translateY(0) scale(1);
}

.projektit-link:hover {
    background: var(--white);
    transform: scale(1.05) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4),
                0 0 0 2px rgba(255, 107, 53, 0.2);
}

.link-text {
    position: relative;
    z-index: 1;
}

.link-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.projektit-link:hover .link-arrow {
    transform: translate(4px, -4px);
}

.projektit-content {
    padding: 32px;
    position: relative;
}

.projektit-header {
    margin-bottom: 16px;
}

.projektit-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--white), rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.projektit-card:hover .projektit-title {
    background: linear-gradient(135deg, var(--white), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projektit-category {
    font-size: 13px;
    color: var(--primary-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
    padding-bottom: 4px;
}

.projektit-category::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.projektit-card:hover .projektit-category::after {
    width: 100%;
}

.projektit-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 15px;
    transition: color 0.3s ease;
}

.projektit-card:hover .projektit-description {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 968px) {
    .projektit-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 60px;
    }
    
    .projektit-card {
        border-radius: 20px;
    }
    
    .projektit-number {
        font-size: 60px;
        top: 16px;
        right: 16px;
    }
    
    .projektit-content {
        padding: 24px;
    }
    
    .projektit-title {
        font-size: 24px;
    }
}

/* CTA Section */
/* Contact Section - Completely Redesigned */
.contact-section {
    padding: 120px 0;
    position: relative;
    background: var(--contact-bg);
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: start;
}

/* Modern Form Styles */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 30px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-status {
    margin-top: -8px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    display: none;
}

.form-status.show {
    display: block;
}

.form-status.success {
    border-color: rgba(34, 197, 94, 0.35);
    color: #86efac;
}

.form-status.error {
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.input-group {
    position: relative;
}

.modern-input {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 107, 53, 0.15);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.modern-textarea {
    min-height: 140px;
    resize: vertical;
}

.modern-label {
    position: absolute;
    left: 20px;
    top: 18px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 0 4px;
}

.modern-input:focus,
.modern-input:not(:placeholder-shown) {
    border-color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.05);
}

.modern-input:focus ~ .modern-label,
.modern-input:not(:placeholder-shown) ~ .modern-label {
    top: -10px;
    left: 16px;
    font-size: 13px;
    color: var(--primary-orange);
    background: #0a0a0a;
    z-index: 1;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-input:focus ~ .input-border {
    width: 100%;
}

.submit-btn {
    margin-top: 8px;
    padding: 20px 40px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-methods-header {
    margin-bottom: 12px;
}

.methods-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.methods-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.methods-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.method-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 107, 53, 0.15);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: inherit;
}

.method-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-orange), var(--secondary-orange));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.method-item:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.method-item:hover {
    transform: translateX(8px);
    border-color: rgba(255, 107, 53, 0.4);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

.method-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 140, 66, 0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.method-item:hover .method-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.25), rgba(255, 140, 66, 0.25));
}

.whatsapp-method {
    border-color: rgba(37, 211, 102, 0.2);
}

.whatsapp-method:hover {
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.2);
}

.whatsapp-method::before {
    background: linear-gradient(180deg, #25D366, #20BA5A);
}

.whatsapp-icon {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15), rgba(32, 186, 90, 0.15));
    color: #25D366;
}

.whatsapp-method:hover .whatsapp-icon {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.25), rgba(32, 186, 90, 0.25));
}

.method-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.method-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.method-value {
    font-size: 17px;
    color: var(--text-primary);
    font-weight: 600;
}

.whatsapp-number {
    color: #25D366 !important;
}

.copy-icon {
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.email-method .copy-icon {
    color: rgba(255, 255, 255, 0.4);
}

.email-method:hover .copy-icon {
    color: var(--primary-orange);
    opacity: 1;
    transform: translateX(0);
}

.copy-notification {
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.copy-notification.show {
    opacity: 1;
}

.facebook-method {
    border-color: rgba(24, 119, 242, 0.2);
}

.facebook-method:hover {
    border-color: rgba(24, 119, 242, 0.5);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.2);
}

.facebook-method::before {
    background: linear-gradient(180deg, #1877F2, #0C63D4);
}

.facebook-icon {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.15), rgba(12, 99, 212, 0.15));
    color: #1877F2;
}

.facebook-method:hover .facebook-icon {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.25), rgba(12, 99, 212, 0.25));
}

.facebook-name {
    color: var(--text-primary) !important;
}

.facebook-method:hover .method-chevron {
    color: #1877F2;
}

.method-chevron {
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.method-item:hover .method-chevron {
    color: var(--primary-orange);
    transform: translateX(4px);
}

.whatsapp-method:hover .method-chevron {
    color: #25D366;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-form-wrapper {
        padding: 40px;
    }
}

@media (max-width: 968px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-grid {
        margin-top: 40px;
        gap: 40px;
    }
    
    /* REMOVE HEAVY EFFECTS ON MOBILE */
    .contact-form-wrapper {
        padding: 30px 24px;
        border-radius: 24px;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    /* Disable transitions on inputs for better performance */
    .modern-input,
    .modern-label,
    .input-border,
    .method-item,
    .method-icon,
    .method-chevron,
    .copy-icon {
        transition: none !important;
    }
    
    /* Simplify method items on mobile - remove heavy effects */
    .method-item {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    .method-item::before {
        display: none !important;
    }
    
    .method-item:hover,
    .method-item:active {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .method-icon:hover,
    .method-icon:active {
        transform: none !important;
    }
    
    .method-chevron:hover,
    .method-chevron:active {
        transform: none !important;
    }
    
    .modern-contact-form {
        gap: 28px;
    }
    
    .modern-input {
        padding: 16px 18px;
        font-size: 15px;
    }
    
    .modern-label {
        font-size: 15px;
    }
    
    .submit-btn {
        padding: 18px 32px;
        font-size: 16px;
    }
    
    .methods-title {
        font-size: 20px;
    }
    
    .method-item {
        padding: 20px;
    }
    
    .method-icon {
        width: 50px;
        height: 50px;
    }
    
    .method-value {
        font-size: 15px;
    }
}

.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 140, 66, 0.1));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary.large, .btn-secondary.large {
    padding: 20px 50px;
    font-size: 18px;
}

/* Footer */
.footer {
    padding: 100px 0 30px;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    position: relative;
    overflow: hidden;
    background: var(--footer-bg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    padding-right: 30px;
}

.footer-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white), var(--text-gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
}

.footer-nav,
.footer-links,
.footer-contact {
    list-style: none;
}

.footer-nav li,
.footer-links li,
.footer-contact li {
    margin-bottom: 14px;
}

.footer-nav-link,
.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 18px;
    font-size: 15px;
}

.footer-nav-link::before,
.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-nav-link:hover,
.footer-links a:hover {
    color: var(--primary-orange);
    padding-left: 25px;
}

.footer-nav-link:hover::before,
.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    font-size: 15px;
}

.contact-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--primary-orange);
    transition: stroke 0.3s ease;
}

.footer-contact a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 107, 53, 0.15);
    color: var(--text-gray);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    font-size: 13px;
}

.footer-legal a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-orange);
}

.footer-legal a:hover::after {
    width: 100%;
}

.footer-legal .separator {
    color: rgba(255, 107, 53, 0.3);
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        padding-right: 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(25px, -25px, 0) scale(1.08);
    }
}

/* REMOVED: Raskaat jatkuvat animaatiot - suorituskykyoptimointia varten */
/* cardFloat1, cardFloat2, cardFloat3, glowPulse, iconBounce, particleFloat poistettu */

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    html {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    body {
        -webkit-tap-highlight-color: transparent;
    }
    
    .nav-menu {
        display: none;
    }
    
    .cta-button-nav {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .title-line {
        animation: none !important;
        opacity: 1 !important;
    }
    
    .hero-description {
        max-width: 600px;
        margin: 0 auto 30px;
        animation: none !important;
        opacity: 1 !important;
    }
    
    .hero-buttons {
        animation: none !important;
        opacity: 1 !important;
    }
    
    .hero-visual {
        display: block;
        width: 100%;
        height: 380px;
        margin-top: 8px;
        will-change: auto;
        transform: translateZ(0);
    }
    
    .visual-container {
        width: 100%;
        height: 100%;
        position: relative;
    }
    
    /* Show mobile showcases, hide desktop */
    .showcase-desktop {
        display: none !important;
    }
    
    .showcase-mobile {
        display: flex !important;
    }
    
    /* Mobile showcase layout - Abstract overlapping stack */
    .showcase-mobile.showcase-grid {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: visible;
    }
    
    .showcase-mobile .showcase-container {
        position: absolute;
        width: 150px;
        height: 150px;
        aspect-ratio: 1 / 1;
        margin: 0;
        border-radius: 12px;
        opacity: 1;
        animation: none;
        backdrop-filter: none;
        transition: none !important;
        pointer-events: auto;
    }
    
    .showcase-mobile .showcase-container:active,
    .showcase-mobile .showcase-container:hover,
    .showcase-mobile .showcase-container:focus {
        transform: none !important;
        scale: 1 !important;
        box-shadow: none !important;
        border-color: rgba(255, 107, 53, 0.3) !important;
        z-index: inherit !important;
    }
    
    .showcase-mobile .showcase-1 {
        top: 22%;
        left: 50%;
        margin-left: -75px;
        z-index: 2;
    }
    
    .showcase-mobile .showcase-2 {
        top: 52%;
        left: 50%;
        margin-left: -75px;
        z-index: 3;
    }
    
    .showcase-mobile .showcase-3 {
        top: 78%;
        left: 50%;
        margin-left: -75px;
        z-index: 1;
    }
    
    /* Mobile: screenshots only (no iframe rules needed) */
    .showcase-mobile .showcase-container a {
        display: block;
        width: 100%;
        height: 100%;
        position: relative;
        z-index: 10;
        pointer-events: auto;
    }

    .showcase-mobile .showcase-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        pointer-events: none;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile: Enable horizontal scroll carousel */
    .pricing-scroll-wrapper {
        overflow-x: auto;
        overflow-y: clip;
        -webkit-overflow-scrolling: touch;
        cursor: grab;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 40px 0 120px 0;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .pricing-scroll-wrapper:active {
        cursor: grabbing;
    }

    .pricing-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }

    .pricing-grid {
        display: flex;
        gap: 30px;
    }

    .pricing-card {
        min-width: 280px;
        flex: 0 0 85vw;
    }

    .pricing-card::after {
        animation: none;
        background-position: 0% 50%;
    }

    .pricing-scroll-indicator {
        display: flex;
        justify-content: center;
        margin-bottom: 2px;
        margin-top: 30px;
        position: relative;
        z-index: 10;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: 48px;
    }
    
    .hero-visual {
        height: 250px;
    }
    
    .showcase-mobile .showcase-container {
        width: 150px;
        height: 150px;
    }
    
    .showcase-mobile .showcase-1 {
        top: 0%;
        left: 35%;
        margin-left: -75px;
    }
    
    .showcase-mobile .showcase-2 {
        top: 30%;
        left: 70%;
        margin-left: -75px;
    }
    
    .showcase-mobile .showcase-3 {
        top: 65%;
        left: 30%;
        margin-left: -75px;
    }
    
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    /* Piilota Lue lisää nappi mobiilissa */
    .hero .btn-secondary {
        display: none;
    }
    
    /* Isompi ja näkyvämpi Aloita projekti nappi */
    .hero .btn-primary {
        padding: 18px 36px;
        font-size: 18px;
        max-width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary.large, .btn-secondary.large {
        width: 100%;
        max-width: 300px;
    }
}

/* Mobile hero: hide both hero buttons and ensure description is visible */
@media (max-width: 968px) {
    .hero .btn-primary,
    .hero .btn-secondary {
        display: none !important;
    }

    .hero-description {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Force mobile showcase positions to override all others */
    .showcase-mobile .showcase-1 {
        top: -2% !important;
        left: 68% !important;
        margin-left: -60px !important;
        z-index: 2 !important;
        transform: rotate(15deg) !important;
    }
    
    .showcase-mobile .showcase-2 {
        top: -3% !important;
        left: 22% !important;
        margin-left: -60px !important;
        z-index: 3 !important;
        transform: rotate(-10deg) !important;
    }
    
    .showcase-mobile .showcase-3 {
        top: 55% !important;
        left: 45% !important;
        margin-left: -60px !important;
        z-index: 1 !important;
        transform: rotate(7deg) !important;
    }
    
    /* Estä kaikki hover/active/focus efektit mobiilissa */
    .showcase-mobile .showcase-1:hover,
    .showcase-mobile .showcase-1:active,
    .showcase-mobile .showcase-1:focus {
        transform: rotate(15deg) !important;
        border-color: rgba(255, 107, 53, 0.3) !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
        z-index: 2 !important;
    }
    
    .showcase-mobile .showcase-2:hover,
    .showcase-mobile .showcase-2:active,
    .showcase-mobile .showcase-2:focus {
        transform: rotate(-10deg) !important;
        border-color: rgba(255, 107, 53, 0.3) !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
        z-index: 3 !important;
    }
    
    .showcase-mobile .showcase-3:hover,
    .showcase-mobile .showcase-3:active,
    .showcase-mobile .showcase-3:focus {
        transform: rotate(7deg) !important;
        border-color: rgba(255, 107, 53, 0.3) !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
        z-index: 1 !important;
    }
    
    .showcase-mobile .showcase-container::before {
        opacity: 0 !important;
    }
}

/* ===================================
   SCROLL ANIMATIONS - DESKTOP ONLY
   =================================== */

/* Scroll animation base styles - only for desktop */
@media (min-width: 969px) {
    .scroll-animate {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .scroll-animate.visible {
        opacity: 1;
        transform: translateY(0);
        will-change: transform, opacity;
    }
    
    /* Remove will-change after animation completes */
    .scroll-animate.animation-complete {
        will-change: auto;
    }
    
    /* Staggered animations for children */
    .scroll-animate-stagger > * {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    /* Preserve popular card scale during stagger animation */
    .scroll-animate-stagger > .pricing-card.popular {
        transform: translateY(40px) scale(1.03);
    }

    /* Visible state with staggered delays */
    .scroll-animate-stagger.visible > * {
        opacity: 1;
        transform: translateY(0);
    }

    .scroll-animate-stagger.visible > .pricing-card.popular {
        transform: translateY(0) scale(1.03);
    }

    .scroll-animate-stagger.visible > *:nth-child(1) { transition-delay: 0.1s, 0s; }
    .scroll-animate-stagger.visible > *:nth-child(2) { transition-delay: 0.2s, 0s; }
    .scroll-animate-stagger.visible > *:nth-child(3) { transition-delay: 0.3s, 0s; }
    .scroll-animate-stagger.visible > *:nth-child(4) { transition-delay: 0.4s, 0s; }
    .scroll-animate-stagger.visible > *:nth-child(5) { transition-delay: 0.5s, 0s; }
    .scroll-animate-stagger.visible > *:nth-child(6) { transition-delay: 0.6s, 0s; }
    
    /* Fade-only animation for subtle elements */
    .scroll-fade {
        opacity: 0;
        transition: opacity 0.8s ease;
    }
    
    .scroll-fade.visible {
        opacity: 1;
    }
    
    /* Allow hover to override animation while visible */
    .scroll-animate-stagger.visible > .pricing-card:hover {
        transform: scale(1.02) translateY(-8px);
        transition-delay: 0s;
    }

    .scroll-animate-stagger.visible > .pricing-card.popular:hover {
        transform: scale(1.05) translateY(-10px);
        transition-delay: 0s;
    }
    
    /* Special animation for section headers */
    .section-header.scroll-animate {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .section-header.scroll-animate.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Showcase containers with subtle slide */
    .showcase-container.scroll-animate {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .showcase-container.scroll-animate.visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    
    /* Projektit cards with elegant entrance */
    .projektit-card.scroll-animate {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
        transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
                    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .projektit-card.scroll-animate.visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    
    /* Stagger projektit cards */
    .projektit-grid .projektit-card:nth-child(1) {
        transition-delay: 0.1s;
    }
    
    .projektit-grid .projektit-card:nth-child(2) {
        transition-delay: 0.2s;
    }
    
    .projektit-grid .projektit-card:nth-child(3) {
        transition-delay: 0.3s;
    }
    
    /* Clean up stagger animations after completion */
    .scroll-animate-stagger.animation-complete > * {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0s;
    }
    
    /* Reset pricing cards to base transform after animation */ 
    .pricing-grid.animation-complete > .pricing-card {
        transform: translateY(0);
    }
    
    .pricing-grid.animation-complete > .pricing-card.popular {
        transform: scale(1.03);
    }
    
    /* Ensure hover works after animation */
    .pricing-grid.animation-complete > .pricing-card:hover {
        transform: scale(1.02) translateY(-8px);
    }
    
    .pricing-grid.animation-complete > .pricing-card.popular:hover {
        transform: scale(1.05) translateY(-10px);
    }
    
    /* Features grid cleanup after animation */
    .features-grid.animation-complete > .feature-card {
        transform: translateY(0) scale(1);
        transition-delay: 0s;
    }
    
    .features-grid.animation-complete > .feature-card:hover {
        transform: translateY(-10px) scale(1.03);
    }
}

/* ============================================
   COOKIE CONSENT BANNER (GDPR)
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(15, 15, 15, 0.98) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-banner-text {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.cookie-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.cookie-banner-text p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.cookie-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.cookie-link:hover {
    color: var(--secondary-orange);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-gray);
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.5);
    color: var(--white);
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: var(--white);
    border: 2px solid transparent;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, var(--secondary-orange), var(--primary-orange));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Mobile responsive */
@media (max-width: 968px) {
    .cookie-banner {
        padding: 16px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-banner-text {
        flex-direction: column;
        gap: 12px;
    }
    
    .cookie-banner-text p {
        font-size: 14px;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        flex-direction: column-reverse;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 14px 24px;
    }
    
    .cookie-icon {
        font-size: 28px;
    }
}

