/* AI-Sanomat Yrityksille — Landing Page v2 */
/* Design system: Social Proof-Focused B2B SaaS */
/* Font: Plus Jakarta Sans */
/* Colors: Teal brand (#2cb1bc) + Navy dark (#0f172a) */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --teal: #2cb1bc;
    --teal-dark: #239099;
    --teal-light: #e8f7f8;
    --teal-glow: rgba(44, 177, 188, 0.15);
    --navy: #0f172a;
    --navy-light: #1e293b;
    --dark: #1a1a1a;
    --gray-900: #2d2d2d;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --amber: #f59e0b;
    --amber-light: #fffbeb;
    --orange: #f97316;
    --red: #ef4444;
    --green: #10b981;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; height: auto; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 720px; }

/* ===== HEADER ===== */
.site-header {
    padding: 16px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.95);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark);
}

.site-header__logo img { width: 36px; height: 36px; border-radius: 6px; }
.site-header__logo span { font-weight: 800; font-size: 14px; letter-spacing: 0.5px; }

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-header__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.site-header__link:hover { color: var(--dark); }

.btn {
    display: inline-block;
    font-family: inherit;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn:hover { text-decoration: none; }

.btn--primary {
    background: var(--teal);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
}

.btn--primary:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--secondary {
    background: transparent;
    color: var(--teal);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    border: 2px solid var(--teal);
}

.btn--secondary:hover { background: var(--teal-light); color: var(--teal-dark); }

.btn--large {
    padding: 16px 40px;
    font-size: 17px;
    border-radius: var(--radius-md);
}

.btn--orange {
    background: var(--orange);
    color: var(--white);
}

.btn--orange:hover { background: #ea580c; color: var(--white); }

/* ===== HERO ===== */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal-light);
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 24px;
    margin-bottom: 28px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 20px;
    color: var(--gray-600);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero__ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero__proof {
    font-size: 14px;
    color: var(--gray-400);
}

.hero__proof strong { color: var(--gray-600); }

/* ===== SOCIAL PROOF BAR ===== */
.social-proof-bar {
    padding: 32px 0;
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
}

.social-proof-bar__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.social-proof-bar__stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.social-proof-bar__stat {
    text-align: center;
}

.social-proof-bar__number {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.social-proof-bar__desc {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 4px;
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: var(--white); }

.section__eyebrow {
    font-size: 13px;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 12px;
}

.section__title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.section--navy .section__title { color: var(--white); }

.section__subtitle {
    font-size: 18px;
    color: var(--gray-600);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.section--navy .section__subtitle { color: rgba(255,255,255,0.7); }

/* ===== PROBLEM BLOCK ===== */
.problem-block {
    max-width: 640px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.problem-block p { margin-bottom: 16px; color: var(--gray-700); }

.problem-block__highlight {
    background: var(--amber-light);
    border-left: 4px solid var(--amber);
    padding: 20px 24px;
    font-weight: 600;
    font-style: italic;
    margin-top: 24px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--navy);
}

/* ===== SOLUTION IMAGE + TEXT ===== */
.solution-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.solution-split__image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.solution-list { margin: 0; }

.solution-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
}

.solution-item:last-child { border-bottom: none; }

.solution-item__check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--teal-light);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin-top: 2px;
}

.solution-item__value {
    display: inline-block;
    background: var(--teal-light);
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 4px;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table-wrapper { overflow-x: auto; }

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    max-width: 700px;
    margin: 0 auto;
    font-size: 15px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
}

.comparison-table thead th {
    background: var(--gray-50);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
    border-bottom: 2px solid var(--gray-200);
}

.comparison-table tbody td {
    border-bottom: 1px solid var(--gray-100);
    background: var(--white);
}

.comparison-table__highlight {
    background: var(--teal-light) !important;
    color: var(--navy);
    font-weight: 600;
}

.comparison-table thead .comparison-table__highlight {
    background: var(--teal) !important;
    color: var(--white);
}

.comparison-table td small { color: var(--gray-400); font-weight: 400; }

/* ===== PREVIEW ===== */
.preview {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}

.preview__header {
    background: var(--gray-50);
    padding: 12px 20px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 13px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-300); }

.preview__body { padding: 28px 24px; }
.preview__body h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }

.preview__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.preview__label--mista { color: var(--gray-400); }
.preview__label--miksi { color: var(--teal); }
.preview__body p { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 12px; }
.preview__divider { border: none; border-top: 1px solid var(--gray-200); margin: 16px 0; }

/* ===== PRICING CARD ===== */
.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    border: 2px solid var(--teal);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.pricing-card__popular {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--orange);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card__header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 40px 24px 32px;
}

.pricing-card__name { font-size: 24px; font-weight: 800; margin-bottom: 8px; }

.pricing-card__price { font-size: 60px; font-weight: 800; line-height: 1; }
.pricing-card__price span { font-size: 20px; font-weight: 500; opacity: 0.7; }

.pricing-card__per { font-size: 16px; opacity: 0.7; margin-top: 4px; }

.pricing-card__anchor {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 12px;
    text-decoration: line-through;
    opacity: 0.7;
}

.pricing-card__note { font-size: 13px; opacity: 0.6; margin-top: 8px; }

.pricing-card__body { padding: 28px 24px 36px; }
.pricing-card__desc { font-size: 15px; color: var(--gray-600); margin-bottom: 20px; }

.pricing-card__features { list-style: none; padding: 0; margin: 0 0 28px; }

.pricing-card__features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 15px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing-card__features li:last-child { border-bottom: none; }

.pricing-card__features li::before {
    content: '\2713';
    color: var(--teal);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-card__value {
    display: inline-block;
    background: var(--teal-light);
    color: var(--teal-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.pricing-card__cta {
    display: block;
    text-align: center;
    background: var(--teal);
    color: var(--white);
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.pricing-card__cta:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.pricing-card__guarantee {
    text-align: center;
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 12px;
}

/* ===== PERSONAS ===== */
.personas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.persona {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.persona:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.persona h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; color: var(--navy); }
.persona p { font-size: 15px; color: var(--gray-600); line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials { display: flex; flex-direction: column; gap: 24px; }

.testimonial {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    border: 1px solid var(--gray-200);
    margin: 0;
    position: relative;
}

.testimonial::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 48px;
    color: var(--teal);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--navy);
    margin-bottom: 16px;
    padding-left: 8px;
}

.testimonial footer {
    font-size: 14px;
    color: var(--gray-600);
    font-style: normal;
    font-weight: 500;
    padding-left: 8px;
}

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }

.step { text-align: center; counter-increment: step; }

.step::before {
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.step p { font-size: 15px; color: var(--gray-600); line-height: 1.6; }

/* ===== FAQ ===== */
.faq { max-width: 640px; margin: 0 auto; }

.faq__item { border-bottom: 1px solid var(--gray-200); }

.faq__item summary {
    padding: 20px 0;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::before {
    content: '+';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--teal-light);
    color: var(--teal);
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.faq__item[open] summary::before { content: '\2212'; }

.faq__item p {
    padding: 0 0 20px 40px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== DEMO FORM ===== */
.demo-form-section { padding: 80px 0; background: var(--navy); color: var(--white); }
.demo-form-section .section__title { color: var(--white); }
.demo-form-section .section__subtitle { color: rgba(255,255,255,0.6); }

.demo-form { max-width: 440px; margin: 0 auto; }
.demo-form__group { margin-bottom: 16px; }
.demo-form__label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: rgba(255,255,255,0.85); }

.demo-form__input,
.demo-form__select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.demo-form__input::placeholder { color: rgba(255,255,255,0.35); }
.demo-form__input:focus, .demo-form__select:focus { outline: none; border-color: var(--teal); background: rgba(255,255,255,0.12); }
.demo-form__select option { background: var(--navy); color: var(--white); }

.demo-form__submit {
    width: 100%;
    padding: 16px;
    background: var(--teal);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s;
    font-family: inherit;
}

.demo-form__submit:hover { background: var(--teal-dark); transform: translateY(-1px); }
.demo-form__submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.demo-form__guarantee {
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-top: 16px;
}

.demo-form__success {
    text-align: center;
    padding: 32px;
    background: rgba(44, 177, 188, 0.15);
    border: 1px solid var(--teal);
    border-radius: var(--radius-lg);
    display: none;
}

.demo-form__success h3 { font-size: 22px; margin-bottom: 8px; color: var(--teal); }
.demo-form__success p { color: rgba(255,255,255,0.7); font-size: 15px; }

.demo-form__error {
    text-align: center;
    padding: 12px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--red);
    border-radius: var(--radius-sm);
    color: #fca5a5;
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

/* ===== ABOUT ===== */
.about-block {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 640px;
    margin: 0 auto;
}

.about-block__image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--teal-light);
}

.about-block p { font-size: 16px; color: var(--gray-600); line-height: 1.7; }
.about-block strong { color: var(--navy); }

/* ===== FOOTER ===== */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--gray-200);
    text-align: center;
    font-size: 14px;
    color: var(--gray-400);
}

.site-footer a { color: var(--gray-400); margin: 0 12px; transition: color 0.2s; }
.site-footer a:hover { color: var(--teal); }

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 768px) {
    .hero { padding: 50px 0 40px; }
    .hero h1 { font-size: 32px; }
    .hero__subtitle { font-size: 17px; }
    .hero__ctas { flex-direction: column; align-items: center; }
    .section { padding: 56px 0; }
    .section__title { font-size: 28px; }
    .solution-split { grid-template-columns: 1fr; gap: 32px; }
    .solution-split__image { order: -1; }
    .personas, .steps { grid-template-columns: 1fr; gap: 16px; }
    .social-proof-bar__stats { gap: 24px; }
    .about-block { flex-direction: column; text-align: center; }
    .site-header__nav { gap: 12px; }
    .site-header__link { display: none; }
    .comparison-table { font-size: 14px; }
    .comparison-table th, .comparison-table td { padding: 12px 14px; }
}
