:root {
    /* Moderni, pelkistetty paletti */
    --color-bg: #f4f4f4;
    --color-surface: #ffffff;
    --color-text: #000000;        /* Pääteksti: Täysin musta */
    --color-text-muted: #1a1a1a;  /* Leipäteksti: Lähes musta */
    --color-accent: #0056b3;
    --color-border: #e0e0e0;

    --spacing-unit: 1rem;
    --radius-sm: 4px;
    --radius-lg: 8px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* --- Layout --- */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

/* --- Typografia --- */
h1, h2, h3, h4 {
    margin-top: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p { margin-bottom: 1rem; color: var(--color-text-muted); }
.lead { font-size: 1.25rem; color: var(--color-text); font-weight: 500; }

/* --- Header --- */
header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
    margin-bottom: 3rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand { display: none; }

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

/* --- Hero / Story Card Layout --- */
.story-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.story-text { flex: 1; }

.story-image img {
    width: 150px;
    height: auto;
    border-radius: 50%;
    border: 4px solid var(--color-bg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* --- Tuotekortti & Karuselli --- */
.product-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.subtitle { font-size: 1.1rem; margin: 0; color: var(--color-text-muted); }

.carousel {
    position: relative;
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 2rem 0;
}

.carousel-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    min-height: 500px;
    justify-content: center;
}

.carousel-slide.active { display: flex; }

.carousel-slide img {
    max-height: 400px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.caption {
    font-weight: 600;
    color: var(--color-text);
    margin-top: 1rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: var(--color-text);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0 1rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.carousel-btn:hover { opacity: 1; }
.prev { left: 0; }
.next { right: 0; }

/* --- Painikkeet --- */
.btn {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn:hover { background: #004494; }

.btn-large {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.btn-text {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-weight: 500;
    padding: 0;
    font-size: 0.9rem;
}

.btn-text:hover { color: var(--color-accent); }

.action-area { text-align: center; margin-top: 2rem; }

/* --- Wtimer Alasivu --- */
.hero-center {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.big-logo {
    width: 150px; /* SUURENNETTU LOGO */
    height: 150px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-border);
}

/* UUSI TYYLI PIKKUKUVALLE */
.hero-app-shot {
    display: block;
    margin: 0 auto 1.5rem auto;
    max-width: 250px;
    max-height: 350px;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hero-desc {
    max-width: 600px;
    margin: 1rem auto 0;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* Uudet hinnoittelutyylit */
.pricing-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.price-option {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    width: 220px;
}
.price-option.recommended {
    border-color: var(--color-accent);
    border-width: 2px;
    position: relative;
}
.price-option .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    display: block;
}
.price-option .plan-name {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.trial-note {
    text-align: center;
    max-width: 500px;
    margin: 1rem auto 0;
    font-size: 0.95rem;
}

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

.feature-item {
    padding: 1.5rem;
    background: #fafafa;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: border-color 0.2s;
}

.feature-item:hover {
    border-color: var(--color-border);
    background: #ffffff;
}

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

.feature-item h4 { margin-bottom: 0.5rem; font-size: 1.1rem; color: var(--color-text); }
.feature-item p { font-size: 0.95rem; margin: 0; color: var(--color-text-muted); }

/* --- UUTISET / KUULUMISIA --- */
.news-item {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.news-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.news-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.news-item p {
    white-space: pre-line;
    color: var(--color-text-muted);
}

/* --- Palvelusivun tyylit --- */
.service-card {
    margin-bottom: 2rem;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}
.service-card h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}
.service-card p {
    color: var(--color-text-muted);
}
.service-list {
    list-style: none;
    padding: 0;
}
.service-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-muted);
}
.service-list li::before {
    content: "•";
    color: var(--color-accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}
.quote-box {
    background: #f9f9f9;
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem;
    font-style: italic;
    margin: 2rem 0;
}
.quote-box p {
    color: var(--color-text);
}

/* --- YHTEYDENOTTOLOMAKE --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background: #fafafa;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #fff;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* --- FAQ --- */
.faq-section { margin-top: 4rem; }
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.cta-final { text-align: center; margin-top: 4rem; }

/* --- Footer --- */
footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.footer-section p, .footer-section a {
    color: #cccccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-section a:hover { color: #ffffff; }

.copyright {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #666666;
}

/* --- Mobiili --- */
@media (max-width: 768px) {
    .card { padding: 1.5rem; }

    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .story-layout {
        flex-direction: column-reverse;
        text-align: center;
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2rem; }
}
