/* ==========================================================================
   TrustSentinel - Brand Stylesheet
   Direction: Calm, Enterprise-grade, Audit-ready, Zero dark backgrounds
   ========================================================================== */

/* --- Variables --- */
:root {
    --primary-text: #1E2933;     /* Deep Slate */
    --primary-heading: #243746;  /* Midnight Blue */
    --accent-teal: #2F8F83;      /* Soft Teal */
    
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;         /* Very subtle off-white for separation */
    --border-color: #EAECEE;
    
    --text-muted: #5A6B7C;
}

/* --- Resets & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary-text);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-serif {
    font-family: 'Playfair Display', serif;
    color: var(--primary-heading);
    font-weight: 600;
    line-height: 1.25;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

.text-primary { color: var(--primary-heading); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.85rem; }
.text-lg { font-size: 1.25rem; }
.uppercase { text-transform: uppercase; letter-spacing: 1px; }

/* --- Layout --- */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 6rem 0; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.align-center { align-items: center; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-05 { margin-top: 0.5rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }
.border-y {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* --- Navigation --- */
nav {
    padding: 2rem 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-heading);
    letter-spacing: -0.5px;
}
.nav-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Hero Section --- */
.hero {
    padding: 6rem 0 5rem 0;
}
.hero-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.hero h1 {
    font-size: 3.8rem;
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
    letter-spacing: -1px;
}
.lead {
    font-size: 1.35rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}
.hero-subtext {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 1.5rem auto 3rem auto;
}

/* --- Buttons --- */
.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.btn-primary {
    background-color: var(--primary-heading);
    color: var(--bg-white);
    border: 1px solid var(--primary-heading);
}
.btn-primary:hover {
    background-color: var(--primary-text);
}
.btn-outline {
    background-color: transparent;
    color: var(--primary-heading);
    border: 1px solid var(--border-color);
}
.btn-outline:hover {
    border-color: var(--primary-heading);
}

/* --- Trust Bar --- */
.trust-bar {
    padding: 3rem 0;
}
.trust-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.trust-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    color: var(--primary-text);
    font-size: 0.95rem;
    font-weight: 500;
}

/* --- Typographic Elements --- */
h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}
h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* --- Cards & Blocks --- */
.card {
    padding: 2.5rem;
}
.card-clean {
    background-color: var(--bg-light);
    border-left: 3px solid var(--accent-teal);
}
.card-bordered {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.feature-block {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}
.feature-block h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.feature-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Custom Lists --- */
.custom-bullets {
    list-style: none;
}
.custom-bullets li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.custom-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-teal);
}
.custom-bullets.no-bullets li::before {
    display: none;
}
.custom-bullets.no-bullets li {
    padding-left: 0;
}

/* --- Workflow List --- */
.workflow-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 3rem;
    border: 1px solid var(--border-color);
}
.workflow-list {
    list-style-type: decimal;
    padding-left: 1.5rem;
    color: var(--primary-heading);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}
.workflow-list li {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}
.workflow-list li::marker {
    color: var(--accent-teal);
    font-weight: 600;
}

/* --- Tags Grid --- */
.tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
.tag {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-radius: 2px;
}

/* --- Statements & Quotes --- */
.statement-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary-heading);
    font-style: italic;
}
.massive-quote {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--primary-heading);
    line-height: 1.2;
}

/* --- Final CTA "Air" Tuning --- */
.final-cta {
    padding: 9rem 0; /* Reilusti ilmaa ylös ja alas koko osiolle */
}

.final-cta h1 {
    font-size: 3.2rem;
    margin-bottom: 0.5rem; /* Pieni tauko otsikoiden väliin */
}

.final-cta h2 {
    font-size: 3.2rem;
    margin-bottom: 3rem; /* Reilusti tilaa ennen leipätekstiä */
    color: var(--primary-heading);
}

.final-cta .lead {
    font-size: 1.45rem;
    line-height: 1.8; /* Suurempi riviväli tekee tekstistä rauhallisemman lukea */
    max-width: 850px; 
    margin: 0 auto 4rem auto; /* Paljon ilmaa ennen nappeja */
    color: var(--text-muted);
}

.final-cta .btn-group {
    gap: 1.5rem; /* Lisää ilmaa nappien väliin */
}

.final-cta .btn {
    padding: 1.1rem 2.5rem; /* Isommat ja "hengittävämmät" napit */
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* --- Footer --- */
footer {
    padding: 5rem 0 2rem 0;
    background-color: var(--bg-white);
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}
.footer-links {
    display: flex;
    gap: 2rem;
}
.footer-links a {
    color: var(--primary-text);
    text-decoration: none;
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--accent-teal);
}
.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hide-mobile { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .massive-quote { font-size: 2.2rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
    
    .final-cta { padding: 6rem 0; }
    .final-cta h1, .final-cta h2 { font-size: 2.2rem; }
    .final-cta .btn-group { flex-direction: column; }
    
    .footer-grid { flex-direction: column; gap: 2rem; }
    .footer-links { flex-direction: column; gap: 1rem; }
    .workflow-container { padding: 2rem; }
}
