﻿/* ===================================================
   TK - Tomografia Komputerowa Oczami Elektroradiologa
   Paleta: Głęboka zieleń morska / Cyjanowy akcent
   =================================================== */

:root {
    --primary: #006064;
    --primary-light: #00838f;
    --primary-dark: #003b3f;
    --secondary: #00bcd4;
    --secondary-light: #26c6da;
    --accent: #00e5ff;
    --accent-light: #84ffff;
    --error: #b71c1c;
    --bg: #f0f7f8;
    --surface: #ffffff;
    --text: #1a2c2d;
    --text-light: #4a7073;
    --shadow: 0 2px 12px rgba(0,96,100,0.12);
    --shadow-lg: 0 8px 32px rgba(0,96,100,0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}
[data-theme="dark"] {
    --bg: #051416;
    --surface: #0d2326;
    --text: #c8e6e8;
    --text-light: #5d9ca0;
    --shadow: 0 2px 12px rgba(0,0,0,0.5);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { font-family: 'Source Sans 3', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; text-rendering: optimizeLegibility; }
h1, h2, h3, .nav-logo, .btn-hero, .hero-kicker, .cta-banner h3 { font-family: 'Manrope', sans-serif; letter-spacing: -0.03em; }

.tk-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(0,35,38,0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    padding: 0 20px; transition: var(--transition);
}
.tk-nav.scrolled { background: rgba(0,35,38,0.99); }
.nav-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.nav-logo i { font-size: 1.4rem; color: #00e5ff; }
.nav-links { display: flex; list-style: none; gap: 2px; align-items: center; flex-wrap: nowrap; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; padding: 9px 11px; border-radius: 10px; font-size: 0.82rem; font-weight: 600; transition: var(--transition); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,0.12); color: white; }
.nav-links a.active { border-bottom: 2px solid #00e5ff; box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08); }
.nav-back { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.85rem; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; transition: var(--transition); white-space: nowrap; }
.nav-back:hover { background: rgba(255,255,255,0.1); color: white; }
.hamburger { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; padding: 8px; }

.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #003b3f 0%, #006064 50%, #00bcd4 100%);
    position: relative; overflow: hidden; text-align: center; padding: 110px 20px 70px;
}
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='45' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='2' fill='none'/%3E%3Ccircle cx='50' cy='50' r='30' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='2' fill='none'/%3E%3Ccircle cx='50' cy='50' r='15' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='2' fill='none'/%3E%3C/svg%3E") repeat; }
.hero-content { position: relative; z-index: 2; max-width: 1020px; display: grid; gap: 0; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); font-weight: 800; color: white; margin-bottom: 20px; line-height: 1.08; text-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.hero h1 span { color: #c3feff; }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(244,255,255,0.9); margin-bottom: 36px; max-width: 760px; margin-left: auto; margin-right: auto; text-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(207,255,255,0.12);
    border: 1px solid rgba(207,255,255,0.18);
    color: #efffff;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 22px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.16);
    backdrop-filter: blur(8px);
}
.hero-kicker i { color: #93fbff; }
.hero-radiology-deer {
    background:
        linear-gradient(180deg, rgba(4,20,18,0.12) 0%, rgba(3,15,17,0.55) 50%, rgba(2,11,14,0.82) 100%),
        linear-gradient(110deg, rgba(4,24,18,0.76) 0%, rgba(8,54,52,0.52) 45%, rgba(13,96,104,0.30) 100%),
        url('hero-jelenie-radiologiczne.png') center center / cover no-repeat;
}
.hero-radiology-deer::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 28% 54%, rgba(122,241,255,0.22), transparent 18%),
        radial-gradient(circle at 67% 34%, rgba(255,188,147,0.20), transparent 16%),
        linear-gradient(90deg, rgba(125,238,255,0.08), transparent 22%, transparent 78%, rgba(125,238,255,0.06));
    pointer-events: none;
}
.hero-orb {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.75;
    pointer-events: none;
}
.orb-left {
    width: 280px;
    height: 280px;
    left: 8%;
    bottom: 18%;
    background: radial-gradient(circle, rgba(108,240,255,0.34) 0%, rgba(108,240,255,0.08) 48%, transparent 74%);
}
.orb-right {
    width: 320px;
    height: 320px;
    right: 10%;
    top: 16%;
    background: radial-gradient(circle, rgba(255,193,156,0.24) 0%, rgba(255,193,156,0.06) 42%, transparent 74%);
}
.hero-grid-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(rgba(143,247,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(143,247,255,0.08) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,0.55) 18%, rgba(0,0,0,0.85) 70%, transparent);
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-hero { padding: 14px 32px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 1rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-hero.primary { background: linear-gradient(135deg, #ffffff, #dbffff); color: var(--primary-dark); box-shadow: 0 10px 28px rgba(0,0,0,0.22); }
.btn-hero.primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(0,0,0,0.3); }
.btn-hero.secondary { background: rgba(255,255,255,0.06); color: white; border: 1px solid rgba(255,255,255,0.34); backdrop-filter: blur(8px); }
.btn-hero.secondary:hover { border-color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.14); }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; justify-content: center; margin: 44px auto 0; max-width: 980px; }
.hero-stat {
    text-align: left;
    min-width: 0;
    padding: 20px 20px 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(7,27,30,0.48), rgba(8,32,35,0.34));
    border: 1px solid rgba(180,255,255,0.15);
    box-shadow: 0 18px 36px rgba(0,0,0,0.18);
    backdrop-filter: blur(10px);
}
.hero-stat .num { font-size: 0.98rem; font-weight: 800; color: #a8fcff; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-stat .label { font-size: 0.95rem; color: rgba(242,255,255,0.82); margin-top: 8px; line-height: 1.6; }
.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 26px auto 0;
    padding: 13px 18px;
    border-radius: 18px;
    background: rgba(5,22,25,0.48);
    border: 1px solid rgba(181,255,255,0.14);
    color: rgba(242,255,255,0.88);
    font-size: 0.96rem;
    box-shadow: 0 14px 32px rgba(0,0,0,0.18);
    max-width: 760px;
}
.hero-note i { color: #8cf7ff; }

.page-header { padding: 120px 20px 60px; text-align: center; position: relative; overflow: hidden; }
.page-header.teal { background: linear-gradient(135deg, #003b3f 0%, #006064 50%, #00838f 100%); color: white; }
.page-header.cyan { background: linear-gradient(135deg, #006064 0%, #00838f 50%, #00bcd4 100%); color: white; }
.page-header.dark { background: linear-gradient(135deg, #001c1e 0%, #003b3f 50%, #006064 100%); color: white; }
.page-header.blue-teal { background: linear-gradient(135deg, #003b3f 0%, #00838f 50%, #00bcd4 100%); color: white; }
.page-header::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='35' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='40' cy='40' r='20' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") repeat; }
.page-header .header-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 16px; }
.page-header h1 i { margin-right: 12px; opacity: 0.8; }
.page-header .lead { font-size: clamp(1rem, 2vw, 1.2rem); opacity: 0.85; max-width: 600px; margin: 0 auto; }

.breadcrumb { background: var(--surface); padding: 12px 20px; border-bottom: 1px solid rgba(0,0,0,0.08); }
.breadcrumb .container { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.breadcrumb a { color: var(--secondary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-light); }
.breadcrumb i { font-size: 0.7rem; color: var(--text-light); }

.section-block { padding: 92px 20px; position: relative; }
.section-block.alt { background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,253,253,0.98)); }
.section-block.gradient { background: radial-gradient(circle at top right, rgba(0,188,212,0.10), transparent 22%), linear-gradient(135deg, #e7f8fa 0%, #f5fbfb 52%, #edf8f1 100%); }
[data-theme="dark"] .section-block.gradient { background: linear-gradient(135deg, #051416 0%, #0d2326 50%, #081a10 100%); }
.section-block.dark-section { background: linear-gradient(135deg, #003b3f 0%, #006064 50%, #00838f 100%); color: white; }
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 900px; margin: 0 auto; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 800; margin-bottom: 14px; line-height: 1.08; color: #113235; }
.section-title.center { text-align: center; }
.section-title i { margin-right: 10px; color: var(--secondary); }
.section-subtitle { color: var(--text-light); font-size: 1.08rem; margin-bottom: 44px; max-width: 720px; line-height: 1.7; }
.section-subtitle.center { text-align: center; margin-left: auto; margin-right: auto; }
[data-theme="dark"] .section-title { color: #e4fbfd; }
[data-theme="dark"] .section-subtitle { color: #98c6ca; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.card-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; transition: var(--transition); border: 1px solid rgba(0,96,100,0.08); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; color: white; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }
.card ul { color: var(--text-light); font-size: 0.95rem; padding-left: 20px; margin-top: 8px; }
.card ul li { margin-bottom: 4px; }

.landing-card { background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(247,252,252,0.96)); border-radius: 26px; box-shadow: 0 14px 34px rgba(0,96,100,0.10); overflow: hidden; transition: var(--transition); border: 1px solid rgba(0,96,100,0.08); text-decoration: none; color: inherit; display: block; position: relative; }
.landing-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(0,96,100,0.16); }
.landing-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #08535b, #18a6b1, #84ffff); opacity: 0.9; }
.landing-card .card-banner { height: 152px; display: flex; align-items: center; justify-content: center; color: white; font-size: 2.5rem; }
.landing-card .card-body { padding: 26px 24px 22px; }
.landing-card h3 { font-size: 1.22rem; font-weight: 800; margin-bottom: 10px; line-height: 1.2; color: #143639; }
.landing-card p { color: var(--text-light); font-size: 0.97rem; line-height: 1.7; }
.landing-card .card-footer { padding: 14px 24px 16px; border-top: 1px solid rgba(0,96,100,0.07); display: flex; align-items: center; justify-content: space-between; font-size: 0.86rem; color: var(--secondary); font-weight: 700; }
[data-theme="dark"] .landing-card { background: linear-gradient(180deg, rgba(13,35,38,0.98), rgba(9,27,29,0.98)); border-color: rgba(66,184,196,0.18); box-shadow: 0 18px 38px rgba(0,0,0,0.34); }
[data-theme="dark"] .landing-card h3 { color: #e5fcfd; }
[data-theme="dark"] .landing-card p { color: #a2cfd2; }
[data-theme="dark"] .landing-card .card-footer { border-top-color: rgba(66,184,196,0.14); }
.landing-card.card-deep .card-banner { background: linear-gradient(135deg, #002023, #003b3f); }
.landing-card.card-teal .card-banner { background: linear-gradient(135deg, #003b3f, #006064); }
.landing-card.card-cyan .card-banner { background: linear-gradient(135deg, #006064, #00838f); }
.landing-card.card-bright .card-banner { background: linear-gradient(135deg, #00838f, #00bcd4); }
.landing-card.card-jade .card-banner { background: linear-gradient(135deg, #006064, #004d40); }
.landing-card.card-mint .card-banner { background: linear-gradient(135deg, #004d40, #00695c); }
.landing-card.card-dose .card-banner { background: linear-gradient(135deg, #003b3f, #005f5f); }
.landing-card.card-clinic .card-banner { background: linear-gradient(135deg, #00838f, #006064); }
.landing-card.card-role .card-banner { background: linear-gradient(135deg, #006064, #003b3f); }
.landing-card.card-patient .card-banner { background: linear-gradient(135deg, #003b3f, #00bcd4); }

.quick-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin-top: 36px;
}

.insight-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 24px;
    margin-top: 36px;
    align-items: start;
}

.insight-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,252,252,0.96));
    border-radius: 28px;
    box-shadow: 0 16px 34px rgba(0,96,100,0.10);
    padding: 30px;
    border: 1px solid rgba(0,96,100,0.08);
    position: relative;
    overflow: hidden;
}

.insight-card-primary {
    min-height: 100%;
}

.insight-card-secondary {
    align-self: stretch;
}

.insight-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #08535b, #1aa8b3, #8cfdff);
}

.insight-card h3 {
    font-size: 1.22rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #143538;
    line-height: 1.2;
}

.insight-card p {
    color: var(--text-light);
    line-height: 1.72;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.metric-card {
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(0,188,212,0.10), rgba(132,255,255,0.10));
    border: 1px solid rgba(0,131,143,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.32);
}

.metric-value {
    font-family: 'Manrope', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0d5b62;
    line-height: 1;
}

.metric-label {
    margin-top: 8px;
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.55;
}

.bar-chart {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.bar-row {
    display: grid;
    grid-template-columns: minmax(86px, 120px) 1fr auto;
    gap: 12px;
    align-items: center;
}

.bar-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #154044;
}

.bar-track {
    height: 14px;
    border-radius: 999px;
    background: rgba(0,96,100,0.10);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
}

.bar-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0b5560, #1bb5c1, #82fbff);
}

.bar-value {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0d5b62;
}

.stack-meter {
    display: flex;
    width: 100%;
    height: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(0,96,100,0.10);
    margin-top: 18px;
}

.stack-segment {
    height: 100%;
}

.stack-segment.single { background: linear-gradient(90deg, #0b5860, #18a4b0); }
.stack-segment.double { background: linear-gradient(90deg, #2c8fa0, #4fd4e0); }
.stack-segment.multi { background: linear-gradient(90deg, #8fe9ee, #cbffff); }

.stack-legend {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.stack-item {
    display: grid;
    grid-template-columns: 14px 1fr auto;
    gap: 10px;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.stack-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.stack-dot.single { background: #1499a6; }
.stack-dot.double { background: #59d7e2; }
.stack-dot.multi { background: #c7ffff; border: 1px solid rgba(0,96,100,0.12); }
.stack-name { font-weight: 600; color: #1a4a4f; }
.stack-share { padding-left: 10px; letter-spacing: 0.01em; }

.source-note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,96,100,0.10);
    font-size: 0.84rem;
    color: var(--text-light);
    line-height: 1.6;
}

.section-data-story .section-subtitle {
    max-width: 860px;
}

.source-note strong {
    color: #154044;
}

.source-note a {
    color: var(--secondary);
    text-decoration: none;
}

.source-note a:hover {
    text-decoration: underline;
}

.fact-card,
.faq-item {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,252,252,0.96));
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0,96,100,0.08);
    padding: 26px;
    border: 1px solid rgba(0,96,100,0.08);
    position: relative;
    overflow: hidden;
}
.fact-card::before,
.faq-item::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #0b5560, #1ab0bc, #8bf8ff);
}
[data-theme="dark"] .fact-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .insight-card {
    background: linear-gradient(180deg, rgba(16,43,46,0.98), rgba(10,31,34,0.98));
    border-color: rgba(108,230,239,0.22);
    box-shadow: 0 20px 38px rgba(0,0,0,0.34);
}

.fact-card .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 12px;
}

.fact-card h3 {
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.28;
    color: #143639;
}

.fact-card p {
    color: var(--text-light);
    font-size: 0.96rem;
    line-height: 1.72;
}
[data-theme="dark"] .fact-card h3,
[data-theme="dark"] .faq-item h3,
[data-theme="dark"] .insight-card h3 { color: #e6fcfd; }
[data-theme="dark"] .fact-card p,
[data-theme="dark"] .faq-item p,
[data-theme="dark"] .insight-card p,
[data-theme="dark"] .metric-label,
[data-theme="dark"] .stack-item,
[data-theme="dark"] .source-note { color: #a7cfd2; }
[data-theme="dark"] .metric-card { background: rgba(83,213,223,0.10); border-color: rgba(83,213,223,0.14); }
[data-theme="dark"] .metric-value,
[data-theme="dark"] .bar-value,
[data-theme="dark"] .source-note strong,
[data-theme="dark"] .bar-label { color: #ebfeff; }
[data-theme="dark"] .metric-card {
    background: linear-gradient(180deg, rgba(30,93,101,0.30), rgba(13,52,57,0.34));
    border-color: rgba(117,237,245,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
[data-theme="dark"] .bar-track,
[data-theme="dark"] .stack-meter { background: rgba(255,255,255,0.10); }
[data-theme="dark"] .source-note { border-top-color: rgba(83,213,223,0.14); }
[data-theme="dark"] .stack-item strong { color: #ecfdfe; }
[data-theme="dark"] .stack-name { color: #d4f2f4; }

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 26px 0 0;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0,188,212,0.14), rgba(132,255,255,0.16));
    color: var(--primary-dark);
    font-size: 0.86rem;
    font-weight: 700;
    border: 1px solid rgba(0,131,143,0.10);
    box-shadow: 0 8px 18px rgba(0,96,100,0.06);
}
[data-theme="dark"] .pill {
    color: #f2ffff;
    background: linear-gradient(135deg, rgba(35,122,132,0.42), rgba(83,213,223,0.18));
    border-color: rgba(117,237,245,0.26);
    box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

.info-list {
    list-style: none;
    margin-top: 18px;
}

.info-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    color: var(--text-light);
}
[data-theme="dark"] .info-list li { color: #bfdde0; }

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.note-box {
    margin-top: 32px;
    background: linear-gradient(135deg, rgba(0,188,212,0.10), rgba(132,255,255,0.08));
    border: 1px solid rgba(0,188,212,0.16);
    border-radius: 28px;
    padding: 28px 30px;
    box-shadow: 0 14px 30px rgba(0,96,100,0.08);
}

.note-box.teal {
    background: rgba(0,131,143,0.08);
    border-color: rgba(0,131,143,0.16);
}

.note-box.red {
    background: rgba(183,28,28,0.08);
    border-color: rgba(183,28,28,0.16);
}

.note-box h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.note-box p {
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.75;
}
[data-theme="dark"] .note-box { box-shadow: 0 18px 34px rgba(0,0,0,0.28); }
[data-theme="dark"] .note-box.teal {
    background: linear-gradient(135deg, rgba(12,82,88,0.48), rgba(14,55,58,0.62));
    border-color: rgba(117,237,245,0.18);
}
[data-theme="dark"] .note-box h3 { color: #ecfdfe; }
[data-theme="dark"] .note-box p { color: #c4e0e3; }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.faq-item h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.32;
}

.faq-item h3 i {
    color: var(--secondary);
    margin-right: 8px;
}

.faq-item p {
    color: var(--text-light);
    font-size: 0.96rem;
    line-height: 1.72;
}

.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, var(--primary-dark), var(--secondary-light)); transform: translateX(-50%); }
.timeline-item { display: flex; align-items: flex-start; margin-bottom: 40px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-dot { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: white; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; position: absolute; left: 50%; transform: translateX(-50%); z-index: 2; box-shadow: 0 0 0 4px var(--bg); }
.timeline-content { width: 42%; background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.timeline-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
.timeline-content p { font-size: 0.92rem; color: var(--text-light); }

.info-box { background: var(--surface); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.info-box h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.info-box p { color: var(--text-light); margin-bottom: 16px; }
.info-box .block { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(0,0,0,0.08); }
.info-box .block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 60px; }
.detail-row.reverse { direction: rtl; }
.detail-row.reverse > * { direction: ltr; }
.detail-text h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.detail-text p { color: var(--text-light); margin-bottom: 12px; }
.detail-text ul { color: var(--text-light); padding-left: 20px; margin-bottom: 12px; }
.detail-text ul li { margin-bottom: 4px; }
.detail-box { background: var(--surface); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); border-left: 4px solid var(--secondary); }
.detail-box h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.detail-box p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 10px; }
.detail-box ul { color: var(--text-light); font-size: 0.95rem; padding-left: 18px; margin-bottom: 8px; }
.detail-box ul li { margin-bottom: 4px; }

.data-table { width: 100%; border-collapse: collapse; margin-top: 20px; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th { background: var(--primary); color: white; padding: 14px 16px; font-weight: 600; font-size: 0.9rem; text-align: left; }
.data-table td { padding: 12px 16px; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 0.9rem; color: var(--text); }
.data-table tr:hover td { background: rgba(0,96,100,0.04); }
.data-table .highlight { font-weight: 700; color: var(--secondary); }

.stats-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin: 40px 0; }
.stat-item { text-align: center; padding: 24px 32px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 160px; }
.stat-item .stat-num { font-size: 2rem; font-weight: 900; color: var(--secondary); }
.stat-item .stat-label { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }

.cta-banner { background: radial-gradient(circle at top right, rgba(132,255,255,0.18), transparent 28%), linear-gradient(135deg, #062b30, #0a626c 52%, #14aeb9); color: white; border-radius: 30px; padding: 44px 40px; text-align: center; margin-top: 44px; box-shadow: 0 18px 36px rgba(0,64,68,0.22); }
.cta-banner h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { opacity: 0.85; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner .btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 50px; background: linear-gradient(135deg, #ffffff, #d7ffff); color: var(--primary-dark); font-weight: 800; text-decoration: none; transition: var(--transition); }
.cta-banner .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }

.page-nav { display: flex; justify-content: space-between; gap: 20px; padding: 40px 0; margin-top: 40px; border-top: 1px solid rgba(0,0,0,0.08); }
.page-nav a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); padding: 16px 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); max-width: 45%; }
.page-nav a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--secondary); }
.page-nav .label { font-size: 0.8rem; color: var(--text-light); }
.page-nav .title { font-weight: 700; font-size: 0.95rem; }
.page-nav .next { margin-left: auto; text-align: right; }

/* TK-specific: scan visualisation */
.scan-box { background: #000; border-radius: var(--radius); padding: 20px; border: 1px solid rgba(0,229,255,0.25); font-family: 'Courier New', monospace; }
.scan-label { font-size: 0.75rem; color: #00e5ff; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.scan-desc { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
.scan-value { color: #84ffff; font-weight: 600; }
.scan-hu { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.78rem; font-weight: 600; margin: 2px; }
.scan-hu.air { background: #1a1a1a; color: #aaa; border: 1px solid #333; }
.scan-hu.fat { background: #2a1a00; color: #ffc107; border: 1px solid #5a3a00; }
.scan-hu.water { background: #001833; color: #4fc3f7; border: 1px solid #003366; }
.scan-hu.soft { background: #1a2633; color: #7986cb; border: 1px solid #3a4a66; }
.scan-hu.bone { background: #2a2a1a; color: #fff9c4; border: 1px solid #5a5a3a; }
.scan-hu.metal { background: #3a3a3a; color: #fff; border: 1px solid #666; }

.tk-footer { background: radial-gradient(circle at top, rgba(30,166,178,0.10), transparent 24%), linear-gradient(180deg, #03171a, #06262a); color: rgba(255,255,255,0.74); text-align: center; padding: 54px 20px 40px; }
.tk-footer a { color: #00e5ff; text-decoration: none; }
.tk-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }

@media (max-width: 900px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(0,35,38,0.99); padding: 16px; gap: 4px; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 16px; }
    .hamburger { display: block; }
    .nav-back { display: none; }
    .timeline::before { left: 20px; }
    .timeline-item, .timeline-item:nth-child(odd) { flex-direction: column; padding-left: 60px; }
    .timeline-dot { left: 20px; transform: translateX(-50%); }
    .timeline-content { width: 100%; }
    .card-grid.cols-2 { grid-template-columns: 1fr; }
    .detail-row, .detail-row.reverse { grid-template-columns: 1fr; }
    .page-nav { flex-direction: column; }
    .page-nav a { max-width: 100%; }
    .hero {
        min-height: 100svh;
        padding-top: 110px;
        padding-bottom: 72px;
    }
    .hero-content { max-width: 900px; }
    .hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
    .hero p { font-size: clamp(1rem, 2.8vw, 1.16rem); max-width: 700px; }
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
    .hero-stat { min-width: 0; }
    .insight-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .card-grid { grid-template-columns: 1fr; }
    .card-grid.cols-3 { grid-template-columns: 1fr; }
    .stats-row { flex-direction: column; align-items: center; }
    .page-header { padding: 100px 16px 40px; }
    .section-block { padding: 50px 16px; }
    .quick-facts { grid-template-columns: 1fr; }
    .insight-card { padding: 24px; }
    .metric-grid { grid-template-columns: 1fr; }
    .bar-row { grid-template-columns: 1fr; }
    .hero {
        min-height: 100svh;
        padding-top: 104px;
        padding-bottom: 56px;
    }
    .hero-content { max-width: 96vw; }
    .hero h1 { font-size: clamp(1.82rem, 8.6vw, 2.55rem); }
    .hero p { font-size: 1rem; max-width: 92vw; margin-bottom: 28px; }
    .hero-kicker, .hero-note {
        border-radius: 18px;
        width: min(94vw, 620px);
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-stats { grid-template-columns: 1fr; max-width: 94vw; margin-top: 28px; }
    .hero-stat { padding: 16px 16px 14px; border-radius: 18px; }
    .hero-btns {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: min(94vw, 520px);
        margin-left: auto;
        margin-right: auto;
    }
    .btn-hero { justify-content: center; width: 100%; }
}
