/* Salmon Labs — salmonlabs.css */
/* Anti-fingerprint: sl prefix, 4-space indent, salmonlabs.css filename */

/* =========================================
   FONT IMPORT (local Inter variable font)
   ========================================= */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-variable.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   BASE RESET & TYPOGRAPHY
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: #334155;
    background-color: #F8FAFC;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #0A1628;
    line-height: 1.25;
}

h1 { font-size: 42px; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
h3 { font-size: 24px; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
h4 { font-size: 18px; font-weight: 600; letter-spacing: 0; line-height: 1.4; }

p { font-size: 16px; line-height: 1.65; color: #334155; }

a { color: #0F52BA; text-decoration: none; }
a:hover { color: #0A3F94; }

code, pre {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.sl-section {
    padding: 96px 0;
}

.sl-section-alt {
    background-color: #EEF2F7;
}

.sl-section-dark {
    background-color: #08142E;
}

.sl-section-base {
    background-color: #F8FAFC;
}

.sl-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.sl-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.sl-section-header h2 {
    margin-bottom: 16px;
}

.sl-section-header p {
    font-size: 18px;
    color: #64748B;
    max-width: 600px;
    margin: 0 auto;
}

.sl-section-dark .sl-section-header h2 {
    color: #F1F5F9;
}

.sl-section-dark .sl-section-header p {
    color: #94A3B8;
}

/* =========================================
   BUTTONS
   ========================================= */
.sl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    padding: 14px 32px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.sl-btn-primary {
    background: #0F52BA;
    color: #FFFFFF;
    border: none;
}

.sl-btn-primary:hover {
    background: #0A3F94;
    color: #FFFFFF;
}

.sl-btn-outline {
    background: transparent;
    color: #0F52BA;
    border: 2px solid #0F52BA;
}

.sl-btn-outline:hover {
    background: rgba(15, 82, 186, 0.10);
    color: #0A3F94;
    border-color: #0A3F94;
}

.sl-btn-outline-dark {
    background: transparent;
    color: #CBD5E1;
    border: 1.5px solid #1E3A5F;
}

.sl-btn-outline-dark:hover {
    background: #112348;
    color: #F1F5F9;
    border-color: #1E3A5F;
}

.sl-btn-sm {
    font-size: 14px;
    padding: 10px 22px;
}

/* =========================================
   NAV / HEADER
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.nav-transparent {
    background: transparent;
}

.site-header.nav-solid,
.site-header.scrolled {
    background: rgba(8, 20, 46, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo img {
    height: 42px;
    width: auto;
}

.nav-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #F1F5F9;
    letter-spacing: -0.01em;
}

.site-header.nav-transparent .nav-logo-text {
    color: #FFFFFF;
}

.site-header.nav-solid .nav-logo-text,
.site-header.scrolled .nav-logo-text {
    color: #F1F5F9;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    font-size: 15px;
    font-weight: 500;
    color: #E2E8F0;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
    display: block;
    outline: none;
}

.site-header.nav-transparent .nav-links li a {
    color: #FFFFFF;
}

.nav-links li a:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

.nav-links li a.active {
    color: #0EA5E9;
}

.nav-links li a:focus {
    outline: none;
}

.nav-cta {
    background: #0F52BA !important;
    color: #FFFFFF !important;
    border-radius: 6px;
    padding: 10px 20px !important;
    font-weight: 600;
}

.nav-cta:hover {
    background: #0A3F94 !important;
    color: #FFFFFF !important;
}

.nav-cta.active {
    background: #0A3F94 !important;
    color: #FFFFFF !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #E2E8F0;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.sl-subpage {
    padding-top: 64px;
}

/* =========================================
   HERO — HOMEPAGE (SPLIT LAYOUT)
   ========================================= */
.sl-hero-home {
    position: relative;
    background-color: #08142E;
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.sl-hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 20, 46, 0.92) 0%, rgba(8, 20, 46, 0.78) 100%);
    z-index: 1;
    pointer-events: none;
}

.sl-hero-home::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(15, 82, 186, 0.25) 0%, transparent 65%);
    z-index: 1;
    pointer-events: none;
}

.sl-hero-home .sl-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px;
}

.sl-hero-home .sl-hero-inner .row {
    align-items: center;
}

.sl-hero-text h1 {
    font-size: 60px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.sl-hero-text p.sl-hero-sub {
    font-size: 18px;
    color: #CBD5E1;
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 520px;
}

.sl-hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.sl-trust-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sl-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 82, 186, 0.15);
    border: 1px solid rgba(15, 82, 186, 0.3);
    color: #94A3B8;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 20px;
}

.sl-trust-badge i {
    color: #0EA5E9;
    font-size: 11px;
}

.sl-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sl-hero-dashboard-wrap {
    background: #112348;
    border: 1px solid #1E3A5F;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(15, 82, 186, 0.3), 0 0 60px rgba(14, 165, 233, 0.15);
    width: 100%;
    max-width: 480px;
}

.sl-hero-dashboard-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   HERO — SUB-PAGES
   ========================================= */
.sl-hero-page {
    background: #08142E;
    padding: 80px 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sl-hero-page::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(15, 82, 186, 0.20) 0%, transparent 70%);
    pointer-events: none;
}

.sl-hero-page .sl-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

.sl-hero-page h1 {
    font-size: 42px;
    font-weight: 700;
    color: #F1F5F9;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.sl-hero-page p {
    font-size: 18px;
    color: #94A3B8;
    line-height: 1.65;
}

/* =========================================
   TRUST / LOGOS BAR
   ========================================= */
.sl-logos-bar {
    background: #EEF2F7;
    padding: 48px 0;
}

.sl-logos-bar .sl-logos-label {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #64748B;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.sl-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.sl-logo-placeholder {
    height: 32px;
    display: flex;
    align-items: center;
    opacity: 0.45;
    filter: grayscale(100%);
}

.sl-logo-placeholder span {
    font-size: 15px;
    font-weight: 700;
    color: #334155;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* =========================================
   FEATURE CARDS
   ========================================= */
.sl-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.sl-feature-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(15, 82, 186, 0.08);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
    flex: 1 1 calc(33.333% - 19px);
    min-width: 260px;
}

.sl-feature-card:hover {
    box-shadow: 0 8px 32px rgba(15, 82, 186, 0.14);
    border-color: rgba(15, 82, 186, 0.20);
}

.sl-feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(15, 82, 186, 0.10);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.sl-feature-icon i {
    font-size: 22px;
    color: #0F52BA;
}

.sl-feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0A1628;
    margin-bottom: 10px;
}

.sl-feature-card p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.6;
    flex: 1;
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.sl-steps-row {
    display: flex;
    gap: 0;
    position: relative;
}

.sl-steps-row::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.666% + 24px);
    right: calc(16.666% + 24px);
    height: 2px;
    background: linear-gradient(90deg, #0F52BA, #0EA5E9);
    z-index: 0;
}

.sl-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.sl-step-num {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #0F52BA;
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
    border: 3px solid #EEF2F7;
}

.sl-step-icon {
    font-size: 24px;
    color: #0F52BA;
    margin-bottom: 12px;
}

.sl-step h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0A1628;
    margin-bottom: 10px;
}

.sl-step p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.6;
}

/* =========================================
   STATS BAR
   ========================================= */
.sl-stats-bar {
    background: #08142E;
    padding: 72px 0;
}

.sl-stats-row {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.sl-stat-item {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 16px 24px;
    border-right: 1px solid #1E3A5F;
}

.sl-stat-item:last-child {
    border-right: none;
}

.sl-stat-num {
    font-size: 44px;
    font-weight: 800;
    color: #0EA5E9;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.sl-stat-label {
    font-size: 14px;
    font-weight: 500;
    color: #94A3B8;
    letter-spacing: 0.02em;
}

/* =========================================
   INTEGRATIONS WALL
   ========================================= */
.sl-integrations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sl-integration-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: box-shadow 0.2s ease;
    min-height: 80px;
}

.sl-integration-item:hover {
    box-shadow: 0 4px 16px rgba(15, 82, 186, 0.12);
}

.sl-integration-item span {
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.sl-testimonials-grid {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.sl-testimonial-card {
    flex: 1;
    min-width: 260px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(15, 82, 186, 0.08);
}

.sl-testimonial-quote {
    font-size: 15px;
    color: #334155;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 24px;
    font-style: italic;
}

.sl-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sl-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0F52BA, #0EA5E9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.sl-testimonial-name {
    font-size: 15px;
    font-weight: 600;
    color: #0A1628;
}

.sl-testimonial-role {
    font-size: 13px;
    color: #64748B;
}

/* =========================================
   CTA SECTION (DARK)
   ========================================= */
.sl-cta-dark {
    background: #08142E;
    padding: 96px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sl-cta-dark::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(15, 82, 186, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.sl-cta-dark .sl-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px;
}

.sl-cta-dark h2 {
    font-size: 36px;
    font-weight: 700;
    color: #F1F5F9;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.sl-cta-dark p {
    font-size: 18px;
    color: #94A3B8;
    margin-bottom: 36px;
}

/* =========================================
   PRODUCT PAGE — ZIGZAG
   ========================================= */
.sl-zigzag {
    display: flex;
    align-items: center;
    gap: 64px;
    padding: 56px 0;
    border-bottom: 1px solid #E2E8F0;
}

.sl-zigzag:last-child {
    border-bottom: none;
}

.sl-zigzag-text {
    flex: 1;
}

.sl-zigzag-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0A1628;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.sl-zigzag-text p {
    font-size: 16px;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 20px;
}

.sl-zigzag-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sl-zigzag-text ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #334155;
    margin-bottom: 10px;
}

.sl-zigzag-text ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0F52BA;
    margin-top: 8px;
    flex-shrink: 0;
}

.sl-zigzag-img {
    flex: 1;
    max-width: 45%;
}

.sl-zigzag-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(15, 82, 186, 0.12);
}

.sl-zigzag.reverse {
    flex-direction: row-reverse;
}

/* Architecture Section */
.sl-architecture {
    background: #08142E;
    padding: 96px 0;
    text-align: center;
}

.sl-architecture h2 {
    color: #F1F5F9;
    margin-bottom: 16px;
}

.sl-architecture p.sl-arch-caption {
    color: #94A3B8;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 48px;
}

.sl-architecture-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4);
    border: 1px solid #1E3A5F;
}

.sl-architecture-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Use Cases Cards (reuse sl-feature-card styles) */
.sl-usecase-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(15, 82, 186, 0.08);
    transition: box-shadow 0.25s ease;
    flex: 1 1 calc(33.333% - 19px);
    min-width: 260px;
}

.sl-usecase-card:hover {
    box-shadow: 0 8px 32px rgba(15, 82, 186, 0.14);
}

.sl-usecase-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0A1628;
    margin-bottom: 12px;
}

.sl-usecase-card p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.65;
    flex: 1;
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.sl-mission-section {
    background: #F8FAFC;
    padding: 96px 0;
}

.sl-mission-section .sl-mission-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0A1628;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.sl-mission-section .sl-mission-text p {
    font-size: 16px;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 16px;
}

.sl-mission-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(15, 82, 186, 0.10);
}

.sl-values-grid {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.sl-value-card {
    flex: 1;
    min-width: 260px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(15, 82, 186, 0.08);
}

.sl-value-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0A1628;
    margin-bottom: 12px;
}

.sl-value-card p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.65;
}

.sl-investor-section {
    background: #EEF2F7;
    padding: 80px 0;
    text-align: center;
}

.sl-investor-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 40px 48px;
    max-width: 480px;
    box-shadow: 0 2px 8px rgba(15, 82, 186, 0.08);
}

.sl-investor-badge {
    display: inline-block;
    background: rgba(15, 82, 186, 0.10);
    color: #0F52BA;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.sl-investor-name {
    font-size: 24px;
    font-weight: 700;
    color: #0A1628;
    margin-bottom: 12px;
}

.sl-investor-desc {
    font-size: 15px;
    color: #64748B;
    line-height: 1.6;
}

/* =========================================
   TEAM PAGE
   ========================================= */
.sl-team-section {
    background: #F8FAFC;
    padding: 96px 0;
}

.sl-team-featured {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    gap: 32px;
    box-shadow: 0 4px 16px rgba(15, 82, 186, 0.10);
    margin-bottom: 28px;
}

.sl-team-featured-img {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.sl-team-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sl-team-featured-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.sl-team-featured-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0A1628;
    margin-bottom: 6px;
}

.sl-team-featured-title {
    font-size: 16px;
    font-weight: 600;
    color: #0F52BA;
    margin-bottom: 16px;
}

.sl-team-featured-bio {
    font-size: 16px;
    color: #334155;
    line-height: 1.7;
    max-width: 480px;
}

.sl-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sl-team-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 28px 20px 24px;
    box-shadow: 0 2px 8px rgba(15, 82, 186, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.sl-team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-bottom: 16px;
}

.sl-team-card-body {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sl-team-card-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0A1628;
    margin-bottom: 4px;
}

.sl-team-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #0F52BA;
    margin-bottom: 10px;
}

.sl-team-card-bio {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    flex: 1;
}

.sl-join-section {
    background: #08142E;
    padding: 96px 0;
}

.sl-join-section h2 {
    color: #F1F5F9;
    font-size: 36px;
    margin-bottom: 16px;
}

.sl-join-section p {
    color: #94A3B8;
    font-size: 16px;
    margin-bottom: 28px;
}

.sl-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sl-benefit-card {
    background: #112348;
    border: 1px solid #1E3A5F;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.sl-benefit-card i {
    font-size: 20px;
    color: #0EA5E9;
    flex-shrink: 0;
    margin-top: 2px;
}

.sl-benefit-title {
    font-size: 15px;
    font-weight: 600;
    color: #F1F5F9;
    margin-bottom: 4px;
}

.sl-benefit-desc {
    font-size: 13px;
    color: #64748B;
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.sl-contact-section {
    background: #F8FAFC;
    padding: 96px 0;
}

.sl-contact-form-wrap {
    max-width: 640px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 4px 24px rgba(15, 82, 186, 0.08);
    margin-bottom: 56px;
}

.sl-form-group {
    margin-bottom: 24px;
}

.sl-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0A1628;
    margin-bottom: 8px;
}

.sl-form-group input,
.sl-form-group textarea,
.sl-form-group select {
    width: 100%;
    background: #FFFFFF;
    color: #0A1628;
    border: 1.5px solid #E2E8F0;
    border-radius: 6px;
    padding: 12px 16px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
}

.sl-form-group input::placeholder,
.sl-form-group textarea::placeholder {
    color: #9CA3AF;
}

.sl-form-group input:focus,
.sl-form-group textarea:focus {
    border-color: #0F52BA;
    border-width: 2px;
}

.sl-form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.sl-form-error {
    font-size: 12px;
    color: #EF4444;
    margin-top: 4px;
    display: none;
}

.sl-form-group.error .sl-form-error {
    display: block;
}

.sl-form-group.error input,
.sl-form-group.error textarea {
    border-color: #EF4444;
}

.sl-form-success {
    display: none;
    text-align: center;
    padding: 20px;
    background: rgba(16, 185, 129, 0.10);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 6px;
    color: #10B981;
    font-size: 15px;
    font-weight: 500;
    margin-top: 16px;
}

.sl-contact-info-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    max-width: 640px;
    margin: 0 auto;
}

.sl-contact-info-item {
    flex: 1;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 28px 20px;
    box-shadow: 0 2px 8px rgba(15, 82, 186, 0.06);
}

.sl-contact-info-item i {
    font-size: 20px;
    color: #0F52BA;
    margin-bottom: 10px;
}

.sl-contact-info-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748B;
    margin-bottom: 6px;
}

.sl-contact-info-val {
    font-size: 14px;
    color: #334155;
    font-weight: 500;
}

/* =========================================
   BLOG PAGE
   ========================================= */
.sl-blog-section {
    background: #F8FAFC;
    padding: 96px 0;
}

.sl-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.sl-blog-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 82, 186, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.25s ease;
}

.sl-blog-card:hover {
    box-shadow: 0 8px 32px rgba(15, 82, 186, 0.14);
}

.sl-blog-card .sl-blog-thumb {
    display: block;
    overflow: hidden;
}

.sl-blog-card .sl-blog-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.sl-blog-card:hover .sl-blog-thumb img {
    transform: scale(1.03);
}

.sl-blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sl-blog-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.sl-blog-category {
    display: inline-block;
    background: rgba(15, 82, 186, 0.10);
    color: #0F52BA;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

.sl-blog-date {
    font-size: 12px;
    color: #94A3B8;
}

.sl-blog-read-time {
    font-size: 12px;
    color: #94A3B8;
}

.sl-blog-card-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: #0A1628;
    line-height: 1.4;
    margin-bottom: 10px;
}

.sl-blog-card-body h3 a {
    color: #0A1628;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sl-blog-card-body h3 a:hover {
    color: #0F52BA;
}

.sl-blog-card-body p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.sl-read-more {
    font-size: 14px;
    font-weight: 600;
    color: #0F52BA;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease, gap 0.2s ease;
    margin-top: auto;
}

.sl-read-more:hover {
    color: #0A3F94;
    gap: 8px;
}

.sl-read-more i {
    font-size: 12px;
}

/* =========================================
   BLOG ARTICLE DETAIL
   ========================================= */
.container-narrow {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

.sl-article-hero {
    background: #08142E;
    padding: 80px 0 64px;
    text-align: center;
}

.sl-article-hero h1 {
    font-size: 38px;
    font-weight: 700;
    color: #F1F5F9;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sl-article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sl-article-body {
    padding: 64px 0;
    background: #F8FAFC;
}

.sl-article-body h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0A1628;
    margin-top: 48px;
    margin-bottom: 16px;
}

.sl-article-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: #0A1628;
    margin-top: 32px;
    margin-bottom: 12px;
}

.sl-article-body p {
    font-size: 17px;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 20px;
}

.sl-article-body img {
    max-width: 100%;
    height: auto;
}

.sl-article-body ul,
.sl-article-body ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.sl-article-body li {
    font-size: 17px;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 8px;
}

.sl-article-body code {
    background: #EEF2F7;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    color: #0F52BA;
}

/* =========================================
   LEGAL PAGES
   ========================================= */
.sl-legal-body {
    padding: 64px 0;
    background: #F8FAFC;
}

.sl-legal-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0A1628;
    margin-top: 40px;
    margin-bottom: 14px;
}

.sl-legal-body p {
    font-size: 16px;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 16px;
}

.sl-legal-body ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.sl-legal-body li {
    font-size: 16px;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 8px;
}

.sl-legal-updated {
    font-size: 13px;
    color: #94A3B8;
    margin-bottom: 32px;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background: #08142E;
    padding: 72px 0 0;
    color: #CBD5E1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #1E3A5F;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: #F1F5F9;
    text-decoration: none;
    display: block;
    margin-bottom: 14px;
}

.footer-logo:hover {
    color: #F1F5F9;
}

.footer-brand p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 260px;
}

.footer-social {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #112348;
    border: 1px solid #1E3A5F;
    border-radius: 6px;
    color: #64748B;
    font-size: 14px;
    transition: color 0.2s ease, background 0.2s ease;
}

.footer-social li a:hover {
    color: #F1F5F9;
    background: #1E3A5F;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: #F1F5F9;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #CBD5E1;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-contact-item i {
    font-size: 13px;
    color: #64748B;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-item span,
.footer-contact-item a {
    font-size: 14px;
    color: #64748B;
    text-decoration: none;
    line-height: 1.5;
}

.footer-contact-item a:hover {
    color: #CBD5E1;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 13px;
    color: #4B6A8A;
    margin: 0;
}

.footer-bottom a {
    color: #4B6A8A;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #94A3B8;
}

/* =========================================
   COOKIE BANNER
   ========================================= */
#sl-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #112348;
    border-top: 1px solid #1E3A5F;
    padding: 16px 24px;
    display: none;
}

.sl-cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.sl-cookie-text {
    font-size: 14px;
    color: #CBD5E1;
    flex: 1;
}

.sl-cookie-text a {
    color: #0EA5E9;
    text-decoration: underline;
}

.sl-cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.sl-cookie-accept {
    background: #0F52BA;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sl-cookie-accept:hover {
    background: #0A3F94;
}

.sl-cookie-decline {
    background: transparent;
    color: #CBD5E1;
    border: 1px solid #1E3A5F;
    border-radius: 6px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sl-cookie-decline:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* =========================================
   404 PAGE
   ========================================= */
.sl-404-page {
    background: #08142E;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.sl-404-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}

.sl-404-main::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(15, 82, 186, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.sl-404-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 560px;
}

.sl-404-number {
    font-size: 140px;
    font-weight: 800;
    color: #0F52BA;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.sl-404-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #F1F5F9;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.sl-404-content p {
    font-size: 17px;
    color: #94A3B8;
    line-height: 1.65;
    margin-bottom: 36px;
}

.sl-404-links {
    margin-top: 20px;
    font-size: 14px;
    color: #64748B;
}

.sl-404-links a {
    color: #0EA5E9;
    text-decoration: underline;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .sl-integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sl-team-featured {
        flex-direction: column;
    }

    .sl-team-featured-img {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 34px; }
    h2 { font-size: 28px; }
    h3 { font-size: 21px; }

    .sl-section { padding: 64px 0; }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(8, 20, 46, 0.98);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        padding: 12px 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .sl-hero-home .sl-hero-inner {
        padding: 80px 24px 64px;
    }

    .sl-hero-text h1 {
        font-size: 38px;
    }

    .sl-hero-visual {
        margin-top: 40px;
    }

    .sl-steps-row {
        flex-direction: column;
        gap: 32px;
    }

    .sl-steps-row::before {
        display: none;
    }

    .sl-stat-item {
        min-width: 140px;
    }

    .sl-integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sl-testimonials-grid {
        flex-direction: column;
    }

    .sl-features-grid {
        flex-direction: column;
    }

    .sl-feature-card {
        flex: 1 1 100%;
    }

    .sl-values-grid {
        flex-direction: column;
    }

    .sl-team-grid {
        grid-template-columns: 1fr;
    }

    .sl-benefits-grid {
        grid-template-columns: 1fr;
    }

    .sl-contact-info-row {
        flex-direction: column;
    }

    .sl-blog-grid {
        grid-template-columns: 1fr;
    }

    .sl-zigzag {
        flex-direction: column;
        gap: 32px;
    }

    .sl-zigzag-img {
        max-width: 100%;
    }

    footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .sl-cookie-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .sl-hero-page h1 {
        font-size: 32px;
    }

    .sl-stats-row {
        flex-direction: column;
        gap: 0;
    }

    .sl-stat-item {
        border-right: none;
        border-bottom: 1px solid #1E3A5F;
    }

    .sl-stat-item:last-child {
        border-bottom: none;
    }

    .sl-contact-form-wrap {
        padding: 28px 20px;
    }

    .sl-404-number {
        font-size: 100px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .sl-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sl-features-grid .sl-feature-card {
        flex: 1 1 calc(50% - 14px);
    }

    .sl-usecase-card {
        flex: 1 1 calc(50% - 14px);
    }
}

/* Logo dark/light variant swap */
.logo-img {
  max-height: 40px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
}
/* Salmon Labs nav is always on dark background; always show light logo variant. */
.site-header .logo-img--dark { display: none !important; }
.site-header .logo-img--light { display: inline-block !important; }
