/**
 * Features page – blueprint-tyyli (sama kuin etusivu).
 * @author Kaido Mägi
 * @copyright 2026
 */

body.home-page.features-page .features-page-container {
    max-width: var(--home-max);
    margin: 0 auto;
    padding: 0 var(--home-pad);
    position: relative;
    z-index: 1;
}

body.home-page.features-page .features-hero {
    padding: clamp(36px, 6.4vw, 86px) 0 54px;
    text-align: center;
    background: transparent;
}

body.home-page.features-page .features-hero-content h1 {
    font-size: var(--home-h1);
    margin: 0 0 16px 0;
    font-weight: 700;
    color: var(--home-text);
    line-height: 1.02;
    letter-spacing: -0.8px;
}

body.home-page.features-page .features-hero-subtitle {
    font-size: clamp(16px, 1.7vw, 18px);
    color: var(--home-muted);
    line-height: 1.75;
    margin: 0 auto;
    max-width: 70ch;
}

body.home-page.features-page .features-grid-section {
    padding: 60px 0 80px;
    background: transparent;
}

body.home-page.features-page .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

body.home-page.features-page .feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--home-radius);
    padding: 32px;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    box-shadow: none;
}

body.home-page.features-page .feature-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(60, 184, 168, 0.25);
}

body.home-page.features-page .feature-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(60, 184, 168, 0.12);
    color: rgba(60, 184, 168, 0.95);
    border: 1px solid rgba(60, 184, 168, 0.28);
}

body.home-page.features-page .feature-card h3 {
    font-size: 1.5rem;
    margin: 0 0 12px 0;
    color: var(--home-text);
    font-weight: 600;
}

body.home-page.features-page .feature-card > p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--home-muted);
    margin: 0 0 16px 0;
}

body.home-page.features-page .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.home-page.features-page .feature-list li {
    font-size: 0.9375rem;
    color: var(--home-muted);
    line-height: 1.6;
    padding-left: 24px;
    position: relative;
}

body.home-page.features-page .feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: rgba(60, 184, 168, 0.95);
    font-weight: 700;
}

body.home-page.features-page .features-cta {
    padding: 60px 0 80px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--home-radius);
    margin: 0 0 60px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.home-page.features-page .features-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

body.home-page.features-page .features-cta-content h2 {
    font-size: var(--home-h2);
    color: var(--home-text);
    margin: 0 0 16px;
}

body.home-page.features-page .features-cta-content > p {
    color: var(--home-muted);
    margin: 0 0 32px;
}

/* 14-day trial CTA – MekryPro button style */
body.home-page.features-page .features-cta-button {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    background: #6EE7B7;
    color: #0a0f18;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #6EE7B7;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

body.home-page.features-page .features-cta-button:hover {
    background: #5dd9a8;
    border-color: #5dd9a8;
    color: #0a0f18;
    text-decoration: none;
}

body.home-page.features-page .features-cta-note {
    font-size: 1rem;
    color: var(--home-muted);
    line-height: 1.6;
    margin: 0;
}

body.home-page.features-page .features-cta-note a {
    color: rgba(60, 184, 168, 0.9);
    text-decoration: underline;
}

body.home-page.features-page .features-cta-note a:hover {
    color: var(--home-mint);
}

@media (max-width: 768px) {
    body.home-page.features-page .features-grid {
        grid-template-columns: 1fr;
    }
}
