/* ==========================================
   NETOLISMUS — Moderní redesign 2026
   ========================================== */

:root {
    /* Light mode — výchozí */
    --bg: #fafafa;
    --bg-alt: #f2f2f2;
    --bg-card: #ffffff;
    --bg-nav: rgba(255, 255, 255, 0.72);
    --text: #0a0a0a;
    --text-muted: #555;
    --text-light: #888;
    --border: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.15);

    /* Akcenty */
    --accent: #5b5ef4;
    --accent-2: #00d4ff;
    --accent-3: #ff3d7f;
    --accent-warm: #ff9d00;
    --gradient: linear-gradient(135deg, #5b5ef4 0%, #00d4ff 100%);
    --gradient-warm: linear-gradient(135deg, #ff3d7f 0%, #ff9d00 100%);
    --gradient-bg: linear-gradient(135deg, rgba(91, 94, 244, 0.08) 0%, rgba(0, 212, 255, 0.05) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-xxl: 10rem;

    /* Radius */
    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-full: 999px;

    /* Transitions */
    --t-fast: 0.2s ease;
    --t-base: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    --t-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
    --bg: #0a0a0f;
    --bg-alt: #10121a;
    --bg-card: #15171f;
    --bg-nav: rgba(10, 10, 15, 0.72);
    --text: #f5f5f7;
    --text-muted: #aaa;
    --text-light: #777;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);

    --accent: #7b7eff;
    --accent-2: #4ae3ff;
    --accent-3: #ff5a92;
    --accent-warm: #ffb84d;
    --gradient: linear-gradient(135deg, #7b7eff 0%, #4ae3ff 100%);
    --gradient-bg: linear-gradient(135deg, rgba(123, 126, 255, 0.12) 0%, rgba(74, 227, 255, 0.08) 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Reset */
*, *::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);
    color: var(--text);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--t-base), color var(--t-base);
    overflow-x: hidden;
}

/* ==========================================
   Scroll progress bar
   ========================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient);
    z-index: 1000;
    transition: width 0.05s linear;
}

/* ==========================================
   Navigace
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: var(--bg-nav);
    border-bottom: 1px solid transparent;
    transition: all var(--t-base);
}

.nav.scrolled {
    border-bottom-color: var(--border);
    padding: 0.7rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient);
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(91, 94, 244, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(91, 94, 244, 0); }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color var(--t-fast);
    position: relative;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width var(--t-base);
}

.nav-links a:hover::after {
    width: 100%;
}

.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: all var(--t-fast);
}

.theme-toggle:hover {
    transform: scale(1.05);
    border-color: var(--accent);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    position: absolute;
    transition: all var(--t-base);
}

[data-theme="light"] .icon-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

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

/* ==========================================
   HERO
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-2);
    bottom: -50px;
    left: -50px;
    animation-delay: -7s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-3);
    top: 40%;
    left: 40%;
    animation-delay: -14s;
    opacity: 0.2;
}

[data-theme="dark"] .hero-blob {
    opacity: 0.25;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -40px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-3);
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle-line {
    font-size: 0.5em;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: -0.02em;
}

.hero-lead {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.8rem;
    border-radius: var(--r-full);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--t-base);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform var(--t-base);
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(91, 94, 244, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(91, 94, 244, 0.4);
}

.btn-primary:hover svg {
    transform: translateY(3px);
}

.btn-ghost {
    background: var(--bg-card);
    color: var(--text);
    border-color: var(--border);
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.hero-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-stat-num::after {
    content: attr(data-suffix);
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.hero-stat-label small {
    display: block;
    color: var(--text-light);
    font-size: 0.75rem;
    margin-top: 0.3rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
    opacity: 0.6;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 3px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.8s infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

/* ==========================================
   Sekce obecně
   ========================================== */
.section {
    padding: var(--space-xxl) 0;
    position: relative;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    max-width: 780px;
    margin: 0 auto 5rem;
    text-align: center;
}

.section-label {
    display: inline-block;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-title em {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: normal;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ==========================================
   Grid & layout helpers
   ========================================== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.callout-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.callout-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.callout-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.callout-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.callout-source {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

/* ==========================================
   Griffith grid (6 komponent)
   ========================================== */
.griffith-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.griffith-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2rem;
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
}

.griffith-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-bg);
    opacity: 0;
    transition: opacity var(--t-base);
    z-index: 0;
}

.griffith-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

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

.griffith-card > * {
    position: relative;
    z-index: 1;
}

.griffith-num {
    font-family: 'Space Grotesk', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.griffith-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

.griffith-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* ==========================================
   Symptoms split
   ========================================== */
.symptoms-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.symptoms-col {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.5rem;
}

.symptoms-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.symptoms-col h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}

.check-list li:last-child { border-bottom: 0; }

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.95rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.2;
}

.check-list li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1.05rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* ==========================================
   Types grid (druhy)
   ========================================== */
.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.type-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2rem;
    position: relative;
    transition: all var(--t-base);
}

.type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.type-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.type-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.type-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.type-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--gradient-bg);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
}

/* Nové jevy */
.new-phenomena {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 3rem;
}

.phenomena-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.phenomena-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.phenomena-item {
    padding: 1.2rem;
    background: var(--bg-alt);
    border-radius: var(--r-md);
    border-left: 3px solid var(--accent);
    transition: all var(--t-fast);
}

.phenomena-item:hover {
    transform: translateX(4px);
    border-left-color: var(--accent-3);
}

.phenomena-item strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.phenomena-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================
   Risks
   ========================================== */
.risks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.risk-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    transition: all var(--t-base);
}

.risk-block:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.risk-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.risk-icon {
    font-size: 2rem;
}

.risk-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
}

.risk-block p {
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.risk-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.risk-tags span {
    padding: 0.35rem 0.9rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.risk-source {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
}

.risk-source a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--t-fast);
}

.risk-source a:hover {
    color: var(--accent-3);
}

/* ==========================================
   Big stats
   ========================================== */
.big-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.big-stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--t-base);
}

.big-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.big-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
}

.big-stat-label {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.big-stat-meta {
    font-size: 0.75rem;
    color: var(--text-light);
}

.big-stat-meta a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--t-fast);
}

.big-stat-meta a:hover {
    color: var(--accent);
}

/* ==========================================
   Charts
   ========================================== */
.chart-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
}

.chart-header {
    margin-bottom: 2rem;
}

.chart-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.chart-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.chart-container {
    position: relative;
    height: 360px;
}

.chart-source {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.6;
}

.chart-source a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--t-fast);
}

.chart-source a:hover {
    color: var(--accent-3);
    text-decoration: underline;
}

/* ==========================================
   Prevence
   ========================================== */
.prevention-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.prevention-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.5rem;
}

.prevention-num {
    font-family: 'Space Grotesk', monospace;
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.prevention-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.arrow-list {
    list-style: none;
}

.arrow-list li {
    padding: 0.6rem 0 0.6rem 1.8rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--border);
}

.arrow-list li:last-child { border-bottom: 0; }

.arrow-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    transition: transform var(--t-fast);
}

.arrow-list li:hover::before {
    transform: translateX(4px);
}

.tip-box {
    background: var(--gradient);
    border-radius: var(--r-xl);
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    color: white;
}

.tip-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.tip-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.tip-content p {
    line-height: 1.6;
    opacity: 0.95;
}

.tip-content em {
    font-style: italic;
    opacity: 0.9;
}

/* ==========================================
   Zdroje
   ========================================== */
.sources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.source-link {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    text-decoration: none;
    color: var(--text);
    transition: all var(--t-base);
    position: relative;
}

.source-link:hover {
    border-color: var(--accent);
    transform: translateX(6px);
    box-shadow: var(--shadow);
}

.source-link > div:first-child {
    grid-column: 1;
}

.source-meta {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}

.source-title {
    font-weight: 500;
    font-size: 1rem;
}

.source-arrow {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all var(--t-base);
}

.source-link:hover .source-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    padding: 4rem 0 3rem;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-brand a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--t-fast);
}

.footer-brand a:hover {
    color: var(--accent-3);
    text-decoration: underline;
}

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

.visit-counter {
    text-align: right;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
}

.visit-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.visit-number {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================
   Back to top
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: var(--r-full);
    background: var(--gradient);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all var(--t-base);
    z-index: 50;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ==========================================
   Scroll reveal animations
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 960px) {
    .nav-links { display: none; }
    .grid-2, .symptoms-split, .risks-grid, .footer-inner { grid-template-columns: 1fr; }
    .griffith-grid, .types-grid, .phenomena-list, .prevention-grid { grid-template-columns: repeat(2, 1fr); }
    .big-stats { grid-template-columns: repeat(2, 1fr); }
    .sources-grid { grid-template-columns: 1fr; }
    .tip-box { flex-direction: column; text-align: center; }
    .section { padding: var(--space-xl) 0; }
    .visit-counter { text-align: left; }
}

@media (max-width: 600px) {
    .container { padding: 0 1.25rem; }
    .hero-stats { grid-template-columns: 1fr; }
    .griffith-grid, .types-grid, .phenomena-list, .prevention-grid, .big-stats { grid-template-columns: 1fr; }
    .callout-card, .prevention-card, .symptoms-col, .risk-block, .chart-wrapper, .new-phenomena { padding: 1.5rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { justify-content: center; }
    .back-to-top { bottom: 1rem; right: 1rem; }
}

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