/* ========================================
   OKAVYX — UNIFIED DESIGN SYSTEM
   Dark mode only. Blue accent. Inter font.
   ======================================== */

/* ========================================
   DESIGN TOKENS
   ======================================== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: #12121a;
    --bg-header: rgba(10, 10, 15, 0.85);
    --bg-mobile-menu: rgba(10, 10, 15, 0.98);
    --bg-form-input: #1a1a25;
    --bg-form-select: #1a1a25;
    --bg-checkbox-group: #1a1a25;
    --text-primary: #d1d5db;
    --text-heading: #ffffff;
    --text-secondary: #9ca3af;
    --text-tertiary: #6b7280;
    --text-form-input: #d1d5db;
    --text-form-select: #d1d5db;
    --accent-primary: #3b82f6;
    --accent-hover: #60a5fa;
    --accent-link: #60a5fa;
    --accent-blockquote: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --accent-glow-strong: rgba(59, 130, 246, 0.3);
    --border-primary: rgba(59, 130, 246, 0.12);
    --border-hover: rgba(59, 130, 246, 0.25);
    --btn-primary-bg: #3b82f6;
    --btn-primary-text: #ffffff;
    --btn-primary-hover: #60a5fa;
    --btn-ghost-border: rgba(59, 130, 246, 0.4);
    --btn-ghost-text: #93bbfc;
    --btn-ghost-hover-bg: rgba(59, 130, 246, 0.1);
    --btn-ghost-hover-text: #60a5fa;
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

a { color: var(--accent-link); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; }

/* ========================================
   HEADER / NAV
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-primary);
}

.site-header nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-heading);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.site-logo img {
    height: 32px;
    width: 32px;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
    color: var(--text-heading);
    background: var(--accent-glow);
}

.nav-cta {
    background: var(--btn-primary-bg) !important;
    color: var(--btn-primary-text) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    margin-left: 0.5rem;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--btn-primary-hover) !important;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--bg-mobile-menu);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-primary);
    padding: 1rem 2rem;
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-primary);
}

.mobile-menu a:last-child { border-bottom: none; }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

.btn-primary:hover {
    background: var(--btn-primary-hover);
    color: var(--btn-primary-text);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--btn-ghost-text);
    border: 1px solid var(--btn-ghost-border);
}

.btn-ghost:hover {
    background: var(--btn-ghost-hover-bg);
    color: var(--btn-ghost-hover-text);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Legacy CTA button compat (about, services, contact pages) */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

.cta-button:hover {
    background: var(--btn-primary-hover);
    color: var(--btn-primary-text);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.cta-button.cta-ghost {
    background: transparent;
    color: var(--btn-ghost-text);
    border: 1px solid var(--btn-ghost-border);
}

.cta-button.cta-ghost:hover {
    background: var(--btn-ghost-hover-bg);
    color: var(--btn-ghost-hover-text);
    border-color: var(--accent-hover);
}

/* ========================================
   SECTIONS
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section { padding: 6rem 0; }

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

/* ========================================
   HERO (homepage)
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-primary);
    background-image: url('/assets/images/img-connection.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@supports (-webkit-touch-callout: none) {
    .hero { background-attachment: scroll; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.55);
    pointer-events: none;
    z-index: 1;
    transition: background 0.1s;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 0 2rem;
}

.hero-logo {
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    border-radius: 0;
    background: none;
    box-shadow: none;
    filter: drop-shadow(0 0 30px var(--accent-glow-strong)) drop-shadow(0 0 60px var(--accent-glow));
    animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 30px var(--accent-glow-strong)) drop-shadow(0 0 60px var(--accent-glow)); }
    50% { filter: drop-shadow(0 0 40px var(--accent-glow-strong)) drop-shadow(0 0 80px var(--accent-glow)); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   SERVICES (AI-focused, 4-card grid)
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 2.25rem;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.service-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-primary);
}

/* ========================================
   CREDIBILITY BAR
   ======================================== */
.credibility {
    border-top: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
    background: var(--bg-secondary);
    padding: 5rem 0;
}

.credibility-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.credibility-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.credibility-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.credibility-stats {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    margin-top: 2rem;
}

.stat { text-align: center; }

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   SPLIT SECTIONS (text + image side by side)
   ======================================== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.split-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.split-text .section-label { margin-bottom: 0.75rem; }

.split-image {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-primary);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 80px var(--accent-glow);
    transition: box-shadow 0.4s, transform 0.4s;
}

.split-image:hover {
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.4), 0 0 120px var(--accent-glow-strong);
    transform: translateY(-4px);
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   TOOLS GRID
   ======================================== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 480px));
    gap: 1.5rem;
    justify-content: center;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: border-color 0.3s, transform 0.3s;
}

.tool-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.tool-icon { font-size: 2rem; margin-bottom: 0.25rem; }

.tool-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
}

.tool-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.tool-card .btn-ghost,
.tool-card .cta-button {
    margin-top: auto;
    font-size: 0.875rem;
}

/* ========================================
   INSIGHTS / BLOG
   ======================================== */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.insight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, transform 0.3s;
}

.insight-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.insight-category,
.post-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    background: var(--accent-glow);
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
    width: fit-content;
}

.insight-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.insight-card h3 a { color: inherit; text-decoration: none; }
.insight-card h3 a:hover { color: var(--accent-primary); }

.insight-meta,
.post-meta {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 0.75rem;
}

.insight-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.insight-card .read-more,
.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.insight-card .read-more:hover,
.read-more:hover { color: var(--accent-hover); }

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ========================================
   FAQ (details/summary style)
   ======================================== */
.faq-container { max-width: 800px; margin: 0 auto; }

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    color: var(--text-heading);
    font-size: 1rem;
    list-style: none;
}

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

.faq-item summary::before {
    content: '+';
    display: inline-block;
    width: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.faq-item[open] summary::before { content: '\2212'; }

.faq-item p {
    margin: 0.75rem 0 0;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 1.5rem;
}

/* Legacy FAQ compat (faq.php with JS accordion) */
.faq-question {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    background: var(--bg-secondary);
    font-size: 1.15rem;
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
    font-weight: 600;
    transition: border-color 0.2s;
}

.faq-question:hover { border-color: var(--border-hover); }

.faq-icon {
    margin-right: 1rem;
    color: var(--accent-primary);
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    line-height: 1.7;
}

.faq-answer p { margin-bottom: 1rem; }

.faq-cta {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.footer-brand h3 img {
    height: 24px;
    width: 24px;
    border-radius: 4px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

/* Legacy footer compat */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.footer-subtext {
    color: var(--text-tertiary) !important;
    font-size: 0.85rem !important;
}

.footer-links h4, .footer-connect h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.footer-links ul, .footer-connect ul { list-style: none; }
.footer-links li, .footer-connect li { margin-bottom: 0.5rem; }

.footer-links a, .footer-connect a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover, .footer-connect a:hover { color: var(--accent-primary); }

.footer-bottom {
    border-top: 1px solid var(--border-primary);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.footer-bottom a { color: var(--text-tertiary); }

.footer-theme-separator { display: none; }
.footer-theme-toggle { display: none; }

/* ========================================
   PAGE SECTIONS (legacy compat for inner pages)
   ======================================== */
.page-section {
    padding: 6rem 0;
}

.page-section.bg-darker {
    background: var(--bg-primary);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.page-header h1,
.page-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.page-header p,
.page-header .subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   FEATURES GRID (legacy compat)
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 2.25rem;
    transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.feature-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-primary);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.feature-card p,
.feature-card ul {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

/* ========================================
   CONTENT GRID (service detail pages)
   ======================================== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
}

.content-grid.grid-reverse { direction: rtl; }
.content-grid.grid-reverse > * { direction: ltr; }

.grid-col-1, .grid-col-2 {
    color: var(--text-secondary);
    line-height: 1.8;
}

.grid-col-1 h2, .grid-col-2 h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.grid-col-1 h3, .grid-col-2 h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.grid-col-1 p, .grid-col-2 p {
    margin-bottom: 1rem;
}

/* Service lists on detail pages */
.service-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-primary);
    color: var(--text-secondary);
}

.service-list { list-style: none; padding: 0; }

.service-item {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}

.service-item:hover { border-color: var(--border-hover); }

.service-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.service-item p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ========================================
   BLOG LIST PAGE
   ======================================== */
.blog-post-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-post-list .insight-card {
    flex-direction: row;
    gap: 1.5rem;
}

/* ========================================
   SINGLE POST (prose)
   ======================================== */
.prose {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.8;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
    color: var(--text-heading);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose h1 { font-size: 2rem; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.25rem; }

.prose p { margin-bottom: 1.25rem; }

.prose a { color: var(--accent-link); }
.prose a:hover { color: var(--accent-hover); text-decoration: underline; }

.prose ul, .prose ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.prose li { margin-bottom: 0.5rem; }

.prose blockquote {
    border-left: 3px solid var(--accent-blockquote);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--bg-secondary);
    border-radius: 0 8px 8px 0;
    color: var(--text-secondary);
    font-style: italic;
}

.prose code {
    background: var(--bg-tertiary);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.prose pre {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    margin-bottom: 1.25rem;
}

.prose pre code {
    background: none;
    padding: 0;
}

.prose img {
    border-radius: 12px;
    margin: 1.5rem 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.prose th, .prose td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-primary);
    text-align: left;
}

.prose th {
    background: var(--bg-secondary);
    color: var(--text-heading);
    font-weight: 600;
}

/* ========================================
   FORMS (contact, search)
   ======================================== */
.contact-form,
.search-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-hint {
    font-weight: 400;
    color: var(--text-secondary);
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.6rem 0.85rem;
    background: var(--bg-form-input);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    color: var(--text-form-input);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.checkbox-group {
    background: var(--bg-checkbox-group);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.checkbox-section-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    margin-top: 0.75rem;
}

.checkbox-section-label:first-child {
    margin-top: 0;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1rem;
    margin-bottom: 0.5rem;
}

.checkbox-group .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
    cursor: pointer;
    padding: 0.35rem 0;
    margin-bottom: 0;
    transition: color 0.15s;
}

.checkbox-group .checkbox-label:hover {
    color: var(--text-primary);
}

.form-group .checkbox-label {
    display: flex;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid var(--border-primary);
    border-radius: 4px;
    background: var(--bg-form-input);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

/* Legacy checkbox-item support (search form etc) */
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.checkbox-item:last-child { margin-bottom: 0; }

.checkbox-item input[type="checkbox"] {
    width: auto;
    accent-color: var(--accent-primary);
}

.form-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 1rem;
    color: #fca5a5;
    margin-bottom: 1.5rem;
}

.form-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    padding: 1rem;
    color: #86efac;
    margin-bottom: 1.5rem;
}

.honeypot-field { display: none !important; }

/* Contact confirmation state */
.contact-confirmation {
    max-width: 500px;
    margin: 4rem auto;
    text-align: center;
}

.contact-confirmation .confirmation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid rgba(34, 197, 94, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #86efac;
}

.contact-confirmation h1 {
    font-size: 1.75rem;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.contact-confirmation p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination-links {
    display: flex;
    gap: 0.25rem;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-link:hover {
    border-color: var(--border-hover);
    color: var(--text-heading);
}

.pagination-current {
    background: var(--accent-primary) !important;
    color: var(--btn-primary-text) !important;
    border-color: var(--accent-primary) !important;
}

.pagination-ellipsis {
    color: var(--text-tertiary);
    padding: 0 0.25rem;
}

.pagination-info {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 0.5rem;
    text-align: center;
    width: 100%;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-quote {
    border-left: 3px solid var(--accent-primary);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--bg-secondary);
    border-radius: 0 12px 12px 0;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ========================================
   MANIFESTO / PHILOSOPHY
   ======================================== */
.manifesto-section {
    text-align: center;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
}

.manifesto-section blockquote {
    border: none;
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    padding: 0;
}

.manifesto-section .author {
    margin-top: 1rem;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }

/* Hidden SEO H1 */
.seo-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    /* Nav */
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    /* Legacy nav compat */
    .mobile-menu-button { display: block; }

    /* Layout */
    section { padding: 3rem 0; }
    .container { padding: 0 1.25rem; }

    /* Hero */
    .hero { min-height: 90vh; background-attachment: scroll; }
    .hero-logo { width: 90px; height: 90px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 2rem; }
    .hero-cta-group { flex-direction: column; align-items: center; gap: 0.75rem; }
    .hero-cta-group .btn { width: 100%; max-width: 280px; justify-content: center; }

    /* Grids */
    .services-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: 1fr; }
    .resources-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .checkbox-grid { grid-template-columns: 1fr; }
    .insights-grid { grid-template-columns: 1fr; }
    .content-grid { grid-template-columns: 1fr; }
    .content-grid.grid-reverse { direction: ltr; }

    /* Cards */
    .service-card { padding: 1.5rem; }
    .service-card-img { height: 120px; }
    .feature-card img { height: 120px; }
    .insight-card { padding: 1.25rem; }

    /* Split sections */
    .split { grid-template-columns: 1fr; gap: 1.5rem; }
    .split.reverse { direction: ltr; }
    .split-image { max-width: 100%; max-height: 240px; }
    .split-image img { max-height: 240px; object-fit: cover; }

    /* Credibility */
    .credibility { padding: 3rem 0; }
    .credibility-stats { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
    .stat-number { font-size: 1.75rem; }

    /* CTA */
    .cta-section { background-attachment: scroll; }

    /* FAQ */
    .faq-item summary { font-size: 0.95rem; padding: 0.75rem 0; }

    /* Footer */
    .footer-grid,
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

    /* Page sections */
    .page-section { padding: 3rem 0; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.75rem; }
    .hero-logo { width: 76px; height: 76px; }
    .section-header h2 { font-size: 1.4rem; }
    .split-text h2 { font-size: 1.3rem; }
    .credibility-content h2 { font-size: 1.25rem; }
    .service-card h3 { font-size: 1.05rem; }
    .stat { min-width: 80px; }
    .page-header h1,
    .page-header h2 { font-size: 1.5rem; }
}

/* Legacy: hide mobile menu button on desktop */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}




