body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    color: #2d3436;
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 10%, rgba(76, 175, 80, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(76, 175, 80, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(76, 175, 80, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 90%, rgba(76, 175, 80, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(76, 175, 80, 0.02) 0%, transparent 50%);
    z-index: -1;
    animation: bodyBubbleFloat 30s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(76, 175, 80, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 70% 40%, rgba(76, 175, 80, 0.03) 0%, transparent 45%),
        radial-gradient(circle at 40% 70%, rgba(76, 175, 80, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(76, 175, 80, 0.03) 0%, transparent 45%);
    z-index: -1;
    animation: bodyBubbleFloat 25s ease-in-out infinite reverse;
}

@keyframes bodyBubbleFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(1%, 1%) scale(1.02);
    }
    50% {
        transform: translate(0, 2%) scale(1);
    }
    75% {
        transform: translate(-1%, 1%) scale(0.98);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

header h1 {
    font-size: 2rem;
    margin: 0;
    font-weight: bold;
    flex-grow: 1; 
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #85BB65 0%, #6aa654 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
}

/* Logo */
.logo {
    max-width: 100px;
    height: 50px;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none; /* Poistaa alleviivauksen */
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3436;
    display: inline-block;
}

.login-button, .login-button-kokeilu {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.login-button:hover, .login-button-kokeilu:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #45a049 0%, #388e3c 100%);
}

.login-button a {
    text-decoration: none; /* Poistaa alleviivauksen */
    color: inherit; /* Perii painikkeen tekstivärin */
    display: inline-block; /* Varmistaa, että linkki täyttää painikkeen */
}

.login-button {
    position: relative;
    z-index: 1001;
    margin-right: 0;
    flex-shrink: 0;
}

/* Headerin navigointivalikon tyylit */

nav {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    margin: 0 2rem;
}

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

nav .menu li {
    display: inline-block;
}

.close-menu {
    display: none;
}

nav .menu a {
    text-decoration: none;
    color: #2d3436;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav .menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: #85BB65;
    transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

nav .menu a:hover::after {
    width: 100%;
}

/* Mobile Menu Styles */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    color: #2d3436;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 2000;
}

.close-menu {
    display: none;
    background: none;
    border: none;
    color: #2d3436;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 2000;
}

@media (max-width: 1024px) {
    .hamburger-menu {
        display: block;
    }

    nav .menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 5rem 2rem 2rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1500;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
        gap: 0.5rem;
    }

    nav.active .menu {
        display: flex;
        flex-direction: column;
        transform: translateX(0);
    }

    nav.active .close-menu {
        display: block;
        position: fixed;
        top: 1rem;
        right: 1rem;
    }

    nav.active .hamburger-menu {
        display: none;
    }

    nav .menu li {
        margin: 1rem 0;
    }

    nav .menu a {
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem 0;
    }

    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(2px);
        z-index: 1400;
    }

    nav.active .menu-overlay {
        display: block;
    }
}

header img {
    max-width: 120px;
    height: auto;
}

.hero {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    background-image: url('Kuvat/background_uusi.png');
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 80% 40%, rgba(76, 175, 80, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 40% 70%, rgba(76, 175, 80, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 70% 80%, rgba(76, 175, 80, 0.08) 0%, transparent 40%);
    z-index: 1;
    animation: bubbleFloat 20s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 60% 20%, rgba(76, 175, 80, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 30% 50%, rgba(76, 175, 80, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 90% 60%, rgba(76, 175, 80, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(76, 175, 80, 0.08) 0%, transparent 40%);
    z-index: 1;
    animation: bubbleFloat 15s ease-in-out infinite reverse;
}

@keyframes bubbleFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(2%, 2%) scale(1.05);
    }
    50% {
        transform: translate(0, 4%) scale(1);
    }
    75% {
        transform: translate(-2%, 2%) scale(0.95);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-right: 11rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #2d3436;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-image-container {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 600px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    color: #2d3436;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-tag i {
    color: #4CAF50;
    font-size: 1.1rem;
}

.feature-tag:hover {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-image-placeholder {
    background: none;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    box-shadow: none;
    transition: all 0.3s ease;
    border: none;
    backdrop-filter: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-placeholder img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 20px;
}

.hero-image-placeholder.large {
    grid-column: span 2;
    aspect-ratio: 11/9;
    background: none;
}

.hero-image-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.hero-image-placeholder::before,
.hero-image-placeholder.large::before {
    display: none;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-cta .login-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.hero-cta .secondary-button {
    background: transparent;
    border: 2px solid #4CAF50;
    color: #4CAF50;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-cta .secondary-button:hover {
    background: rgba(76, 175, 80, 0.1);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 0%;
    }
    25% {
        background-position: 100% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .hero {
        padding: 4rem 2rem;
        min-height: 70vh;
        gap: 2rem;
    }

    .hero-content {
        margin-right: 2rem;
    }

    .hero-image-container {
        max-width: 450px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-features {
        justify-content: center;
    }

    .feature-tag {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 4rem 1rem;
        min-height: auto;
        gap: 2rem;
    }

    .hero-content {
        margin-right: 0;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-image-container {
        width: 100%;
        max-width: 100%;
        margin-top: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        margin: 2rem auto 0;
        width: 100%;
        max-width: 280px;
    }

    .hero-cta .login-button,
    .hero-cta .secondary-button {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        text-align: center;
        justify-content: center;
        white-space: nowrap;
    }

    .hero-cta .login-button {
        order: 1; /* Makes the trial button appear first */
    }

    .hero-cta .secondary-button {
        order: 2; /* Makes the read more button appear second */
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .feature-tag {
        width: 80%;
        justify-content: center;
    }

    .hero-image-placeholder {
        aspect-ratio: 16/9;
    }

    .hero-image-placeholder.large {
        aspect-ratio: 16/9;
    }
}

.section {
    padding: 5rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    margin-top: 5vh;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.8s ease-out;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: 
        radial-gradient(circle at 60% 20%, rgba(76, 175, 80, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 30% 50%, rgba(76, 175, 80, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 90% 60%, rgba(76, 175, 80, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(76, 175, 80, 0.08) 0%, transparent 40%);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    animation: bubbleFloat 20s ease-in-out infinite;
}

.section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: 
        radial-gradient(circle at 60% 20%, rgba(76, 175, 80, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 30% 50%, rgba(76, 175, 80, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 90% 60%, rgba(76, 175, 80, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(76, 175, 80, 0.08) 0%, transparent 40%);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    animation: bubbleFloat 15s ease-in-out infinite reverse;
}

.section:nth-child(even) {
    background: rgba(250, 250, 250, 0.95);
}

.section:nth-child(even)::before,
.section:nth-child(even)::after {
    opacity: 0.4;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #85BB65;
    font-weight: bold;
}

.section p {
    font-size: 1.1rem;
    max-width: 800px;
    color: #555;
}

.contact-section {
    background: linear-gradient(135deg, rgba(232, 245, 233, 0.95) 0%, rgba(200, 230, 201, 0.95) 100%);
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 24px;
    margin-top: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 100%;
    backdrop-filter: blur(8px);
}

.contact-section h2 {
    font-size: 2rem;
    color: #85BB65;
}

.about-content {
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 20px; /* Väli tekstin ja kuvan välillä */
 }

 .text-content {
     flex: 1; /* Tekstin suhteellinen leveys */
     max-width: 600px; /* Enimmäisleveys tekstille */
     text-align: left;
     margin-left: 50px;
 }

 .image-content {
     flex: 1; /* Kuvan suhteellinen leveys */
     max-width: 500px; /* Enimmäisleveys kuvalle */
     text-align: center;
 }

 .image-content img {
     width: 100%; /* Kuvan leveys täyttämään käytettävä tila */
     height: auto; /* Säilyttää mittasuhteet */
     border-radius: 10px; /* Pyöristetyt kulmat kuvalle */
 }

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.feature-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(8px);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.feature-box h3 {
    color: #2d3436;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-box i {
    color: #4CAF50;
    font-size: 2rem;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-box:hover i {
    transform: scale(1.2);
}

footer {
    background: linear-gradient(135deg, #2d3436 0%, #1e272e 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;
}

.section th, td {
    padding: 15px;
    text-align: center;
    border: 1px solid #272121;
}

.section table {
    margin-left: auto;
    margin-right: auto;
}

.accordion {
    max-width: 800px;
    margin: 2rem auto;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
}

.accordion-header {
    background: #ffffff;
    padding: 1.5rem;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2d3436;
    cursor: pointer;
    transition: all 0.3s ease;
}


.accordion-content {
    display: none;
    padding: 15px 20px;
    background-color: #f9f9f9;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content p {
    margin: 0;
}

.accordion-item.active .accordion-content {
    display: block;
}

.arrow-icon {
    font-size: 1.5rem;
    float: right; /* Nuoli oikealle */
    transition: transform 0.3s ease; /* Animaatio nuolen pyöräytykselle */
}

.accordion-item.active .arrow-icon {
    transform: rotate(180deg); /* Pyöräyttää nuolen ylös avattaessa */
}

.pricing-table {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    max-width: 400px;
    margin: 0 auto;
    backdrop-filter: blur(8px);
}

.pricing-card.highlighted {
    background: #ffffff;
    border: 2px solid rgba(76, 175, 80, 0.2);
    transform: scale(1.02);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 2rem;
    color: #85BB65;
    font-weight: bold;
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.features-list li::before {
    content: '✓';
    color: #85BB65;
    font-weight: bold;
}

.subscribe-button {
    text-decoration: none; 
    display: inline-block;  
    background-color: #4CAF50;  
    color: white;  
    padding: 10px 20px;  
    border-radius: 5px;  
    text-align: center;  
    font-weight: bold;  
}

.subscribe-button:hover {
    background-color: #45a049;  /* Väri muuttuu hover-tilassa */
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-icons a {
    color: #4CAF50;
    font-size: 1.8rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    filter: brightness(1.2);
}

.footer-link {
    color: #4CAF50;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #45a049;
    text-decoration: underline;
}

.käyttöehdot {
    text-align: center;
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
    position: relative;
    z-index: 2;
    margin-top: 10vh;
}

.käyttöehdot p {
    display: inline-block;
    text-align: left;
    max-width: 600px; /* Voit muokata tätä sopivaksi */
    width: 100%;
    font-size: 1.1rem;
    max-width: 800px;
    color: #555;
}

.käyttöehdot:nth-child(even) {
    background-color: #d3e7c5;
}

.käyttöehdot h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #85BB65;
    font-weight: bold;
}

@media (min-width: 768px) {

}

@media (max-width: 480px) {
    header {
        padding: 0.75rem;
    }

    .login-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .logo {
        max-width: 60px;
    }

    .header-title {
        font-size: 1rem;
    }
}

/* Add smooth scrolling to the whole page */
html {
    scroll-behavior: smooth;
}

/* Add fade-in animation for sections */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add pulse animation to CTA buttons */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(133, 187, 101, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(133, 187, 101, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(133, 187, 101, 0);
    }
}

.login-button-kokeilu {
    animation: pulse 2s infinite;
}

/* Add loading animation for images */
@keyframes imageLoad {
    from {
        opacity: 0;
        filter: blur(10px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

img {
    animation: imageLoad 0.5s ease-out;
}

/* Enhance mobile menu animation */
@media (max-width: 768px) {
    nav .menu {
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        opacity: 0;
        visibility: hidden;
    }

    nav.active .menu {
        opacity: 1;
        visibility: visible;
    }
}

/* Add decorative elements */
.section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: 
        radial-gradient(circle at 60% 20%, rgba(76, 175, 80, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 30% 50%, rgba(76, 175, 80, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 90% 60%, rgba(76, 175, 80, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(76, 175, 80, 0.08) 0%, transparent 40%);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: 
        radial-gradient(circle at 60% 20%, rgba(76, 175, 80, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 30% 50%, rgba(76, 175, 80, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 90% 60%, rgba(76, 175, 80, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(76, 175, 80, 0.08) 0%, transparent 40%);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.feedback-link {
    color: #2d3436;
    text-decoration: none;
    transition: color 0.3s ease;
}

.feedback-link:hover {
    color: #4CAF50;
    text-decoration: underline;
}
