/* ===== COMPACTUM MEDIA — APPLE-INSPIRED REDESIGN ===== */
/* Alternating light/dark sections, #0071e3 accent, pill buttons */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Manrope', sans-serif;
    background: #F5F5F7;
    color: #1D1D1F;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
::selection { background: #0071e3; color: #fff; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
a { text-decoration: none; color: inherit; }
input, textarea { font-family: inherit; color: inherit; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.container-md { max-width: 960px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) {
    .container { padding: 0 48px; }
    .container-sm { padding: 0 48px; }
    .container-md { padding: 0 48px; }
}

/* Section base */
.section { padding: 100px 0; position: relative; }
.section-light { background: #F5F5F7; color: #1D1D1F; }
.section-dark { background: #000; color: #F5F0EB; }
.section-white { background: #fff; color: #1D1D1F; }
@media (min-width: 768px) { .section { padding: 120px 0; } }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
    font-size: 36px; font-weight: 700; letter-spacing: -0.02em;
    line-height: 1.15; margin-bottom: 20px;
}
.section-header p {
    font-size: 18px; font-weight: 400; max-width: 600px;
    margin: 0 auto; line-height: 1.7;
}
.section-light .section-header p,
.section-white .section-header p { color: #86868B; }
.section-dark .section-header h2 { color: #F5F0EB; }
.section-dark .section-header p { color: rgba(245,240,235,0.5); }
@media (min-width: 768px) {
    .section-header h2 { font-size: 56px; }
    .section-header p { font-size: 20px; }
}

/* ===== HEADER ===== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px;
    background: rgba(245,245,247,0.8);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: background 0.3s, border-color 0.3s;
}
.site-header.scrolled {
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
/* Dark header variant for dark-hero pages */
.site-header.header-dark {
    background: rgba(0,0,0,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header.header-dark.scrolled {
    background: rgba(0,0,0,0.88);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-header.header-dark .header-logo a { color: #F5F0EB; }
.site-header.header-dark .header-nav a { color: rgba(245,240,235,0.7); }
.site-header.header-dark .header-nav a:hover { color: #F5F0EB; }
.site-header.header-dark .header-nav a.active { color: #F5F0EB; }
.site-header.header-dark .mobile-menu-btn { color: #F5F0EB; }
.site-header.header-dark .header-cta { background: #fff; color: #000; }
.site-header.header-dark .header-cta:hover { background: #e8e8ed; }

@media (min-width: 768px) { .site-header { padding: 16px 48px; } }
.header-logo {
    font-size: 15px; font-weight: 800; letter-spacing: 0.15em;
    text-transform: uppercase; color: #1D1D1F;
}
.header-logo a { color: inherit; display: flex; align-items: center; }
.header-logo-img { height: 30px; width: auto; display: block; }
.header-nav { display: none; gap: 32px; }
.header-nav a {
    font-size: 14px; font-weight: 500; color: #86868B;
    transition: color 0.2s;
}
.header-nav a:hover { color: #1D1D1F; }
.header-nav a.active { color: #1D1D1F; }
.header-cta {
    display: none; padding: 10px 22px; font-size: 14px; font-weight: 600;
    background: #1D1D1F; color: #fff; border-radius: 980px;
    transition: background 0.2s, transform 0.2s;
}
.header-cta:hover { background: #333; transform: scale(1.02); }
.mobile-menu-btn {
    font-size: 14px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: #1D1D1F;
}
@media (min-width: 768px) {
    .header-nav { display: flex; }
    .header-cta { display: inline-flex; }
    .mobile-menu-btn { display: none; }
}
.header-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.98); padding: 32px 24px; gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    backdrop-filter: blur(20px);
}
.site-header.header-dark .header-nav.open {
    background: rgba(0,0,0,0.98);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; transition: all 0.3s ease; gap: 8px;
    border-radius: 980px;
}
.btn-primary {
    background: #0071e3; color: #fff; padding: 16px 32px; font-size: 16px;
}
.btn-primary:hover { background: #0077ED; transform: scale(1.02); }
.btn-primary:active { transform: scale(0.98); }
.btn-secondary {
    background: transparent; color: #0071e3; padding: 16px 32px;
    font-size: 16px; border: 1.5px solid #0071e3;
}
.btn-secondary:hover { background: #0071e3; color: #fff; }
.btn-white {
    background: #fff; color: #1D1D1F; padding: 16px 32px; font-size: 16px;
}
.btn-white:hover { background: #e8e8ed; transform: scale(1.02); }
.btn-dark {
    background: #1D1D1F; color: #fff; padding: 14px 28px; font-size: 16px;
    border-radius: 980px;
}
.btn-dark:hover { background: #333; }
.btn-dark:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-outline {
    background: transparent; color: #F5F0EB; padding: 14px 28px;
    font-size: 16px; border: 1.5px solid rgba(245,240,235,0.3);
    border-radius: 980px;
}
.btn-outline:hover { border-color: #F5F0EB; background: rgba(245,240,235,0.08); }
.btn-glow {
    box-shadow: 0 0 30px rgba(0,113,227,0.3);
    font-size: 18px; padding: 20px 40px;
}
.btn-glow:hover { box-shadow: 0 0 40px rgba(0,113,227,0.45); }
.btn-link {
    display: inline-flex; align-items: center; font-weight: 600;
    color: #0071e3; gap: 4px; background: none; border: none;
    transition: gap 0.2s; font-size: 16px;
}
.btn-link:hover { gap: 8px; }
.btn-link .material-symbols-outlined { font-size: 18px; }

/* ===== HERO (Homepage — Light) ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 120px 24px 80px; background: #F5F5F7;
}
.hero-inner { width: 100%; max-width: 960px; margin: 0 auto; text-align: center; }
.hero-eyebrow {
    display: inline-block; font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em; color: #0071e3;
    margin-bottom: 20px;
}
.hero-text h1 {
    font-size: 48px; font-weight: 700; letter-spacing: -0.03em;
    line-height: 1.08; color: #1D1D1F; margin-bottom: 24px;
}
@media (min-width: 768px) { .hero-text h1 { font-size: 72px; } }
@media (min-width: 1024px) { .hero-text h1 { font-size: 84px; } }
.hero-text p {
    max-width: 560px; margin: 0 auto 40px;
    font-size: 18px; font-weight: 400; color: #86868B; line-height: 1.7;
}
@media (min-width: 768px) { .hero-text p { font-size: 21px; } }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-note {
    margin-top: 20px; font-size: 13px; color: #86868B;
}

/* Page Hero (inner pages — light) */
.page-hero {
    min-height: 50vh; display: flex; align-items: center; justify-content: center;
    padding: 160px 24px 80px; 
    /* background: #F5F5F7;  */
    text-align: center; flex-direction: column;
}
.page-hero h1 {
    font-size: 36px; font-weight: 700; letter-spacing: -0.03em;
    line-height: 1.12; color: #1D1D1F; max-width: 800px; margin: 0 auto 24px;
}
@media (min-width: 768px) { .page-hero h1 { font-size: 56px; } }
@media (min-width: 1024px) { .page-hero h1 { font-size: 72px; } }
.page-hero p {
    font-size: 18px; color: #86868B; max-width: 640px;
    margin: 0 auto; line-height: 1.7;
}
@media (min-width: 768px) { .page-hero p { font-size: 20px; } }

/* ===== TRUSTED / CLIENT LOGOS ===== */
.trusted-section { padding: 40px 0 80px; background: #F5F5F7; }
.trusted-label {
    text-align: center; font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: #86868B; margin-bottom: 32px;
}
.client-logos {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 24px; max-width: 960px; margin: 0 auto;
    opacity: 0.5;
    flex-direction: row;
}
@media (min-width: 768px) { .client-logos { gap: 48px; } }
.logo-text {
    font-size: 15px; font-weight: 600; color: #86868B;
    letter-spacing: 0.02em; white-space: nowrap;
}

/* ===== LEAKS SECTION (Dark) ===== */
.leaks-grid {
    display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 768px) { .leaks-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .leaks-grid { grid-template-columns: repeat(5, 1fr); } }
.leak-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 32px 24px; text-align: center;
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.leak-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); }
.leak-card h4 {
    font-size: 17px; font-weight: 700; color: #F5F0EB; margin-bottom: 8px;
}
.leak-card p {
    font-size: 14px; color: rgba(245,240,235,0.45); line-height: 1.5;
}

/* ===== LEVERS SECTION (White) ===== */
.levers-layout {
    display: flex; flex-direction: column; gap: 48px;
}
@media (min-width: 1024px) { .levers-layout { flex-direction: row; align-items: flex-start; gap: 64px; } }
.levers-tabs { flex: 1; }
.lever-tab {
    padding: 24px; border-radius: 16px; cursor: pointer;
    border: 1px solid transparent; margin-bottom: 12px;
    transition: all 0.3s;
}
.lever-tab:hover { background: rgba(0,0,0,0.02); }
.lever-tab.active { background: #F5F5F7; border-color: rgba(0,0,0,0.08); }
.lever-tab h4 {
    font-size: 20px; font-weight: 700; color: #1D1D1F; margin-bottom: 4px;
}
.lever-tab p {
    font-size: 15px; color: #86868B; line-height: 1.6;
}
.levers-visual {
    flex: 1; background: #F5F5F7; border-radius: 24px;
    min-height: 400px; display: flex; align-items: center; justify-content: center;
    padding: 48px; overflow: hidden;
}
.levers-visual-content {
    text-align: center; color: #86868B; font-size: 18px;
}

/* ===== PROCESS SECTION (Dark) ===== */
.process-grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 40px 28px; text-align: center;
    transition: transform 0.3s, background 0.3s;
}
.process-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.08); }
.process-number {
    font-size: 48px; font-weight: 700; color: #0071e3;
    margin-bottom: 16px; letter-spacing: -0.03em;
}
.process-card h4 {
    font-size: 20px; font-weight: 700; color: #F5F0EB; margin-bottom: 8px;
}
.process-card p {
    font-size: 15px; color: rgba(245,240,235,0.45); line-height: 1.6;
}

/* ===== STRATEGY SECTION (White) ===== */
.strategy-layout {
    display: flex; flex-direction: column; gap: 48px;
}
@media (min-width: 1024px) { .strategy-layout { flex-direction: row; gap: 80px; } }
.strategy-text { flex: 1; }
.strategy-text h2 {
    font-size: 36px; font-weight: 700; letter-spacing: -0.02em;
    line-height: 1.15; margin-bottom: 16px; color: #1D1D1F;
}
@media (min-width: 768px) { .strategy-text h2 { font-size: 48px; } }
.strategy-text > p {
    font-size: 18px; color: #86868B; line-height: 1.7; margin-bottom: 40px;
}
.strategy-points { flex: 1; display: flex; flex-direction: column; gap: 32px; }
.strategy-point h4 {
    font-size: 18px; font-weight: 700; color: #1D1D1F; margin-bottom: 6px;
    display: flex; align-items: center; gap: 10px;
}
.strategy-point h4 .material-symbols-outlined { color: #0071e3; font-size: 22px; }
.strategy-point p { font-size: 15px; color: #86868B; line-height: 1.6; padding-left: 32px; }

/* ===== CASE STUDIES CARDS (Light) ===== */
.cases-grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
.case-card {
    background: #fff; border-radius: 24px; padding: 40px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.case-card-eyebrow {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: #0071e3; margin-bottom: 12px;
}
.case-card h3 { font-size: 24px; font-weight: 700; color: #1D1D1F; margin-bottom: 12px; }
.case-card p { font-size: 15px; color: #86868B; line-height: 1.6; margin-bottom: 24px; flex: 1; }
.case-card-metric {
    font-size: 32px; font-weight: 700; color: #0071e3;
    letter-spacing: -0.02em; margin-bottom: 4px;
}
.case-card-metric-label { font-size: 14px; color: #86868B; }

/* ===== PARTNER SECTION (Dark) ===== */
.partner-layout {
    display: flex; flex-direction: column; gap: 48px;
}
@media (min-width: 1024px) { .partner-layout { flex-direction: row; gap: 64px; } }
.partner-text { flex: 1; }
.partner-text h2 {
    font-size: 36px; font-weight: 700; letter-spacing: -0.02em;
    line-height: 1.15; margin-bottom: 20px; color: #F5F0EB;
}
@media (min-width: 768px) { .partner-text h2 { font-size: 48px; } }
.partner-text p { font-size: 18px; color: rgba(245,240,235,0.5); line-height: 1.7; margin-bottom: 20px; }
.partner-card {
    flex: 1; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 24px;
    padding: 40px; display: flex; flex-direction: column; justify-content: space-between;
}
.partner-card h3 { font-size: 24px; font-weight: 700; color: #F5F0EB; margin-bottom: 8px; }
.partner-card p { font-size: 15px; color: rgba(245,240,235,0.45); margin-bottom: 24px; }

/* ===== REVENUE SYSTEM (White) ===== */
.revenue-grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) { .revenue-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .revenue-grid { grid-template-columns: repeat(4, 1fr); } }
.revenue-card {
    background: #F5F5F7; border-radius: 16px; padding: 32px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 240px; display: flex; flex-direction: column;
}
.revenue-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.revenue-card .material-symbols-outlined {
    font-size: 28px; color: #0071e3; margin-bottom: 20px;
}
.revenue-card h4 { font-size: 18px; font-weight: 700; color: #1D1D1F; margin-bottom: 8px; }
.revenue-card p { font-size: 14px; color: #86868B; line-height: 1.6; flex: 1; }

/* ===== OFFER SECTION (Dark) ===== */
.offer-card-wrap {
    max-width: 800px; margin: 0 auto;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px; padding: 48px; text-align: center;
    position: relative; overflow: hidden;
}
.offer-badge {
    display: inline-block; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    background: #0071e3; color: #fff; padding: 6px 16px;
    border-radius: 980px; margin-bottom: 24px;
}
.offer-card-wrap h3 {
    font-size: 32px; font-weight: 700; color: #F5F0EB;
    margin-bottom: 16px; letter-spacing: -0.02em;
}
@media (min-width: 768px) { .offer-card-wrap h3 { font-size: 40px; } }
.offer-card-wrap > p {
    font-size: 18px; color: rgba(245,240,235,0.5); margin-bottom: 32px; line-height: 1.7;
}
.offer-features {
    display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 32px;
}
.offer-feature {
    font-size: 14px; font-weight: 500; color: rgba(245,240,235,0.6);
    padding: 8px 16px; background: rgba(255,255,255,0.06);
    border-radius: 980px; border: 1px solid rgba(255,255,255,0.08);
}
.offer-note {
    margin-top: 16px; font-size: 13px; color: rgba(245,240,235,0.35);
}

/* ===== FAQ ===== */
.faq-section { border-top: 1px solid rgba(0,0,0,0.08); }
.faq-list { display: flex; flex-direction: column; }
.faq-list details { border-bottom: 1px solid rgba(0,0,0,0.08); }
.section-dark .faq-list details { border-bottom-color: rgba(255,255,255,0.08); }
.faq-list summary {
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; padding: 24px 0; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span:first-child {
    font-size: 18px; font-weight: 700; color: #1D1D1F; transition: color 0.2s;
}
.section-dark .faq-list summary > span:first-child { color: #F5F0EB; }
@media (min-width: 768px) { .faq-list summary > span:first-child { font-size: 20px; } }
.faq-list summary:hover > span:first-child { color: #0071e3; }
.faq-icon .material-symbols-outlined { color: #86868B; transition: color 0.2s; }
.section-dark .faq-icon .material-symbols-outlined { color: rgba(245,240,235,0.3); }
.faq-list summary:hover .faq-icon .material-symbols-outlined { color: #0071e3; }
.icon-plus { display: block; }
.icon-minus { display: none; }
details[open] .icon-plus { display: none; }
details[open] .icon-minus { display: block; }
.faq-answer {
    color: #86868B; padding-bottom: 24px; padding-right: 16px;
    font-weight: 400; line-height: 1.7; font-size: 16px;
    animation: sweep 0.3s ease-in-out;
}
.section-dark .faq-answer { color: rgba(245,240,235,0.5); }
@keyframes sweep {
    0% { opacity: 0; transform: translateY(-8px); }
    100% { opacity: 1; transform: translateY(0); }
}
.faq-email {
    text-align: center; padding-top: 32px; font-size: 15px; color: #86868B;
}
.faq-email a { color: #0071e3; font-weight: 600; }
.faq-email a:hover { text-decoration: underline; }

/* ===== FINAL CTA (Dark) ===== */
.final-cta {
    padding: 120px 0; background: #000; text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.final-cta h2 {
    font-size: 42px; font-weight: 700; color: #F5F0EB;
    letter-spacing: -0.02em; margin-bottom: 16px;
}
@media (min-width: 768px) { .final-cta h2 { font-size: 64px; } }
.final-cta p {
    font-size: 18px; color: rgba(245,240,235,0.5); max-width: 560px;
    margin: 0 auto 40px; line-height: 1.7;
}
.final-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER (Light) ===== */
.site-footer {
    background: #F5F5F7; color: #1D1D1F; padding: 48px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.footer-inner { display: flex; flex-direction: column; gap: 48px; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.footer-left { max-width: 480px; }
.footer-tagline {
    font-size: 22px; font-weight: 400; line-height: 1.4;
    letter-spacing: -0.01em; margin-bottom: 32px; color: #1D1D1F;
}
@media (min-width: 768px) { .footer-tagline { font-size: 28px; } }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.footer-nav a {
    font-size: 14px; font-weight: 500; color: #86868B; transition: color 0.2s;
}
.footer-nav a:hover { color: #1D1D1F; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-contact a { color: #86868B; font-weight: 400; transition: color 0.2s; font-size: 14px; }
.footer-contact a:hover { color: #1D1D1F; }
.footer-right { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .footer-right { align-items: flex-end; } }
.footer-social { display: flex; gap: 24px; }
.footer-social a {
    font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: #86868B; transition: color 0.2s;
}
.footer-social a:hover { color: #1D1D1F; }
.footer-copy { font-size: 12px; font-weight: 400; color: #86868B; }

/* Dark footer variant for case study pages */
.site-footer.footer-dark {
    background: #0A0A0A; color: #F5F0EB;
    border-top-color: rgba(255,255,255,0.06);
}
.site-footer.footer-dark .footer-tagline { color: rgba(245,240,235,0.7); }
.site-footer.footer-dark .footer-nav a { color: rgba(245,240,235,0.4); }
.site-footer.footer-dark .footer-nav a:hover { color: #F5F0EB; }
.site-footer.footer-dark .footer-contact a { color: rgba(245,240,235,0.4); }
.site-footer.footer-dark .footer-contact a:hover { color: #F5F0EB; }
.site-footer.footer-dark .footer-social a { color: rgba(245,240,235,0.35); }
.site-footer.footer-dark .footer-social a:hover { color: #F5F0EB; }
.site-footer.footer-dark .footer-copy { color: rgba(245,240,235,0.2); }

/* ===== COMPARISON SLIDER ===== */
.comparison-slider {
    position: relative; width: 100%; max-width: 1024px; margin: 0 auto 64px;
    aspect-ratio: 16/10; border-radius: 16px; overflow: hidden;
    background: #e8e8ed; border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
    user-select: none;
}
@media (min-width: 768px) { .comparison-slider { aspect-ratio: 16/9; } }
.comparison-after, .comparison-before { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.comparison-after img, .comparison-before img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.comparison-before { width: 50%; overflow: hidden; border-right: 2px solid rgba(0,0,0,0.2); z-index: 2; background: #e8e8ed; }
.comparison-before img { position: absolute; top: 0; left: 0; width: 200%; max-width: none; height: 100%; }
.comparison-label {
    position: absolute; top: 20px; padding: 6px 14px;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: #fff; border-radius: 980px;
}
.comparison-label-after { right: 20px; background: #0071e3; }
.comparison-label-before { left: 20px; background: rgba(0,0,0,0.5); }
.comparison-handle {
    position: absolute; top: 0; bottom: 0; left: 50%; width: 48px; margin-left: -24px;
    z-index: 10; display: flex; align-items: center; justify-content: center; cursor: ew-resize;
}
.handle-circle {
    width: 44px; height: 44px; background: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #1D1D1F;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.handle-circle .material-symbols-outlined { transform: rotate(90deg); font-size: 22px; }
#slider-handle { touch-action: none; }

/* ===== QUIZ SECTION ===== */
.quiz-section { background: #000; border-top: 1px solid rgba(255,255,255,0.06); color: #F5F0EB; }
.quiz-section .section-header h2 { color: #F5F0EB; }
.quiz-section .section-header p { color: rgba(245,240,235,0.5); }
.progress-track { position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: rgba(255,255,255,0.06); }
.progress-fill { height: 100%; width: 0; background: #0071e3; transition: width 0.5s ease; }
.quiz-step { display: none; animation: fadeSlideIn 0.4s ease-out; }
.quiz-step.active { display: block; }
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.q-nav { display: flex; justify-content: flex-end; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.q-nav-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06);
    flex-wrap: wrap; gap: 16px;
}

/* Cards inside quiz */
.card {
    background: rgba(255,255,255,0.04); border-radius: 16px; padding: 32px;
    border: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 768px) { .card { padding: 48px; } }
.q-label {
    display: block; font-size: 11px; font-weight: 700; color: #0071e3;
    text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 8px;
}
.quiz-card h3 { font-size: 22px; font-weight: 700; color: #F5F0EB; margin-bottom: 32px; line-height: 1.3; }
@media (min-width: 768px) { .quiz-card h3 { font-size: 28px; } }
.q-sub { font-size: 17px; color: rgba(245,240,235,0.5); font-weight: 400; margin-top: -16px; margin-bottom: 32px; }
.q-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.q-divider { margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06); }
.q-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06);
    flex-wrap: wrap; gap: 16px;
}
.q-hint { font-size: 14px; font-weight: 400; color: rgba(245,240,235,0.35); font-style: italic; }
.text-primary { color: #0071e3; }

/* Progress dots */
.progress-dots { display: flex; gap: 6px; }
.dot-indicator { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.dot-indicator.active { background: #0071e3; }

/* Quiz options */
.options-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .options-2col { grid-template-columns: repeat(2, 1fr); } }
.full-width { grid-column: 1 / -1; }
.quiz-option {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; text-align: left;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; transition: all 0.2s;
    background: rgba(255,255,255,0.02); min-height: 56px;
}
.quiz-option span:first-child { font-size: 16px; font-weight: 600; color: rgba(245,240,235,0.7); }
.quiz-option:hover { border-color: #0071e3; background: rgba(0,113,227,0.06); }
.quiz-option:hover span:first-child { color: #F5F0EB; }
.quiz-option.selected { border-color: #0071e3; background: rgba(0,113,227,0.08); }
.quiz-option.selected span:first-child { color: #F5F0EB; }
.check-circle {
    width: 24px; height: 24px; min-width: 24px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; margin-left: 16px;
}
.check-circle .material-symbols-outlined { font-size: 16px; color: #fff; opacity: 0; transition: opacity 0.2s; }
.quiz-option:hover .check-circle { border-color: #0071e3; background: #0071e3; }
.quiz-option:hover .check-circle .material-symbols-outlined { opacity: 1; }
.quiz-option.selected .check-circle { border-color: #0071e3; background: #0071e3; }
.quiz-option.selected .check-circle .material-symbols-outlined { opacity: 1; }
.radio-circle {
    width: 20px; height: 20px; min-width: 20px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; margin-left: 16px; position: relative;
}
.radio-circle::after {
    content: ''; width: 10px; height: 10px; border-radius: 50%;
    background: #0071e3; opacity: 0; transition: opacity 0.2s;
}
.quiz-option:hover .radio-circle { border-color: #0071e3; }
.quiz-option:hover .radio-circle::after { opacity: 1; }
.quiz-option.selected .radio-circle { border-color: #0071e3; }
.quiz-option.selected .radio-circle::after { opacity: 1; }
.options-stack { display: flex; flex-direction: column; gap: 12px; }
.check-option {
    display: flex; align-items: flex-start; padding: 20px 24px;
    border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
    cursor: pointer; transition: all 0.2s;
}
.check-option:hover { border-color: #0071e3; background: rgba(0,113,227,0.06); }
.check-option:hover span { color: #F5F0EB; }
.check-option input[type="checkbox"] {
    width: 20px; height: 20px; min-width: 20px; margin-top: 2px;
    accent-color: #0071e3;
}
.check-option span { margin-left: 16px; font-size: 16px; font-weight: 600; color: rgba(245,240,235,0.7); }
.check-option.muted span { font-weight: 400; color: rgba(245,240,235,0.4); }

/* Q2 layout */
.url-check { max-width: 480px; margin: 0 auto 40px; text-align: center; }
.url-check h3 { margin-bottom: 16px; }
.url-error { color: #ef4444; font-size: 14px; font-weight: 500; margin-top: 12px; min-height: 20px; }
.screenshot-loading {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: absolute; inset: 0; z-index: 3; background: #111;
    padding-top: 24px;
}
.screenshot-loading p { font-size: 14px; color: rgba(245,240,235,0.5); font-weight: 400; margin-top: 16px; }
.spinner {
    width: 32px; height: 32px; border: 3px solid rgba(255,255,255,0.1);
    border-top-color: #0071e3; border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#screenshot-img { width: 100%; height: 100%; object-fit: cover; margin-top: 24px; transition: opacity 0.5s; }
#screenshot-img.loaded { display: block !important; opacity: 1; }
.url-input-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .url-input-row { flex-direction: row; } }
.url-input-row input {
    flex: 1; padding: 14px 16px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 12px;
    font-size: 16px; color: #F5F0EB; outline: none; transition: all 0.2s;
}
.url-input-row input::placeholder { color: rgba(245,240,235,0.3); }
.url-input-row input:focus { border-color: #0071e3; box-shadow: 0 0 0 2px rgba(0,113,227,0.15); }
.q2-layout { display: flex; flex-direction: column; gap: 48px; }
@media (min-width: 1024px) { .q2-layout { flex-direction: row; align-items: flex-start; } }
.browser-mockup {
    position: relative; border: 3px solid rgba(255,255,255,0.15); border-radius: 12px;
    overflow: hidden; background: #111; aspect-ratio: 4/3;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
@media (min-width: 1024px) { .browser-mockup { flex: 1; } .q2-right { flex: 1; } }
.browser-bar {
    position: absolute; top: 0; left: 0; right: 0; height: 24px;
    background: rgba(255,255,255,0.08); display: flex; align-items: center;
    padding: 0 10px; gap: 6px; z-index: 5;
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }
.insight-card {
    display: none; position: absolute; top: 50%; right: 0; transform: translate(40%, -50%);
    z-index: 10; background: rgba(15,13,11,0.95); backdrop-filter: blur(12px);
    border-radius: 12px; padding: 20px; border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4); width: 240px;
}
@media (min-width: 768px) { .insight-card { display: block; } }
.insight-header { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.insight-header .material-symbols-outlined { color: #0071e3; font-size: 20px; }
.insight-header strong { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(245,240,235,0.7); }
.insight-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.insight-card li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(245,240,235,0.6); }
.dot-sm { width: 6px; height: 6px; min-width: 6px; border-radius: 50%; display: inline-block; }
.dot-sm.red { background: #f87171; }
.dot-sm.orange { background: #fb923c; }
.dot-sm.yellow { background: #facc15; }
.dot-sm.green { background: #4ade80; }
.dot-sm.blue { background: #60a5fa; }

/* Score card */
.score-card { position: relative; overflow: hidden; }
.score-bg-shape {
    position: absolute; top: -64px; right: -64px; width: 200px; height: 200px;
    background: rgba(255,255,255,0.02); border-radius: 0 0 0 80px; pointer-events: none;
}
.score-inner { position: relative; z-index: 1; }
.score-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.score-header h3 { font-size: 28px; margin-bottom: 0; }
@media (min-width: 768px) { .score-header h3 { font-size: 32px; } }
.score-badge {
    display: inline-flex; align-items: center; padding: 8px 16px;
    background: rgba(255,255,255,0.08); color: #F5F0EB;
    font-size: 14px; font-weight: 700; border-radius: 980px;
}
.score-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .score-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.score-col-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; }
.score-col-top h4 { font-size: 17px; font-weight: 700; color: #F5F0EB; }
.score-pct { font-size: 24px; font-weight: 700; }
.score-pct.amber { color: #f59e0b; }
.score-pct.red { color: #ef4444; }
.score-pct.green { color: #16a34a; }
.bar-track { width: 100%; height: 10px; background: rgba(255,255,255,0.06); border-radius: 9999px; overflow: hidden; margin-bottom: 16px; }
.score-bar { height: 100%; border-radius: 9999px; width: 0; transition: width 1.5s ease-out; }
.score-bar.animated { width: var(--target-width); }
.amber-bg { background: #f59e0b; }
.red-bg { background: #ef4444; }
.green-bg { background: #22c55e; }
.score-alert { padding: 16px; border-radius: 12px; display: flex; align-items: flex-start; gap: 12px; }
.score-alert .material-symbols-outlined { font-size: 20px; margin-top: 2px; }
.score-alert p { font-size: 14px; font-weight: 400; line-height: 1.6; }
.amber-alert { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.15); }
.amber-alert .material-symbols-outlined { color: #f59e0b; }
.amber-alert p { color: #fbbf24; }
.red-alert { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.15); }
.red-alert .material-symbols-outlined { color: #ef4444; }
.red-alert p { color: #fca5a5; }
.green-alert { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.15); }
.green-alert .material-symbols-outlined { color: #16a34a; }
.green-alert p { color: #86efac; }
.score-cta { margin-top: 48px; text-align: center; }

/* ===== WORK PAGE ===== */
.work-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.project-card {
    position: relative; overflow: hidden; border-radius: 16px;
    background: #fff; border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.project-card.lead { grid-column: 1 / -1; }
.project-card-img { aspect-ratio: 16/10; overflow: hidden; background: #e8e8ed; }
.project-card.lead .project-card-img { aspect-ratio: 21/9; }
.project-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.project-card:hover .project-card-img img { transform: scale(1.02); }
.project-card-body { padding: 24px; }
@media (min-width: 768px) { .project-card-body { padding: 28px 32px; } }
.project-card-body h3 { font-size: 20px; font-weight: 700; color: #1D1D1F; margin-bottom: 8px; }
.project-card-body p { font-size: 15px; color: #86868B; margin-bottom: 16px; line-height: 1.6; }
.project-card-body .card-link {
    font-size: 14px; font-weight: 600; color: #0071e3; display: inline-flex;
    align-items: center; gap: 4px; transition: gap 0.2s;
}
.project-card:hover .card-link { gap: 8px; }
.work-closing { text-align: center; padding-top: 64px; }
.work-closing p { font-size: 18px; color: #86868B; margin-bottom: 32px; line-height: 1.7; }

/* ===== CASE STUDY PAGES (Light theme) ===== */
.case-container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .case-container { padding: 0 48px; } }
.case-hero { padding: 160px 24px 80px; background: #F5F5F7; }
.case-hero .case-metric {
    font-size: 42px; font-weight: 700; letter-spacing: -0.03em;
    line-height: 1.1; color: #1D1D1F; margin-bottom: 24px;
}
@media (min-width: 768px) { .case-hero .case-metric { font-size: 64px; } }
@media (min-width: 1024px) { .case-hero .case-metric { font-size: 72px; } }
.case-hero .case-intro {
    font-size: 18px; color: #86868B; line-height: 1.7;
}
@media (min-width: 768px) { .case-hero .case-intro { font-size: 20px; } }
.case-section { padding: 64px 0; background: #fff; }
@media (min-width: 768px) { .case-section { padding: 75px 0 99px; } }
.case-divider { border-top: 1px solid rgba(0,0,0,0.06); }
.case-container h2 {
    font-size: 24px; font-weight: 700; color: #1D1D1F;
    margin-bottom: 20px; line-height: 1.3;
}
@media (min-width: 768px) { .case-container h2 { font-size: 45px; } }
.case-container p {
    font-size: 17px; color: #86868B; line-height: 1.8; margin-bottom: 20px;
}
.case-container p:last-child { margin-bottom: 0; }
.case-container strong { color: #1D1D1F; font-weight: 700; }

/* Case metrics */
.metrics-grid {
    padding-top: 39px;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
    margin-top: 32px;
}
@media (min-width: 768px) { .metrics-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.metric-block {
    text-align: center; padding: 24px 16px;
    background: #F5F5F7; border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
}
.metric-block .metric-value {
    font-size: 32px; font-weight: 700; color: #0071e3;
    letter-spacing: -0.02em; margin-bottom: 4px;
}
@media (min-width: 768px) { .metric-block .metric-value { font-size: 40px; } }
.metric-block .metric-label { font-size: 13px; color: #86868B; font-weight: 500; }

/* Case testimonial */
.case-testimonial {
    padding-top: 40px; margin-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.case-testimonial blockquote {
    font-size: 20px; font-family: 'Playfair Display', serif; font-style: italic;
    color: #86868B; line-height: 1.7; margin-bottom: 16px; padding-left: 18px;
}
@media (min-width: 768px) { .case-testimonial blockquote { font-size: 24px; } }
.case-testimonial cite {
    font-size: 13px; font-weight: 600; font-style: normal;
    color: #86868B; text-transform: uppercase; letter-spacing: 0.08em; padding-left: 18px;
}

/* Case phases */
.approach-phases { margin-top: 0; }
.phase-item { padding: 48px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.phase-item:last-child { border-bottom: none; }
.phase-item h3 { font-size: 24px; font-weight: 700; color: #1D1D1F; margin-bottom: 12px; }
@media (min-width: 768px) { .phase-item h3 { font-size: 28px; } }
.phase-item .phase-body {
    font-size: 17px; color: #86868B; line-height: 1.8; margin-bottom: 16px;
    max-width: 640px;
}
.phase-item .phase-proof { font-size: 15px; font-style: italic; color: #0071e3; }

/* Case bridge CTA */
.case-bridge {
    max-width: 800px; margin: 0 auto;
    text-align: center; padding: 64px 24px 80px;
    border-top: 1px solid rgba(0,0,0,0.06);
    background: #F5F5F7;
}
@media (min-width: 768px) { .case-bridge { padding: 80px 48px 100px; } }
.case-bridge p {
    font-size: 18px; color: #86868B; margin-bottom: 32px; line-height: 1.7;
}
.case-bridge .bridge-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.case-bridge .btn-outline {
    color: #1D1D1F; border-color: rgba(0,0,0,0.2);
}
.case-bridge .btn-outline:hover { border-color: #1D1D1F; background: rgba(0,0,0,0.04); }

/* Case study info cards (funnel, impact, etc.) */
.case-info-card {
    text-align: left; padding: 24px;
}
.case-info-label {
    font-size: 13px; font-weight: 700; color: #0071e3;
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px;
}
.case-info-title {
    font-size: 16px; color: #1D1D1F; margin-bottom: 4px; font-weight: 600; line-height: 1.4;
}
.case-info-sub {
    font-size: 14px; color: #86868B; margin: 0; line-height: 1.5;
}

/* ===== APPROACH PAGE ===== */
.approach-problem { max-width: 720px; margin: 0 auto; text-align: center; }
.approach-problem p {
    font-size: 17px; color: #86868B; line-height: 1.8; margin-bottom: 20px;
}
/* Light-theme approach phases */
.section-light .phase-item,
.section-white .phase-item { border-bottom-color: rgba(0,0,0,0.06); }
.section-light .phase-item h3,
.section-white .phase-item h3 { color: #1D1D1F; }
.section-light .phase-item .phase-body,
.section-white .phase-item .phase-body { color: #86868B; }
.section-light .phase-item .phase-proof,
.section-white .phase-item .phase-proof { color: #0071e3; }

.process-flow {
    display: flex; flex-direction: column; align-items: center;
    gap: 0; max-width: 800px; margin: 48px auto 0;
}
@media (min-width: 768px) { .process-flow { flex-direction: row; gap: 0; } }
.process-step {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 24px; flex: 1;
}
.process-step .step-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(0,113,227,0.1); border: 1px solid rgba(0,113,227,0.2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.process-step .step-icon .material-symbols-outlined { color: #0071e3; font-size: 24px; }
.process-step h3 { font-size: 18px; font-weight: 700; color: #1D1D1F; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: #86868B; }
.process-arrow { color: rgba(0,0,0,0.15); font-size: 24px; padding: 12px; transform: rotate(90deg); }
@media (min-width: 768px) { .process-arrow { transform: rotate(0deg); } }
.approach-principle {
    text-align: center; padding: 80px 24px;
    border: 1px solid rgba(0,0,0,0.06);
}
.approach-principle p {
    font-size: 22px; font-weight: 400; color: #86868B;
    font-family: 'Playfair Display', serif; font-style: italic;
}
@media (min-width: 768px) { .approach-principle p { font-size: 28px; } }

/* ===== CTA SECTION ===== */
.cta-section { text-align: center; padding: 100px 0; }
@media (min-width: 768px) { .cta-section { padding: 140px 0; } }
.cta-section h2 {
    font-size: 36px; font-weight: 700; letter-spacing: -0.02em;
    line-height: 1.15; margin-bottom: 20px; color: #1D1D1F;
}
@media (min-width: 768px) { .cta-section h2 { font-size: 56px; } }
.cta-sub {
    font-size: 18px; color: #86868B; font-weight: 400;
    max-width: 560px; margin: 0 auto 40px; line-height: 1.7;
}
@media (min-width: 768px) { .cta-sub { font-size: 20px; } }

/* ===== INSIGHTS PAGE ===== */
.category-filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 64px; }
.filter-btn {
    padding: 10px 20px; font-size: 14px; font-weight: 600;
    border: 1px solid rgba(0,0,0,0.1); border-radius: 980px;
    color: #86868B; background: transparent;
    transition: all 0.2s; cursor: pointer;
}
.filter-btn:hover, .filter-btn.active { border-color: #0071e3; color: #0071e3; background: rgba(0,113,227,0.04); }
.articles-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } }
.article-card {
    background: #fff; border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.article-card-visual {
    aspect-ratio: 16/10; background: rgba(0,113,227,0.04);
    display: flex; align-items: center; justify-content: center; padding: 32px;
    overflow: hidden;
}
.article-card-visual h3 {
    font-size: 22px; font-weight: 700; color: #1D1D1F; text-align: center;
    line-height: 1.3; font-family: 'Playfair Display', serif;
}
.article-card-body { padding: 24px; }
.article-card-body h4 { font-size: 18px; font-weight: 700; color: #1D1D1F; margin-bottom: 8px; line-height: 1.3; }
.article-card-body p { font-size: 14px; color: #86868B; margin-bottom: 16px; line-height: 1.6; }
.article-meta { display: flex; gap: 12px; align-items: center; }
.article-meta span {
    font-size: 12px; font-weight: 600; color: #86868B;
    text-transform: uppercase; letter-spacing: 0.08em;
}
.article-meta .tag {
    padding: 3px 8px; background: rgba(0,113,227,0.08);
    border-radius: 980px; color: #0071e3;
}

/* ===== FRAMEWORK OVERLAY ===== */
.framework-overlay {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.framework-overlay.open { opacity: 1; visibility: visible; }
.framework-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.framework-panel {
    position: relative; width: 92%; max-width: 640px;
    background: #fff; border-radius: 24px;
    padding: 48px 40px; max-height: 90vh; overflow-y: auto;
    transform: translateY(24px); transition: transform 0.35s cubic-bezier(.16,1,.3,1);
    box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}
.framework-overlay.open .framework-panel { transform: translateY(0); }
@media (max-width: 600px) { .framework-panel { padding: 32px 20px; border-radius: 18px; } }
.framework-close {
    position: absolute; top: 16px; right: 20px;
    font-size: 28px; line-height: 1; color: #86868B;
    background: none; border: none; cursor: pointer; transition: color 0.2s;
}
.framework-close:hover { color: #1D1D1F; }
.framework-header { text-align: center; margin-bottom: 40px; }
.framework-header h2 {
    font-size: 28px; font-weight: 700; color: #1D1D1F;
    letter-spacing: -0.02em; margin-bottom: 8px;
}
@media (min-width: 768px) { .framework-header h2 { font-size: 34px; } }
.framework-header p { font-size: 16px; color: #86868B; }
.framework-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
@media (max-width: 560px) { .framework-steps { grid-template-columns: 1fr; } }
.framework-step {
    background: #F5F5F7; border-radius: 16px; padding: 28px 24px;
    position: relative;
}
.step-num {
    font-size: 12px; font-weight: 700; color: #0071e3;
    letter-spacing: 0.06em; display: block; margin-bottom: 12px;
}
.step-icon { font-size: 28px; color: #0071e3; margin-bottom: 12px; display: block; }
.framework-step h3 {
    font-size: 18px; font-weight: 700; color: #1D1D1F;
    margin-bottom: 6px; letter-spacing: -0.01em;
}
.framework-step p { font-size: 14px; color: #86868B; line-height: 1.6; }
.framework-footer { text-align: center; padding-top: 24px; border-top: 1px solid rgba(0,0,0,0.06); }
.framework-footer > p { font-size: 15px; color: #86868B; margin-bottom: 20px; }
.framework-footer-btns { display: flex; gap: 12px; justify-content: center; }
.framework-footer-btns .btn { min-width: 140px; }

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: 90px 0 90px;
    background: #fff;
}
.contact-form {
    width: 100%; margin: 0 auto;
    background: #F5F5F7;
    border-radius: 20px;
    padding: 48px 40px;
}
@media (max-width: 600px) {
    .contact-form { padding: 32px 20px; border-radius: 16px; }
}
.form-group { margin-bottom: 24px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 600;
    color: #1D1D1F; margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.form-group label span { font-weight: 400; }
.form-group input,
.form-group textarea {
    width: 100%; padding: 14px 16px; background: #fff;
    border: 1px solid rgba(0,0,0,0.1); border-radius: 12px;
    font-size: 16px; color: #1D1D1F; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    line-height: 1.5;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #86868B; }
.form-group input:focus,
.form-group textarea:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0,113,227,0.1);
    background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { margin-top: 8px; }
.contact-reassurance {
    max-width: 560px; margin: 48px auto 0;
    text-align: center;
}
.contact-reassurance p {
    font-size: 15px; color: #86868B; line-height: 1.7; margin-bottom: 12px;
}
.contact-reassurance p:last-child { margin-bottom: 0; }
.contact-reassurance a { color: #0071e3; }
.contact-reassurance a:hover { text-decoration: underline; }
.contact-section .case-testimonial {
    max-width: 560px; margin: 64px auto 0;
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* ===== ABOUT PAGE ===== */
.about-description { max-width: 640px; margin: 0 auto; }
.about-description p {
    font-size: 18px; color: #86868B; line-height: 1.8; margin-bottom: 20px;
}
@media (min-width: 768px) { .about-description p { font-size: 20px; } }

/* Team section */
.team-section { border-top: 1px solid rgba(0,0,0,0.06); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 24px; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); gap: 40px 32px; } }
.team-member h3 { font-size: 17px; font-weight: 700; color: #1D1D1F; margin-bottom: 4px; }
@media (min-width: 768px) { .team-member h3 { font-size: 18px; } }
.team-member p { font-size: 14px; color: #86868B; font-weight: 400; }
.member-photo {
    aspect-ratio: 4/5; overflow: hidden; border-radius: 16px;
    background: #e8e8ed; margin-bottom: 20px;
}
.member-photo img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(1); transition: all 0.5s;
}
.team-member:hover .member-photo img { filter: grayscale(0); transform: scale(1.03); }
.join-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 24px; background: #F5F5F7; border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.04); text-align: center; min-height: 200px;
}
.join-title { font-size: 17px; font-weight: 700; color: #86868B; margin-bottom: 8px; }
.join-card > p:last-child { font-size: 14px; color: #86868B; }
.team-quote {
    margin-top: 80px; padding-top: 48px; border-top: 1px solid rgba(0,0,0,0.06); text-align: center;
}
.team-quote p {
    font-size: 22px; font-family: 'Playfair Display', serif; font-style: italic; color: #86868B;
}
@media (min-width: 768px) { .team-quote p { font-size: 28px; } }

/* ===== TOOLS PAGE ===== */
.tools-hero {
    min-height: 50vh; display: flex; align-items: center; justify-content: center;
    padding: 160px 24px 48px; background: #F5F5F7; text-align: center;
}
.tools-hero h1 {
    font-size: 32px; font-weight: 700; letter-spacing: -0.02em;
    line-height: 1.15; color: #1D1D1F; max-width: 720px; margin: 0 auto 20px;
}
@media (min-width: 768px) { .tools-hero h1 { font-size: 48px; } }
.tools-hero p {
    font-size: 18px; color: #86868B; max-width: 520px;
    margin: 0 auto 32px; line-height: 1.7;
}

/* ===== SCROLL ANIMATIONS ===== */
.section-hidden {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.section-visible { opacity: 1 !important; transform: translateY(0) !important; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
    .section-hidden { opacity: 1; transform: none; }
}
