:root {
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --primary-blue: #2563eb;
    --dark-text: #1e293b;
    --gray-text: #475569;
    --pill-bg: #334155;
    --whatsapp: #25D366;
    --border-color: #e2e8f0;
    --hero-bg: #0f172a;
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, sans-serif; margin: 0; padding: 0; background-color: var(--bg-light); color: var(--dark-text); }
* { box-sizing: border-box; }

/* YLÄPALKKI */
.navbar { background-color: white; padding: 15px 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.nav-logo { display: flex; align-items: center; font-weight: 800; font-size: 1.4rem; color: var(--dark-text); text-decoration: none; }
.nav-logo img { height: 45px; margin-right: 12px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark-text); font-weight: 600; font-size: 1rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary-blue); }

/* NAPIT */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 1.05rem; transition: all 0.3s; cursor: pointer; border: none; }
.btn-primary { background-color: var(--primary-blue); color: white; box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3); }
.btn-primary:hover { background-color: #1d4ed8; transform: translateY(-2px); }
.btn-outline { background-color: transparent; color: white; border: 2px solid white; }
.btn-outline:hover { background-color: white; color: var(--hero-bg); }
.btn-white { background-color: white; color: var(--dark-text); }
.btn-whatsapp { background-color: var(--whatsapp); color: white; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); border-radius: 50px; }
.btn-whatsapp:hover { background-color: #16a34a; transform: translateY(-2px); }

/* HERO-ALUE */
.hero { 
    background-color: var(--hero-bg); 
    color: white; 
    text-align: center; 
    padding: 100px 20px 160px 20px; 
    position: relative;
    overflow: hidden;
}
.hero-short {
    padding: 80px 20px;
}
.hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px; height: 1000px;
    background-image: url('watermark.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    opacity: 0.5; /* Vesileiman näkyvyys */
    filter: brightness(5) contrast(1.2); /* Tekee tummansinisestä logosta kirkkaan ja pitää mustan taustan mustana */
    mix-blend-mode: screen; /* Kadottaa kuvan mustan taustan täysin ja jättää vain kirkastetun logon kuultamaan */
    z-index: 1;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 6px; background-color: rgba(255,255,255,0.2); padding: 8px 18px; border-radius: 50px; font-size: 0.9rem; font-weight: 700; margin-bottom: 25px; letter-spacing: 0.5px; backdrop-filter: blur(5px); }
.badge-light { background-color: #dbeafe; color: #1e40af; }
.hero h1 { font-size: 3.5rem; margin: 0 0 25px 0; line-height: 1.2; max-width: 850px; margin-left: auto; margin-right: auto; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-short h1 { font-size: 3rem; max-width: 800px; }
.hero p { font-size: 1.25rem; color: #e2e8f0; max-width: 650px; margin: 0 auto 40px auto; line-height: 1.6; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.hero-short p { font-size: 1.2rem; max-width: 600px; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* INFO KORTIT (Etusivu) */
.overlap-cards { display: flex; justify-content: center; gap: 25px; max-width: 1000px; margin: -80px auto 60px auto; padding: 0 20px; flex-wrap: wrap; position: relative; z-index: 10; }
.stat-card { background: white; border-radius: 16px; padding: 35px 25px; text-align: center; flex: 1; min-width: 250px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); border: 1px solid var(--border-color); transition: transform 0.3s; }
.stat-card:hover { transform: translateY(-5px); }
.stat-icon { font-size: 2.5rem; margin-bottom: 15px; }
.stat-card h2 { margin: 0 0 10px 0; color: var(--dark-text); font-size: 1.3rem; font-weight: 700; }
.stat-card p { margin: 0; color: var(--gray-text); font-size: 1rem; line-height: 1.5; }

/* OSIOT */
.section { padding: 90px 20px; max-width: 950px; margin: 0 auto; }
.section-alt { background-color: white; max-width: 100%; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.section-alt-padding { padding: 80px 20px; min-height: 60vh; }
.section-inner { max-width: 950px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin: 15px 0; color: var(--dark-text); font-weight: 800; }
.section-header p { color: var(--gray-text); font-size: 1.15rem; margin: 0; line-height: 1.6; max-width: 700px; margin-inline: auto; }

/* HINNASTO-KORTIT */
.price-list { display: flex; flex-direction: column; gap: 20px; }
.price-card { background: white; border: 1px solid var(--border-color); border-radius: 16px; padding: 30px; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s; }
.price-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.06); border-color: #cbd5e1; transform: scale(1.01); }
.price-left { display: flex; align-items: center; gap: 25px; }
.price-icon { flex-shrink: 0; width: 60px; height: 60px; background-color: #eff6ff; color: var(--primary-blue); border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.price-icon svg { width: 32px; height: 32px; stroke-width: 1.8; }
.price-info h3 { margin: 0 0 8px 0; font-size: 1.25rem; color: var(--dark-text); font-weight: 700; }
.price-info p { margin: 0; color: var(--gray-text); font-size: 1rem; line-height: 1.5; }
.price-tag { background-color: var(--primary-blue); color: white; font-weight: 800; padding: 12px 24px; border-radius: 8px; font-size: 1.2rem; white-space: nowrap; margin-left: 20px; box-shadow: 0 4px 6px rgba(37,99,235,0.2); }

/* ASKEL-OSIO */
.steps-container { display: flex; justify-content: space-between; gap: 30px; text-align: center; flex-wrap: wrap; margin-top: 50px; }
.step { flex: 1; min-width: 250px; padding: 20px; }
.step-number { width: 50px; height: 50px; background-color: var(--primary-blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.4rem; margin: 0 auto 20px auto; box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3); }
.step h3 { margin: 0 0 12px 0; font-size: 1.3rem; font-weight: 700; }
.step p { color: var(--gray-text); font-size: 1.05rem; line-height: 1.6; margin: 0; }

/* TIETOA.HTML CONTENT */
.content-container { max-width: 800px; margin: 0 auto; line-height: 1.8; color: var(--dark-text); font-size: 1.1rem; }
.content-container h2 { font-size: 2rem; margin-top: 50px; margin-bottom: 25px; color: var(--bg-dark); font-weight: 800;}
.content-container h3 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 20px; color: var(--bg-dark); font-weight: 700;}
.content-container p { margin-bottom: 25px; color: #334155; }
.content-container ul { margin-bottom: 30px; color: #334155; padding-left: 20px; }
.content-container li { margin-bottom: 10px; }
.content-container a { color: var(--primary-blue); text-decoration: underline; font-weight: 600; }
.content-container a:hover { color: #1d4ed8; }

/* UKK.HTML FAQ */
.faq-container { display: flex; flex-direction: column; gap: 20px; max-width: 900px; margin: 0 auto; }
.faq-item { background: white; border: 1px solid var(--border-color); border-radius: 16px; padding: 35px; box-shadow: 0 8px 20px rgba(0,0,0,0.03); transition: transform 0.2s; }
.faq-item:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(0,0,0,0.06); }
.faq-item h3 { margin: 0 0 15px 0; font-size: 1.3rem; color: var(--dark-text); font-weight: 700; display: flex; align-items: center; gap: 10px;}
.faq-item h3::before { content: "Q:"; color: var(--primary-blue); font-size: 1.5rem; font-weight: 800;}
.faq-item p { margin: 0; color: var(--gray-text); font-size: 1.05rem; line-height: 1.7; }

/* ALAPALKKI CTA */
.cta-box { background-color: var(--hero-bg); border-radius: 24px; padding: 70px 30px; text-align: center; color: white; margin: 80px auto; max-width: 950px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); position: relative; overflow: hidden; }
.cta-box h2 { font-size: 2.8rem; margin: 0 0 20px 0; font-weight: 800; position: relative; z-index: 2; }
.cta-box p { font-size: 1.2rem; color: #e2e8f0; margin: 0 auto 40px auto; max-width: 600px; position: relative; z-index: 2; line-height: 1.6; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; position: relative; z-index: 2; }
.cta-footer { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 25px; font-size: 1rem; color: #cbd5e1; position: relative; z-index: 2; }

footer { text-align: center; padding: 40px; color: var(--gray-text); font-size: 1rem; border-top: 1px solid var(--border-color); background: white; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero { padding: 80px 20px 120px 20px; }
    .hero-short { padding: 60px 20px; }
    .nav-links { display: none; }
    .price-card { flex-direction: column; align-items: flex-start; gap: 20px; }
    .price-left { align-items: flex-start; }
    .price-tag { margin-left: 0; align-self: stretch; text-align: center; }
    .cta-box h2 { font-size: 2.2rem; }
    .faq-item { padding: 25px; }
    .content-container h2 { font-size: 1.6rem; }
}
